Add _POSIX namespace SYSCONF macros to posix-conf-vars.list
[platform/upstream/glibc.git] / ChangeLog
1 2014-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
2
3         * posix/posix-conf-vars.list: Add _POSIX sysconf namespace.
4         * sysdeps/posix/sysconf.c: Include posix-conf-vars.h.
5         (__sysconf): Use CONF_IS_* macros.
6
7         * posix/Makefile (before-compile): Add posix-conf-vars-def.h.
8         ($(objpfx)posix-conf-vars-def.h): New target.
9         * posix/posix-conf-vars.list: New file.
10         * posix/posix-conf-vars.h: New file.
11         * posix/confstr.c: Include posix-conf-vars.h.
12         (confstr): Use CONF_IS_* macros.
13         * posix/posix-envs.def: Include posix-conf-vars.h.  Use
14         CONF_IS_* macros.
15         * scripts/gen-posix-conf-vars.awk: New file.
16
17 2014-12-26  Chris Metcalf  <cmetcalf@ezchip.com>
18
19         * sysdeps/tile/math_private.h (fegetenv, fesetenv, feupdateenv,
20         fegetround): Add no-op macros to avoid linknamespace issues.
21
22         * sysdeps/unix/sysv/linux/clock_settime.c (SYSDEP_SETTIME): Remove
23         definitions of INTERNAL_VSYSCALL and INLINE_VSYSCALL.
24
25         * sysdeps/unix/sysv/linux/tile/sysdep.h
26         (HAVE_CLOCK_GETTIME_VSYSCALL): Move definition out of
27         assembly-specific section to avoid a redefinition warning.
28
29         * sysdeps/tile/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast to
30         long before casting to pointer to avoid a cast warning.
31
32 2014-12-23  Chris Metcalf  <cmetcalf@ezchip.com>
33
34         * sysdeps/tile/tilegx/Implies: New file.
35
36 2014-12-23  Richard Earnshaw  <rearnsha@arm.com>
37
38         * string/stpcpy.c (__stpcpy): Rewrite using strlen and memcpy.
39
40 2014-12-23  Florian Weimer  <fweimer@redhat.com>
41
42         * iconvdata/run-iconv-test.sh: Actually test iconv modules.
43
44 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
45
46         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES): Do
47         not define.
48         * sysdeps/unix/sysv/linux/utimes.c: Do not include
49         <kernel-features.h>.
50         (__utimes) [__NR_utimes]: Make code unconditional.
51         (__utimes) [!__ASSUME_UTIMES]: Remove conditional code.
52         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
53         (__ASSUME_UTIMES): Do not undefine.
54         * sysdeps/unix/sysv/linux/tile/kernel-features.h
55         (__ASSUME_UTIMES): Likewise.
56         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
57         (__ASSUME_UTIMES): Define for [__LINUX_KERNEL_VERSION >= 0x030e00]
58         instead of undefining for [__LINUX_KERNEL_VERSION < 0x030e00].
59         * sysdeps/unix/sysv/linux/hppa/utimes.c: New file.
60
61 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
62
63         * sysdeps/mips/memcpy.S: Fix preprocessor indentation.
64
65 2014-12-22  Chris Metcalf  <cmetcalf@ezchip.com>
66
67         [BZ #17747]
68         * math/w_j0.c [defined NO_LONG_DOUBLE] (j0, y0): Convert strong
69         alias to weak alias for j0l, y0l.
70         * math/w_j1.c [defined NO_LONG_DOUBLE] (j1, y1): Likewise.
71         * math/w_jn.c [defined NO_LONG_DOUBLE] (jn, yn): Likewise.
72
73         [BZ #17746]
74         * sysdeps/tile/tilegx/strstr.c (STRSTR2): Remove implicit boolean
75         conversion.
76
77 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
78
79         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Set
80         to zero if not already defined.
81
82 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
83
84         [BZ #17724]
85         * sysdeps/ieee754/k_standard.c: Don't include <float.h>.
86         (__kernel_standard_f): Remove.  Moved to k_standardf.c.
87         (__kernel_standard_l): Remove.  Moved to k_standardl.c with
88         (char *) casts added.
89         * sysdeps/ieee754/k_standardf.c: New file.
90         * sysdeps/ieee754/k_standardl.c: Likewise.
91         * math/Makefile (libm-support): Remove k_standard.
92         (libm-calls): Add k_standard.
93
94 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
95
96         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
97         Optimize to avoid an unnecessary FPCR read.
98
99 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
100
101         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
102         Optimize to reduce FPCR/FPSR accesses.
103
104 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
105
106         * sysdeps/aarch64/fpu/ftestexcept.c (fetestexcept):
107         Call libc_fetestexcept_aarch64.
108
109 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
110
111         * sysdeps/aarch64/fpu/fesetround.c (fesetround):
112         Call libc_fesetround_aarch64.
113
114 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
115
116         [BZ #17733]
117         * sysdeps/unix/sysv/linux/bind.S (NO_WEAK_ALIAS): Do not define.
118         (__bind): Do not define as weak alias.
119         * sysdeps/unix/sysv/linux/getsockname.S (NO_WEAK_ALIAS): Do not
120         define.
121         (__getsockname): Do not define as weak alias.
122
123 2014-12-22  Will Newton  <will.newton@linaro.org>
124
125         * manual/install.texi: Document that we require bison 2.7
126         or above.
127         * INSTALL: Regenerate.
128         * configure.ac: Use AC_CHECK_PROG_VER instead of
129         AC_PATH_PROG when checking for bison and check for
130         version 2.7 or above.
131         * configure: Regenerate.
132
133 2014-12-21  Chris Metcalf  <cmetcalf@ezchip.com>
134
135         [BZ #17745]
136         * sysdeps/tile/ffs.c (__ffs): Moved ffsll definition...
137         * sysdeps/tile/ffsll.c (ffsll): To here.
138
139         * sysdeps/unix/sysv/linux/tile/localplt.data: Removed.
140
141 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
142
143         * elf/dl-tls.c (__tls_get_addr): Provide the hidden definition
144         if not defined.
145         * sysdeps/i386/dl-tls.h (___tls_get_addr): Provide the hidden
146         definition.
147         * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
148         hidden ___tls_get_addr.
149         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
150         hidden __tls_get_addr.
151         * sysdeps/generic/localplt.data (__tls_get_addr): Removed.
152         * sysdeps/unix/sysv/linux/i386/localplt.data (___tls_get_addr):
153         Likewise.
154
155 2014-12-21  Andreas Schwab  <schwab@linux-m68k.org>
156
157         * sysdeps/m68k/dl-machine.h (RTLD_START): Remove @PLTPC from
158         _dl_init call.
159
160 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
161
162         * sysdeps/i386/dl-machine.h (_dl_start_user): Remove @PLT
163         from "call _dl_init@PLT".
164         * sysdeps/x86_64/dl-machine.h (_dl_start_user): Likewise.
165
166 2014-12-21  Anders Kaseorg  <andersk@mit.edu>
167
168         * manual/search.texi: (Array Sort Function): Clarify stable sorting
169         guarantees.
170
171 2014-12-20  Chris Metcalf  <cmetcalf@ezchip.com>
172
173         * sysdeps/unix/sysv/linux/tile/localplt.data: New file.
174
175 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
176
177         [BZ #17744]
178         * sysdeps/tile/tilegx/strstr.c (STRSTR): Call __strnlen, not
179         strnlen.
180
181 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
182
183         * sysdeps/mips/addmul_1.S (__mpn_addmul_1): Use mulu/muhu instead
184         of multu on MIPSr6.
185         * sysdeps/mips/mul_1.S (__mpn_mul_1): Ditto.
186         * sysdeps/mips/submul_1.S (__mpn_submul_1): Ditto.
187         * sysdeps/mips/mips64/addmul_1.S (__mpn_addmul_1): Ditto.
188         * sysdeps/mips/mips64/mul_1.S (__mpn_mul_1): Ditto.
189         * sysdeps/mips/mips64/submul_1.S (__mpn_submul_1): Ditto.
190
191 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
192
193         * sysdeps/mips/sys/asm.h (PTR_ADDU): Use addu on mips32r6/mips64r6.
194         (PTR_ADDIU): Use addiu for mips32r6/mips64r6.
195         (PTR_SUBU): Use subu for mips32r6/mips64r6.
196         (PTR_SUBIU): Use subu for mips32r6/mips64r6 (subiu does not exist).
197         * sysdeps/mips/machine-gmon.h (PTR_ADDU_STRING) Use addu for
198         mips32r6/mips64r6.
199         (PTR_SUBU_STRING) Use subu for mips32r6/mips64r6.
200
201 2014-12-19  Ondřej Bílka  <neleai@seznam.cz>
202
203         * string/strncat.c (STRNCAT): Simplify implementation.
204
205 2014-12-19  David S. Miller  <davem@davemloft.net>
206
207         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Use a union to
208         access the quad as both a long double and as a series of 4 words.
209
210         * get-dynamic-info.h (elf_get_dynamic_info): Ignore -Warray-bounds for a
211         link_map->l_info array access.
212
213 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
214
215         * iconvdata/tst-loading.c (TIMEOUT): Increase timeout 10 sec.
216
217         * math/atest-exp.c (TIMEOUT): Increase timeout to 10 sec.
218         * math/atest-exp2.c (TIMEOUT): Likewise.
219         * math/atest-sincos.c (TIMEOUT): Likewise.
220
221 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
222
223         * sysdeps/x86_64/x32/Makefile (CFLAGS-s_llround.c): Replace
224         -Wno-error with -fno-builtin-lround.
225
226 2014-12-19  Torvald Riegel  <triegel@redhat.com>
227
228         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: New file.
229         Contains futex constants and functions moved over from ...
230         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.  Include
231         <lowlevellock-futex.h>.
232         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
233         (lll_timedwait_tid): Add comments and parentheses around macro
234         arguments.
235
236 2014-12-19  Torvald Riegel  <triegel@redhat.com>
237
238         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Include
239         <lowlevellock-futex.h>.  Remove FUTEX_* constants defined there.
240         (__lll_private_flag): Remove.
241         (lll_futex_wait): Likewise.
242         (lll_futex_timed_wait): Likewise.
243         (lll_futex_wake): Likewise.
244         (lll_futex_requeue): Likewise.
245         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
246         (__lll_timedwait_tid): Spell out argument names.
247         (lll_timedwait_tid): Add comments and parentheses around macro
248         arguments.
249         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Make FUTEX_* constants,
250         LLL_SHARED and LLL_PRIVATE usable from assembly code.
251
252 2014-12-19  Torvald Riegel  <triegel@redhat.com>
253
254         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Remove file.
255         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
256         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
257         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Likewise.
258         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Likewise.
259         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Likewise.
260         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Likewise.
261         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Likewise.
262         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Likewise.
263         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: Likewise.
264         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: Likewise.
265         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Likewise.
266         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Likewise.
267         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Likewise.
268         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Likewise.
269         * sysdeps/unix/sysv/linux/sh/sem_post.S: Likewise.
270         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Likewise.
271         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Likewise.
272         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Likewise.
273
274 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
275
276         * sysdeps/x86_64/x32/Makefile: New file.
277
278 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
279
280         * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Replace
281         1L with (mp_limb_t) 1.
282
283 2014-12-17  Roland McGrath  <roland@hack.frob.com>
284
285         * sysdeps/nptl/fork.c (__fork_generation_pointer): Variable moved ...
286         * nptl/libc_pthread_init.c: ... here.
287         * sysdeps/nptl/fork.c (__fork_handlers): Variable moved ...
288         * nptl/register-atfork.c: ... here.
289
290         * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread):
291         Use pthread_sigmask rather than INTERNAL_SYSCALL.
292         Use assert_perror to check its return value.
293         (__gai_create_helper_thread): Likewise.
294
295         * inet/if_index.c (__if_freenameindex): Add libc_hidden_def.
296
297         * malloc/malloc.c (alloc_perturb, free_perturb): Remove inline keyword.
298
299 2014-12-17  Joseph Myers  <joseph@codesourcery.com>
300
301         [BZ #17725]
302         * sysdeps/generic/profil-counter.h (profil_counter): Rename to
303         __profil_counter.
304         * sysdeps/unix/sysv/linux/hppa/profil-counter.h (profil_counter):
305         Likewise.
306         * sysdeps/unix/sysv/linux/i386/profil-counter.h (profil_counter):
307         Likewise.
308         * sysdeps/unix/sysv/linux/ia64/profil-counter.h (profil_counter):
309         Likewise.
310         * sysdeps/unix/sysv/linux/s390/s390-32/profil-counter.h
311         (profil_counter): Likewise.
312         * sysdeps/unix/sysv/linux/s390/s390-64/profil-counter.h
313         (profil_counter): Likewise.
314         * sysdeps/unix/sysv/linux/sh/profil-counter.h (profil_counter):
315         Likewise.
316         * sysdeps/unix/sysv/linux/tile/profil-counter.h (profil_counter):
317         Likewise.
318         * sysdeps/unix/sysv/linux/x86_64/profil-counter.h
319         (profil_counter): Likewise.
320         * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
321         Likewise.
322         [!__profil_counter] (profil_counter): Define as weak alias of
323         __profil_counter.
324         * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h
325         (profil_counter): Rename to __profil_counter.
326         [!__profil_counter] (profil_counter): Define as weak alias of
327         __profil_counter.
328         * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h
329         (profil_counter): Rename to __profil_counter.
330         [!__profil_counter] (profil_counter): Define as weak alias of
331         __profil_counter.
332         * sysdeps/posix/profil.c: Update comment referring to
333         profil_counter.
334         (__profil): Use __profil_counter instead of profil_counter.
335         * sysdeps/posix/sprofil.c (profil_counter): Rename to
336         __profil_counter.  Use __profil_counter_ushort and
337         __profil_counter_uint in definitions.
338         (__sprofil): Use __profil_counter_uint and __profil_counter_ushort
339         instead of profil_counter_uint and profil_counter_ushort.
340
341         [BZ #17722]
342         * inet/inet_mkadr.c (inet_makeaddr): Rename to __inet_makeaddr and
343         define as weak alias of __inet_makeaddr.
344         * resolv/inet_addr.c (inet_addr): Rename to __inet_addr and define
345         as weak alias of __inet_addr.
346         * resolv/inet_pton.c (inet_pton): Rename to __inet_pton and define
347         as weak alias of __inet_pton.  Use libc_hidden_weak.
348         * include/arpa/inet.h (__inet_pton): Declare.  Use
349         libc_hidden_proto.
350         (inet_makeaddr): Don't use libc_hidden_proto.
351         (__inet_makeaddr): Declare.  Use libc_hidden_proto.
352         * resolv/res_init.c (__res_vinit): Use __inet_pton instead of
353         inet_pton.  Use __inet_makeaddr instead of inet_makeaddr.
354         * conform/Makefile (test-xfail-POSIX/pthread.h/linknamespace):
355         Remove variable.
356         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
357         (test-xfail-POSIX/time.h/linknamespace): Likewise.
358
359 2014-12-17  Steve Ellcey  <sellcey@imgtec.com>
360
361         * inet/getnetgrent_r.c: Move while loop to be inside if statement.
362
363 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
364
365         * stdio-common/bug-vfprintf-nargs.c (do_test):
366         Cast value to intptr_t to avoid format warning
367         for usage with PRIdPTR printing macro.
368
369 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
370
371         * libio/tst-widetext.c (do_test):
372         Use format type %td instead of %Zd for ptrdiff_t
373         in order to avoid format warning.
374
375 2014-12-17  Andreas Schwab  <schwab@suse.de>
376
377         * nscd/mem.c (gc): Add size_t cast to match printf format.
378
379 2014-12-16  Roland McGrath  <roland@hack.frob.com>
380
381         * sysdeps/gnu/unwind-resume.c: #include <sysdep.h>.
382         (init): Apply PTR_MANGLE to pointers before storing them.
383         (_Unwind_Resume, __gcc_personality_v0): Apply PTR_DEMANGLE to pointers
384         before using them.
385
386 2014-12-16  Joseph Myers  <joseph@codesourcery.com>
387
388         [BZ #17719]
389         * sysdeps/x86_64/memrchr.S (memrchr): Rename to __memrchr and
390         define as weak alias of __memrchr.
391         (__memrchr): Do not define as strong alias of memrchr.
392         * conform/Makefile (test-xfail-XPG4/libgen.h/linknamespace):
393         Remove variable.
394         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
395         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
396         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
397
398         [BZ #17717]
399         * inet/if_index.c (if_nametoindex): Rename to __if_nametoindex and
400         define as weak alias of __if_nametoindex.  Use libc_hidden_weak.
401         (if_indextoname): Rename to __if_indextoname and define as weak
402         alias of __if_indextoname.  Use libc_hidden_weak.
403         (if_freenameindex): Rename to __if_freenameindex and define as
404         weak alias of __if_freenameindex.
405         (if_nameindex): Rename to __if_nameindex and define as weak alias
406         of __if_nameindex.
407         * sysdeps/mach/hurd/if_index.c (if_nametoindex): Rename to
408         __if_nametoindex and define as weak alias of __if_nametoindex.
409         Use libc_hidden_weak.
410         (if_freenameindex): Rename to __if_freenameindex and define as
411         weak alias of __if_freenameindex.
412         (if_nameindex): Rename to __if_nameindex and define as weak alias
413         of __if_nameindex.
414         (if_indextoname): Rename to __if_indextoname and define as weak
415         alias of __if_indextoname.  Use libc_hidden_weak.
416         * sysdeps/unix/sysv/linux/if_index.c (if_nametoindex): Rename to
417         __if_nametoindex and define as weak alias of __if_nametoindex.
418         Use libc_hidden_weak.
419         (if_freenameindex): Rename to __if_freenameindex and define as
420         weak alias of __if_freenameindex.  Use libc_hidden_weak.
421         (if_nameindex_netlink): Use __if_freenameindex instead of
422         if_freenameindex.
423         (if_nameindex): Rename to __if_nameindex and define as weak alias
424         of __if_nameindex.  Use libc_hidden_weak.
425         (if_indextoname): Rename to __if_indextoname and define as weak
426         alias of __if_indextoname.  Use libc_hidden_weak.
427         * include/net/if.h [!_ISOMAC] (__if_nametoindex): Declare and use
428         libc_hidden_proto.
429         [!_ISOMAC] (__if_freenameindex): Likewise.
430         * resolv/res_init.c (__res_vinit): Use __if_nametoindex instead of
431         if_nametoindex.
432         * conform/Makefile (test-xfail-XPG4/grp.h/linknamespace): Remove
433         variable.
434         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
435         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
436         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
437         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
438         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
439         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
440         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
441
442         * conform/Makefile (test-xfail-UNIX98/semaphore.h/linknamespace):
443         Remove variable.
444         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
445         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
446
447 2014-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
448
449         * resolv/res_send.c (__libc_res_nsend): Disable warning 'array
450         subscript above bounds'
451
452         * resolv/res_send.c (__libc_res_nsend): Fix check for nsmap
453         bounds.
454
455 2014-12-16  Arjun Shankar  <arjun.is@lostca.se>
456
457         * libio/tst-fopenloc.c: Use test-skeleton.c.
458
459         * stdlib/tst-bsearch.c: Use test-skeleton.c.
460         (entry): Rename to ITEM.
461         (do_test, comp): Adjust.
462
463         * stdio-common/tst-fseek.c: Use test-skeleton.c.
464
465 2014-12-16  Torvald Riegel  <triegel@redhat.com>
466
467         * string/tester.c: Include <libc-internal.h>.
468         (test_memset): Ignore -Wmemset-transposed-args.
469
470 2014-12-16  Torvald Riegel  <triegel@redhat.com>
471
472         * misc/tst-mntent2.c (do_test): Fix warning.
473
474 2014-12-16  Torvald Riegel  <triegel@redhat.com>
475
476         * elf/tst-unique4lib.cc(a): Mark as used.
477
478 2014-12-16  Florian Weimer  <fweimer@redhat.com>
479
480         [BZ #17630]
481         * resolv/nss_dns/dns-network.c (getanswer_r): Iterate over alias
482         names.
483
484 2014-12-16  Allan McRae  <allan@archlinux.org>
485
486         * stdio-common/Makefile (tests): Re-add bug26.
487
488 2014-12-15  Ondřej Bílka  <neleai@seznam.cz>
489
490         [BZ #17657]
491         * locale/programs/ld-ctype.c (find_translit2, read_widestring): Return
492         static array.
493
494 2014-12-15  Bernard Ogden  <bernie.ogden@linaro.org>
495
496         * nptl/lowlevellock.c (__lll_lock_wait_private): Add comments.
497         (__lll_lock_wait): Likewise.
498         (__lll_timedlock_wait): Likewise.
499         (__lll_timedwait_tid): Likewise.
500         * nptl/lowlevelrobustlock.c (__lll_robust_lock_wait): Likewise.
501         (__lll_robust_timedlock_wait): Likewise.
502         * sysdeps/nptl/lowlevellock.h (lll_trylock): Likewise.
503         (lll_cond_trylock): Likewise.
504         (__lll_lock): Likewise.
505         (__lll_robust_lock): Likewise.
506         (__lll_cond_lock): Likewise.
507         (lll_robust_cond_lock): Likewise.
508         (__lll_timedlock): Likewise.
509         (__lll_robust_timedlock): Likewise.
510         (__lll_unlock): Likewise.
511         (__lll_robust_unlock): Likewise.
512         (lll_wait_tid): Likewise.
513         (lll_timedwait_tid): Likewise.
514
515 2014-12-15  Torvald Riegel  <triegel@redhat.com>
516
517         * nptl/tst-sem4.c (do_test): Start with a fresh semaphore state.
518
519 2014-12-15  Torvald Riegel  <triegel@redhat.com>
520
521         * nptl/tst-mutex5.c (do_test): Do not skip tests if elision is enabled.
522
523 2014-12-15  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
524
525         * stdio-common/test-vfprintf.c: Include <libc-internal.h>.
526         * stdio-common/tst-sprintf.c: Likewise.
527
528 2014-12-15  Torvald Riegel  <triegel@redhat.com>
529
530         * sysdeps/unix/sysv/linux/s390/pthread_once.c: Remove file.
531
532 2014-12-15  Jeff Law  <law@redhat.com>
533
534         [BZ #16617]
535         * stdio-common/vfprintf.c (vfprintf): Allocate large specs array
536         on the heap.  (CVE-2012-3406)
537         * stdio-common/bug23-2.c, stdio-common/bug23-3.c: New file.
538         * stdio-common/bug23-4.c: New file.  Test case by Joseph Myers.
539         * stdio-common/Makefile (tests): Add bug23-2, bug23-3, bug23-4.
540
541 2014-12-15  Will Newton  <will.newton@linaro.org>
542
543         * manual/install.texi: Bump required version of texinfo
544         to 4.7 from 4.5.
545         * INSTALL: Regenerated.
546         * configure.ac: Check for makeinfo version 4.7 and above.
547         * configure: Regenerated.
548
549 2014-12-12  Roland McGrath  <roland@hack.frob.com>
550
551         * sysdeps/posix/shm-directory.h (SHM_GET_NAME): Take new argument
552         PREFIX, string constant to insert between directory and name.
553         * sysdeps/posix/shm_open.c: Update caller.
554         * sysdeps/posix/shm_unlink.c: Likewise.
555         * nptl/semaphoreP.h (struct mountpoint_info): Type removed.
556         (__where_is_shmfs, mountpoint, __namedsem_once): Declarations removed.
557         (SEM_SHM_PREFIX): New macro.
558         * sysdeps/posix/Makefile (librt-routines): Add shm-directory only if
559         [$(have-thread-library) = no].
560         * nptl/Makefile (libpthread-routines): Add shm-directory.
561         * nptl/Versions (GLIBC_PRIVATE): Add __shm_directory.
562         * sysdeps/nptl/shm-directory.h: New file.
563         * sysdeps/posix/shm-directory.c
564         [IS_IN (libpthread)] (__shm_directory): Add hidden_def.
565         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
566         * nptl/sem_open.c (check_add_mapping): Use munmap function rather than
567         INTERNAL_SYSCALL.
568         (__where_is_shmfs): Function removed.
569         (mountpoint, defaultmount, defaultdir, __namedsem_once):
570         Variables removed.
571         (sem_open): Use __libc_close function rather than INTERNAL_SYSCALL.
572         Use SHM_GET_NAME.
573         * nptl/sem_unlink.c: Prototypify.  Use SHM_GET_NAME.
574
575         * sysdeps/nptl/bits/libc-lockP.h [IS_IN (libpthread)]
576         (PTFAVAIL, __libc_ptf_call, __libc_ptf_call_always): Define as
577         unconditional for use inside libpthread.
578         [IS_IN (libpthread)]: Include <nptl/pthreadP.h>.
579
580 2014-12-12  Roland McGrath  <roland@hack.frob.com>
581
582         * nptl/pthread_getaffinity.c: New file.
583         * nptl/pthread_setaffinity.c: New file.
584         * nptl/pthread_getname.c: New file.
585         * nptl/pthread_setname.c: New file.
586
587         * nptl/pthread_create.c (START_THREAD_DEFN)
588         [! __ASSUME_SET_ROBUST_LIST]: Add missing & in lll_futex_wake argument.
589
590 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
591             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
592
593         * resolv/res_send.c (send_vc): Disable warning resplen may
594         be used uninitialized.
595
596 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
597
598         * nptl/tst-mutex6.c
599         (ATTR_NULL): New define checks ATTR against NULL.
600         (do_test): Use !ATTR_NULL instead of ATTR != NULL.
601         * nptl/tst-mutexpp6.c (ATTR_NULL): New define.
602
603 2014-12-11  James Lemke  <jwlemke@codesourcery.com>
604
605         [BZ #17581]
606         * malloc/hooks.c
607         (mem2mem_check): Revert my previous change.
608         (malloc_check_get_size): Revert my previous change.
609         (mem2chunk_check): Revert my previous change.
610
611 2014-12-11  Roland McGrath  <roland@hack.frob.com>
612
613         * sysdeps/posix/shm-directory.c: New file.
614         * sysdeps/posix/shm-directory.h: New file.
615         * sysdeps/posix/Makefile [($(subdir) = rt] (librt-routines): Add it.
616         * sysdeps/posix/shm_open.c: Use SHM_GET_NAME.
617         Use O_NOFOLLOW and O_CLOEXEC if available.  Transmute EISDIR to EINVAL.
618         * sysdeps/posix/shm_unlink.c: Use SHM_GET_NAME.
619         Transmute EPERM to EACCES.
620         * sysdeps/unix/sysv/linux/shm-directory.c: New file, most code taken
621         from ...
622         * sysdeps/unix/sysv/linux/shm_open.c: ... here.  File removed.
623         * sysdeps/unix/sysv/linux/shm_unlink.c: File removed.
624
625 2014-12-11  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
626
627         * sysdeps/sh/jmpbuf_unwind.h (_jmpbuf_sp): Declare SP as void
628         pointer and cast to uintptr_t.
629         * sysdeps/sh/nptl/tls.h (TLS_INIT_TP): Use NULL instead of 0.
630         * sysdeps/unix/sysv/linux/sh/lowlevellock.h (lll_futex_timed_wait):
631         Add cast to avoid warning.
632         * sysdeps/unix/sysv/linux/sh/register-dump.h: Use 0 instead of NULL.
633
634 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
635
636         * nptl/semaphore.h: Move to ...
637         * sysdeps/pthread/semaphore.h: ... here.
638         * Makefile (installed-headers): Change nptl/semaphore.h to
639         sysdeps/pthread/semaphore.h.
640
641 2014-12-11  Roland McGrath  <roland@hack.frob.com>
642
643         * misc/tst-error1.c (do_test): Ignore -Wformat-security for
644         generated error format strings.
645
646         * stdio-common/tstdiomisc.c (t2): Ignore -Wformat and
647         -Wformat-extra-args warnings for scanf formats.
648         * stdio-common/scanf4.c (main): Ignore -Wformat-zero-length around
649         test of zero-length format (duh).
650         * stdio-common/scanf7.c (main): Ignore -Wformat warnings for
651         corner-case scanf format test.
652         * stdio-common/test-vfprintf.c (do_test): Ignore -Wformat-security for
653         generated fprintf format string.
654         * stdio-common/tst-sprintf.c (do_test): Ignore -Wformat warnings for
655         corner-case sprintf format tests.
656         * stdio-common/tst-printf.c: Ignore -Wformat throughout.
657         * stdio-common/tst-printfsz.c (main): Ignore -Wformat and
658         -Wformat-extra-args warnings throughout.
659         * stdio-common/Makefile (CFLAGS-tstdiomisc.c): Variable removed.
660         (CFLAGS-scanf4.c): Likewise.
661         (CFLAGS-scanf7.c): Likewise.
662         (CFLAGS-tst-sprintf.c): Likewise.
663         (CFLAGS-tst-printf.c): Likewise.
664         (CFLAGS-tst-printfsz.c): Likewise.
665
666 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
667
668         * include/cpio.h: New file.
669         * include/fmtmsg.h: Likewise.
670
671         * tst-mbswcs1.c (show): Use %zu format instead of %Zd.  Cast
672         corresponding format argument to size_t.
673         * tst-mbswcs2.c (show): Likewise.  Use %td format for ptrdiff_t
674         arguments.
675         * tst-mbswcs3.c (show): Use %zu format instead of %Zd.  Cast
676         corresponding format argument to size_t.
677         * tst-mbswcs4.c (show): Likewise.  Use %td format for ptrdiff_t
678         arguments.
679         * tst-mbswcs5.c (show): Use %zu format instead of %Zd.  Cast
680         corresponding format argument to size_t.
681         * tst-trans.c (do_test): Use %lc format for wint_t arguments.
682         * Makefile (CFLAGS-tst-mbswcs1.c): Remove variable.
683         (CFLAGS-tst-mbswcs2.c): Likewise.
684         (CFLAGS-tst-mbswcs3.c): Likewise.
685         (CFLAGS-tst-mbswcs4.c): Likewise.
686         (CFLAGS-tst-mbswcs5.c): Likewise.
687         (CFLAGS-tst-trans.c): Likewise
688
689 2014-12-11  Roland McGrath  <roland@hack.frob.com>
690
691         * posix/regexbug1.c (main): Use "%s" format with regerror results,
692         rather than assuming they won't contain any '%'s.
693
694 2014-12-11  Chris Metcalf  <cmetcalf@ezchip.com>
695
696         * sysdeps/tile/tilegx/memset.c (__memcpy): Add
697         inhibit_loop_to_libcall to avoid recursive calls.
698         * sysdeps/tile/tilegx/memcpy.c (__memcpy): Likewise.
699         * sysdeps/tile/tilepro/memcpy.c (__memcpy): Likewise.
700
701 2014-12-11  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
702
703         * include/sys/socket.h (__sendmmsg): Add __USE_GNU guards on function
704         prototype.
705
706 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
707
708         * sysdeps/mips/dl-trampoline.c: Modify switch expression to have
709         integer value instead of boolean.
710
711 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
712
713         * malloc/malloc.c: Fix powerof2 check.
714
715 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
716
717         * locale/programs/locfile.h (maybe_swap_uint32):
718         Remove inline and add unused attribute.
719
720 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
721
722         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
723         Truncating assembler expression to a .long expression.
724
725 2014-12-11  Andreas Schwab  <schwab@suse.de>
726
727         * elf/rtld.c (struct map_args): Constify str member.
728         (do_preload): Constify fname argument.
729
730 2014-12-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
731
732         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Remove overflow warnings for
733         constants definition.
734
735 2014-12-11  Andreas Schwab  <schwab@suse.de>
736
737         [BZ #16657]
738         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Use
739         FORCE_ELISION instead of DO_ELISION.
740         * sysdeps/unix/sysv/linux/x86/force-elision.h (DO_ELISION):
741         Remove.
742         * sysdeps/unix/sysv/linux/s390/force-elision.h (DO_ELISION):
743         Likewise.
744
745         * iconvdata/gconv-modules: Remove duplicate entry.
746
747 2014-12-11  Will Newton  <will.newton@linaro.org>
748
749         Merge gettext 0.19.3 into intl/.
750
751         This involves a number of cosmetic changes to comments
752         and ANSI function definitions and prototypes throughout
753         all the files. The gettext copyright header is used but
754         with the date ranges taken from the glibc copy.
755
756         * NEWS: Add gettext merge to 2.21.
757         * intl/bindtextdom.c: Switch to gettext copyright.
758         Use ANSI definitions and prototypes.
759         Use gl_* locking primitives rather than __libc_* ones.
760         Use __builtin_expect rather than __glibc_likely/unlikely.
761         * intl/dcgettext.c: Switch to gettext copyright.
762         Use ANSI definitions and prototypes.
763         * intl/dcigettext.c: Switch to gettext copyright.
764         Use ANSI definitions and prototypes.
765         (INTDIV0_RAISES_SIGFPE): New define.
766         Use gl_* locking primitives rather than __libc_* ones.
767         Include eval-plural.h instead of plural-eval.c.
768         Use __builtin_expect rather than __glibc_likely/unlikely.
769         * intl/dcngettext.c: Switch to gettext copyright.
770         Use ANSI definitions and prototypes.
771         * intl/dgettext.c: Likewise.
772         * intl/dngettext.c: Likewise.
773         * intl/plural-eval.c: Renamed to...
774         * intl/eval-plural.h: ...this.
775         * intl/explodename.c: Switch to gettext copyright.
776         Use ANSI definitions and prototypes.
777         (_nl_explode_name): Use strchr instead of __rawmemchr.
778         * intl/finddomain.c: Switch to gettext copyright.
779         Use ANSI definitions and prototypes.
780         Use gl_* locking primitives rather than __libc_* ones.
781         (_nl_find_domain): Use malloc rather than alloca for
782         allocation of temporary locale name.
783         * intl/gettext.c: Switch to gettext copyright.
784         Use ANSI definitions and prototypes.
785         * intl/gettextP.h: Switch to gettext copyright.
786         Use ANSI definitions and prototypes.
787         Use gl_* locking primitives rather than __libc_* ones.
788         * intl/gmo.h: Switch to gettext copyright.
789         (struct sysdep_string): Move struct segment_pair outside of
790         struct definition.
791         * intl/hash-string.c: Use ANSI definitions and prototypes.
792         * intl/hash-string.h: Switch to gettext copyright.
793         Use ANSI definitions and prototypes.
794         * intl/l10nflist.c: Switch to gettext copyright.
795         Use ANSI definitions and prototypes.
796         (_nl_normalize_codeset): Avoid integer overflow.
797         * intl/loadinfo.h: Switch to gettext copyright.
798         Use ANSI definitions and prototypes.
799         (LIBINTL_DLL_EXPORTED): New define.
800         (PATH_SEPARATOR): New define.
801         * intl/loadmsgcat.c: Switch to gettext copyright.
802         * intl/localealias.c: Switch to gettext copyright.
803         Use ANSI definitions and prototypes.
804         (_nl_expand_alias): Use PATH_SEPARATOR.
805         * intl/ngettext.c: Switch to gettext copyright.
806         Use ANSI definitions and prototypes.
807         * intl/plural-exp.c: Likewise.
808         * intl/plural-exp.h: Switch to gettext copyright.
809         Use ANSI definitions and prototypes.
810         (struct expression): Move definition of enum operator outside
811         of struct definition.
812         * intl/plural.c: Regenerate.
813         * intl/plural.y: Switch to gettext copyright.
814         Use ANSI definitions and prototypes.
815         Port to bison 3.0.
816         * intl/textdomain.c: Switch to gettext copyright.
817         Use ANSI definitions and prototypes.
818         Use gl_* locking primitives rather than __libc_* ones.
819
820 2014-12-10  Steve Ellcey  <sellcey@imgtec.com>
821
822         * debug/warning-nop.c: Add used atrribute.
823
824 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
825
826         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: New file.
827
828         * sysdeps/unix/sysv/linux/mips/mips64/Makefile
829         [$(subdir) == signal] (CFLAGS-sigaction.c): New variable.
830         [$(subdir) == nptl] (CFLAGS-sigaction.c): Likewise.
831
832 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
833             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
834
835         [BZ #17634]
836         * wcsmbs/wcschr.c [!WCSCHR] (wcschr): Define as __wcschr.
837         Undefine after defining function.  Define as weak alias of
838         __wcschr.  Use libc_hidden_weak.
839         * include/wchar.h (__wcschr): Declare.  Use libc_hidden_proto.
840         * sysdeps/i386/i686/multiarch/wcschr-c.c [IS_IN (libc) && SHARED]
841         (libc_hidden_def): Also define __GI___wcschr alias.
842         * sysdeps/i386/i686/multiarch/wcschr.S (wcschr): Rename to
843         __wcschr and define as weak alias of __wcschr.
844         * sysdeps/powerpc/power6/wcschr.c [!WCSCHR] (WCSCHR): Define as
845         __wcschr.
846         [!WCSCHR] (DEFAULT_WCSCHR): Define.
847         [DEFAULT_WCSCHR] (__wcschr): Use libc_hidden_def.
848         [DEFAULT_WCSCHR] (wcschr): Define as weak alias of __wcschr.  Use
849         libc_hidden_weak.  Do not use libc_hidden_def.
850         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c
851         [IS_IN (libc) && SHARED] (libc_hidden_def): Also define
852         __GI___wcschr alias.
853         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c
854         [IS_IN (libc)] (wcschr): Define as macro expanding to
855         __redirect_wcschr.
856         [IS_IN (libc)] (__wcschr_ppc): Use __redirect_wcschr in typeof.
857         [IS_IN (libc)] (__wcschr_power6): Likewise.
858         [IS_IN (libc)] (__wcschr_power7): Likewise.
859         [IS_IN (libc)] (__libc_wcschr): New.  Define with libc_ifunc
860         instead of wcschr.
861         [IS_IN (libc)] (wcschr): Undefine and define as weak alias of
862         __libc_wcschr.
863         [!IS_IN (libc)] (libc_hidden_def): Do not undefine and redefine.
864         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c (wcschr): Rename to
865         __wcschr and define as weak alias of __wcschr.  Use
866         libc_hidden_builtin_def.
867         * sysdeps/x86_64/wcschr.S (wcschr): Rename to __wcschr and define
868         as weak alias of __wcschr.  Use libc_hidden_weak.
869         * time/alt_digit.c (_nl_get_walt_digit): Use __wcschr instead of
870         wcschr.
871         * time/era.c (_nl_init_era_entries): Likewise.
872         * conform/Makefile (test-xfail-ISO/time.h/linknamespace): Remove
873         variable.
874         (test-xfail-XPG3/time.h/linknamespace): Likewise.
875         (test-xfail-XPG4/time.h/linknamespace): Likewise.
876
877 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
878
879         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Use %ld
880         format for long int variable.
881
882 2014-12-10  Anders Kaseorg  <andersk@MIT.EDU>
883
884         [BZ #10672]
885         * manual/search.texi: (Array Sort Function): Remove claim how to make
886         qsort stable.
887
888 2014-12-10  Andreas Schwab  <schwab@suse.de>
889
890         [BZ #12847]
891         * sysdeps/nptl/fork.c (fresetlockfiles): Skip files with
892         user-controlled locks.
893
894 2014-12-10  Richard Earnshaw  <rearnsha@arm.com>
895
896         * sysdeps/aarch64/strchrnul.S (vrepmask): Use a call-clobbered
897         register.
898
899 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
900
901         * configure.ac (--disable-werror): New configure option.
902         (enable_werror): New AC_SUBST.
903         * configure: Regenerated.
904         * config.make.in (enable-werror): New variable.
905         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Add -Werror
906         -Wno-error=undef.
907         (+gccwarn-c): Do not use -Werror=implicit-function-declaration.
908         * manual/install.texi (Configuring and compiling): Document
909         --disable-werror.
910         * INSTALL: Regenerated.
911         * debug/Makefile (CFLAGS-tst-chk1.c): Add -Wno-error.
912         (CFLAGS-tst-chk2.c): Likewise.
913         (CFLAGS-tst-chk3.c): Likewise.
914         (CFLAGS-tst-chk4.cc): Likewise.
915         (CFLAGS-tst-chk5.cc): Likewise.
916         (CFLAGS-tst-chk6.cc): Likewise.
917         (CFLAGS-tst-lfschk1.c): Likewise.
918         (CFLAGS-tst-lfschk2.c): Likewise.
919         (CFLAGS-tst-lfschk3.c): Likewise.
920         (CFLAGS-tst-lfschk4.cc): Likewise.
921         (CFLAGS-tst-lfschk5.cc): Likewise.
922         (CFLAGS-tst-lfschk6.cc): Likewise.
923
924         * stdio-common/tst-printfsz.c: Include <libc-internal.h>.
925         (main): Disable -Wdeprecated-declarations around calls to
926         register_printf_function.
927
928         * stdio-common/tst-unlockedio.c: Include <libc-internal.h>.
929         (do_test): Disable -Wdiv-by-zero around some calls to
930         fwrite_unlocked and fread_unlocked.
931
932         * include/libc-internal.h (DIAG_PUSH_NEEDS_COMMENT): New macro.
933         (DIAG_POP_NEEDS_COMMENT): Likewise.
934         (_DIAG_STR1): Likewise.
935         (_DIAG_STR): Likewise.
936         (DIAG_IGNORE_NEEDS_COMMENT): Likewise.
937         * stdio-common/bug21.c: Include <libc-internal.h>.
938         (do_test): Disable -Wformat around call to sscanf.
939         * stdio-common/scanf14.c: Include <libc-internal.h>.
940         (main): Disable -Wformat around some calls to scanf functions.
941
942 2014-12-09  Torvald Riegel  <triegel@redhat.com>
943
944         * sysdeps/unix/sysv/linux/sh/pthread_once.S: Remove file.
945
946 2014-12-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
947
948         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix wide-character
949         stack variable alignment.
950
951 2014-12-06  Joseph Myers  <joseph@codesourcery.com>
952
953         [BZ #17682]
954         * resource/Versions (libc): Add __getrlimit at GLIBC_PRIVATE.
955         * resource/getrlimit.c (__getrlimit): Use libc_hidden_def.
956         * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
957         * include/sys/resource.h (__getrlimit): Use libc_hidden_proto.
958         * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Use
959         __getrlimit instead of getrlimit.
960         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Use
961         __gettimeofday instead of gettimeofday.
962         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
963         Likewise.
964         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
965         Likewise.
966         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
967         * conform/Makefile (test-xfail-POSIX2008/aio.h/linknamespace):
968         Remove variable.
969         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
970         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
971
972 2014-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
973
974         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix buffer overrun
975         for wide-character tests.
976
977 2014-12-04  Roland McGrath  <roland@hack.frob.com>
978
979         * io/openat64.c: #include <libc-internal.h>
980         (__openat64): Prototypify.  Use ignore_value on MODE.
981         * io/openat.c: Likewise.
982         * misc/reboot.c: #include <libc-internal.h>
983         (reboot): Prototypify.  Use ignore_value on HOWTO.
984         * misc/ptrace.c: #include <libc-internal.h>
985         (ptrace): Prototypify.  Use ignore_value for va_arg'd parameters.
986
987 2014-12-04  Joseph Myers  <joseph@codesourcery.com>
988
989         * conform/list-header-symbols.pl (%extra_syms): Add h_errno for
990         XPG4, UNIX98 and XOPEN2K.
991         * conform/Makefile (test-xfail-XOPEN2K/grp.h/linknamespace):
992         Remove variable.
993         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
994
995 2014-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
996
997         * libio/fileops.c: Use ISO C style for function definitions.
998         * libio/iofopen.c: Likewise.
999         * libio/wfileops.c: Likewise.
1000
1001         [BZ #17653]
1002         * libio/fileops.c (_IO_new_file_underflow): Unset cached
1003         offset on EOF.
1004         * libio/wfileops.c (_IO_wfile_underflow): Likewise.
1005         * libio/tst-ftell-active-handler.c (fgets_func_t): New type.
1006         (fgets_func): Function pointer to fgets and fgetws.
1007         (do_ftell_test): Add test to verify ftell value after read
1008         EOF.
1009         (do_test): Set fgets_func.
1010
1011         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Add
1012         O_TRUNC flag for w and w+ modes.
1013         (do_rewind_test): Likewise.
1014         (do_ftell_test): Likewise.
1015         (do_write_test): Likewise.
1016
1017         [BZ #17647]
1018         * libio/fileops.c (do_ftell): Seek only when there are
1019         unflushed writes.
1020         * libio/wfileops.c (do_ftell_wide): Likewise.
1021         * libio/tst-ftell-active-handler.c (do_ftruncate_test): New
1022         test case.
1023         (do_one_test): Call it.
1024
1025 2014-12-03  Joseph Myers  <joseph@codesourcery.com>
1026
1027         * conform/list-header-symbols.pl (%extra_syms): Add getdate_err
1028         for XPG4, UNIX98, XOPEN2K and XOPEN2K8.
1029         * conform/Makefile (test-xfail-XOPEN2K/pthread.h/linknamespace):
1030         Remove variable.
1031         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
1032         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
1033         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
1034
1035 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
1036
1037         * conform/Makefile (test-xfail-XOPEN2K/aio.h/linknamespace):
1038         Remove variable.
1039         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
1040
1041         [BZ #17668]
1042         * inet/ifaddrs.c (getifaddrs): Rename to __getifaddrs and define
1043         as weak alias of __getifaddrs.  Use libc_hidden_weak.
1044         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
1045         __freeifaddrs.  Use libc_hidden_weak.
1046         * sysdeps/gnu/ifaddrs.c (getifaddrs): Rename to __getifaddrs and
1047         define as weak alias of __getifaddrs.  Use libc_hidden_weak.
1048         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
1049         __freeifaddrs.  Use libc_hidden_weak.
1050         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Rename to
1051         __getifaddrs and define as weak alias of __getifaddrs.  Use
1052         libc_hidden_weak.
1053         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
1054         __freeifaddrs.  Use libc_hidden_weak.
1055         * conform/Makefile (test-xfail-XOPEN2K/net/if.h/linknamespace):
1056         Remove variable.
1057         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
1058         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
1059
1060 2014-12-02  Petar Jovanovic  <petar.jovanovic@rt-rk.com>
1061
1062         [BZ #17601]
1063         * sysdeps/mips/start.S (__start): Use indirect jump to call
1064         __libc_start_main.
1065
1066 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
1067
1068         * nptl/tst-stack4.c (dso_process): Use int not uintptr_t for t.
1069
1070         * nptl/tst-mutex1.c: Include <stdbool.h>.
1071         [!ATTR] (ATTR_NULL): New macro.
1072         (do_test): Test !ATTR_NULL instead of ATTR != NULL.
1073         * nptl/tst-mutexpi1.c (ATTR_NULL): New macro.
1074         * nptl/tst-mutexpp1.c (ATTR_NULL): New macro.
1075
1076         * posix/tst-getopt_long1.c (do_test): Cast elements of argv array
1077         to char *.
1078
1079         [BZ #17665]
1080         * posix/unistd.h [__USE_MISC || (__USE_XOPEN && !__USE_UNIX98)]:
1081         Change conditional to [__USE_MISC].
1082
1083         [BZ #17664]
1084         * misc/mntent_r.c (__getmntent_r): Use __fgets_unlocked instead of
1085         fgets_unlocked.
1086         * resolv/res_hconf.c [IS_IN (libc)] (fgets_unlocked): Define to
1087         __fgets_unlocked.
1088         * resolv/res_init.c (__res_vinit): Use __fgets_unlocked instead of
1089         fgets_unlocked.
1090         * conform/Makefile (test-xfail-XPG4/sys/statvfs.h/linknamespace):
1091         Remove variable.
1092         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
1093         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
1094         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
1095         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
1096         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
1097         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
1098         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
1099         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
1100         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
1101
1102         * elf/tst-unique4lib.cc (b): Mark with __attribute__ ((used)).
1103
1104 2014-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1105
1106         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
1107         Remove strpbrk objects.
1108         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1109         (__libc_ifunc_impl_list): Remove strpbrk implementation.
1110         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: Remove file.
1111         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Remove file.
1112         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: Remove file.
1113         * sysdeps/powerpc/powerpc64/strpbrk.S: New file.
1114
1115         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
1116         Remove strcspn objects.
1117         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1118         (__libc_ifunc_impl_list): Remove strcspn implementation.
1119         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: Remove file.
1120         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Remove file.
1121         * sysdeps/powerpc/powerpc64/power7/strcspn.S: Remove file.
1122         * sysdeps/powerpc/powerpc64/strcspn.S: New file.
1123
1124         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
1125         Remove strspn objetcs.
1126         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1127         (__libc_ifunc_impl_list): Remove strspn implementation.
1128         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: Remove file.
1129         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
1130         * sysdeps/powerpc/powerpc64/power7/strspn.S: Remove file.
1131         * sysdeps/powerpc/powerpc64/strspn.S: New file.
1132
1133 2014-12-01  James Lemke  <jwlemke@codesourcery.com>
1134
1135         [BZ #17581]
1136         * malloc/hooks.c
1137         (mem2mem_check): Add a terminator to the chain of checking blocks.
1138         (malloc_check_get_size): Use it here.
1139         (mem2chunk_check): Ditto.
1140
1141 2014-12-01  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
1142
1143         * sysdeps/powerpc/powerpc64/strtok.S: New file.
1144         * sysdeps/powerpc/powerpc64/strtok_r.S: New file.
1145
1146 2014-11-29  Carlos O'Donell  <carlos@redhat.com>
1147
1148         * bits/ioctl-types.h: Indent preprocessor directives correctly.
1149
1150         * nptl/nptl-init.c: Include libc-internal.h.
1151         (__pthread_initialize_minimal_internal): Use ROUND_UP.
1152
1153         * elf/ldconfig.c (search_dir): Expand comment.
1154
1155 2014-11-29  Joseph Myers  <joseph@codesourcery.com>
1156
1157         * conform/Makefile (linknamespace-symlist-stdlibs-base): New
1158         variable.
1159         (linknamespace-symlist-stdlibs-tests): Likewise.
1160         (tests-special): Append $(linknamespace-symlist-stdlibs-tests)
1161         instead of $(objpfx)symlist-stdlibs.
1162         (linknamespace-libs-isoc): New variable.
1163         (linknamespace-libs): Use $(linknamespace-libs-isoc).
1164         (linknamespace-libs-ISO): New variable.
1165         (linknamespace-libs-ISO99): Likewise.
1166         (linknamespace-libs-ISO11): Likewise.
1167         (linknamespace-libs-XPG3): Likewise.
1168         (linknamespace-libs-XPG4): Likewise.
1169         (linknamespace-libs-POSIX): Likewise.
1170         (linknamespace-libs-UNIX98): Likewise.
1171         (linknamespace-libs-XOPEN2K): Likewise.
1172         (linknamespace-libs-POSIX2008): Likewise.
1173         (linknamespace-libs-XOPEN2K8): Likewise.
1174         ($(objpfx)symlist-stdlibs): Replace by
1175         $(linknamespace-symlist-stdlibs-tests).  Use
1176         $(linknamespace-libs-$*) as set of libraries.
1177         ($(linknamespace-header-tests)): Update dependencies.  Use
1178         $(objpfx)symlist-stdlibs-$$std for --libsyms argument.
1179         (test-xfail-XPG4/sys/mman.h/linknamespace): Remove.
1180         * conform/linknamespace.pl: Remove comment about considering
1181         definitions of symbols from irrelevant libraries.
1182
1183 2014-11-28  H.J. Lu  <hongjiu.lu@intel.com>
1184
1185         [BZ #13862]
1186         * elf/dl-tls.c: Include <atomic.h>.
1187         (oom): Remove #ifdef SHARED/#endif.
1188         (_dl_static_dtv, _dl_initial_dtv): Moved before ...
1189         (_dl_resize_dtv): This.  Extracted from _dl_update_slotinfo.
1190         (_dl_allocate_tls_init): Resize DTV if the current DTV isn't
1191         big enough.
1192         (_dl_update_slotinfo): Call _dl_resize_dtv to resize DTV.
1193         * nptl/Makefile (tests): Add tst-stack4.
1194         (modules-names): Add tst-stack4mod.
1195         ($(objpfx)tst-stack4): New.
1196         (tst-stack4mod.sos): Likewise.
1197         ($(objpfx)tst-stack4.out): Likewise.
1198         ($(tst-stack4mod.sos)): Likewise.
1199         (clean): Likewise.
1200         * nptl/tst-stack4.c: New file.
1201         * nptl/tst-stack4mod.c: Likewise.
1202
1203 2014-11-27  J. Brown  <jb999@gmx.de>
1204
1205         * sysdeps/x86/bits/string.h: Add recent CPUs.
1206
1207 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
1208
1209         * misc/tst-pselect.c (do_test): Use sigprocmask instead of
1210         sigblock.
1211
1212         * libio/bug-ungetwc1.c (do_test): Verify results of getwc and
1213         feof.
1214
1215         * dlfcn/failtestmod.c (constr): Do not store result of dlsym in a
1216         variable.
1217
1218 2014-11-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
1219
1220         * nscd/connections.c: Include libc-internal.h because of macro
1221         usage ignore_value.
1222
1223 2014-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
1224
1225         * string/bits/string3.h (__warn_memset_zero_len): Don't
1226         declare for gcc newer than 5.0.
1227         (memset): Don't test for zero-length __LEN for gcc newer than
1228         5.0.
1229
1230 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
1231
1232         * stdio-common/tst-fmemopen.c (do_test): Cast st_size values to
1233         size_t for %zu format.
1234
1235         * nss/tst-nss-test1.c (do_test): Use %td printf format for pointer
1236         difference, not %ju.
1237
1238 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
1239
1240         * include/libc-internal.h (ignore_value): New macro.
1241         * nscd/connections.c (restart): Wrap calls to setuid and setgid
1242         with ignore_value.
1243
1244         * sysdeps/mips/__longjmp.c (____longjmp): Use prototype
1245         definition.
1246
1247         * nptl/tst-cancel-self-cancelstate.c (do_test): Cast argument of
1248         pthread_cleanup_push to void *.
1249
1250         * sysdeps/unix/sysv/linux/arm/libc-do-syscall.S (_FORTIFY_SOURCE):
1251         Undefine.
1252
1253         [BZ #16619]
1254         [BZ #16740]
1255         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Use 1LL << 52
1256         instead of 1L << 52.
1257
1258         * libio/bug-rewind.c (do_test): Check fwscanf return values.
1259         * libio/bug-rewind2.c (do_test): Likewise.
1260
1261         * debug/test-stpcpy_chk-ifunc.c: Remove file.
1262         * debug/test-strcpy_chk-ifunc.c: Likewise.
1263         * wcsmbs/test-wcschr-ifunc.c: Likewise.
1264         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
1265         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
1266         * wcsmbs/test-wcslen-ifunc.c: Likewise.
1267         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
1268         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
1269         * Rules [$(multi-arch) = no] (tests): Do not filter out
1270         $(tests-ifunc).
1271         [$(multi-arch) = no] (xtests): Do not filter out $(xtests-ifunc).
1272         * debug/Makefile (tests-ifunc): Remove variable.
1273         (tests): Do not add $(tests-ifunc).
1274         * wcsmbs/Makefile (tests-ifunc): Remove variable.
1275         (tests): Do not add $(tests-ifunc).
1276         * benchtests/bench-string.h (TEST_IFUNC): Remove macro.
1277         [TEST_IFUNC]: Remove conditionals.
1278         * string/test-string.h (TEST_IFUNC): Remove macro.
1279         [TEST_IFUNC]: Remove conditionals.
1280
1281         * string/test-strchr.c [!WIDE] (L): New macro.
1282         [WIDE] (L): Likewise.
1283         (check1): Use CHAR instead of char.  Use L on string and character
1284         constants.
1285
1286 2014-11-26  Adhemerval Zanella  <azanella@linux.ibm.com>
1287
1288         * csu/tst-atomic.c (do_test): Add atomic_exchange_and_add_{acq,rel}
1289         tests.
1290         * sysdeps/powerpc/bits/atomic.h
1291         (__arch_atomic_exchange_and_add_32_acq): Add definition.
1292         (__arch_atomic_exchange_and_add_32_rel): Likewise.
1293         (atomic_exchange_and_add_acq): Likewise.
1294         (atomic_exchange_and_add_rel): Likewise.
1295         * sysdeps/powerpc/powerpc32/bits/atomic.h
1296         (__arch_atomic_exchange_and_add_64_acq): Add definition.
1297         (__arch_atomic_exchange_and_add_64_rel): Likewise.
1298         * sysdeps/powerpc/powerpc64/bits/atomic.h
1299         (__arch_atomic_exchange_and_add_64_acq): Add definition.
1300         (__arch_atomic_exchange_and_add_64_rel): Likewise.
1301
1302 2014-11-26  Torvald Riegel  <triegel@redhat.com>
1303
1304         * nptl/tpp.c (__init_sched_fifo_prio, __pthread_tpp_change_priority):
1305         Change synchronization of __sched_fifo_min_prio and
1306         __sched_fifo_max_prio.
1307         * nptl/pthread_mutexattr_getprioceiling.c
1308         (pthread_mutexattr_getprioceiling): Likewise.
1309         * nptl/pthread_mutexattr_setprioceiling.c
1310         (pthread_mutexattr_setprioceiling): Likewise.
1311         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
1312         * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
1313         Likewise.
1314
1315 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
1316
1317         * setjmp/jmpbug.c (test): Make foo volatile and cast it to
1318         void.
1319
1320 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
1321
1322         * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
1323         third argument const.
1324
1325 2014-11-25  Paul Eggert  <eggert@cs.ucla.edu>
1326
1327         fnmatch: work around GCC compiler warning bug with uninit var
1328         * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
1329         This works around a bug with x86-64 GCC 4.9.2 and earlier
1330         where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
1331         "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
1332         used uninitialized in this function [-Wmaybe-uninitialized]".
1333
1334 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
1335
1336         * posix/bug-regex31.c (main): Return RES not 0.
1337
1338 2014-11-25  Anton Blanchard <anton@samba.org>
1339
1340         * sysdeps/powerpc/bits/atomic.h
1341         (__arch_compare_and_exchange_bool_64_rel): Load from mem.
1342
1343 2014-11-24  Sterling Augustine  <saugustine@google.com>
1344
1345         * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
1346
1347 2014-11-24  Ryan Cumming  <etaoins@gmail.com>
1348
1349         [BZ #17608]
1350         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI.
1351
1352 2014-11-24  Joseph Myers  <joseph@codesourcery.com>
1353
1354         [BZ #17633]
1355         * stdio-common/perror.c (perror): Call __fileno instead of fileno.
1356         * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove
1357         variable.
1358         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
1359         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
1360
1361 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
1362
1363         * string/strncpy.c (strncpy): Improve performance by using memset.
1364
1365 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
1366
1367         * string/strcpy.c (strcpy):
1368         Improve performance by using strlen and memcpy.
1369
1370 2014-11-24  Leonhard Holz  <leonhard.holz@web.de>
1371
1372         * string/strcoll_l.c (get_next_seq): __always_inline.
1373         * string/strcoll_l.c (do_compare): __always_inline.
1374
1375 2014-11-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
1376
1377         * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
1378         defined.
1379         * include/mqueue.h: Likewise.
1380         * include/stdlib.h: Likewise.
1381
1382         * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
1383         (get_null_defines): Adjust.
1384         * sunrpc/Makefile: Adjust comment.
1385         * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
1386         * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
1387         (CFLAGS-interp.c): Likewise.
1388         (CFLAGS-ldconfig.c): Likewise.
1389         (CPPFLAGS-.os): Likewise.
1390         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
1391         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
1392         * extra-modules.mk (extra-modules.mk): Likewise.
1393         * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
1394         * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
1395         * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
1396         * nscd/Makefile (CPPFLAGS-nscd): Likewise.
1397         * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
1398         * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
1399         * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
1400         * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
1401         * iconvdata/Makefile (CPPFLAGS): Likewise.
1402         (cpp-srcs-left): Add libof for all iconvdata routines.
1403         * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
1404         * include/assert.h: Likewise.
1405         * include/ctype.h: Likewise.
1406         * include/errno.h: Likewise.
1407         * include/libc-symbols.h: Likewise.
1408         * include/math.h: Likewise.
1409         * include/netdb.h: Likewise.
1410         * include/resolv.h: Likewise.
1411         * include/stdio.h: Likewise.
1412         * include/stdlib.h: Likewise.
1413         * include/string.h: Likewise.
1414         * include/sys/stat.h: Likewise.
1415         * include/wctype.h: Likewise.
1416         * intl/l10nflist.c: Likewise.
1417         * libidn/idn-stub.c: Likewise.
1418         * libio/libioP.h: Likewise.
1419         * nptl/libc_multiple_threads.c: Likewise.
1420         * nptl/pthreadP.h: Likewise.
1421         * posix/regex_internal.h: Likewise.
1422         * resolv/res_hconf.c: Likewise.
1423         * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
1424         * sysdeps/arm/memmove.S: Likewise.
1425         * sysdeps/arm/sysdep.h: Likewise.
1426         * sysdeps/generic/_itoa.h: Likewise.
1427         * sysdeps/generic/symbol-hacks.h: Likewise.
1428         * sysdeps/gnu/errlist.awk: Likewise.
1429         * sysdeps/gnu/errlist.c: Likewise.
1430         * sysdeps/i386/i586/memcpy.S: Likewise.
1431         * sysdeps/i386/i586/memset.S: Likewise.
1432         * sysdeps/i386/i686/memcpy.S: Likewise.
1433         * sysdeps/i386/i686/memmove.S: Likewise.
1434         * sysdeps/i386/i686/mempcpy.S: Likewise.
1435         * sysdeps/i386/i686/memset.S: Likewise.
1436         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
1437         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
1438         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
1439         * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
1440         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
1441         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
1442         * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
1443         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
1444         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
1445         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
1446         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
1447         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
1448         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
1449         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
1450         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
1451         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
1452         * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
1453         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
1454         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
1455         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
1456         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
1457         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
1458         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
1459         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
1460         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
1461         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
1462         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
1463         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
1464         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
1465         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
1466         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
1467         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
1468         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
1469         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
1470         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
1471         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
1472         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
1473         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
1474         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
1475         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
1476         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
1477         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
1478         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
1479         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
1480         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
1481         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
1482         * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
1483         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
1484         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
1485         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
1486         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
1487         * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
1488         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
1489         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
1490         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
1491         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
1492         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
1493         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
1494         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
1495         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
1496         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
1497         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
1498         * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
1499         * sysdeps/nptl/bits/libc-lock.h: Likewise.
1500         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
1501         * sysdeps/nptl/bits/stdio-lock.h: Likewise.
1502         * sysdeps/posix/closedir.c: Likewise.
1503         * sysdeps/posix/opendir.c: Likewise.
1504         * sysdeps/posix/readdir.c: Likewise.
1505         * sysdeps/posix/rewinddir.c: Likewise.
1506         * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
1507         * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
1508         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
1509         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
1510         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
1511         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
1512         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
1513         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
1514         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
1515         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
1516         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
1517         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
1518         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
1519         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
1520         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
1521         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
1522         * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
1523         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
1524         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
1525         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
1526         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
1527         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
1528         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
1529         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
1530         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
1531         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
1532         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
1533         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
1534         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
1535         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
1536         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
1537         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
1538         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
1539         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
1540         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
1541         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
1542         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
1543         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
1544         * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
1545         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
1546         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
1547         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
1548         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
1549         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
1550         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
1551         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
1552         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
1553         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
1554         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
1555         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
1556         * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
1557         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
1558         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
1559         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
1560         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
1561         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
1562         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
1563         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
1564         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
1565         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
1566         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
1567         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
1568         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
1569         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
1570         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
1571         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
1572         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
1573         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
1574         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
1575         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
1576         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
1577         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
1578         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
1579         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
1580         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
1581         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
1582         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
1583         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
1584         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
1585         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
1586         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
1587         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
1588         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
1589         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
1590         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
1591         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
1592         * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
1593         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
1594         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
1595         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
1596         * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
1597         * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
1598         * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
1599         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
1600         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
1601         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
1602         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
1603         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
1604         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
1605         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
1606         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
1607         * sysdeps/unix/alpha/sysdep.S: Likewise.
1608         * sysdeps/unix/alpha/sysdep.h: Likewise.
1609         * sysdeps/unix/make-syscalls.sh: Likewise.
1610         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
1611         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
1612         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
1613         * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
1614         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
1615         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
1616         * sysdeps/unix/sysv/linux/getpid.c: Likewise.
1617         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
1618         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
1619         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
1620         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
1621         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
1622         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
1623         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
1624         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
1625         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
1626         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
1627         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
1628         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
1629         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
1630         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
1631         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
1632         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
1633         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
1634         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
1635         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
1636         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
1637         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
1638         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
1639         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
1640         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
1641         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
1642         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
1643         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
1644         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
1645         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
1646         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
1647         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
1648         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
1649         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
1650         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
1651         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
1652         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
1653         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
1654         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
1655         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
1656         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
1657         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
1658         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
1659         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
1660         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
1661         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
1662         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
1663         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
1664         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
1665         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
1666         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
1667         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
1668         * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
1669         * sysdeps/x86_64/memcpy.S: Likewise.
1670         * sysdeps/x86_64/memmove.c: Likewise.
1671         * sysdeps/x86_64/memset.S: Likewise.
1672         * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
1673         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
1674         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
1675         * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
1676         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
1677         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
1678         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
1679         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
1680         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
1681         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
1682         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
1683         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
1684         * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
1685         * sysdeps/x86_64/multiarch/memset.S: Likewise.
1686         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
1687         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
1688         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
1689         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
1690         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
1691         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
1692         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
1693         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
1694         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
1695         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
1696         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
1697         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
1698         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
1699         * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
1700         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
1701         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
1702         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
1703         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
1704         * sysdeps/x86_64/strcmp.S: Likewise.
1705
1706         * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
1707
1708         * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
1709         * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
1710         * elf/rtld-Rules: Likewise.
1711         * elf/setup-vdso.h: Likewise.
1712         * include/assert.h: Likewise.
1713         * include/bits/stdlib-float.h: Likewise.
1714         * include/errno.h: Likewise.
1715         * include/sys/stat.h: Likewise.
1716         * include/unistd.h: Likewise.
1717         * sysdeps/aarch64/setjmp.S: Likewise.
1718         * sysdeps/alpha/setjmp.S: Likewise.
1719         * sysdeps/arm/__longjmp.S: Likewise.
1720         * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
1721         * sysdeps/arm/setjmp.S: Likewise.
1722         * sysdeps/arm/sysdep.h: Likewise.
1723         * sysdeps/generic/_itoa.h: Likewise.
1724         * sysdeps/generic/dl-sysdep.h: Likewise.
1725         * sysdeps/generic/ldsodefs.h: Likewise.
1726         * sysdeps/i386/dl-tls.h: Likewise.
1727         * sysdeps/i386/setjmp.S: Likewise.
1728         * sysdeps/m68k/setjmp.c: Likewise.
1729         * sysdeps/mach/hurd/dl-execstack.c: Likewise.
1730         * sysdeps/mach/hurd/opendir.c: Likewise.
1731         * sysdeps/posix/getcwd.c: Likewise.
1732         * sysdeps/posix/opendir.c: Likewise.
1733         * sysdeps/posix/profil.c: Likewise.
1734         * sysdeps/powerpc/dl-procinfo.h: Likewise.
1735         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
1736         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
1737         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
1738         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
1739         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
1740         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
1741         * sysdeps/s390/dl-tls.h: Likewise.
1742         * sysdeps/s390/s390-32/setjmp.S: Likewise.
1743         * sysdeps/s390/s390-64/setjmp.S: Likewise.
1744         * sysdeps/sh/sh3/setjmp.S: Likewise.
1745         * sysdeps/sh/sh4/setjmp.S: Likewise.
1746         * sysdeps/unix/alpha/sysdep.h: Likewise.
1747         * sysdeps/unix/arm/sysdep.S: Likewise.
1748         * sysdeps/unix/i386/sysdep.S: Likewise.
1749         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
1750         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
1751         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
1752         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
1753         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
1754         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
1755         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
1756         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
1757         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
1758         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
1759         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
1760         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
1761         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
1762         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
1763         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
1764         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
1765         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
1766         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
1767         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
1768         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
1769         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
1770         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
1771         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
1772         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
1773         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
1774         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
1775         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
1776         * sysdeps/unix/x86_64/sysdep.S: Likewise.
1777         * sysdeps/x86_64/setjmp.S: Likewise.
1778
1779         * include/math.h: Use IS_IN instead of IS_IN_libm.
1780         * sysdeps/alpha/fpu/s_copysign.c: Likewise.
1781         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
1782         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
1783         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
1784         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
1785         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
1786         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
1787         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
1788         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
1789         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
1790         * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
1791         * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
1792         * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
1793         * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
1794         * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
1795         * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
1796         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
1797         * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
1798         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
1799         * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
1800         * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
1801         * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
1802         * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
1803         * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
1804         * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
1805         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
1806         * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
1807         * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
1808         * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
1809         * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
1810         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
1811         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
1812         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
1813         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
1814         Likewise.
1815         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
1816         Likewise.
1817         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
1818         Likewise.
1819         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
1820         Likewise.
1821         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
1822         Likewise.
1823         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
1824         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
1825         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
1826         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
1827         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
1828         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
1829         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
1830         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
1831         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
1832         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
1833         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
1834         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
1835         * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
1836         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
1837         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
1838         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
1839         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
1840         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
1841         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
1842         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
1843         * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
1844         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
1845         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
1846         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
1847         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
1848         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
1849         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
1850
1851         * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
1852         * nptl/pthreadP.h: Likewise.
1853         * nptl_db/structs.def: Likewise.
1854         * sysdeps/arm/sysdep.h: Likewise.
1855         * sysdeps/nptl/bits/libc-lock.h: Likewise.
1856         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
1857         * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
1858         * sysdeps/unix/alpha/sysdep.h: Likewise.
1859         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
1860         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
1861         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
1862         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
1863         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
1864         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
1865         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
1866         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
1867         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
1868         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
1869         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
1870         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
1871         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
1872         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
1873         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
1874         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
1875         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
1876         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
1877         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
1878         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
1879         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
1880         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
1881         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
1882         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
1883         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
1884         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
1885
1886         * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
1887         * nptl/pthreadP.h: Likewise.
1888         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
1889         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
1890         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
1891         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
1892         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
1893         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
1894         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
1895         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
1896         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
1897         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
1898         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
1899         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
1900         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
1901         Likewise.
1902         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
1903         Likewise.
1904         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
1905         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
1906         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
1907         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
1908         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
1909         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
1910         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
1911         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
1912
1913         * dlfcn/dladdr.c: Use IS_IN.
1914         * dlfcn/dladdr1.c: Likewise.
1915         * dlfcn/dlclose.c: Likewise.
1916         * dlfcn/dlerror.c: Likewise.
1917         * dlfcn/dlinfo.c: Likewise.
1918         * dlfcn/dlmopen.c: Likewise.
1919         * dlfcn/dlopen.c: Likewise.
1920         * dlfcn/dlsym.c: Likewise.
1921         * dlfcn/dlvsym.c: Likewise.
1922
1923         * include/ifaddrs.h: Use IS_IN.
1924         * inet/check_pf.c: Likewise.
1925         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
1926         * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
1927
1928         * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
1929         IS_IN_ldconfig.
1930         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
1931         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
1932
1933         * include/shlib-compat.h [!NOT_IN_libc]: Remove.
1934         * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
1935         IS_IN (libc).
1936
1937         * elf/Makefile (libof-sotruss-lib): Set as extramodules.
1938
1939         * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
1940         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
1941         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
1942         * include/libc-symbols.h (IS_IN_LIB): New macro.
1943         * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
1944         * include/netdb.h: Likewise.
1945         * include/stap-probe.h: Remove all uses of IN_LIB.
1946
1947         * Makeconfig (module-cppflags-real): Define MODULE_NAME
1948         instead of IN_MODULE.
1949         * include/libc-symbols.h (IN_MODULE): Define using
1950         MODULE_NAME.
1951         (PASTE_NAME, PASTE_NAME1): New macros.
1952         * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
1953         of IN_LIB.
1954         (STAP_PROBE_ASM): Likewise.
1955
1956 2014-11-23  Samuel Thibault  <samuel.thibault@ens-lyon.org>
1957
1958         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
1959         __mach_init in dlopened libc.
1960
1961 2014-11-22  Mike Frysinger  <vapier@gentoo.org>
1962
1963         * sysdeps/arm/preconfigure.ac: Delete EABI check.
1964         * sysdeps/arm/preconfigure: Regenerate.
1965
1966 2014-11-21  Roland McGrath  <roland@hack.frob.com>
1967
1968         * nptl/pthread_create.c (__pthread_create_2_1): Set
1969         ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
1970         when copying values from IATTR into PD.
1971
1972 2014-11-21  Will Newton  <will.newton@linaro.org>
1973             Andrew Pinski  <andrew.pinski@caviumnetworks.com>
1974
1975         * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
1976         Refactor inline-asm.  Also add comment.
1977
1978         * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
1979         ElfW macro instead of hardcoded Elf64 types.
1980         (la_aarch64_gnu_pltenter): Likewise.
1981         * sysdeps/aarch64/dl-machine.h
1982         (elf_machine_runtime_setup): Use ElfW(Addr).
1983
1984         * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
1985         R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
1986         R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
1987         R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
1988         R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
1989         (R_AARCH64_TLS_DTPMOD64): Rename to ..
1990         (R_AARCH64_TLS_DTPMOD): This.
1991         (R_AARCH64_TLS_DTPREL64): Rename to ...
1992         (R_AARCH64_TLS_DTPREL): This.
1993         (R_AARCH64_TLS_TPREL64): Rename to ...
1994         (R_AARCH64_TLS_TPREL): This.
1995         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
1996         R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
1997         R_AARCH64_TLS_TPREL64.
1998         (elf_machine_rela): Likewise.
1999
2000 2014-11-21  Torvald Riegel  <triegel@redhat.com>
2001
2002         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
2003         by setting it to 0.  64b atomics are not supported currently.
2004
2005 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
2006
2007         [BZ #16469]
2008         * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
2009         search domain names.
2010
2011 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
2012
2013         [BZ #16469]
2014         * NEWS: Update.
2015         * resolv/res_query.c (__libc_res_nquerydomain): Retain
2016         trailing dot.
2017         * posix/tst-getaddrinfo5.c: New.
2018         * posix/Makefile (tests): Add it.
2019
2020 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
2021
2022         [BZ #14498]
2023         * NEWS: Fixed.
2024         * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
2025         after parsing line but before break_if_match.
2026         * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
2027         if there is a protocol mismatch.
2028
2029 2014-11-21  Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
2030
2031         * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
2032         because the potential race is on the user-supplied stream.
2033
2034 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
2035
2036         * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
2037         string literal if not passed a buffer.
2038         * manual/job.texi (ctermid): Update reasoning, note deviation
2039         from posix, suggest mtasurace when not passed a buffer, for
2040         future non-preliminary safety notes.
2041
2042 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
2043
2044         * manual/users.texi (cuserid): Fix MT-Safety note for the case
2045         of not passing it a buffer.
2046         Reported by Peng Haitao.
2047
2048 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
2049
2050         * manual/Makefile ($(objpfx)stamp-summary): Require
2051         check-safety.sh to pass.
2052         * manual/check-safety.sh: Wish for verification that every
2053         @deftypefn and @deftypefun is followed by a @safety remark.
2054
2055 2014-11-20  Roland McGrath  <roland@hack.frob.com>
2056
2057         * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
2058
2059         * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
2060         PTHREAD_CANCEL_ASYNCHRONOUS.
2061         * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
2062         send SIGCANCEL.
2063
2064         * nptl/default-sched.h: New file.
2065         * sysdeps/unix/sysv/linux/default-sched.h: New file.
2066         * nptl/pthread_create.c: Include it.
2067         (__pthread_create_2_1): Use collect_default_sched instead of making
2068         Linux syscalls here directly.
2069
2070 2014-11-20  Torvald Riegel  <triegel@redhat.com>
2071
2072         * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
2073         __pthread_once): Use C11 atomics.
2074
2075 2014-11-20  Torvald Riegel  <triegel@redhat.com>
2076
2077         * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
2078
2079 2014-11-20  Torvald Riegel  <triegel@redhat.com>
2080
2081         * include/atomic.h (__atomic_link_error, __atomic_check_size,
2082         atomic_thread_fence_acquire, atomic_thread_fence_release,
2083         atomic_thread_fence_seq_cst, atomic_load_relaxed,
2084         atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
2085         atomic_compare_exchange_weak_relaxed,
2086         atomic_compare_exchange_weak_acquire,
2087         atomic_compare_exchange_weak_release,
2088         atomic_exchange_acquire, atomic_exchange_release,
2089         atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
2090         atomic_fetch_add_release, atomic_fetch_add_acq_rel,
2091         atomic_fetch_and_acquire,
2092         atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
2093
2094 2014-11-20  Torvald Riegel  <triegel@redhat.com>
2095
2096         * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
2097         USE_ATOMIC_COMPILER_BUILTINS): Define.
2098         * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
2099         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
2100         * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
2101         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
2102         * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
2103         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
2104         * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
2105         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
2106         * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
2107         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
2108         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
2109         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
2110         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
2111         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
2112         * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
2113         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
2114         * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
2115         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
2116         * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
2117         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
2118         * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
2119         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
2120         * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
2121         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
2122         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
2123         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
2124         * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
2125         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
2126         * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
2127         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
2128         * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
2129         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
2130         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
2131         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
2132         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
2133         (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
2134         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
2135         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
2136         * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
2137         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
2138
2139 2014-11-19  Roland McGrath  <roland@hack.frob.com>
2140
2141         * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
2142         the sched_priority value here.  It was already checked when the user
2143         called pthread_attr_setschedparam.
2144
2145         * nptl/tst-bad-schedattr.c: New file.
2146         * nptl/Makefile (tests): Add it.
2147
2148 2014-11-19  Carlos O'Donell  <carlos@redhat.com>
2149             Florian Weimer  <fweimer@redhat.com>
2150             Joseph Myers  <joseph@codesourcery.com>
2151             Adam Conrad  <adconrad@0c3.net>
2152             Andreas Schwab  <schwab@suse.de>
2153             Brooks  <bmoses@google.com>
2154
2155         [BZ #17625]
2156         * wordexp-test.c (__dso_handle): Add prototype.
2157         (__register_atfork): Likewise.
2158         (__app_register_atfork): New function.
2159         (registered_forks): New global.
2160         (register_fork): New function.
2161         (test_case): Add 3 new tests for WRDE_CMDSUB.
2162         (main): Call __app_register_atfork.
2163         (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
2164         fork count is non-zero fail the test.
2165         * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
2166         is set.
2167         (parse_dollars): Remove check for WRDE_NOCMD.
2168         (parse_dquote): Likewise.
2169
2170 2014-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
2171
2172         * Makeconfig (built-modules): List non-library modules to be
2173         built.
2174         (module-cppflags): Include libc-modules.h for
2175         everything except shlib-versions.v.i.
2176         (CPPFLAGS): Use it.
2177         (before-compile): Add libc-modules.h.
2178         ($(common-objpfx)libc-modules.h,
2179         $(common-objpfx)libc-modules.stmp): New targets.
2180         (common-generated): Add libc-modules.h and libc-modules.stmp.
2181         ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
2182         * include/libc-symbols.h: Don't include libc-modules.h.
2183         * include/libc-modules.h: Remove file.
2184         * scripts/gen-libc-modules.awk: New script to generate
2185         libc-modules.h.
2186         * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
2187         Depend on libc-modules.stmp.
2188
2189         * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
2190
2191         * Makeconfig (in-module): Get value of libof set for the
2192         translation unit.
2193         (CPPFLAGS): Use $(in-module).
2194         * Makerules: Don't suffix routine names for nonlib.
2195         * include/libc-modules.h: New file.
2196         * include/libc-symbols.h: Include libc-modules.h
2197         (IS_IN): New macro to replace IS_IN_* macros.
2198         * elf/Makefile: Set libof-* for each routine.
2199         * elf/rtld-Rules: Likewise.
2200         * extra-modules.mk: Likewise.
2201         * iconv/Makefile: Likewise.
2202         * iconvdata/Makefile: Likewise.
2203         * locale/Makefile: Likewise.
2204         * malloc/Makefile: Likewise.
2205         * nss/Makefile: Likewise.
2206         * sysdeps/gnu/Makefile: Likewise.
2207         * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
2208         * sysdeps/unix/sysv/linux/Makefile: Likewise.
2209         * sysdeps/s390/s390-64/Makefile: Likewise.
2210         * nscd/Makefile: Set libof-* for each routine.  Set CFLAGS and
2211         CPPFLAGS for nscd instead of nonlib.
2212
2213 2014-11-18  Roland McGrath  <roland@hack.frob.com>
2214
2215         * nptl/createthread.c: New file.
2216
2217         * nptl/createthread.c: Moved ...
2218         * sysdeps/unix/sysv/linux/createthread.c: ... here.
2219
2220         * nptl/createthread.c: Add proper top-line comment.
2221         (do_clone): Folded into ...
2222         (create_thread): ... here.  Take new arguments STOPPED_START and
2223         THREAD_RAN.  Always set PD->stopped_start to something here.  Don't
2224         increment __nptl_threads, do event-reporting logic, do
2225         CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
2226         here.  Set *THREAD_RAN after ARCH_CLONE call succeeds.  Don't do any
2227         resource cleanup if sched_setaffinity or sched_setscheduler fails,
2228         just send SIGCANCEL.
2229         * nptl/pthread_create.c: Forward-declare create_thread before
2230         including createthread.c.
2231         (start_thread): Use new macro START_THREAD_DEFN to replace defining
2232         declaration, and new macro START_THREAD_SELF to replace argument.
2233         Remove return statement.
2234         (report_thread_creation): New function.
2235         (__pthread_create_2_1): Use it.  Do TD_CREATE reporting,
2236         synchronization logic, and __nptl_nthreads increment here, around
2237         calling create_thread.  Do CHECK_THREAD_SYSINFO and initialize
2238         PD->parent_cancelhandling here, before create_thread.  When
2239         create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
2240         __deallocate_stack, and ENOMEM translation here.
2241
2242 2014-11-18  Joseph Myers  <joseph@codesourcery.com>
2243
2244         [BZ #17616]
2245         * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
2246         (mptwo): Rename to __mptwo.
2247         (__inv): Use __mptwo instead of mptwo.
2248         * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
2249         (mptwo): Rename to __mptwo.
2250         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
2251         of mpone and __mptwo instead of mptwo.
2252         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
2253         instead of mpone.
2254         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
2255         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
2256         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
2257         of mpone and __mptwo instead of mptwo.
2258         (__mpranred): Use __mpone instead of mpone.
2259         * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
2260         variable.
2261         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
2262         (test-xfail-ISO99/math.h/linknamespace): Likewise.
2263         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
2264         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
2265         (test-xfail-ISO11/math.h/linknamespace): Likewise.
2266         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
2267         (test-xfail-XPG3/math.h/linknamespace): Likewise.
2268         (test-xfail-XPG4/math.h/linknamespace): Likewise.
2269         (test-xfail-POSIX/math.h/linknamespace): Likewise.
2270         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
2271         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
2272         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
2273         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
2274         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
2275         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
2276         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
2277         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
2278         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
2279         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
2280
2281 2014-11-18  Tom de Vries  <tom@codesoucery.com>
2282
2283         * manual/signal.texi (Primitives Interrupted by Signals): In section,
2284         replace BSD Handler xref with BSD Signal Handling.
2285
2286 2014-11-17  Richard Henderson  <rth@redhat.com>
2287
2288         * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
2289         (_FP_PACK_RAW_2): Remove.
2290         (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
2291         (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
2292         (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
2293         (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
2294         * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
2295         * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
2296         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
2297         * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
2298         * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
2299         * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
2300         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
2301         * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
2302         * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
2303         * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
2304         * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
2305         * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
2306
2307 2014-11-14  Roland McGrath  <roland@hack.frob.com>
2308
2309         * signal/signal.h [__USE_MISC]
2310         (struct sigvec): Remove type.
2311         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
2312         (sigvec): Remove declaration.
2313         * sysdeps/posix/sigvec.c: Moved ...
2314         * signal/sigvec.c: ... here, replacing old file.
2315         (struct sigvec): New type, copied from old signal.h definition.
2316         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
2317         (__sigvec): Convert definition to prototype.
2318         (sigvec): Replace weak_alias with compat_symbol.
2319         * signal/Versions (libc: GLIBC_2.21): New version set.
2320         * include/signal.h: Remove __sigvec declaration.
2321         * sysdeps/unix/bsd/sigvec.c: Remove file.
2322         * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
2323         * manual/signal.texi (BSD Handler): Remove subsection.
2324         Move siginterrupt up to ...
2325         (BSD Signal Handling): ... here.  Mark it as XPG rather than BSD.
2326         (Blocking in BSD): Fold subsection into its parent.
2327         * NEWS: Mention sigvec removal.
2328
2329 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
2330
2331         * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
2332         (DLA_FMS): Make definition conditional only on [__FMA4__].
2333         [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
2334         definition.
2335
2336         * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
2337         Make definition conditional only on [PROF].
2338         [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
2339         definition.
2340         [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
2341         [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
2342
2343         * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
2344         !__GNUC__].
2345         * include/signal.h (__sigpause): Move declaration above call to
2346         libc_hidden_proto.
2347         * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
2348         variable.
2349         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
2350         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
2351
2352 2014-11-14  David S. Miller  <davem@davemloft.net>
2353
2354         * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
2355         Define before including <string/memcpy.c> and <string/mempcpy.c>.
2356
2357 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
2358
2359         * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
2360         * configure: Regenerated.
2361         * manual/install.texi (Tools for Compilation): Document a
2362         requirement of GCC 4.6 or later and that GCC 4.9 is the newest
2363         compiler verified to work.
2364         * INSTALL: Regenerated.
2365
2366         * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
2367         redeclare with asm name.
2368         [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
2369         * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
2370         including <string.h>.
2371         * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
2372         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
2373         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
2374         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
2375         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
2376         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
2377         [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
2378
2379 2014-11-13  Joseph Myers  <joseph@codesourcery.com>
2380
2381         * stdlib/strtol.c (__strtol): Use prototype definition.
2382
2383         [BZ #17594]
2384         * stdlib/strtol.c (SYM__): New macro.
2385         (SYM__1): Likewise.
2386         (__strtol): Likewise.
2387         (strtol): Rename to __strtol and define as weak alias of
2388         __strtol.  Use libc_hidden_weak.
2389
2390 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
2391
2392         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
2393         Use numbered labels in inline assembly.
2394
2395 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
2396
2397         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
2398         Add setjmp LIBC_PROBE.
2399         * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
2400         Likewise.
2401         * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
2402         Add longjmp, longjmp_target LIBC_PROBE.
2403         * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
2404         Likewise.
2405
2406 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
2407
2408         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
2409         Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
2410         to get rid of unused variable warning.
2411
2412 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
2413
2414         * sysdeps/s390/s390-32/backtrace.c (__backtrace):
2415         Check for unwind_backtrace ==  NULL only in SHARED case.
2416         (__backchain_backtrace): Compile only in SHARED case.
2417         * sysdeps/s390/s390-64/backtrace.c (__backtrace):
2418         Likewise.
2419         (__backchain_backtrace): Declare as static.
2420
2421 2014-11-12  Roland McGrath  <roland@hack.frob.com>
2422
2423         * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
2424         (__libc_multiple_threads_ptr): Variable moved ...
2425         * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
2426
2427 2014-11-12  Joseph Myers  <joseph@codesourcery.com>
2428
2429         * conform/GlibcConform.pm: New file.
2430         * conform/conformtest.pl: Use GlibcConform module.
2431         * conform/linknamespace.pl: New file.
2432         * conform/list-header-symbols.pl: Likewise.
2433         * conform/Makefile (linknamespace-symlists-base): New variable.
2434         (linknamespace-symlists-tests): Likewise.
2435         (linknamespace-header-base): Likewise.
2436         (linknamespace-header-tests): Likewise.
2437         (tests-special): Add new tests.
2438         ($(linknamespace-symlists-tests)): New rule.
2439         (linknamespace-libs): New variable.
2440         ($(objpfx)symlist-stdlibs): New rule.
2441         ($(linknamespace-header-tests)): Likewise.
2442         (test-xfail-XPG3/varargs.h/linknamespace): New variable.
2443         (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
2444         (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
2445         (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
2446         (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
2447         (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
2448         (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
2449         (test-xfail-ISO/math.h/linknamespace): Likewise.
2450         (test-xfail-ISO/signal.h/linknamespace): Likewise.
2451         (test-xfail-ISO/stdio.h/linknamespace): Likewise.
2452         (test-xfail-ISO/time.h/linknamespace): Likewise.
2453         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
2454         (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
2455         (test-xfail-ISO99/math.h/linknamespace): Likewise.
2456         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
2457         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
2458         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
2459         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
2460         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
2461         (test-xfail-ISO11/math.h/linknamespace): Likewise.
2462         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
2463         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
2464         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
2465         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
2466         (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
2467         (test-xfail-XPG3/glob.h/linknamespace): Likewise.
2468         (test-xfail-XPG3/math.h/linknamespace): Likewise.
2469         (test-xfail-XPG3/regex.h/linknamespace): Likewise.
2470         (test-xfail-XPG3/search.h/linknamespace): Likewise.
2471         (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
2472         (test-xfail-XPG3/time.h/linknamespace): Likewise.
2473         (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
2474         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
2475         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
2476         (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
2477         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
2478         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
2479         (test-xfail-XPG4/grp.h/linknamespace): Likewise.
2480         (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
2481         (test-xfail-XPG4/math.h/linknamespace): Likewise.
2482         (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
2483         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
2484         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
2485         (test-xfail-XPG4/search.h/linknamespace): Likewise.
2486         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
2487         (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
2488         (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
2489         (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
2490         (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
2491         (test-xfail-XPG4/time.h/linknamespace): Likewise.
2492         (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
2493         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
2494         (test-xfail-POSIX/aio.h/linknamespace): Likewise.
2495         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
2496         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
2497         (test-xfail-POSIX/math.h/linknamespace): Likewise.
2498         (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
2499         (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
2500         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
2501         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
2502         (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
2503         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
2504         (test-xfail-POSIX/time.h/linknamespace): Likewise.
2505         (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
2506         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
2507         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
2508         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
2509         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
2510         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
2511         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
2512         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
2513         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
2514         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
2515         (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
2516         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
2517         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
2518         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
2519         (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
2520         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
2521         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
2522         (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
2523         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
2524         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
2525         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
2526         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
2527         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
2528         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
2529         (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
2530         (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
2531         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
2532         (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
2533         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
2534         (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
2535         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
2536         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
2537         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
2538         (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
2539         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
2540         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
2541         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
2542         (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
2543         (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
2544         (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
2545         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
2546         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
2547         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
2548         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
2549         (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
2550         (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
2551         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
2552         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
2553         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
2554         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
2555         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
2556         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
2557         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
2558         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
2559         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
2560         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
2561         (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
2562         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
2563         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
2564         (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
2565         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
2566         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
2567         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
2568         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
2569         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
2570         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
2571         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
2572         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
2573         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
2574         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
2575         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
2576         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
2577         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
2578         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
2579         (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
2580         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
2581         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
2582         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
2583         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
2584         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
2585         (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
2586         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
2587         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
2588         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
2589         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
2590         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
2591         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
2592         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
2593         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
2594         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
2595         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
2596         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
2597         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
2598         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
2599         (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
2600         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
2601         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
2602         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
2603
2604         [BZ #17589]
2605         * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
2606         of fgets_unlocked.
2607
2608         [BZ #17585]
2609         * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
2610         (memmem): Rename to __memmem and define as weak alias of
2611         __memmem.  Use libc_hidden_weak.
2612         (__memmem): Use libc_hidden_def.
2613         * include/string.h (__memmem): Declare.  Use libc_hidden_proto.
2614         * locale/findlocale.c (valid_locale_name): Use __memmem instead of
2615         memmem.
2616
2617         [BZ #17582]
2618         * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
2619         (__fgets_unlocked): Add alias of _IO_fgets.  Use libc_hidden_def.
2620         * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
2621         and define as weak alias of __fgets_unlocked.  Use
2622         libc_hidden_weak.
2623         (__fgets_unlocked): Use libc_hidden_def.
2624         * include/stdio.h (__fgets_unlocked): Declare.  Use
2625         libc_hidden_proto.
2626         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
2627         __fgets_unlocked instead of fgets_unlocked.
2628         * sysdeps/unix/sysv/linux/alpha/getsysstats.c
2629         (GET_NPROCS_CONF_PARSER): Likewise.
2630         * sysdeps/unix/sysv/linux/sparc/getsysstats.c
2631         (GET_NPROCS_CONF_PARSER): Likewise.
2632
2633         [BZ #17574]
2634         * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
2635         weak alias of __wmemset.  Use libc_hidden_weak.
2636         (__wmemset): Use libc_hidden_def.
2637         * include/wchar.h (__wmemset): Declare.  Use libc_hidden_proto.
2638         * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
2639         of wmemset.
2640
2641         [BZ #17573]
2642         * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
2643         with asm name __mempcpy.
2644         [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
2645
2646         [BZ #17572]
2647         * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
2648         and define as weak alias of __rawmemchr.
2649         (__rawmemchr): Do not define as strong alias of rawmemchr.
2650
2651         [BZ #17571]
2652         * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
2653         alias of __qsort_r.
2654         (qsort): Call __qsort_r instead of qsort_r.
2655         * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
2656         (__qsort_r): Declare.  Call libc_hidden_proto.
2657         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
2658         instead of qsort_r.
2659         * nscd/gai.c (__qsort_r): Define to qsort_r.
2660         * posix/tst-rfc3484.c (__qsort_r): Likewise.
2661         * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
2662         * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
2663
2664         [BZ #17570]
2665         * malloc/malloc.c (malloc_info): Rename to __malloc_info and
2666         define as weak alias of __malloc_info.
2667
2668         [BZ #17584]
2669         * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
2670         as weak alias of __rewinddir.  Don't use libc_hidden_def.
2671         (__rewinddir): Use libc_hidden_def.
2672         * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
2673         as weak alias of __rewinddir.  Don't use libc_hidden_def.
2674         (__rewinddir): Use libc_hidden_def.
2675         * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
2676         weak alias of __rewinddir.  Don't use libc_hidden_def.
2677         (__rewinddir): Use libc_hidden_def.
2678         * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
2679         (__rewinddir): Use libc_hidden_proto.
2680         * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
2681         rewinddir.
2682         (__getcwd): Use __rewinddir instead of rewinddir.
2683
2684         [BZ #17583]
2685         * libio/fileno.c (fileno): Rename to __fileno and define as weak
2686         alias of __fileno.  Use libc_hidden_weak.
2687         (__fileno): Use libc_hidden_def.
2688         [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
2689         * libio/ftello.c (ftello): Rename to __ftello and define as weak
2690         alias of __ftello.
2691         [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
2692         __ftello.
2693         * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
2694         (__fread_unlocked): Define as strong alias of _IO_fread.  Use
2695         libc_hidden_def.
2696         (fread_unlocked): Don't use libc_hidden_ver.
2697         * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
2698         and define as weak alias of __fread_unlocked.  Don't use
2699         libc_hidden_def.
2700         (__fread_unlocked): Use libc_hidden_def.
2701         * include/stdio.h (__fileno): Declare.  Use libc_hidden_proto.
2702         (ftello): Don't use libc_hidden_proto.
2703         (__ftello): Declare.  Use libc_hidden_proto.
2704         (fread_unlocked): Don't use libc_hidden_proto.
2705         (__fread_unlocked): Declare.  Use libc_hidden_proto.
2706         * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
2707         and __ftello instead of fileno, fread_unlocked and ftello.
2708
2709 2012-11-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
2710
2711         * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
2712         GOT12.
2713         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
2714         Likewise.
2715         (_dl_start_user): Likewise.
2716         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
2717
2718 2014-11-12  Carlos O'Donell  <carlos@redhat.com>
2719             Siddhesh Poyarekar  <siddhesh@redhat.com>
2720
2721         * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
2722         Move argv and envp down instead of moving argc up.
2723         * sysdeps/s390/s390-32/dl-sysdep.h: New file.
2724
2725 2014-11-12  Leonhard Holz  <leonhard.holz@web.de>
2726
2727         [BZ #17506]
2728         * test-skeleton.c (main): Return successful if one of
2729         EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
2730         * string/tst-strcoll-overflow.c: Define expected status.
2731
2732 2014-11-12  Tatiana Udalova  <t.udalova@samsung.com>
2733
2734         [BZ #17475]
2735         * locale/iso-639.def: Define Bhili and Tulu language codes.
2736
2737 2014-11-11  Alan Hayward  <alan.hayward@arm.com>
2738
2739         * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
2740
2741 2014-11-10  Renlin Li  <Renlin.Li@arm.com>
2742
2743         [BZ #17555]
2744         * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
2745
2746 2014-11-10  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
2747
2748         * configure.ac: Updated check of minimal required version to
2749         2.22.
2750         * manual/install.texi (Tools for Compilation): Updated version
2751         number.
2752         * configure: Regenerated.
2753         * INSTALL: Likewise.
2754
2755 2014-11-07  Andreas Schwab  <schwab@linux-m68k.org>
2756
2757         * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
2758         __tls_get_addr.
2759
2760 2014-11-07  Joseph Myers  <joseph@codesourcery.com>
2761
2762         * include/sys/wait.h (__libc_waitpid): Remove declaration.
2763         * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
2764         (__waitpid): Don't define as alias.  Use libc_hidden_def not
2765         libc_hidden_weak.
2766         (waitpid): Define as alias of __waitpid.
2767         * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
2768         __waitpid.
2769         (__waitpid): Don't define as alias.  Use libc_hidden_def not
2770         libc_hidden_weak.
2771         (waitpid): Define as alias of __waitpid.
2772         * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
2773         __libc_waitpid alias.
2774         * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
2775         * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
2776         Likewise.
2777         * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
2778         * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
2779         * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
2780         alias.
2781         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
2782         __waitpid.
2783         (__waitpid): Don't define as alias.  Use libc_hidden_def not
2784         libc_hidden_weak.
2785         (waitpid): Define as alias of __waitpid.
2786
2787 2014-11-06  Carlos O'Donell  <carlos@redhat.com>
2788
2789         * manual/llio.texi: Add comment that write safety has been
2790         fixed in Linux.
2791
2792         * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
2793         (localplt-build-dso): Add elf/ld.so.
2794         * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
2795         i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
2796         and free for ld.so.
2797         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
2798         __libc_memalign, malloc, calloc, realloc, and free for ld.so.
2799         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
2800         Likewise.
2801         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
2802         Likewise.
2803         * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
2804         * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
2805         version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
2806         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
2807         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
2808         * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
2809         * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
2810         * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
2811         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
2812         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
2813         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
2814
2815 2014-11-05  Joseph Myers  <joseph@codesourcery.com>
2816
2817         [BZ #14132]
2818         * include/libc-symbols.h (INTUSE): Remove macro.
2819         (INTDEF): Likewise.
2820         (INTVARDEF): Likewise.
2821         (_INTVARDEF): Likewise.
2822         (INTDEF2): Likewise.
2823         (INTVARDEF2): Likewise.
2824         * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
2825         rtld_hidden_def instead of INTVARDEF.
2826         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
2827         (_dl_starting_up_internal): Remove declaration.
2828         (_dl_starting_up): Use rtld_hidden_proto.
2829         * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
2830         declaration.
2831         [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
2832         (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
2833         _dl_starting_up.
2834         * elf/dl-writev.h (_dl_writev): Likewise.
2835         * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
2836         (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
2837         _dl_starting_up_internal.
2838
2839 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2840
2841         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
2842         test-skeleton.c.
2843
2844 2014-11-05  Will Newton  <will.newton@linaro.org>
2845
2846         * benchtests/Makefile: (bench-malloc): Add malloc thread
2847         scalability benchmark.
2848         * benchtests/bench-malloc-threads.c: New file.
2849
2850 2014-11-05  Richard Earnshaw  <rearnsha@arm.com>
2851
2852         * sysdeps/aarch64/strchrnul.S: New file.
2853
2854 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2855
2856         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
2857         definition.
2858         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
2859         Likwise.
2860         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
2861         Likewise.
2862         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
2863         Likewise.
2864         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
2865         Likewise.
2866         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
2867         Likewise.
2868
2869 2014-11-05  Arjun Shankar  <arjun.is@lostca.se>
2870
2871         * catgets/test-gencat.c: Use test-skeleton.c.
2872         * catgets/tst-catgets.c: Likewise.
2873         * csu/tst-empty.c: Likewise.
2874         * elf/tst-audit2.c: Likewise.
2875         * elf/tst-global1.c: Likewise.
2876         * elf/tst-pathopt.c: Likewise.
2877         * elf/tst-piemod1.c: Likewise.
2878         * elf/tst-tls10.c: Likewise.
2879         * elf/tst-tls11.c: Likewise.
2880         * elf/tst-tls12.c: Likewise.
2881         * gnulib/tst-gcc.c: Likewise.
2882         * iconvdata/tst-e2big.c: Likewise.
2883         * iconvdata/tst-loading.c: Likewise.
2884         * iconv/tst-iconv1.c: Likewise.
2885         * iconv/tst-iconv2.c: Likewise.
2886         * inet/test-inet6_opt.c: Likewise.
2887         * inet/tst-gethnm.c: Likewise.
2888         * inet/tst-network.c: Likewise.
2889         * inet/tst-ntoa.c: Likewise.
2890         * intl/tst-codeset.c: Likewise.
2891         * intl/tst-gettext2.c: Likewise.
2892         * intl/tst-gettext3.c: Likewise.
2893         * intl/tst-ngettext.c: Likewise.
2894         * intl/tst-translit.c: Likewise.
2895         * io/test-stat.c: Likewise.
2896         * libio/test-fmemopen.c: Likewise.
2897         * libio/tst-freopen.c: Likewise.
2898         * libio/tst-sscanf.c: Likewise.
2899         * libio/tst-ungetwc1.c: Likewise.
2900         * libio/tst-ungetwc2.c: Likewise.
2901         * libio/tst-widetext.c: Likewise.
2902         * localedata/tst-ctype.c: Likewise.
2903         * localedata/tst-digits.c: Likewise.
2904         * localedata/tst-leaks.c: Likewise.
2905         * localedata/tst-mbswcs1.c: Likewise.
2906         * localedata/tst-mbswcs2.c: Likewise.
2907         * localedata/tst-mbswcs3.c: Likewise.
2908         * localedata/tst-mbswcs4.c: Likewise.
2909         * localedata/tst-mbswcs5.c: Likewise.
2910         * localedata/tst-setlocale.c: Likewise.
2911         * localedata/tst-trans.c: Likewise.
2912         * localedata/tst-wctype.c: Likewise.
2913         * localedata/tst-xlocale1.c: Likewise.
2914         * login/tst-grantpt.c: Likewise.
2915         * malloc/tst-calloc.c: Likewise.
2916         * malloc/tst-malloc.c: Likewise.
2917         * malloc/tst-mallocstate.c: Likewise.
2918         * malloc/tst-mcheck.c: Likewise.
2919         * malloc/tst-mtrace.c: Likewise.
2920         * malloc/tst-obstack.c: Likewise.
2921         * math/atest-exp2.c: Likewise.
2922         * math/atest-exp.c: Likewise.
2923         * math/atest-sincos.c: Likewise.
2924         * math/test-matherr.c: Likewise.
2925         * math/test-misc.c: Likewise.
2926         * math/test-powl.c: Likewise.
2927         * math/tst-definitions.c: Likewise.
2928         * misc/tst-dirname.c: Likewise.
2929         * misc/tst-efgcvt.c: Likewise.
2930         * misc/tst-fdset.c: Likewise.
2931         * misc/tst-hsearch.c: Likewise.
2932         * misc/tst-mntent2.c: Likewise.
2933         * nptl/tst-sem7.c: Likewise.
2934         * nptl/tst-sem8.c: Likewise.
2935         * nptl/tst-sem9.c: Likewise.
2936         * nss/test-netdb.c: Likewise.
2937         * posix/tst-fnmatch.c: Likewise.
2938         * posix/tst-getlogin.c: Likewise.
2939         * posix/tst-gnuglob.c: Likewise.
2940         * posix/tst-mmap.c: Likewise.
2941         * pwd/tst-getpw.c: Likewise.
2942         * resolv/tst-inet_ntop.c: Likewise.
2943         * rt/tst-timer.c: Likewise.
2944         * stdio-common/test-fseek.c: Likewise.
2945         * stdio-common/test-popen.c: Likewise.
2946         * stdio-common/test-vfprintf.c: Likewise.
2947         * stdio-common/tst-cookie.c: Likewise.
2948         * stdio-common/tst-fileno.c: Likewise.
2949         * stdio-common/tst-gets.c: Likewise.
2950         * stdio-common/tst-obprintf.c: Likewise.
2951         * stdio-common/tst-perror.c: Likewise.
2952         * stdio-common/tst-sprintf2.c: Likewise.
2953         * stdio-common/tst-sprintf3.c: Likewise.
2954         * stdio-common/tst-sprintf.c: Likewise.
2955         * stdio-common/tst-swprintf.c: Likewise.
2956         * stdio-common/tst-tmpnam.c: Likewise.
2957         * stdio-common/tst-unbputc.c: Likewise.
2958         * stdio-common/tst-wc-printf.c: Likewise.
2959         * stdlib/tst-environ.c: Likewise.
2960         * stdlib/tst-fmtmsg.c: Likewise.
2961         * stdlib/tst-limits.c: Likewise.
2962         * stdlib/tst-rand48-2.c: Likewise.
2963         * stdlib/tst-rand48.c: Likewise.
2964         * stdlib/tst-random2.c: Likewise.
2965         * stdlib/tst-random.c: Likewise.
2966         * stdlib/tst-strtol.c: Likewise.
2967         * stdlib/tst-strtoll.c: Likewise.
2968         * stdlib/tst-tls-atexit.c: Likewise.
2969         * stdlib/tst-xpg-basename.c: Likewise.
2970         * string/test-ffs.c: Likewise.
2971         * string/tst-bswap.c: Likewise.
2972         * string/tst-inlcall.c: Likewise.
2973         * string/tst-strtok.c: Likewise.
2974         * string/tst-strxfrm.c: Likewise.
2975         * sysdeps/x86_64/tst-audit10.c: Likewise.
2976         * sysdeps/x86_64/tst-audit3.c: Likewise.
2977         * sysdeps/x86_64/tst-audit4.c: Likewise.
2978         * sysdeps/x86_64/tst-audit5.c: Likewise.
2979         * time/tst-ftime_l.c: Likewise.
2980         * time/tst-getdate.c: Likewise.
2981         * time/tst-mktime3.c: Likewise.
2982         * time/tst-mktime.c: Likewise.
2983         * time/tst-posixtz.c: Likewise.
2984         * time/tst-strptime2.c: Likewise.
2985         * time/tst-strptime3.c: Likewise.
2986         * wcsmbs/tst-btowc.c: Likewise.
2987         * wcsmbs/tst-mbrtowc.c: Likewise.
2988         * wcsmbs/tst-mbsrtowcs.c: Likewise.
2989         * wcsmbs/tst-wchar-h.c: Likewise.
2990         * wcsmbs/tst-wcpncpy.c: Likewise.
2991         * wcsmbs/tst-wcrtomb.c: Likewise.
2992         * wcsmbs/tst-wcsnlen.c: Likewise.
2993         * wcsmbs/tst-wcstof.c: Likewise.
2994
2995 2014-11-04  Joseph Myers  <joseph@codesourcery.com>
2996
2997         [BZ #14132]
2998         * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
2999         INTDEF.
3000         * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
3001         declaration.
3002         (_dl_mcount): Use rtld_hidden_proto.
3003         * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
3004         _dl_mcount.
3005         * elf/rtld.c (_rtld_global_ro): Likewise.
3006
3007         [BZ #14132]
3008         * elf/dl-init.c (_dl_init): Don't use INTDEF.
3009         * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
3010         of _dl_init_internal.
3011         * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
3012         * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
3013         * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
3014         * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
3015         * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
3016         * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
3017         * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
3018         * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
3019         * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
3020         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
3021         * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
3022         * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
3023         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
3024         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
3025         * sysdeps/tile/dl-start.S (_start): Likewise.
3026         * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
3027         * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
3028
3029         [BZ #14132]
3030         * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
3031         [IS_IN_rtld] (_dl_argv_internal): Do not declare.
3032         (rtld_progname): Make macro definition unconditional.
3033         * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
3034         INTDEF.
3035         (dlmopen_doit): Do not use INTUSE with _dl_argv.
3036         (dl_main): Likewise.
3037         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
3038         * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
3039         instead of _dl_argv_internal.
3040         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
3041         __GI__dl_argv instead of INTUSE(_dl_argv).
3042         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
3043         __GI__dl_argv instead of _dl_argv_internal.
3044
3045         * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
3046         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
3047         macro.
3048         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
3049         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
3050         New macro.
3051         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
3052         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
3053         macro.
3054         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
3055         * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
3056
3057 2014-11-04  Andreas Schwab  <schwab@suse.de>
3058
3059         * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
3060
3061 2014-11-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3062
3063         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
3064         mtvsrd instruction in binary form.
3065
3066 2014-11-03  Andreas Schwab  <schwab@suse.de>
3067
3068         [BZ #17522]
3069         * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
3070         for less than MB_LEN_MAX use a local buffer of that size.
3071         * libio/tst-fputws.c: New file.
3072         * libio/Makefile (tests): Add tst-fputws.
3073
3074 2014-11-01  Jose E. Marchesi  <jose.marchesi@oracle.com>
3075
3076         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
3077         the size of the fpu_fr.fpu_dregs[] array.
3078
3079 2014-11-01  Joseph Myers  <joseph@codesourcery.com>
3080
3081         * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
3082         (__nanosleep): Do not define as alias.
3083         (nanosleep): Define as alias of __nanosleep.
3084         * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
3085         __libc_nanosleep name.
3086
3087 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
3088
3089         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
3090         install.texi in comment.
3091
3092 2014-10-31  Torvald Riegel  <triegel@redhat.com>
3093
3094         * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
3095         * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
3096         ... add here and use lwsync or sync ...
3097         * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
3098         ... and add here using lwsync.
3099
3100 2014-10-31  Matthew Fortune  <matthew.fortune@imgtec.com>
3101
3102         * elf/dl-machine-reject-phdr.h: New file.
3103         * elf/dl-load.c: #include that.
3104         (open_verify): Call elf_machine_reject_phdr_p and ignore the file
3105         if that returned true.
3106
3107 2014-10-31  Roland McGrath  <roland@hack.frob.com>
3108
3109         [BZ #17496]
3110         * Makerules: Move gnu/lib-names.h generation chunk up, to right after
3111         gen-as-const-headers chunk.  Add a big scare comment after the last
3112         safe place to touch before-compile.
3113
3114 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
3115
3116         * manual/install.texi (Tools for Compilation): Update autoconf
3117         version requirements.
3118         * INSTALL: Regenerated.
3119
3120         * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
3121         * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
3122         (__libc_pselect): Likewise.
3123
3124         [BZ #14138]
3125         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
3126         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
3127         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
3128         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
3129
3130 2014-10-31  Torvald Riegel  <triegel@redhat.com>
3131
3132         * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
3133         correct barrier instruction.
3134         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
3135         Likewise.
3136         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
3137         Likewise.
3138
3139 2014-10-30  Roland McGrath  <roland@hack.frob.com>
3140
3141         * include/ctype.h: Include <ctype/ctype.h> first thing rather than
3142         after defining inlines.  Instead, just use parens to defeat macro
3143         expansion of __isctype in its declaration.
3144
3145 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
3146
3147         * include/sys/uio.h (__libc_readv): Remove declaration.
3148         (__libc_writev): Likewise.
3149         * misc/readv.c (__libc_readv): Rename to __readv.
3150         (__readv): Do not define as alias.
3151         (readv): Define as alias of __readv.
3152         * misc/writev.c (__libc_writev): Rename to __writev.
3153         (__writev): Do not define as alias.
3154         (writev): Define as alias of __writev.
3155         * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
3156         (__readv): Do not define as alias.
3157         (readv): Define unconditionally as alias of __readv.
3158         * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
3159         (__writev): Do not define as alias.
3160         (writev): Define unconditionally as alias of __writev.
3161         * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
3162         name.
3163         (writev): Do not define __libc_writev name.
3164
3165 2014-10-30  Roland McGrath  <roland@hack.frob.com>
3166
3167         * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
3168         (convert_charseq): New function, broken out of ...
3169         (use_from_charmap): ... here.  Call it.
3170         (use_to_charmap): Use convert_charseq and free instead of duplicating
3171         its code with a variable-length stack struct.
3172
3173 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
3174
3175         * include/fcntl.h (__libc_creat): Remove declaration.
3176         * io/creat.c (__libc_creat): Rename to creat.
3177         (creat): Do not define as alias.
3178         * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
3179         of creat instead of __libc_creat.
3180         * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
3181         to creat.
3182         (creat): Do not define as alias.
3183         [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
3184         __libc_creat.
3185         * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
3186         __libc_creat name.
3187         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
3188         Likewise.
3189
3190 2014-10-29  Carlos O'Donell  <carlos@redhat.com>
3191
3192         * manual/llio.texi: Add comments discussing why write() may be
3193         considered MT-unsafe on Linux.
3194
3195 2014-10-28  Carlos O'Donell  <carlos@redhat.com>
3196
3197         * dl-load.c (local_strdup): Remove.
3198         (expand_dynamic_string_token): Use __strdup.
3199         (decompose_rpath): Likewise.
3200         (_dl_map_object): Likewise.
3201
3202 2014-10-28  Joseph Myers  <joseph@codesourcery.com>
3203
3204         [BZ #14132]
3205         * sysdeps/generic/unwind-dw2-fde.c
3206         (__register_frame_info_bases_internal): Do not declare.
3207         (__register_frame_info_table_bases_internal): Likewise.
3208         (__deregister_frame_info_bases_internal): Likewise.
3209         (__register_frame_info_bases): Declare and use hidden_proto before
3210         definition.  Use hidden_def instead of INTDEF.
3211         (__register_frame_info_table_bases): Likewise.
3212         (__deregister_frame_info_bases): Likewise.
3213         (__register_frame_info): Do not use INTUSE.
3214         (__register_frame): Likewise.
3215         (__register_frame_info_table): Likewise.
3216         (__register_frame_table): Likewise.
3217         (__deregister_frame_info): Likewise.
3218         (__deregister_frame): Likewise.
3219
3220 2014-10-27  Gratian Crisan  <gratian.crisan@ni.com>
3221
3222         * sysdeps/unix/sysv/linux/arm/kernel-features.h
3223         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
3224         not undefine.
3225         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
3226         Likewise.
3227         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
3228         Likewise.
3229
3230 2014-10-27  Joseph Myers  <joseph@codesourcery.com>
3231
3232         [BZ #14138]
3233         * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
3234         * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
3235         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
3236         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
3237         * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
3238         * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
3239         * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
3240         * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
3241         * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
3242         * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
3243         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
3244         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
3245         * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
3246         syscall.
3247         (setfsuid): Likewise.
3248         * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
3249         (setfsuid): Likewise.
3250         * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
3251         (setfsuid): Likewise.
3252         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
3253         Likewise.
3254         (setfsuid): Likewise.
3255         * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
3256         (setfsuid): Likewise.
3257         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
3258         Likewise.
3259         (setfsuid): Likewise.
3260
3261 2014-10-27  Andreas Schwab  <schwab@suse.de>
3262
3263         [BZ #17501]
3264         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
3265         check for Slow_SSE4_2 feature bit.
3266         * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
3267         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
3268         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
3269         Likewise.  Fix check for Fast_Unaligned_Load feature bit.
3270
3271 2014-10-24  Roland McGrath  <roland@hack.frob.com>
3272
3273         * configure.ac: Validate compiler version with a empirical test of
3274         __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
3275         $CC -v output.
3276         * configure: Regenerated.
3277
3278         * inet/htons.c (htons): Prototypify.
3279         * inet/htonl.c (htonl): Likewise.
3280
3281 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
3282
3283         * string/strncat.c (strncat): Improve performance by using strlen.
3284
3285 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
3286
3287         * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
3288
3289 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
3290
3291         * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
3292         Call libc_fetestexcept_aarch64.
3293
3294 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
3295
3296         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
3297         Call libc_feholdexcept_aarch64.
3298
3299 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
3300
3301         * sysdeps/aarch64/fpu/fegetround.c (fegetround):
3302         Call get_rounding_mode.
3303
3304 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
3305
3306         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
3307         Simplify logic.
3308
3309 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
3310
3311         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
3312         Simplify logic.
3313
3314 2014-10-24  Joseph Myers  <joseph@codesourcery.com>
3315
3316         [BZ #14138]
3317         * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
3318         * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
3319         * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
3320         * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
3321         * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
3322         * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
3323         * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
3324         * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
3325         * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
3326         * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
3327         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
3328         * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
3329         * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
3330         * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
3331         * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
3332         * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
3333         * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
3334         * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
3335         * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
3336         * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
3337         * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
3338         * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
3339         * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
3340         * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
3341         * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
3342         * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
3343         * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
3344         * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
3345         * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
3346         * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
3347         * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
3348         * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
3349         * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
3350         * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
3351         * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
3352         * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
3353         * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
3354         * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
3355         * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
3356         * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
3357         * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
3358         syscall.
3359         (geteuid): Likewise.
3360         (getgid): Likewise.
3361         (getuid): Likewise.
3362         (getresgid): Likewise.
3363         (getresuid): Likewise.
3364         (getgroups): Likewise.
3365         * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
3366         (geteuid): Likewise.
3367         (getgid): Likewise.
3368         (getuid): Likewise.
3369         (getresgid): Likewise.
3370         (getresuid): Likewise.
3371         (getgroups): Likewise.
3372         * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
3373         (geteuid): Likewise.
3374         (getgid): Likewise.
3375         (getuid): Likewise.
3376         (getresgid): Likewise.
3377         (getresuid): Likewise.
3378         (getgroups): Likewise.
3379         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
3380         Likewise.
3381         (geteuid): Likewise.
3382         (getgid): Likewise.
3383         (getuid): Likewise.
3384         (getresgid): Likewise.
3385         (getresuid): Likewise.
3386         (getgroups): Likewise.
3387         * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
3388         (geteuid): Likewise.
3389         (getgid): Likewise.
3390         (getuid): Likewise.
3391         (getresgid): Likewise.
3392         (getresuid): Likewise.
3393         (getgroups): Likewise.
3394         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
3395         Likewise.
3396         (geteuid): Likewise.
3397         (getgid): Likewise.
3398         (getuid): Likewise.
3399         (getgroups): Likewise.
3400
3401         [BZ #14138]
3402         * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
3403         * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
3404         * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
3405         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
3406         * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
3407         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
3408         * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
3409         * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
3410         * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
3411         * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
3412         * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
3413         * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
3414         * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
3415         __chown.
3416         * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
3417         (lchown): Likewise.
3418         (fchown): Likewise.
3419         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
3420         Likewise.
3421         (lchown): Likewise.
3422         (fchown): Likewise.
3423         * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
3424         (lchown): Likewise.
3425         (fchown): Likewise.
3426         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
3427         Likewise.
3428         (lchown): Likewise.
3429         (fchown): Likewise.
3430
3431 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
3432
3433         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
3434         Simplify logic.
3435
3436 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
3437
3438         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
3439         Cleanup logic.
3440
3441 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
3442
3443         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
3444         Remove unused include.
3445
3446 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
3447
3448         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
3449         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
3450         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
3451         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
3452
3453 2014-10-23  Carlos O'Donell  <carlos@systemhalted.org>
3454             Helge Deller <deller@gmx.de>
3455
3456         [BZ #17508]
3457         * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
3458         Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
3459         Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
3460
3461 2014-10-23  Joseph Myers  <joseph@codesourcery.com>
3462
3463         [BZ #14132]
3464         * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
3465         Remove macro definition.
3466         (__ashrdi3_v_glibc20): Likewise.
3467         (__lshrdi3_v_glibc20): Likewise.
3468         (__cmpdi2_v_glibc20): Likewise.
3469         (__ucmpdi2_v_glibc20): Likewise.
3470         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
3471         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
3472         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
3473         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
3474         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
3475         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
3476
3477 2014-10-22  Roland McGrath  <roland@hack.frob.com>
3478
3479         * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
3480         old GNU extension [0] syntax.
3481         * nscd/nscd_helper.c (open_socket): Use a flexible array member and
3482         alloca rather than an array member with variable length.
3483         * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
3484         * nscd/nscd.c (invalidate_db): New function, broken out of ...
3485         (parse_opt): ... here.  Likewise use alloca there.
3486         Validate the -i argument before checking for rootness.
3487         (send_shutdown): New function, broken out of ...
3488         (parse_opt): ... here.
3489
3490 2014-10-22  Roland McGrath  <roland@hack.frob.com>
3491
3492         * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
3493         macro to get at the _rt_local_ro field.
3494         [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
3495         ([PIC] case) or _dl_hwcap ([!PIC] case).
3496         * sysdeps/arm/setjmp.S: Likewise.
3497
3498         * config.h.in (ARM_PCREL_MOVW_OK): New macro.
3499         * sysdeps/arm/configure.ac: New check to define it.
3500         * sysdeps/arm/configure: Regenerated.
3501         * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
3502         (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
3503         (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
3504         depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
3505         (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
3506         Use move/movt pair instead of a load.
3507         (LDST_GLOBAL): Macro removed.
3508         (LDR_GLOBAL): New macro replaces it.
3509         (LDR_HIDDEN): New macro.
3510         (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
3511         Use LDR_HIDDEN instead for __pointer_chk_guard_local.
3512
3513         * setjmp/tst-setjmp-static.c: New file.
3514         * setjmp/Makefile (tests): Add it.
3515         (tests-static): New variable.
3516
3517 2014-10-22  Maciej W. Rozycki  <macro@codesourcery.com>
3518
3519         [BZ #17485]
3520         * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
3521
3522 2014-10-21  Joseph Myers  <joseph@codesourcery.com>
3523
3524         [BZ #14132]
3525         * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
3526
3527 2014-10-21  Roland McGrath  <roland@hack.frob.com>
3528
3529         * nptl/version.c (__nptl_main): Call __libc_write, not __write.
3530
3531 2014-10-20  Roland McGrath  <roland@hack.frob.com>
3532
3533         * io/fts.c (dirent_not_directory): New function.
3534         (fts_build): Call it.
3535
3536 2014-10-20  Roland McGrath  <roland@hack.frob.com>
3537
3538         * nptl/version.c (__nptl_main): Use normal __write rather than
3539         INTERNAL_SYSCALL.
3540         (banner): Update copyright years.
3541
3542         * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
3543         gettimeofday.
3544         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
3545         * nptl/pthread_cond_timedwait.c: Likewise.
3546         * nptl/pthread_mutex_timedlock.c: Likewise.
3547         * nptl/sem_timedwait.c: Likewise.
3548
3549         * sysdeps/nptl/bits/libc-lock.h
3550         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
3551         (__libc_lock_init_recursive): Return void, not 0.
3552         * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
3553         (__libc_rwlock_init): Likewise.
3554         * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
3555
3556 2014-10-20  Torvald Riegel  <triegel@redhat.com>
3557
3558         [BZ #15215]
3559         * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
3560         (__pthread_once_slow): ... here.
3561         * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
3562         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
3563
3564 2014-10-20  Torvald Riegel  <triegel@redhat.com>
3565
3566         [BZ #15215]
3567         * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
3568         __PTHREAD_ONCE_FORK_GEN_INCR): New.
3569         * sysdeps/nptl/fork.c (__libc_fork): Use them.
3570         * nptl/pthread_once.c (__pthread_once): Likewise.
3571         Update comments.
3572
3573 2014-10-20  Joseph Myers  <joseph@codesourcery.com>
3574
3575         [BZ #14138]
3576         * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
3577         name.
3578         (writev): Use __libc_writev as strong name.
3579         * sysdeps/unix/sysv/linux/readv.c: Remove file.
3580         * sysdeps/unix/sysv/linux/writev.c: Likewise.
3581
3582 2014-10-17  Roland McGrath  <roland@hack.frob.com>
3583
3584         * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
3585
3586         * sysdeps/i386/nptl/tls.h
3587         (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
3588         [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
3589         New macros.
3590         * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
3591         (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
3592         * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
3593         Call SETUP_THREAD_SYSINFO instead of doing an assignment.
3594         * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
3595         Call CHECK_THREAD_SYSINFO instead of doing an assert.
3596
3597         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
3598         Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
3599         on [__NR_futex].
3600         * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
3601         broken out of ...
3602         (__pthread_mutex_init): ... here.  Call it.
3603         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
3604         Conditionalize PI cases on [__NR_futex].
3605         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
3606         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
3607         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
3608
3609         * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
3610         conditional on [SIGSETXID].
3611         (sigcancel_handler): Make definition conditional on [SIGCANCEL].
3612         (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
3613         is defined.  Likewise for SIGSETXID.
3614         * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
3615         Conditionalize definitions on [SIGSETXID].
3616         (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
3617         * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
3618         unblocking on [SIGCANCEL].
3619
3620         * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
3621         [__NR_set_robust_list].
3622
3623 2014-10-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
3624
3625         * string/strcoll_l.c (get_next_seq): Fix up formatting.
3626         (do_compare): Likewise.
3627
3628 2014-10-17  Leonhard Holz  <leonhard.holz@web.de>
3629
3630         [BZ #15884]
3631         * string/strcoll_l.c: Don't include stdio.h.
3632         (coll_seq): Remove members idxarr and rulearr.
3633         (get_next_seq_cached): Remove function.
3634         (get_next_seq): Likewise.
3635         (get_next_seq_nocache): Rename to get_next_seq.
3636         (do_compare): Remove function.
3637         (do_compare_nocache): Rename to do_compare.
3638         (STRCOLL): Remove weight and rules cache.
3639
3640 2014-10-16  Roland McGrath  <roland@hack.frob.com>
3641
3642         * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
3643         * sysdeps/arm/sfp-machine.h: ... to here.
3644         * sysdeps/arm/Implies: Remove arm/soft-fp.
3645
3646 2014-10-14  Joseph Myers  <joseph@codesourcery.com>
3647
3648         * conform/data/sys/utsname.h-data (*_t): Allow.
3649         * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
3650         [POSIX] (WEXITED): Do not expect constant.
3651         [POSIX] (WSTOPPED): Likewise.
3652         [POSIX] (WNOHANG): Likewise.
3653         [POSIX] (WNOWAIT): Likewise.
3654         [POSIX] (siginfo_t): Do not expect type or elements.
3655         [POSIX] (pid_t): Do not expect type.
3656         [POSIX] (signal.h): Do not allow header.
3657         [POSIX] (sys/resource.h): Likewise.
3658         [POSIX] (si_*): Do not allow pattern.
3659         [POSIX] (W*): Likewise.
3660         [POSIX] (P_*): Likewise.
3661         [POSIX] (BUS_*): Likewise.
3662         [POSIX] (CLD_*): Likewise.
3663         [POSIX] (FPE_*): Likewise.
3664         [POSIX] (ILL_*): Likewise.
3665         [POSIX] (POLL_*): Likewise.
3666         [POSIX] (SEGV_*): Likewise.
3667         [POSIX] (SI_*): Likewise.
3668         [POSIX] (TRAP_*): Likewise.
3669         * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
3670         variable.
3671
3672 2014-10-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
3673
3674         [BZ #12926]
3675         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
3676         infinite loop when __recvmsg returns 0.
3677
3678 2014-10-10  Joseph Myers  <joseph@codesourcery.com>
3679
3680         * CANCEL-FCT-WAIVE: Remove file.
3681         * CANCEL-FILE-WAIVE: Likewise.
3682
3683         [BZ #14132]
3684         * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
3685         instead of INTVARDEF.
3686         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
3687         * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
3688         rtld_hidden_data_def instead of INTVARDEF.
3689         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
3690         * elf/dl-deps.c (expand_dst): Likewise.
3691         * elf/dl-load.c (_dl_dst_count): Likewise.
3692         (_dl_dst_substitute): Likewise.
3693         (decompose_rpath): Likewise.
3694         (_dl_init_paths): Likewise.
3695         (open_path): Likewise.
3696         (_dl_map_object): Likewise.
3697         * elf/rtld.c (dl_main): Likewise.
3698         (process_dl_audit): Likewise.
3699         (process_envvars): Likewise.
3700         * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
3701         Remove declaration.
3702         (__libc_enable_secure): Use rtld_hidden_proto.
3703
3704 2014-10-09  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
3705
3706         * elf/dl-load.c
3707         (add_path): New function broken out of _dl_rtld_di_serinfo.
3708         (_dl_rtld_di_serinfo): Remove that nested function.  Update call sites.
3709
3710 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
3711
3712         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
3713         parentheses around macro arguments.
3714         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
3715         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
3716         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
3717         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
3718         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
3719         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
3720         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
3721         [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
3722         [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
3723         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
3724         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
3725         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
3726         [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
3727         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
3728         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
3729         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
3730         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
3731         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
3732         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
3733         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
3734         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
3735         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
3736         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
3737         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
3738         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
3739         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
3740         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
3741         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
3742         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
3743         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
3744         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
3745         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
3746         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
3747         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
3748         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
3749         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
3750         Likewise.
3751         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
3752         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
3753         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
3754         [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
3755         [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
3756         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
3757         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
3758         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
3759         [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
3760         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
3761         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
3762         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
3763         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
3764         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
3765         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
3766         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
3767         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
3768         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
3769         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
3770         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
3771         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
3772         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
3773         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
3774         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
3775         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
3776         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
3777         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
3778         * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
3779         (_FP_FRAC_SRS_1): Likewise.
3780         (_FP_FRAC_CLZ_1): Likewise.
3781         (_FP_MUL_MEAT_1_imm): Likewise.
3782         (_FP_MUL_MEAT_1_wide): Likewise.
3783         (_FP_MUL_MEAT_1_hard): Likewise.
3784         (_FP_SQRT_MEAT_1): Likewise.
3785         (_FP_FRAC_ASSEMBLE_1): Likewise.
3786         (_FP_FRAC_DISASSEMBLE_1): Likewise.
3787         * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
3788         (__FP_CLZ_2): Likewise.
3789         (_FP_MUL_MEAT_2_wide): Likewise.
3790         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
3791         (_FP_MUL_MEAT_2_gmp): Likewise.
3792         (_FP_MUL_MEAT_2_120_240_double): Likewise.
3793         (_FP_SQRT_MEAT_2): Likewise.
3794         (_FP_FRAC_ASSEMBLE_2): Likewise.
3795         (_FP_FRAC_DISASSEMBLE_2): Likewise.
3796         * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
3797         (_FP_FRAC_CLZ_4): Likewise.
3798         (_FP_MUL_MEAT_4_wide): Likewise.
3799         (_FP_MUL_MEAT_4_gmp): Likewise.
3800         (_FP_SQRT_MEAT_4): Likewise.
3801         (_FP_FRAC_ASSEMBLE_4): Likewise.
3802         (_FP_FRAC_DISASSEMBLE_4): Likewise.
3803         * soft-fp/op-common.h (_FP_CMP): Likewise.
3804         (_FP_CMP_EQ): Likewise.
3805         (_FP_CMP_UNORD): Likewise.
3806         (_FP_TO_INT): Likewise.
3807         (_FP_FROM_INT): Likewise.
3808         [!__FP_CLZ] (__FP_CLZ): Likewise.
3809         (_FP_DIV_HELP_imm): Likewise.
3810         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
3811         Likewise.
3812         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
3813         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
3814         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
3815         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
3816         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
3817         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
3818         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
3819         [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
3820         [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
3821         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
3822         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
3823         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
3824         [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
3825         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
3826         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
3827         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
3828         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
3829         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
3830         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
3831         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
3832         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
3833         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
3834         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
3835         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
3836         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
3837         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
3838         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
3839         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
3840         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
3841         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
3842         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
3843         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
3844         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
3845         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
3846         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
3847         * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
3848         (FP_UNPACK_RAW_SP): Likewise.
3849         (FP_PACK_RAW_S): Likewise.
3850         (FP_PACK_RAW_SP): Likewise.
3851         (FP_UNPACK_S): Likewise.
3852         (FP_UNPACK_SP): Likewise.
3853         (FP_UNPACK_SEMIRAW_S): Likewise.
3854         (FP_UNPACK_SEMIRAW_SP): Likewise.
3855         (FP_PACK_S): Likewise.
3856         (FP_PACK_SP): Likewise.
3857         (FP_PACK_SEMIRAW_S): Likewise.
3858         (FP_PACK_SEMIRAW_SP): Likewise.
3859         (_FP_SQRT_MEAT_S): Likewise.
3860         (FP_CMP_S): Likewise.
3861         (FP_CMP_EQ_S): Likewise.
3862         (FP_CMP_UNORD_S): Likewise.
3863         (FP_TO_INT_S): Likewise.
3864         (FP_FROM_INT_S): Likewise.
3865
3866         * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
3867
3868         * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
3869         (FP_EX_INVALID_IMZ): Likewise.
3870         (FP_EX_INVALID_IMZ_FMA): Likewise.
3871         (FP_EX_INVALID_ISI): Likewise.
3872         (FP_EX_INVALID_ZDZ): Likewise.
3873         (FP_EX_INVALID_IDI): Likewise.
3874         (FP_EX_INVALID_SQRT): Likewise.
3875         (FP_EX_INVALID_CVI): Likewise.
3876         (FP_EX_INVALID_VC): Likewise.
3877         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
3878         "invalid" exceptions.
3879         (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
3880         (_FP_ADD_INTERNAL): Likewise.
3881         (_FP_MUL): Likewise.
3882         (_FP_FMA): Likewise.
3883         (_FP_DIV): Likewise.
3884         (_FP_CMP_CHECK_NAN): Likewise.
3885         (_FP_SQRT): Likewise.
3886         (_FP_TO_INT): Likewise.
3887         (FP_EXTEND): Likewise.
3888
3889 2014-10-09  Allan McRae  <allan@archlinux.org>
3890
3891         * po/fr.po: Update French translation from translation project.
3892
3893 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
3894
3895         [BZ #14132]
3896         * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
3897         of INTDEF.
3898         * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
3899         (__cxa_atexit): Use libc_hidden_proto.
3900         [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
3901
3902         [BZ #14132]
3903         * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
3904         declaration.
3905         [!_ISOMAC] (__iswdigit_l_internal): Likewise.
3906         [!_ISOMAC] (__iswspace_l_internal): Likewise.
3907         [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
3908         [!_ISOMAC] (__iswctype_internal): Likewise.
3909         * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
3910         * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
3911         alias.
3912         (fcntl): Remove __fcntl_internal alias.
3913         * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
3914         __connect_internal alias.
3915         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
3916         Likewise.
3917
3918         * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
3919         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
3920         FP_DENORM_ZERO.
3921         (_FP_CHECK_FLUSH_ZERO): New macro.
3922         (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
3923         (_FP_CMP): Likewise.
3924         (_FP_CMP_EQ): Likewise.
3925         (_FP_TO_INT): Do not set inexact for subnormal arguments if
3926         FP_DENORM_ZERO.
3927         (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
3928         (FP_TRUNC): Likewise.
3929
3930         * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
3931         treated as invalid conversion, not as normal exponent.
3932
3933         * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
3934         (_FP_CMP): Add extra argument EX.  Call _FP_CMP_CHECK_NAN.
3935         (_FP_CMP_EQ): Likewise.
3936         (_FP_CMP_UNORD): Likewise.
3937         * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
3938         (FP_CMP_EQ_D): Likewise.
3939         (FP_CMP_UNORD_D): Likewise.
3940         * soft-fp/extended.h (FP_CMP_E): Likewise.
3941         (FP_CMP_EQ_E): Likewise.
3942         (FP_CMP_UNORD_E): Likewise.
3943         * soft-fp/quad.h (FP_CMP_Q): Likewise.
3944         (FP_CMP_EQ_Q): Likewise.
3945         (FP_CMP_UNORD_Q): Likewise.
3946         * soft-fp/single.h (FP_CMP_S): Likewise.
3947         (FP_CMP_EQ_S): Likewise.
3948         (FP_CMP_UNORD_S): Likewise.
3949         * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
3950         * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
3951         * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
3952         * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
3953         * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
3954         * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
3955         * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
3956         * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
3957         * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
3958         * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
3959         * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
3960         * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
3961         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
3962         to FP_CMP_Q.
3963         * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
3964         FP_CMP_Q.
3965         * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
3966         * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
3967         FP_CMP_EQ_Q.
3968         * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
3969         FP_CMP_Q.
3970         * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
3971         * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
3972         * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
3973         * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
3974         FP_CMP_EQ_Q.
3975         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
3976         FP_CMP_Q.
3977         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
3978         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
3979         FP_CMP_EQ_Q.
3980         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
3981         FP_CMP_Q.
3982         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
3983         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
3984         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
3985         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
3986         FP_CMP_EQ_Q.
3987
3988         * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
3989         a subnormal result, set the underflow exception if trapping on
3990         underflow is enabled.
3991         * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
3992         (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
3993         [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
3994         redefine to 0.
3995         * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
3996         * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
3997         * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
3998         * soft-fp/extendxftf2.c (__extendxftf2): Use
3999         FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
4000
4001         * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
4002         * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
4003         (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
4004         FP_HANDLE_EXCEPTIONS.
4005         * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
4006         (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
4007         FP_HANDLE_EXCEPTIONS.
4008         * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
4009         (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
4010         FP_HANDLE_EXCEPTIONS.
4011         * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
4012         (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
4013         FP_HANDLE_EXCEPTIONS.
4014
4015 2014-10-08  Joseph Myers  <joseph@codesourcery.com>
4016
4017         [BZ #14132]
4018         * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
4019         * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
4020         use INTUSE.
4021         [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
4022         * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
4023         Remove alias.
4024         (__adjtimex): Define using libc_hidden_ver.
4025         * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
4026         Remove declaration.
4027         (ntp_gettime): Call __adjtimex directly.
4028         * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
4029         Remove declaration.
4030         (ntp_gettimex): Call __adjtimex directly.
4031         * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
4032         __adjtimex_internal alias.
4033
4034 2014-10-08  Roland McGrath  <roland@hack.frob.com>
4035
4036         [BZ #17460]
4037         * nscd/nscd.c (more_help): Rewrite list of tables collection
4038         using xstrdup and asprintf.
4039
4040         * nscd/nscd_conf.c: Remove local xstrdup declaration.
4041
4042 2014-10-08  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
4043             Roland McGrath  <roland@hack.frob.com>
4044
4045         * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
4046         (do_lookup_unique): ... local function 'enter' here; update callers.
4047
4048 2014-10-06  Joseph Myers  <joseph@codesourcery.com>
4049
4050         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
4051         compat_symbol calls on [SHARED].
4052         * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
4053         * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
4054         Remove.
4055         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
4056         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
4057         (oldsetrlimit): Remove.
4058         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
4059         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
4060         (lchown): New syscall entry.
4061         (oldsetrlimit): Remove.
4062         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
4063         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
4064         (oldsetrlimit): Remove.
4065         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
4066
4067         [BZ #14138]
4068         * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
4069         * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
4070         * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
4071         * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
4072         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
4073         * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
4074         (fchown): Likewise.
4075         * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
4076         (fchown): Likewise.
4077         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
4078         Likewise.
4079
4080 2014-10-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4081
4082         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
4083         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
4084         (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
4085         __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
4086         * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
4087         Likewise.
4088         (__old_sem_post): Likewise.
4089
4090 2014-10-06  Chris Metcalf  <cmetcalf@tilera.com>
4091
4092         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
4093         INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
4094         HAVE_CLOCK_GETTIME_VSYSCALL macros.
4095         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
4096         Use INLINE_VSYSCALL macro.
4097         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
4098         __vdso_clock_gettime.
4099         * sysdeps/unix/sysv/linux/tile/init-first.c
4100         (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
4101         * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
4102         __vdso_clock_gettime.
4103
4104         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
4105         to set up frame more cleanly.
4106
4107         * sysdeps/tile/memcmp.c: New file.
4108
4109         * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
4110
4111         * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
4112         * sysdeps/tile/tilegx/strcasestr.c: New file.
4113         * sysdeps/tile/tilegx/strnlen.c: New file.
4114         * sysdeps/tile/tilegx/strstr.c: New file.
4115
4116         * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
4117
4118 2014-10-06  Arjun Shankar  <arjun.is@lostca.se>
4119
4120         * nptl/tst-setuid3.c: Write errors to stdout.
4121
4122 2014-10-01  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
4123
4124         * elf/dl-deps.c
4125         (preload): New functions broken out of _dl_map_object_deps.
4126         (_dl_map_object_deps):  Remove a nested function. Update call sites.
4127
4128 2014-10-01  Joseph Myers  <joseph@codesourcery.com>
4129
4130         [BZ #14138]
4131         * sysdeps/unix/sysv/linux/execve.c: Remove file.
4132         * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
4133
4134 2014-10-01  Steve Ellcey  <sellcey@mips.com>
4135
4136         * sysdeps/mips/strcmp.S: New.
4137
4138 2014-09-30  Joseph Myers  <joseph@codesourcery.com>
4139
4140         [BZ #14138]
4141         * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
4142         (linkat): Likewise.
4143         (mkdirat): Likewise.
4144         (readlinkat): Likewise.
4145         (renameat): Likewise.
4146         (symlinkat): Likewise.
4147         (unlinkat): Likewise.
4148         * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
4149         * sysdeps/unix/sysv/linux/linkat.c: Likewise.
4150         * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
4151         * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
4152         * sysdeps/unix/sysv/linux/renameat.c: Likewise.
4153         * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
4154         * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
4155
4156 2014-09-30  Will Newton  <will.newton@linaro.org>
4157
4158         * math/math.h: Define long double math functions if
4159         _LIBC_TEST is defined.
4160         * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
4161
4162         * localedata/Makefile: Move assignment to tests-special
4163         into an ifdef testing run-built-tests.
4164         * timezone/Makefile: Likewise.
4165
4166 2014-09-29  Joseph Myers  <joseph@codesourcery.com>
4167
4168         * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
4169         with $(BASH) not $(SHELL).
4170
4171 2014-09-29  Carlos O'Donell  <carlos@redhat.com>
4172             Matthew LeGendre  <legendre1@llnl.gov>
4173
4174         [BZ #17411]
4175         * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
4176         l_reloc_result.
4177
4178 2014-09-29  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
4179
4180         * stdio-common/printf_fp.c
4181         (hack_digit): New function, broken out of ...
4182         (__printf_fp): ... local function here.  Update call sites.
4183         hack_digit now takes an additional parameter that is a pointer
4184         to a struct of the referenced locals.  Those locals moved inside
4185         the struct and references updated.
4186
4187 2014-09-29  H.J. Lu  <hongjiu.lu@intel.com>
4188
4189         * aclocal.m4: Require autoconf 2.69.
4190         * configure: Regenerated.
4191         * sysdeps/aarch64/configure: Likewise.
4192         * sysdeps/alpha/configure: Likewise.
4193         * sysdeps/arm/armv7/configure: Likewise.
4194         * sysdeps/arm/configure: Likewise.
4195         * sysdeps/ia64/configure: Likewise.
4196         * sysdeps/mach/configure: Likewise.
4197         * sysdeps/mips/configure: Likewise.
4198         * sysdeps/s390/configure: Likewise.
4199         * sysdeps/unix/sysv/linux/mips/configure: Likewise.
4200         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
4201
4202         * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
4203         file.
4204         * sysdeps/ia64/configure.ac: Likewise.
4205
4206 2014-09-26  Joseph Myers  <joseph@codesourcery.com>
4207
4208         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
4209         specify symbol version for ld.so.  Do not include entry for
4210         libpthread.
4211         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
4212         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
4213         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
4214
4215         [BZ #14171]
4216         * Makeconfig [$(build-shared) = yes]
4217         ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
4218         makefiles.
4219         [$(build-shared) = yes && $(soversions.mk-done) = t]
4220         ($(common-objpfx)gnu/lib-names.h): Remove rule.
4221         [$(build-shared) = yes && $(soversions.mk-done) = t]
4222         ($(common-objpfx)gnu/lib-names.stmp): Likewise.  Split and moved
4223         to Makerules.
4224         [$(build-shared) = yes && $(soversions.mk-done) = t]
4225         (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
4226         here.
4227         [$(build-shared) = yes && $(soversions.mk-done) = t]
4228         (common-generated): Don't append gnu/lib-names.h and
4229         gnu/lib-names.stmp here.
4230         * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
4231         (lib-names-h-abi): New variable.
4232         [$(build-shared) = yes && $(soversions.mk-done) = t]
4233         (lib-names-stmp-abi): Likewise.
4234         [$(build-shared) = yes && $(soversions.mk-done) = t &&
4235         abi-variants] (before-compile): Append
4236         $(common-objpfx)$(lib-names-h-abi).
4237         [$(build-shared) = yes && $(soversions.mk-done) = t &&
4238         abi-variants] (common-generated): Append gnu/lib-names.h.
4239         [$(build-shared) = yes && $(soversions.mk-done) = t &&
4240         abi-variants] (install-others-nosubdir): Depend on
4241         $(inst_includedir)/$(lib-names-h-abi).
4242         [$(build-shared) = yes && $(soversions.mk-done) = t &&
4243         abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
4244         [$(build-shared) = yes && $(soversions.mk-done) = t]
4245         ($(common-objpfx)$(lib-names-h-abi)): New rule.
4246         [$(build-shared) = yes && $(soversions.mk-done) = t]
4247         ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
4248         [$(build-shared) = yes && $(soversions.mk-done) = t]
4249         (common-generated): Append $(lib-names-h-abi) and
4250         $(lib-names-stmp-abi).
4251         * scripts/lib-names.awk: Do not handle multi being set.
4252         * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
4253         Remove variable.
4254         (abi-lp64_be-ld-soname): Likewise.
4255         * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
4256         Likewise.
4257         (abi-hard-ld-soname): Likewise.
4258         * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
4259         * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
4260         Remove variable.
4261         (abi-o32_hard-ld-soname): Likewise.
4262         (abi-o32_soft_2008-ld-soname): Likewise.
4263         (abi-o32_hard_2008-ld-soname): Likewise.
4264         (abi-n32_soft-ld-soname): Likewise.
4265         (abi-n32_hard-ld-soname): Likewise.
4266         (abi-n32_soft_2008-ld-soname): Likewise.
4267         (abi-n32_hard_2008-ld-soname): Likewise.
4268         (abi-n64_soft-ld-soname): Likewise.
4269         (abi-n64_hard-ld-soname): Likewise.
4270         (abi-n64_soft_2008-ld-soname): Likewise.
4271         (abi-n64_hard_2008-ld-soname): Likewise.
4272         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
4273         Likewise.
4274         (abi-64-v2-ld-soname): Likewise.
4275         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
4276         ld.so entries.
4277         * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
4278         variable.
4279         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
4280         entry.
4281         * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
4282         variable.
4283         (abi-64-ld-soname): Likewise.
4284         (abi-x32-ld-soname): Likewise.
4285         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
4286         entry.
4287         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
4288
4289 2014-09-23  Joseph Myers  <joseph@codesourcery.com>
4290
4291         [BZ #14138]
4292         * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
4293         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
4294         * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
4295         * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
4296         * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
4297         * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
4298         * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
4299         syscall entry for GLIBC_2.2 symbol version.
4300         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
4301         Likewise.
4302         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
4303         (setrlimit): Likewise.
4304         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
4305         Likewise.
4306
4307 2014-09-23  Will Newton  <will.newton@linaro.org>
4308
4309         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
4310         _LINUX_ARM_SYSDEP_H include guard too.
4311         * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
4312         define.
4313
4314 2014-09-20  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
4315
4316         * sysdeps/unix/sysv/linux/eventfd.c:
4317         Make first argument unsigned.
4318         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
4319         * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
4320
4321 2014-09-20  Ondřej Bílka  <neleai@seznam.cz>
4322
4323         * socket/recvmmsg.c (recvmmsg): Drop const argument.
4324         * socket/sys/socket.h: Likewise
4325         * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
4326
4327 2014-09-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
4328
4329         * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
4330
4331 2014-09-17  Arjun Shankar  <arjun.is@lostca.se>
4332
4333         * time/tst-ftime.c: New test.
4334         * time/Makefile (tests): Add tst-ftime.
4335
4336 2014-09-17  Joseph Myers  <joseph@codesourcery.com>
4337
4338         * soft-fp/extended.h: Fix comment formatting.
4339         * soft-fp/op-1.h: Likewise.
4340         * soft-fp/op-2.h: Likewise.
4341         * soft-fp/op-4.h: Likewise.
4342         * soft-fp/op-8.h: Likewise.
4343         * soft-fp/op-common.h: Likewise.
4344         * soft-fp/soft-fp.h: Likewise.
4345
4346         * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
4347
4348 2014-09-16  Joseph Myers  <joseph@codesourcery.com>
4349
4350         [BZ #6652]
4351         * Makeconfig (soversions-default-setname): Remove variable.
4352         ($(common-objpfx)soversions.i): Don't pass default_setname to
4353         soversions.awk.
4354         * Makerules ($(common-objpfx)abi-versions.h): Don't pass
4355         oldest_abi to abi-versions.awk.
4356         * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
4357         * config.make.in (oldest-abi): Remove variable.
4358         * configure.ac (--enable-oldest-abi): Remove configure option.
4359         * configure: Regenerated.
4360         * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
4361         text.
4362         * scripts/abi-versions.awk: Do not handle oldest_abi variable.
4363         * scripts/soversions.awk: Do not handle default_setname variable.
4364         * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
4365         variable.
4366         * sysdeps/mach/hurd/configure: Regenerated.
4367         * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
4368         variable.
4369         * sysdeps/unix/sysv/linux/configure: Regenerated.
4370
4371 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
4372
4373         * elf/Makefile (CFLAGS-interp.c): Remove.
4374         ($(elf-objpfx)runtime-linker.h): Generate header with linker
4375         path string.
4376         * elf/interp.c: Include generated runtime-linker.h
4377
4378         * Makerules (lib%.so): Don't include $(+interp) in
4379         prerequisites.
4380         * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
4381         * dlfcn/eval.c: Remove file.
4382
4383         * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
4384         macros.
4385
4386         [BZ #17266]
4387         * misc/sys/cdefs.h: Define __extern_always_inline for clang
4388         4.2 and newer.
4389
4390         [BZ #17370]
4391         * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
4392
4393 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
4394             Jakub Jelinek  <jakub@redhat.com>
4395
4396         [BZ #17266]
4397         * libio/stdio.h: Check definition of __fortify_function
4398         instead of __extern_always_inline to include bits/stdio2.h.
4399         * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
4400         check if __extern_always_inline is defined.
4401         [__USE_MISC || __USE_XOPEN]: Likewise.
4402         [__USE_ISOC99] Likewise.
4403         * misc/sys/cdefs.h (__fortify_function): Define only if
4404         __extern_always_inline is defined.
4405         [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
4406         __extern_always_inline and __extern_inline only for g++-4.3
4407         and newer or a compatible gcc.
4408
4409 2014-09-15  Andreas Schwab  <schwab@linux-m68k.org>
4410
4411         [BZ #17371]
4412         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
4413         last change to handle zero prefix length.
4414
4415 2014-09-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
4416
4417         * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
4418         _SC_REGEX_VERSION.
4419
4420         * posix/getconf.c (vars): Add _POSIX_IPV6 and
4421         _POSIX_RAW_SOCKETS.
4422
4423 2014-09-13  Allan McRae  <allan@archlinux.org>
4424
4425         * po/ru.po: Update Russian translation from translation project.
4426
4427 2014-09-12  Roland McGrath  <roland@hack.frob.com>
4428
4429         * locale/programs/locale.c (show_locale_vars): Inline local function
4430         into its sole call site.  Clean up some style nits.
4431         (print_item): New function, broken out of ...
4432         (show_info): ... local function here.  Clean up style nits.
4433
4434         * locale/programs/ld-ctype.c (set_one_default): New function, broken
4435         out of ...
4436         (set_class_defaults): ... local function set_default here.
4437         Define set_default as a macro locally to pass constant parameters.
4438         (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
4439         rather than a shared local.
4440
4441         * stdlib/rpmatch.c (try): New function, broken out of ...
4442         (rpmatch): ... local function here.  Also, prototypify definition.
4443
4444 2014-09-12  Joseph Myers  <joseph@codesourcery.com>
4445
4446         * scripts/soversions.awk: Do not handle configuration names.
4447         * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
4448         vendor and os variables to soversions.awk.
4449         * configure.ac: Do not modify gnu-* host_os.
4450         * configure: Regenerated
4451         * shlib-versions: Remove first column with configuration names.
4452         * nptl/shlib-versions: Likewise.
4453         * nptl_db/shlib-versions: Likewise.
4454         * sysdeps/hppa/shlib-versions: Likewise.
4455         * sysdeps/m68k/shlib-versions: Likewise.
4456         * sysdeps/mach/hurd/shlib-versions: Likewise.
4457         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
4458         * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
4459         * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
4460         * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
4461         * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
4462         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
4463         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
4464         * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
4465         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
4466         Likewise.
4467         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
4468         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
4469         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
4470         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
4471         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
4472         * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
4473         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
4474         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
4475
4476         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
4477         (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
4478         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
4479         Regenerated.
4480         * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
4481         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
4482         Condition symbol version definitions on [HAVE_ELFV2_ABI].
4483
4484         * shlib-versions: Remove OS-specific entries.  Moved to files in
4485         sysdeps.
4486         * sysdeps/mach/hurd/shlib-versions: New file.
4487         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
4488
4489         * nptl/shlib-versions: Remove architecture-specific entries.
4490         Moved to files in sysdeps.
4491         * shlib-versions: Likewise.
4492         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
4493         file.
4494         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
4495         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
4496         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
4497         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
4498
4499         * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
4500         (UDP_NO_CHECK6_RX): Likewise.
4501
4502 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
4503
4504         * sysdeps/posix/sysconf.c (__sysconf): Spell
4505         _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
4506
4507 2014-08-12  Florian Weimer  <fweimer@redhat.com>
4508
4509         * iconv/gconv_open.c (__gconv_open): Remove transliteration module
4510         loading.
4511         * iconv/Versions (__gconv_transliterate): Export for use from
4512         gconv modules.
4513         * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
4514         (struct __gconv_trans_data, __gconv_trans_fct,
4515         __gconv_trans_context_fct, __gconv_trans_query_fct,
4516         __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
4517         definitions.
4518         (struct __gconv_step_data): Remove __trans member.
4519         (__gconv_transliterate): Declaration moved from gconv_int.h.  No
4520         longer hidden.  Remove unused trans_data argument.
4521         * iconv/gconv_int.h (struct trans_struct): Remove definition.
4522         (__gconv_translit_find): Remove declaration.
4523         (__gconv_transliterate): Declaration moved to gconv.h.  Add hidden
4524         prototype.
4525         * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
4526         * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
4527         trans_data argument.  Add hidden definition.
4528         (__gconv_translit_find): Remove.
4529         * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
4530         __gconv_transliterate directly if __GCONV_TRANSLIT is set.
4531         * iconv/skeleton.c: Remove transliteration initialization.
4532         * libio/fileops.c (_IO_new_file_fopen): Adjust struct
4533         __gconv_step_data initialization.
4534         * libio/iofwide.c (__libio_translit_): Remove.
4535         (_IO_fwide): Adjust struct __gconv_step_data initialization.
4536         * wcsmbs/btowc.c (__btowc): Likewise.
4537         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
4538         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
4539         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
4540         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
4541         * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
4542         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
4543         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
4544         * wcsmbs/wctob.c (wctob): Likewise.
4545
4546 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
4547
4548         [BZ #16194]
4549         * sysdeps/x86/tst-xmmymm.sh: Rename file to...
4550         * sysdeps/x86/tst-ld-sse-use.sh: ... this.  Check for zmm
4551         register usage.
4552         * sysdeps/x86/Makefile: Adjust.
4553
4554 2014-09-11  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
4555             Roland McGrath  <roland@hack.frob.com>
4556
4557         * locale/weight.h: Add include guard.
4558         (findidx): Make static rather than auto; take new parameters
4559         TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
4560         * locale/weightwc.h: Likewise.
4561         * posix/fnmatch_loop.c
4562         (FCT): Change type of EXTRA from int32_t to wint_t.
4563         Don't include either header inside the function.
4564         Call FINDIDX rather than findidx, and pass new arguments.
4565         #undef FINDIDX at the end of the file.
4566         * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
4567         FINDIDX before including fnmatch_loop.c for the non-wide version.
4568         [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
4569         #include <locale/weightwc.h>, and define FINDIDX to findidxwc
4570         for the wide version.
4571         * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
4572         (build_equiv_class) [_LIBC]: Don't #include it inside the function.
4573         Pass new arguments to findidx.
4574         * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
4575         [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
4576         Don't #include it inside the function.  Pass new arguments to findidx.
4577         * posix/regex_internal.h
4578         [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
4579         (re_string_elem_size_at): Don't #include it inside the function.
4580         Pass new arguments to findidx.
4581         * string/strcoll_l.c: #include WEIGHT_H at top level.
4582         (get_next_seq): Don't #include it inside the function.
4583         Pass new arguments to findidx.
4584         (get_next_seq_nocache): Likewise.
4585         * string/strxfrm_l.c: #include WEIGHT_H at top level.
4586         (STRXFRM): Don't #include it inside the function.
4587         Pass new arguments to findidx.
4588
4589 2014-09-11  Florian Weimer  <fweimer@redhat.com>
4590
4591         [BZ #17344]
4592         * malloc/malloc.c (unlink): Turn asserts into a call to
4593         malloc_printerr.
4594
4595 2014-09-11  Tim Lammens  <tim.lammens@gmail.com>
4596
4597         [BZ #17370]
4598         * libio/wfileops (do_ftell_wide): Free OUT.
4599
4600 2014-09-10  Chris Metcalf  <cmetcalf@tilera.com>
4601
4602         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
4603
4604 2014-09-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
4605
4606         [BZ #17363]
4607         * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
4608         group if the current group is empty.
4609
4610 2014-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4611
4612         * benchtests/bench-memset.c (test_main): Add more test from size
4613         from 32 to 512 bytes.
4614         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
4615         Add POWER8 memset object.
4616         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
4617         (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
4618         * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
4619         implementation.
4620         * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
4621         Likewise.
4622         * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
4623         multiarch POWER8 memset optimization.
4624         * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
4625         POWER8 memset optimization.
4626
4627         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
4628         Remove bzero multiarch objects.
4629         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
4630         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
4631         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
4632         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
4633         Remove define.
4634         [__bzero]: Redefine to specific name.
4635         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
4636         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
4637         * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
4638         define.
4639         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
4640         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
4641
4642 2014-09-10  Florian Weimer  <fweimer@redhat.com>
4643
4644         * Makeconfig (gccwarn-c): Turn implicit-function-declaration
4645         warnings into errors.
4646
4647         * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
4648         __cxa_thread_atexit_impl prototype.
4649
4650 2014-09-09  Steve Ellcey  <sellcey@mips.com>
4651
4652         * sysdeps/mips/preconfigure: Put code inside mips* case statement.
4653         Fix capitalization of error message.
4654
4655 2014-09-09  Steve Ellcey  <sellcey@mips.com>
4656
4657         * sysdeps/mips/preconfigure: Modify ABI tests.
4658
4659 2014-09-07  Carlos O'Donell  <carlos@systemhalted.org>
4660
4661         * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
4662
4663 2014-09-07  Roland McGrath  <roland@hack.frob.com>
4664             Carlos O'Donell  <carlos@systemhalted.org>
4665
4666         * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
4667         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
4668         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
4669         * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
4670         * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
4671         * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
4672         * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
4673         * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
4674         * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
4675         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
4676         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
4677         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
4678         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
4679         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
4680         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
4681         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
4682         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
4683         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
4684         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
4685         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
4686         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
4687         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
4688         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
4689         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
4690         * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
4691         * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
4692         * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
4693         * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
4694         Deconditionalize the code that was previously under [RESET_PID].
4695         * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
4696         * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
4697         * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
4698         * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
4699         include sysdep.h.
4700
4701 2014-09-08  Allan McRae  <allan@archlinux.org>
4702
4703         * version.h (RELEASE): Set to "development".
4704         (VERSION): Set to "2.20.90"
4705
4706 2014-09-07  Allan McRae  <allan@archlinux.org
4707
4708         * version.h (RELEASE): Set to "stable".
4709         (VERSION): Set to "2.20"
4710         * include/features.h (__GLIBC_MINOR__): Set to 20.
4711
4712         * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
4713         Liebler.
4714
4715         * po/ko.po: Update Korean translation from translation project.
4716
4717 2014-09-06  Chris Metcalf  <cmetcalf@tilera.com>
4718
4719         [BZ #17354]
4720         * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
4721         macro for handling signed relocations.
4722
4723 2014-09-03  Florian Weimer  <fweimer@redhat.com>
4724
4725         [BZ #17325]
4726         * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
4727         * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
4728         assert.
4729         * iconvdata/ibm933.c (BODY): Fix check for sentinel.
4730         * iconvdata/ibm935.c (BODY): Likewise.
4731         * iconvdata/ibm937.c (BODY): Likewise.
4732         * iconvdata/ibm939.c (BODY): Likewise.
4733         * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
4734         assert.
4735         * iconvdata/Makefile (iconv-test.out): Pass module list to test
4736         script.
4737         * iconvdata/run-iconv-test.sh: New test loop for checking for
4738         decoder crashers.
4739
4740 2014-09-02  Khem Raj  <raj.khem@gmail.com>
4741
4742         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
4743         libm_hidden_ver.
4744
4745 2014-09-01  Allan McRae  <allan@archlinux.org>
4746
4747         * po/eo.po: Update Esperanto translation from translation project.
4748
4749         * po/ca.po: Update Catalan translation from translation project.
4750
4751 2014-08-28  Samuel Thibault  <samuel.thibault@ens-lyon.org>
4752
4753         * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
4754         __proc_dostop call.
4755
4756 2014-08-27  Mark Wielaard  <mjw@redhat.com>
4757
4758         [BZ #17319]
4759         * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
4760         to call set_thread_area instead of hand written asm.
4761         (__NR_set_thread_area): Removed define.
4762         (TLS_FLAG_WRITABLE): Likewise.
4763         (__ASSUME_SET_THREAD_AREA): Remove check.
4764         (TLS_EBX_ARG): Remove define.
4765         (TLS_LOAD_EBX): Likewise.
4766
4767 2014-08-27  Samuel Thibault  <samuel.thibault@ens-lyon.org>
4768
4769         Simplify atomicity of socket creation in bind.
4770
4771         * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
4772         looking up the name after linking the file.
4773
4774 2014-08-27  Allan McRae  <allan@archlinux.org>
4775
4776         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
4777
4778 2014-08-26  Florian Weimer  <fweimer@redhat.com>
4779
4780         [BZ #17187]
4781         * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
4782         trans_compare, open_translit, __gconv_translit_find):
4783         Remove module loading code.
4784
4785 2014-08-26  Allan McRae  <allan@archlinux.org>
4786
4787         * po/vi.po: Update Vietnamese translation from translation project.
4788
4789         * po/uk.po: Update Ukrainian translation from translation project.
4790
4791         * po/fr.po: Update French translation from translation project.
4792
4793         * po/ru.po: Update Russian translation from translation project.
4794
4795         * po/pl.po: Update Polish translation from translation project.
4796
4797         * po/cs.po: Update Czech translation from translation project.
4798
4799         * po/de.po: Update German translation from translation project.
4800
4801         * po/bg.po: Update Bulgarian translation from translation project.
4802
4803         * po/sv.po: Update Sweedish translation from translation project.
4804
4805         * po/nl.po: Update Dutch translation from translation project.
4806
4807         * po/es.po: Update Spanish translation from translation project.
4808
4809 2014-08-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
4810
4811         * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
4812
4813         * catgets/Makefile (CPPFLAGS-gencat): Remove.
4814         * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
4815         (CPPFLAGS-iconvconfig): Likewise.
4816         * timezone/Makefile (CPPFLAGS-zic): Likewise.
4817
4818         * include/libc-symbols.h: Remove unnecessary check for
4819         NOT_IN_libc.
4820         * nptl/pthreadP.h: Likewise.
4821         * sysdeps/aarch64/setjmp.S: Likewise.
4822         * sysdeps/alpha/setjmp.S: Likewise.
4823         * sysdeps/arm/sysdep.h: Likewise.
4824         * sysdeps/i386/setjmp.S: Likewise.
4825         * sysdeps/m68k/setjmp.c: Likewise.
4826         * sysdeps/posix/getcwd.c: Likewise.
4827         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
4828         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
4829         * sysdeps/s390/s390-32/setjmp.S: Likewise.
4830         * sysdeps/s390/s390-64/setjmp.S: Likewise.
4831         * sysdeps/sh/sh3/setjmp.S: Likewise.
4832         * sysdeps/sh/sh4/setjmp.S: Likewise.
4833         * sysdeps/unix/alpha/sysdep.h: Likewise.
4834         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
4835         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
4836         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
4837         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
4838         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
4839         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
4840         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
4841         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
4842         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
4843         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
4844         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
4845         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
4846         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
4847         * sysdeps/x86_64/setjmp.S: Likewise.
4848
4849 2014-08-13  Joseph Myers  <joseph@codesourcery.com>
4850
4851         [BZ #17263]
4852         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
4853         <stdint.h>.
4854         (__get_clockfreq): Use uint64_t instead of hp_timing_t in
4855         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
4856
4857 2014-08-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
4858
4859         * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
4860
4861         [BZ #17262]
4862         * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
4863         and __x86_64__ when disabling x87 inline functions.
4864
4865 2014-08-12  H.J. Lu  <hongjiu.lu@intel.com>
4866
4867         [BZ #17259]
4868         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
4869         asm statement with __cpuid_count.
4870
4871 2014-08-12  Mike Frysinger  <vapier@gentoo.org>
4872
4873         * configure.ac: Change __ehdr_start code to dereference the struct.
4874         Run readelf on the output to look for relocations.
4875         * configure: Regenerated.
4876
4877 2014-08-12  Joseph Myers  <joseph@codesourcery.com>
4878
4879         [BZ #17261]
4880         * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
4881         value to 0.
4882         (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
4883
4884 2014-08-12  Roland McGrath  <roland@hack.frob.com>
4885
4886         * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
4887
4888 2014-08-12  Bernard Ogden  <bernie.ogden@linaro.org>
4889
4890         [BZ #16892]
4891         * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
4892         atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
4893
4894 2014-08-12  Sean Anderson  <seanga2@gmail.com>
4895
4896         * malloc/malloc.c: Fix typo in comment.
4897
4898 2014-08-09  Allan McRae  <allan@archlinux.org>
4899
4900         * Regenerate libc.po.
4901
4902 2014-08-08  Mike Frysinger  <vapier@gentoo.org>
4903
4904         * intl/tst-gettext2.sh: Check every lang file for creation.
4905
4906 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
4907
4908         * sysdeps/aarch64/fpu/math_private.h
4909         (libc_feholdsetround_noex_aarch64_ctx): New function.
4910
4911 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
4912
4913         * sysdeps/arm/armv6/strcpy.S (strcpy):
4914         Fix performance issue in misaligned cases.
4915
4916 2014-08-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4917
4918         * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
4919         Move definition from termios.h.
4920         (struct termio): Likewise.
4921         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
4922         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
4923         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
4924         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
4925         Likewise.
4926         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
4927         Move definition to ioctl-types.h
4928         (struct termio): Likewise.
4929         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
4930         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
4931         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
4932         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
4933         Likewise.
4934
4935 2014-08-05  Richard Henderson  <rth@redhat.com>
4936
4937         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
4938         exceptions.
4939         * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
4940         Add fraiseexcpt.
4941         * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
4942         Use __feraiseexcept.
4943         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
4944         Protect libm symbols with IS_IN_libm.
4945
4946         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
4947
4948 2014-08-04  Bernard Ogden  <bernie.ogden@linaro.org>
4949
4950         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
4951
4952 2014-08-04  Will Newton  <will.newton@linaro.org>
4953
4954         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
4955         file.
4956
4957 2014-08-04  Mike Frysinger  <vapier@gentoo.org>
4958
4959         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
4960         variants for each function.
4961
4962 2014-08-04  Roland McGrath  <roland@hack.frob.com>
4963
4964         * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
4965         appended ...
4966         * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
4967         * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
4968         appended ...
4969         * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
4970         * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
4971         * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
4972         * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
4973         * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
4974         * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
4975         * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
4976         * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
4977         * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
4978         * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
4979         * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
4980         * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
4981         * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
4982         * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
4983         * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
4984         * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
4985         * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
4986         * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
4987         * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
4988         * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
4989         * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
4990         * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
4991         * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
4992         * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
4993         * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
4994         * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
4995         * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
4996         * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
4997         * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
4998         * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
4999         * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
5000         * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
5001         * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
5002         * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
5003         * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
5004         * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
5005         * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
5006         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
5007         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
5008         * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
5009         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
5010         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
5011         * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
5012         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
5013         * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
5014         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
5015         * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
5016         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
5017         * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
5018         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
5019         * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
5020         * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
5021         * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
5022         Update #include.
5023         * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
5024         * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
5025
5026 2014-08-04  Roland McGrath  <roland@hack.frob.com>
5027
5028         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
5029         * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
5030         * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
5031         * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
5032         * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
5033         * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
5034
5035 2014-08-04  Roland McGrath  <roland@hack.frob.com>
5036
5037         * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
5038         * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
5039         * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
5040         * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
5041
5042 2014-08-04  Roland McGrath  <roland@hack.frob.com>
5043
5044         * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
5045         * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
5046         (__libc_vfork): Define function under this name.
5047         (__vfork): Define as an alias.
5048         * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
5049         * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
5050
5051 2014-08-04  Roland McGrath  <roland@hack.frob.com>
5052
5053         * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
5054         that was previously under [RESET_PID].
5055         * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
5056
5057 2014-08-04  Andreas Schwab  <schwab@suse.de>
5058
5059         * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
5060
5061 2014-08-03  Mike Frysinger  <vapier@gentoo.org>
5062
5063         * stdlib/tst-setcontext.c (test_stack): Fix coding style.
5064         (main): Likewise.
5065
5066 2014-08-01  Roland McGrath  <roland@hack.frob.com>
5067
5068         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
5069
5070 2014-08-01  Richard Henderon  <rth@redhat.com>
5071
5072         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
5073         feclearexcept; use math_opt_barrier instead of open-coded asm; fix
5074         typo in exact zero test.
5075         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
5076         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
5077         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
5078
5079 2014-08-01  Roland McGrath  <roland@hack.frob.com>
5080
5081         * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
5082         (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
5083         * sysdeps/arm/sysdep.h: ... here.
5084         [!__ASSEMBLER__]: Include <stdint.h>.
5085
5086 2014-08-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
5087
5088         * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
5089         (HAVE_WCTYPE_H): Likewise.
5090         (HAVE_ISWCTYPE): Likewise.
5091         (ENABLE_NLS): Likewise.
5092         * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
5093         && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
5094
5095         * posix/regex_internal.c: Check if DEBUG is defined and is
5096         set.
5097
5098         * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
5099         (HAVE_MBSRTOWCS): Likewise.
5100         * posix/fnmatch.c: Include string.h unconditionally.
5101
5102 2014-08-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
5103
5104         * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
5105         reversal.
5106
5107 2014-07-31  Roland McGrath  <roland@hack.frob.com>
5108
5109         * sysdeps/generic/safe-fatal.h: New file.
5110         * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
5111         * nptl/forward.c: Include it.
5112         (__pthread_unwind): Use __safe_fatal as default action, rather
5113         than a bogus use of INTERNAL_SYSCALL that could never work.
5114
5115         * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
5116         * configure.ac (libc_cv_builtin_trap): New test.
5117         * configure: Regenerated.
5118         * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
5119         (ABORT_INSTRUCTION): Define using __builtin_trap.
5120
5121         * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
5122         * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
5123         * sysdeps/nptl/nptl-signals.h: New file.
5124         * nptl/pthreadP.h: Include <nptl-signals.h>.
5125
5126 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
5127
5128         * sysdeps/s390/s390-64/utf16-utf32-z9.c
5129         (ONE_DIRECTION): Define.
5130         * sysdeps/s390/s390-64/utf8-utf16-z9.c
5131         (ONE_DIRECTION): Define.
5132         * sysdeps/s390/s390-64/utf8-utf32-z9.c
5133         (ONE_DIRECTION): Define.
5134
5135 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
5136
5137         * sysdeps/s390/Makefile: Delete file.
5138         * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
5139         * sysdeps/s390/__longjmp.c: Delete file.
5140         * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
5141         Remove fields __flags and __reserved.
5142         * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
5143         and add versioning.
5144         * sysdeps/s390/rtld-__longjmp.c: Delete file.
5145         * sysdeps/s390/rtld-global-offsets.sym: Likewise.
5146         * sysdeps/s390/rtld-setjmp.S: Likewise.
5147         * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
5148         * sysdeps/s390/s390-32/__longjmp.c: ... here.
5149         * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
5150         * sysdeps/s390/s390-32/setjmp.S: ... here.
5151         Add versioning.
5152         (__sigsetjmp): Remove setting __flags field.
5153         * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
5154         * sysdeps/s390/s390-64/__longjmp.c: ... here.
5155         * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
5156         * sysdeps/s390/s390-64/setjmp.S: ... here.
5157         Add versioning.
5158         (__sigsetjmp): Remove setting __flags field.
5159         * sysdeps/s390/setjmp.S: Delete file.
5160         * sysdeps/s390/sigjmp.c: Likewise.
5161         * sysdeps/s390/v1-longjmp.c: Likewise.
5162         * sysdeps/s390/v1-setjmp.h: Likewise.
5163         * sysdeps/s390/v1-sigjmp.c: Likewise.
5164         * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
5165         Remove v1-longjmp_chk.
5166         * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
5167         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
5168         Include debug/longjmp_chk.c and add versioning.
5169         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
5170         Include nptl/pt-longjmp.c and add versioning.
5171         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
5172         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
5173         Include __longjmp.c.
5174         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
5175         Move to ...
5176         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
5177         (__getcontext): Remove setting __flags field.
5178         Add versioning.
5179         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
5180         Don't restore upper high grps.
5181         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
5182         Likewise.
5183         (__swapcontext): Remove setting uc_flags field.
5184         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
5185         Delete file.
5186         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
5187         Include __longjmp.c.
5188         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
5189         Move to ...
5190         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
5191         (__getcontext): Remove setting __flags field.
5192         Add versioning.
5193         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
5194         (__swapcontext): Remove setting uc_flags field.
5195         * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
5196         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
5197         Remove fields uc_high_gprs and __reserved.
5198         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
5199         New file with reverted content.
5200         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
5201         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
5202         Regenerated.
5203         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
5204         Regenerated.
5205
5206 2014-07-31  Andreas Schwab  <schwab@suse.de>
5207
5208         * config.h.in (HAVE_IFUNC): Define to 0.
5209         * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
5210         definedness.
5211
5212 2014-07-30  Ling Ma  <ling.ml@alibaba-inc.com>
5213
5214         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
5215         memmove-avx-unaligned, memcpy-avx-unaligned and
5216         mempcpy-avx-unaligned.
5217         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
5218         Add tests for AVX memcpy functions.
5219         * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
5220         * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
5221         memcpy_chk.
5222         * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
5223         * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
5224         memmove_chk.
5225         * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
5226         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
5227         mempcpy_chk.
5228         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
5229         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
5230         * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
5231
5232 2013-07-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5233
5234         [BZ #17213]
5235         * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
5236         powerpc64le.
5237
5238 2014-07-29  Jeff Layton  <jlayton@poochiereds.net>
5239
5240         [BZ #16839]
5241         * manual/llio.texi: Add section about open file description locks.
5242         * manual/examples/ofdlocks.c: Example of open file description
5243         lock usage.
5244         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
5245         F_OFD_SETLK, and F_OFD_SETLKW.
5246
5247 2014-07-23  Allan McRae  <allan@archlinux.org>
5248
5249         * po/es.po: Update Spanish translation from translation project.
5250
5251 2014-07-18  Andreas Schwab  <schwab@linux-m68k.org>
5252
5253         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
5254
5255 2014-07-17  Maciej W. Rozycki  <macro@codesourcery.com>
5256
5257         [BZ #17078]
5258         * sysdeps/arm/dl-machine.h (elf_machine_rela)
5259         [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
5260         (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
5261
5262 2014-07-17  Joseph Myers  <joseph@codesourcery.com>
5263
5264         [BZ #17088]
5265         * math/fesetenv.c (__fesetenv)
5266         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
5267         * math/feupdateenv.c (__feupdateenv)
5268         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
5269
5270         * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
5271         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
5272         (__ASSUME_SOCKETCALL): Do not define.
5273
5274         * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
5275         * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
5276         (__ASSUME_SOCKETCALL): Do not define.
5277         (__ASSUME_ST_INO_64_BIT): Define unconditionally.
5278         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
5279         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
5280         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
5281         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
5282         [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
5283         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
5284         [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
5285
5286         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
5287         * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
5288         (__ASSUME_SOCKETCALL): Do not define.
5289         (__ASSUME_IPC64): Define unconditionally.
5290         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
5291         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
5292         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
5293         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
5294         [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
5295         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
5296         [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
5297         Likewise.
5298
5299         * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
5300         * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
5301         (__ASSUME_SOCKETCALL): Do not define.
5302         (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
5303         (__ASSUME_FUTEX_LOCK_PI): Likewise.
5304         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
5305         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
5306         (__ASSUME_REQUEUE_PI): Define unconditionally.
5307         [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
5308         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
5309         [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
5310         [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
5311         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
5312         [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
5313
5314         * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
5315         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
5316         (__ASSUME_SOCKETCALL): Do not define.
5317         [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
5318         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
5319         [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
5320         [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
5321         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
5322         [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
5323
5324         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
5325         * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
5326         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
5327         [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
5328         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
5329         [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
5330         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
5331         [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
5332         (__ASSUME_GETCPU_SYSCALL): Likewise.
5333
5334         * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
5335         * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR.  Remove
5336         cases for individual architectures.
5337         * sysdeps/gnu/configure: Regenerated.
5338         * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
5339         LIBC_SLIBDIR_RTLDDIR.
5340         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
5341         * sysdeps/unix/sysv/linux/mips/configure.ac: Use
5342         LIBC_SLIBDIR_RTLDDIR.
5343         * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
5344         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
5345         LIBC_SLIBDIR_RTLDDIR.
5346         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
5347         Regenerated.
5348         * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
5349         * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
5350         file.
5351         * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
5352         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
5353         file.
5354         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
5355         * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
5356         * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
5357         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
5358
5359         * sysdeps/aarch64/shlib-versions: Move to ...
5360         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
5361         * sysdeps/alpha/shlib-versions: Move to ...
5362         * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
5363         * sysdeps/arm/shlib-versions: Move to ...
5364         * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
5365         * sysdeps/hppa/shlib-versions: Move all contents except for
5366         libgcc_s entry to ...
5367         * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here.  Merge in
5368         entry from ...
5369         * sysdeps/hppa/nptl/shlib-versions: ... here.  Remove file.
5370         * sysdeps/ia64/shlib-versions: Move to ...
5371         * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here.  Merge in
5372         entry from ...
5373         * sysdeps/ia64/nptl/shlib-versions: ... here.  Remove file.
5374         * sysdeps/m68k/coldfire/shlib-versions: Move to ...
5375         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
5376         * sysdeps/microblaze/shlib-versions: Move to ...
5377         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
5378         * sysdeps/mips/shlib-versions: Move to ...
5379         * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here.  Merge in
5380         entry from ...
5381         * sysdeps/mips/nptl/shlib-versions: ... here.  Remove file.
5382         * sysdeps/tile/shlib-versions: Move to ...
5383         * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
5384         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
5385         from ...
5386         * sysdeps/x86_64/64/shlib-versions: ... here.  Remove file.
5387         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
5388         entry from ...
5389         * sysdeps/x86_64/x32/shlib-versions: ... here.  Remove file.
5390
5391 2014-07-17  Will Newton  <will.newton@linaro.org>
5392
5393         * sysdeps/arm/bits/atomic.h
5394         (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
5395         (__arch_compare_and_exchange_bool_16_int): Likewise.
5396         (__arch_compare_and_exchange_bool_64_int): Likewise.
5397
5398         * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
5399         into an #else block.
5400
5401 2014-07-16  Roland McGrath  <roland@hack.frob.com>
5402
5403         * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
5404         just Linux configurations.  Test empirically that the compiler sets
5405         __ARM_EABI__, rather than using the tuple to decide.
5406         * sysdeps/arm/preconfigure: Regenerated.
5407         * sysdeps/unix/sysv/linux/arm/configure: File removed.
5408         * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
5409         contents appended ...
5410         * sysdeps/arm/configure.ac: ... here.
5411         * sysdeps/arm/configure: Regenerated.
5412
5413 2014-07-15  Roland McGrath  <roland@hack.frob.com>
5414
5415         * nptl/pthread_kill.c: New file.
5416         * nptl/pthread_sigmask.c: New file.
5417         * nptl/pthread_sigqueue.c: New file.
5418
5419         * sysdeps/nptl/lowlevellock.h: New file.
5420         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
5421         * sysdeps/nptl/lowlevellock-futex.h: New file.
5422
5423         * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
5424         Remove dead declarations.
5425
5426 2014-07-14  H.J. Lu  <hongjiu.lu@intel.com>
5427
5428         * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
5429         * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
5430         config-cflags-avx2.
5431         * sysdeps/x86_64/configure.ac: Likewise.
5432         * sysdeps/i386/configure: Regenerated.
5433         * sysdeps/x86_64/configure: Likewise.
5434         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
5435         memset-avx2 only if config-cflags-avx2 is yes.
5436         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
5437         Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
5438         defined.
5439         * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
5440         only if HAVE_AVX2_SUPPORT is defined.
5441         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
5442
5443 2014-07-14  Alan Modra  <amodra@gmail.com>
5444
5445         [BZ #17153]
5446         * elf/elf.h (DT_PPC64_NUM): Correct value.
5447         * NEWS: Add to fixed bug list.
5448
5449 2014-07-13  Jim Meyering  <meyering@fb.com>
5450
5451         [BZ 17150]
5452         regex: don't deref NULL upon heap allocation failure
5453         * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
5454         failure in one more place.
5455         To trigger the segfault, configure grep -with-included-regex,
5456         build it, and run these commands:
5457         ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
5458
5459 2014-07-13  Andreas Schwab  <schwab@linux-m68k.org>
5460
5461         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
5462
5463 2014-07-11  Richard Henderson  <rth@redhat.com>
5464
5465         * sysdeps/aarch64/libm-test-ulps: Update.
5466
5467 2014-07-10  Florian Weimer  <fweimer@redhat.com>
5468
5469         [BZ #17135]
5470         * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
5471         * nptl/allocatestack.c (__nptl_setxid_error): New function.
5472         (__nptl_setxid): Initialize error member.  Call
5473         __nptl_setxid_error.
5474         * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
5475         * nptl/descr.h (struct xid_command): Add error member.
5476         * nptl/tst-setuid3.c: New file.
5477         * nptl/Makefile (tests): Add it.
5478
5479 2014-07-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5480
5481         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
5482         New define.
5483         (__lll_trylock): Use __lll_base_trylock.
5484         (__lll_cond_trylock): Likewise.
5485
5486 2014-07-10  Roland McGrath  <roland@hack.frob.com>
5487
5488         * nptl/pthread_create.c (start_thread): Use atomic_or and
5489         lll_futex_wake directly rather than lll_robust_dead.
5490         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
5491         (lll_robust_dead): Macro removed.
5492         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
5493         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
5494         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
5495         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
5496         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
5497         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
5498         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
5499         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
5500         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
5501         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
5502         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
5503         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
5504         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
5505         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
5506         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
5507
5508         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
5509         Use atomic_compare_and_exchange_val_acq directly rather than
5510         lll_robust_trylock.
5511         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
5512         (__lll_robust_trylock, lll_robust_trylock): Removed.
5513         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
5514         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
5515         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
5516         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
5517         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
5518         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
5519         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
5520         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
5521         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
5522         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
5523         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
5524         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
5525         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
5526         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
5527
5528 2014-07-02  Florian Weimer  <fweimer@redhat.com>
5529
5530         * manual/locale.texi (Locale Names): New section documenting
5531         locale name syntax.  Adjust menu and node chaining accordingly.
5532         (Choosing Locale): Reference Locale Names, Locale Categories.
5533         Mention setting LC_ALL=C.  Reflect that name syntax is now
5534         documented.
5535         (Locale Categories): New section title.  Reference Locale Names.
5536         LC_ALL is an environment variable, but not a category.
5537         (Setting the Locale): Remove "locale -a" invocation and LOCPATH
5538         description, now in Locale Name.  Reference that section.  Locale
5539         name syntax is now documented.
5540
5541 2014-07-02  Florian Weimer  <fweimer@redhat.com>
5542
5543         [BZ #17137]
5544         * locale/findlocale.c (name_present, valid_locale_name): New
5545         functions.
5546         (_nl_find_locale): Use the loc_name variable to store name
5547         candidates.  Call name_present and valid_locale_name to check and
5548         validate locale names.  Return an error if the locale is invalid.
5549
5550 2014-07-02  Florian Weimer  <fweimer@redhat.com>
5551
5552         * locale/setlocale.c (setlocale): Use strdup for allocating
5553         composite name copy.
5554
5555 2014-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
5556
5557         Sync up with gnulib.
5558         * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
5559         [!_LIBC && ENABLE_NLS]: Include gettext.h.
5560         [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
5561         and _GL_ARG_NONNULL.
5562         [USE_UNLOCKED_IO]: Include unlocked-io.h.
5563         [!_LIBC]: Include code for Windows and Cygwin.
5564         [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
5565         Include prototype for int strerror_r.
5566         [!_LIBC] (is_open): New function.
5567         (flush_stdout): New function.
5568         (print_errno_message): Use it.
5569         (error): Likewise.
5570         (error_at_line): Likewise.
5571         (error_tail) Add function attribute macros.  Use
5572         __builtin_expect.
5573
5574         * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
5575
5576         * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
5577
5578         * io/ftw.c: Include sys/param.h unconditionally.
5579
5580         * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
5581
5582         [BZ #17125]
5583         * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
5584         libc_freeres_ptr.
5585         (freecache): New function to free CACHE on exit.
5586
5587         * sunrpc/xdr.c (xdr_string): Add comment about SIZE
5588         initialization.
5589
5590 2014-07-09  David S. Miller  <davem@davemloft.net>
5591
5592         * sysdeps/sparc/fpu/libm-test-ulps: Update.
5593
5594         * sysdeps/sparc/nptl/internaltypes.h: Delete.
5595         * sysdeps/sparc/nptl/sparc-nptl.h: New file.
5596         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
5597         * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
5598         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
5599         * sysdeps/sparc/nptl/sem_init.c: Likewise.
5600         * sysdeps/sparc/nptl/sem_post.c: Likewise.
5601         * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
5602         * sysdeps/sparc/nptl/sem_wait.c: Likewise.
5603         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
5604         * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
5605         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
5606         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
5607
5608 2014-07-09  Andreas Schwab  <schwab@suse.de>
5609
5610         * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
5611         output.
5612         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
5613         (do_test): Likewise.
5614
5615         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
5616
5617 2014-07-09  Will Newton  <will.newton@linaro.org>
5618
5619         * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
5620         * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
5621         * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
5622         * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
5623         * sysdeps/hppa/start.S (_start): Likewise.
5624
5625 2014-07-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
5626
5627         * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
5628
5629         * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
5630         defined.
5631
5632 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
5633
5634         * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
5635         after checking that it is non-NULL.
5636
5637         * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
5638
5639 2014-07-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5640
5641         * sysdeps/powerpc/memmove.c: Remove file.
5642         * sysdeps/powerpc/powerpc32/power4/memcopy.h
5643         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
5644         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
5645         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
5646         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
5647         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
5648         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
5649         string memmove instead of removed powerpc one.
5650
5651         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
5652         [weak_alias]: Fix compiler warning due trailing data.
5653         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
5654         [weak_alias]: Likewise.
5655         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
5656         warnigs due missing definition of __strcpy_power7 and __strlen_power7.
5657
5658         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
5659         (__libc_ifunc_impl_list): Add memmove functions.
5660
5661 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
5662
5663         * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
5664         Remove code.
5665         * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
5666         Likewise
5667         * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
5668         Likewise
5669         * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
5670         Likewise
5671         * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
5672         Likewise
5673         * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
5674         Likewise
5675         * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
5676         Likewise
5677         * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
5678         Likewise
5679         * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
5680         Likewise
5681         * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
5682         Likewise
5683         * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
5684         Likewise
5685         * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
5686         Likewise
5687         * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
5688         Likewise
5689         * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
5690         Likewise
5691         * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
5692         Likewise
5693         * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
5694         Likewise
5695         * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
5696         Likewise
5697
5698 2014-07-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5699
5700         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
5701         to avoid alignment traps in non-cacheable memory.
5702         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
5703
5704         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
5705         multiarch objects.
5706         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
5707         file: multiarch power7 memmove.
5708         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
5709         multiarch default memmove.
5710         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
5711         multiarch memove for powerpc32/power4.
5712
5713         * string/bcopy.c: Use full path to include memmove.c.
5714         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
5715         multiarch objects.
5716         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
5717         bcopy for powerpc64.
5718         * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
5719         bcopy for powerpc64.
5720         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
5721         and memmove implementations.
5722         * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
5723         optimized multiarch memmove for POWER7/powerpc64.
5724         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
5725         default multiarch memmove for powerpc64.
5726         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
5727         multiarch for powerpc64.
5728         * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
5729         for POWER7/powerpc64.
5730         * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
5731         memmove for POWER7/powerpc64.
5732
5733         * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
5734         glibc default one.
5735
5736         * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
5737         __ELF_NATIVE_CLASS equal to 64.
5738
5739 2014-07-07  Roland McGrath  <roland@hack.frob.com>
5740
5741         * sysdeps/nptl/lowlevellock.h: File removed.
5742
5743         * NEWS: NPTL is no longer an add-on!
5744         * nptl/internaltypes.h: Moved ...
5745         * sysdeps/nptl/internaltypes.h: ... here.
5746         * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
5747         * sysdeps/nptl/fork.c: Likewise.
5748         * sysdeps/nptl/gai_misc.h: Likewise.
5749         * sysdeps/nptl/librt-cancellation.c: Likewise.
5750         * sysdeps/nptl/jmp-unwind.c: Likewise.
5751         * sysdeps/nptl/setxid.h: Likewise.
5752         * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
5753         * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
5754         * sysdeps/unix/sysv/linux/arm/Implies: New file.
5755         * sysdeps/unix/sysv/linux/hppa/Implies: New file.
5756         * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
5757         * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
5758         * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
5759         * sysdeps/unix/sysv/linux/m68k/Implies: New file.
5760         * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
5761         * sysdeps/unix/sysv/linux/mips/Implies: New file.
5762         * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
5763         * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
5764         * sysdeps/unix/sysv/linux/sh/Implies: New file.
5765         * sysdeps/unix/sysv/linux/sparc/Implies: New file.
5766         * sysdeps/unix/sysv/linux/tile/Implies: New file.
5767         * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
5768         * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
5769         * nptl/Makeconfig: Moved ...
5770         * sysdeps/nptl/Makeconfig: ... here.
5771         * nptl/configure: File removed.
5772         * nptl/ANNOUNCE: File removed.
5773         * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
5774         * sysdeps/unix/sysv/linux/configure: Regenerated.
5775
5776         * nptl/Makefile (routines): Add libc_pthread_init,
5777         libc_multiple_threads, register-atfork and unregister-atfork.
5778         (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
5779         (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
5780         lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
5781         pthread-pi-defines.sym, structsem.sym.
5782         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
5783         (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
5784         [$(subdir) = nptl] (tests): Add tst-setgetname.
5785         * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
5786         * sysdeps/unix/sysv/linux/sigaction.c: Just include
5787         <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
5788         [!LIBC_SIGACTION]: Remove aliases.
5789         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
5790         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
5791         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
5792         * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
5793         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
5794         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
5795         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
5796         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
5797         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
5798         * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
5799         (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
5800         __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
5801         __libc_allocate_rtsig_private.
5802         * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
5803         * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
5804         * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
5805         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
5806         * sysdeps/unix/sysv/linux/sleep.c: Likewise.
5807         * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
5808         * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
5809         * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
5810         * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
5811         * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
5812         * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
5813         * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
5814         * nptl/internaltypes.h: ... here.
5815         * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
5816         * sysdeps/nptl/jmp-unwind.c: ... here.
5817         * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
5818         * nptl/libc-lowlevellock.c: ... here.
5819         * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
5820         * nptl/libc_multiple_threads.c: ... here.
5821         * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
5822         * nptl/libc_pthread_init.c: ... here.
5823         * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
5824         * nptl/lowlevelbarrier.sym: ... here.
5825         * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
5826         * nptl/lowlevelcond.sym: ... here.
5827         * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
5828         * nptl/lowlevellock.c: ... here.
5829         * nptl/lowlevellock.h: Moved ...
5830         * sysdeps/nptl/lowlevellock.h: ... here.
5831         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
5832         * nptl/lowlevelrobustlock.c: ... here.
5833         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
5834         * nptl/lowlevelrobustlock.sym: ... here.
5835         * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
5836         * nptl/lowlevelrwlock.sym: ... here.
5837         * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
5838         * nptl/pt-fork.c: ... here.
5839         * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
5840         * nptl/pthread-pi-defines.sym: ... here.
5841         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
5842         * nptl/pthread_attr_getaffinity.c: ... here.
5843         * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
5844         * nptl/pthread_attr_setaffinity.c: ... here.
5845         * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
5846         * nptl/pthread_mutex_cond_lock.c: ... here.
5847         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
5848         Update #include.
5849         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
5850         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
5851         * nptl/pthread_once.c: ... here, replacing old file.
5852         * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
5853         * nptl/pthread_yield.c: ... here.
5854         * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
5855         * nptl/register-atfork.c: ... here.
5856         * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
5857         * nptl/sem_post.c: ... here.
5858         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
5859         * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
5860         * nptl/sem_timedwait.c: ... here.
5861         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
5862         * nptl/sem_trywait.c: ... here.
5863         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
5864         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
5865         * nptl/sem_wait.c: ... here.
5866         * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
5867         * nptl/structsem.sym: ... here.
5868         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
5869         * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
5870         * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
5871         * nptl/unregister-atfork.c: ... here.
5872         * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
5873         * nptl/unwindbuf.sym: ... here.
5874         * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
5875         * sysdeps/nptl/fork.c: ... here.
5876         * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
5877         * sysdeps/nptl/fork.h: ... here.
5878         * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
5879         * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
5880         * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
5881         * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
5882         * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
5883         * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
5884         * sysdeps/unix/sysv/linux/getpid.c: ... here.
5885         * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
5886         * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
5887         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
5888         * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
5889         * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
5890         * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
5891         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
5892         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
5893         * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
5894         * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
5895         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
5896         * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
5897         * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
5898         * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
5899         * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
5900         * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
5901         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
5902         * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
5903         * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
5904         * sysdeps/unix/sysv/linux/raise.c: ... here.
5905         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
5906         * sysdeps/unix/sysv/linux/timer_create.c: ... here.
5907         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
5908         * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
5909         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
5910         * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
5911         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
5912         * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
5913         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
5914         * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
5915         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
5916         * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
5917         * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
5918         * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
5919         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
5920
5921 2014-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
5922
5923         * sysdeps/generic/memcopy.h: Add comment for
5924         MEMCPY_OK_FOR_FWD_MEMMOVE.
5925
5926 2014-07-04  Will Newton  <will.newton@linaro.org>
5927
5928         * string/memchr.c: Merge from gnulib.
5929         [_LIBC]: Remove conditionals.
5930         (__ptr_t): Remove define.
5931         (LONG_MAX_32_BITS): Likewise.
5932         (LONG_MAX): Likewise.
5933         (MEMCHR): Use ANSI prototype and optimize algorithm.
5934
5935         * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
5936
5937 2014-07-03  Roland McGrath  <roland@hack.frob.com>
5938
5939         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
5940         (lll_futex_timed_wait_bitset): Fix syscall argument count.
5941
5942         * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
5943         Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
5944         in a bare environment with no <stdlib.h> installed.
5945         * sysdeps/nptl/configure: Regenerated.
5946
5947         * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
5948
5949         * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
5950         AC_EGREP_CPP for kernel header checks, so they only succeed if
5951         including <linux/version.h> actually works right.
5952         * sysdeps/unix/sysv/linux/configure: Regenerated.
5953
5954         * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
5955         value so it's not diagnosed as unused.
5956
5957         * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
5958         thing) with "ifeq ($(subdir),rt)".
5959
5960 2014-07-03  Richard Henderson  <rth@redhat.com>
5961
5962         * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
5963         * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
5964         include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
5965
5966         * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
5967         (math_force_eval): New.
5968
5969         * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
5970         * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
5971
5972         * sysdeps/alpha/fpu/s_round.c: Remove file.
5973         * sysdeps/alpha/fpu/s_roundf.c: Remove file.
5974
5975         * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
5976         (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
5977         * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
5978         (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
5979         (_dl_start, print_statistics): Likewise.
5980         * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
5981         HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
5982
5983         * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
5984         * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
5985         * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
5986         * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
5987         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
5988         (HP_SMALL_TIMING_AVAIL): Define.
5989         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
5990         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
5991         (HP_SMALL_TIMING_AVAIL): Define.
5992         * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
5993         * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
5994
5995         * sysdeps/aarch64/hp-timing.h: New file.
5996
5997         * sysdeps/generic/hp-timing.h: Remove dead comment.
5998         * sysdeps/generic/hp-timing-common.h: New file.
5999         * sysdeps/alpha/hp-timing.h: Include it.
6000         (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
6001         * sysdeps/i386/i686/hp-timing.h: Likewise.
6002         * sysdeps/ia64/hp-timing.h: Likewise.
6003         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
6004         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
6005         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
6006         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
6007         * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
6008         (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
6009         (hp_timing_t): New.
6010
6011         * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
6012         * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
6013         (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
6014         * elf/rtld.c (_dl_start_final): Likewise.
6015         * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
6016         * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
6017         * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
6018         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
6019         * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
6020         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
6021         (HP_TIMING_DIFF_INIT): Remove.
6022         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
6023         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
6024         (HP_TIMING_DIFF_INIT): Remove.
6025         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
6026         * sysdeps/i386/i686/hp-timing.c: Remove file.
6027         * sysdeps/x86_64/hp-timing.c: Remove file.
6028         * sysdeps/ia64/hp-timing.c: Remove file.
6029         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
6030         * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
6031         * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
6032         * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
6033
6034         * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
6035         * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
6036         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
6037         * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
6038         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
6039         (HP_TIMING_ACCUM): Remove.
6040         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
6041         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
6042         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
6043
6044         * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
6045         * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
6046         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
6047         * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
6048         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
6049         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
6050         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
6051         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
6052
6053         * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
6054
6055 2014-07-03  Maciej W. Rozycki  <macro@codesourcery.com>
6056
6057         * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
6058
6059 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
6060
6061         Sync up with gettext.
6062         * intl/loadmsgcat.c: Define O_BINARY if not defined.
6063         [_MSC_VER]: Include malloc.h
6064         [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
6065         (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
6066         (_nl_load_domain): Open DOMAIN_FILE in binary mode.  Don't use
6067         TEMP_FAILURE_RETRY.  Cast return of alloca.
6068         [!_LIBC] Call gl_rwlock_init.
6069         [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
6070
6071 2014-07-02  Roland McGrath  <roland@hack.frob.com>
6072
6073         * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
6074         before checking its value.
6075
6076 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
6077
6078         * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
6079
6080         * debug/memcpy_chk.c: Don't include pagecopy.h.
6081         * debug/mempcpy_chk.c: Likewise.
6082         * string/memcpy.c: Likewise.
6083         * string/memmove.c: Likewise.
6084         * sysdeps/powerpc/memmove.c: Likewise.
6085         * sysdeps/generic/memcopy.h: Include pagecopy.h.  Move
6086         definition of PAGE_COPY_FWD_MAYBE here...
6087         * sysdeps/generic/pagecopy.h: ... from here.
6088         * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
6089
6090 2014-07-02  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
6091             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6092
6093         * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
6094         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
6095         optimizations.
6096         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
6097         (__libc_ifunc_impl_list): Likewise.
6098         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
6099         multiarch strcat for PPC64.
6100         * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
6101         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
6102
6103 2014-07-02  Roland McGrath  <roland@hack.frob.com>
6104
6105         * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
6106
6107 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
6108
6109         * intl/loadmsgcat.c: Remove declaration of
6110         get_sysdep_segment_value.
6111         (get_sysdep_segment_value): Use ISO C style.
6112         (_nl_load_domain): Use ISO C style.  Get rid of redundant
6113         semicolon.  Fix typo and formatting in comment.
6114         (_nl_unload_domain): Use ISO C style.
6115
6116         * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
6117
6118 2014-07-02  Will Newton  <will.newton@linaro.org>
6119
6120         * malloc/obstack.c: Merge from gnulib master.
6121         [HAVE_CONFIG_H]: Remove conditional code.
6122         [!_LIBC]: Include config.h.
6123         [!ELIDE_CODE]: Don't include inttypes.h, include
6124         stdint.h unconditionally.
6125         (print_and_abort): Mark as _Noreturn.
6126         (_obstack_allocated_p): Mark as __attribute_pure__.
6127         (obstack_free): Rename to __obstack_free.
6128         [!__attribute__]: Remove conditional code.
6129         * malloc/obstack.h: Merge from gnulib master.
6130         [__cplusplus]: Move conditional down.
6131         [!__attribute_pure__]: Define __attribute_pure__ here
6132         if it is not already defined.
6133         (_obstack_memory_used): Mark as __attribute_pure__.
6134         [!__obstack_free]: Define as obstack_free.
6135         [__GNUC__]: Remove check for ancient NeXT gcc.
6136
6137 2014-07-02  Will Newton  <will.newton@linaro.org>
6138             Paul Eggert  <eggert@cs.ucla.edu>
6139
6140         * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
6141
6142 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
6143
6144         * resolv/gethnamaddr.c: Add comment warning that the file is
6145         not maintained.
6146
6147 2014-07-01  Carlos O'Donell  <carlos@redhat.com>
6148
6149         * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
6150         entries.
6151
6152         * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
6153         entry for aio_cancel and aio_cancel64.
6154         * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
6155         * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
6156         * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
6157         * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
6158         * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
6159         * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
6160         * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
6161         * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
6162         * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
6163         * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
6164         * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
6165         * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
6166         * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
6167
6168 2014-07-01  Roland McGrath  <roland@hack.frob.com>
6169
6170         * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
6171         * nptl/pthread_mutex_lock.c: Likewise.
6172         * nptl/pthread_mutex_timedlock.c: Likewise.
6173         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
6174
6175 2014-07-01  Richard henderson  <rth@redhat.com>
6176
6177         * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
6178         (__isnan, __isnanl): Remove.
6179         * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
6180
6181         * sysdeps/alpha/fpu/libm-test-ulps: Update.
6182
6183 2014-07-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
6184
6185         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
6186
6187 2014-07-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
6188
6189         * resolv/nss_dns/dns-host.c (getanswer_r)
6190         [MULTI_PTRS_ARE_ALIASES]: Remove code.
6191
6192 2014-07-01  Joseph Myers  <joseph@codesourcery.com>
6193
6194         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
6195         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
6196         undefine.
6197         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
6198         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
6199
6200 2014-07-01  Roland McGrath <roland@hack.frob.com>
6201
6202         * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
6203         * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
6204
6205         * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
6206         * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
6207
6208         * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
6209         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
6210         ... here.
6211         * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
6212         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
6213
6214         * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
6215         * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
6216         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
6217         * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
6218
6219         * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
6220         * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
6221         * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
6222         * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
6223         * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
6224         Moved ...
6225         * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
6226         ... here.
6227         * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
6228         * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
6229         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
6230         * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
6231         * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
6232         * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
6233         * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
6234         * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
6235         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
6236         * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
6237         * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
6238         * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
6239         * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
6240         * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
6241         * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
6242         * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
6243         * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
6244         * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
6245         * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
6246         * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
6247         ... here.
6248         * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
6249         * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
6250         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
6251         * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
6252         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
6253         * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
6254         * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
6255         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
6256
6257 2014-07-01  David Holsgrove  <david.holsgrove@xilinx.com>
6258
6259         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
6260         * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
6261         * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
6262         Add sysdep.
6263
6264 2014-06-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6265
6266         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6267
6268 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
6269
6270         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
6271         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
6272
6273         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
6274
6275         * sysdeps/arm/libm-test-ulps: Regenerated.
6276
6277 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
6278             Roland McGrath <roland@hack.frob.com>
6279
6280         * test-skeleton.c (signal_handler): Kill the whole process group
6281         before killing the child individually.
6282         (main): Report any failure on `setpgid'.
6283
6284 2014-06-30  Roland McGrath  <roland@hack.frob.com>
6285
6286         * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
6287         from _TLS_H to _ARM_NPTL_TLS_H.
6288         (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
6289         * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
6290
6291 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
6292
6293         [BZ #16539]
6294         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
6295         (__expm1l): Return argument unchanged when small but not
6296         subnormal.
6297
6298         * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
6299         include macro name.
6300         (_FP_UNPACK_RAW_1_P): Likewise.
6301         (_FP_PACK_RAW_1): Likewise.
6302         (_FP_PACK_RAW_1_P): Likewise.
6303         (_FP_MUL_MEAT_1_wide): Likewise.
6304         (_FP_MUL_MEAT_DW_1_hard): Likewise.
6305         (_FP_MUL_MEAT_1_hard): Likewise.
6306         (_FP_DIV_MEAT_1_imm): Likewise.
6307         (_FP_DIV_MEAT_1_udiv_norm): Likewise.
6308         (_FP_DIV_MEAT_1_udiv): Likewise.
6309         * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
6310         (_FP_UNPACK_RAW_2): Likewise.
6311         (_FP_UNPACK_RAW_2_P): Likewise.
6312         (_FP_PACK_RAW_2): Likewise.
6313         (_FP_PACK_RAW_2_P): Likewise.
6314         (_FP_MUL_MEAT_DW_2_wide): Likewise.
6315         (_FP_MUL_MEAT_2_wide): Likewise.
6316         (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
6317         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
6318         (_FP_MUL_MEAT_DW_2_gmp): Likewise.
6319         (_FP_MUL_MEAT_2_gmp): Likewise.
6320         (_FP_DIV_MEAT_2_udiv): Likewise.
6321         * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
6322         (_FP_FRAC_SRL_4): Likewise.
6323         (_FP_FRAC_SRST_4): Likewise.
6324         (_FP_FRAC_SRS_4): Likewise.
6325         (_FP_UNPACK_RAW_4): Likewise.
6326         (_FP_UNPACK_RAW_4_P): Likewise.
6327         (_FP_PACK_RAW_4): Likewise.
6328         (_FP_PACK_RAW_4_P): Likewise.
6329         (_FP_MUL_MEAT_DW_4_wide): Likewise.
6330         (_FP_MUL_MEAT_4_wide): Likewise.
6331         (_FP_MUL_MEAT_4_gmp): Likewise.
6332         (umul_ppppmnnn): Likewise.
6333         (_FP_DIV_MEAT_4_udiv): Likewise.
6334         (__FP_FRAC_ADD_4): Likewise.
6335         (__FP_FRAC_SUB_3): Likewise.
6336         (__FP_FRAC_SUB_4): Likewise.
6337         (__FP_FRAC_DEC_3): Likewise.
6338         (__FP_FRAC_DEC_4): Likewise.
6339         (__FP_FRAC_ADDI_4): Likewise.
6340         * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
6341         (_FP_FRAC_SRL_8): Likewise.
6342         (_FP_FRAC_SRS_8): Likewise.
6343
6344         * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
6345         include macro name.
6346         (FP_UNPACK_RAW_EP): Likewise.
6347         (FP_PACK_RAW_E): Likewise.
6348         (FP_PACK_RAW_EP): Likewise.
6349         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
6350         (_FP_ISSIGNAN): Likewise.
6351         (_FP_ADD_INTERNAL): Likewise.
6352         (_FP_FMA): Likewise.
6353         (_FP_CMP): Likewise.
6354         (_FP_SQRT): Likewise.
6355         (_FP_TO_INT): Likewise.
6356         (_FP_FROM_INT): Likewise.
6357         (FP_EXTEND): Likewise.
6358         (_FP_DIV_MEAT_N_loop): Likewise.
6359
6360 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
6361
6362         * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
6363         throughout.
6364
6365 2014-06-29  Joseph Myers  <joseph@codesourcery.com>
6366
6367         [BZ #17097]
6368         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
6369         result with correct sign in case of exponents that produce
6370         overflow except for X very close to 1.
6371
6372 2014-06-28  Paul Eggert  <eggert@cs.ucla.edu>
6373
6374         mktime: merge #if/#ifdef usage from glibc
6375         * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
6376         as that works with both Glibc's and Gnulib's style.
6377         See thread starting at Siddhesh Poyarekar's bug report at:
6378         http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
6379
6380 2014-06-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
6381
6382         * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
6383         * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
6384         * sysdeps/tile/tilegx/memmove.c: Remove file.
6385
6386 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
6387
6388         * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
6389         abi-name definition.
6390         * scripts/soversions.awk: Do not handle or generate ABI lines.
6391         * shlib-versions: Remove ABI entries.
6392         * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
6393         * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
6394
6395 2014-06-27  Roland McGrath  <roland@hack.frob.com>
6396
6397         * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
6398         * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
6399         * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
6400         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
6401         * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
6402         * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
6403         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
6404         Moved ...
6405         * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
6406         ... here.
6407         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
6408         * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
6409         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
6410         * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
6411         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
6412         * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
6413         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
6414         * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
6415         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
6416         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
6417         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
6418         * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
6419         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
6420         Moved ...
6421         * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
6422         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
6423         * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
6424         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
6425         * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
6426         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
6427         Moved ...
6428         * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
6429         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
6430         Moved ...
6431         * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
6432         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
6433         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
6434         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
6435         Moved ...
6436         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
6437         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
6438         * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
6439         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
6440         * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
6441         * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
6442         * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
6443         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
6444         Moved ...
6445         * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
6446         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
6447         * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
6448         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
6449         Moved ...
6450         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
6451         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
6452         Moved ...
6453         * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
6454         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
6455         * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
6456         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
6457         Moved ...
6458         * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
6459         ... here.
6460         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
6461         Identical file removed.
6462         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
6463         Moved ...
6464         * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
6465         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
6466         Identical file removed.
6467         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
6468         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
6469         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
6470         Moved ...
6471         * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
6472         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
6473         Identical file removed.
6474         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
6475         * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
6476         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
6477         Identical file removed.
6478         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
6479         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
6480         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
6481         Identical file removed.
6482         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
6483         * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
6484         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
6485         Identical file removed.
6486         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
6487         Moved ...
6488         * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
6489         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
6490         Identical file removed.
6491         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
6492         Moved ...
6493         * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
6494         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
6495         * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
6496         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
6497         Identical file removed.
6498         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
6499         Moved ...
6500         * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
6501         ... here.
6502         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
6503         Identical file removed.
6504         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
6505         Moved ...
6506         * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
6507         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
6508         Identical file removed.
6509         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
6510         Moved ...
6511         * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
6512         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
6513         * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
6514         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
6515         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
6516         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
6517         Moved ...
6518         * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
6519         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
6520         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
6521
6522         * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
6523         SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
6524         * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
6525         * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
6526         * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
6527
6528 2014-06-27  Arjun Shankar  <arjun.is@lostca.se>
6529
6530         [BZ #17092]
6531         * nscd/nscd.c (monitor_child): Return exit status of child
6532         instead of return value from wait syscall.
6533
6534 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
6535
6536         * configure.ac (libc_commonpagesize): Remove variable.
6537         (libc_relro_required): Likewise.
6538         (libc_cv_z_relro): Remove configure test.
6539         * configure: Regenerated.
6540         * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
6541         variable.
6542         (libc_relro_required): Likewise.
6543         * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
6544         (libc_relro_required): Likewise.
6545         * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
6546         (libc_relro_required): Likewise.
6547         * sysdeps/arm/preconfigure: Regenerated.
6548         * sysdeps/ia64/preconfigure: Remove file.
6549         * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
6550         variable.
6551         (libc_relro_required): Likewise.
6552
6553         [BZ #16561]
6554         [BZ #16562]
6555         * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
6556         (__ieee754_yn): Set FE_TONEAREST mode internally and then
6557         recompute overflowing results in original rounding mode.
6558         * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
6559         (__ieee754_ynf): Set FE_TONEAREST mode internally and then
6560         recompute overflowing results in original rounding mode.
6561         * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
6562         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
6563         recompute overflowing results in original rounding mode.
6564         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
6565         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
6566         recompute overflowing results in original rounding mode.
6567         * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
6568         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
6569         recompute overflowing results in original rounding mode.
6570         * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
6571         (libc_feholdsetround_ctx): New macro.
6572         * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
6573         * sysdeps/i386/fpu/libm-test-ulps: Update.
6574         * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
6575
6576 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
6577
6578         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
6579         [__PIC__] (PSEUDO): Use name of _nocancel entry point in
6580         corresponding .cpsetup call.
6581
6582 2014-06-26  Roland McGrath  <roland@hack.frob.com>
6583
6584         * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
6585         * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
6586         * sysdeps/arm/Makefile [$(subdir) = csu]
6587         (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
6588         (static-only-routines): Add aeabi_read_tp here.
6589         (shared-only-routines): Add libc-aeabi_read_tp here.
6590         (CFLAGS-libc-start.c): Add -fexceptions here.
6591         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
6592         (sysdep_routines, static-only-routines, shared-only-routines):
6593         Don't add to these here.
6594         (CFLAGS-libc-start.c): Likewise.
6595
6596         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
6597         * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
6598         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
6599         * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
6600         * sysdeps/arm/Makefile [$(subdir) = rt]
6601         (librt-sysdep_routines, librt-shared-only-routines):
6602         Append rt-aeabi_unwind_cpp_pr1 here.
6603         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
6604         (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
6605         * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
6606         (libpthread-sysdep_routines, libpthread-shared-only-routines):
6607         Append nptl-aeabi_unwind_cpp_pr1 here.
6608         (tests): Filter out tst-cleanupx4 here.
6609         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
6610         (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
6611         Don't do those here.
6612
6613 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
6614
6615         * scripts/list-sources.sh: Do not handle ports specially.
6616
6617 2014-06-26  Roland McGrath  <roland@hack.frob.com>
6618
6619         * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
6620         * sysdeps/arm/feupdateenv.c: Likewise.
6621
6622         * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
6623
6624 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
6625
6626         * manual/texinfo.tex: Update to version 2014-05-05.10 with
6627         trailing whitespace removed.
6628         * scripts/config.guess: Update to version 2014-03-23.
6629         * scripts/config.sub: Update to version 2014-05-01
6630         * scripts/install-sh: Update to version 2013-12-25.23.
6631         * scripts/move-if-change: Update from gnulib.
6632
6633 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
6634
6635         * debug/memmove_chk.c: Remove pagecopy.h include.
6636
6637 2014-06-26  Paul Eggert  <eggert@cs.ucla.edu>
6638
6639         * time/mktime.c (leapyear): Remove inline keyword.  The code is now
6640         identical to gnulib mktime.
6641
6642 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
6643
6644         * configure.ac: Do not test for machine being rs6000.  Do not test
6645         for powerpc*-*soft.
6646         * configure: Regenerated.
6647
6648         * configure.ac (libc_cv_asm_cfi_directives): Remove configure
6649         test.
6650         * configure: Regenerated.
6651         * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
6652         * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
6653         Remove configure test.
6654         * sysdeps/arm/configure: Regenerated.
6655         * sysdeps/nptl/configure.ac: Do not check
6656         libc_cv_asm_cfi_directives.
6657         * sysdeps/nptl/configure: Regenerated.
6658         * sysdeps/x86_64/nptl/configure.ac: Remove file.
6659         * sysdeps/x86_64/nptl/configure: Remove generated file.
6660         * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
6661         unconditional.
6662         [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
6663
6664 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
6665
6666         * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
6667         * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
6668         (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
6669         it is defined.
6670
6671         * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
6672         instead of whether it is defined.
6673         * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
6674         * sysdeps/hppa/dl-machine.h: Likewise.
6675         * sysdeps/ia64/dl-machine.h: Likewise.
6676         * sysdeps/m68k/dl-machine.h: Likewise.
6677         * sysdeps/microblaze/dl-machine.h: Likewise.
6678         * sysdeps/mips/dl-machine.: Likewise.
6679         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
6680         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
6681         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
6682         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
6683         * sysdeps/sh/dl-machine.h: Likewise.
6684         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
6685         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
6686         * sysdeps/tile/dl-machine.h: Likewise.
6687         * sysdeps/x86_64/dl-machine.h: Likewise.
6688
6689         * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
6690         code.
6691         (verify_persistent_db): Likewise.
6692
6693 2014-06-26  Roland McGrath  <roland@hack.frob.com>
6694
6695         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
6696         * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
6697         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
6698         * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
6699         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
6700         Moved ...
6701         * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
6702         ... here.
6703         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
6704         * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
6705         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
6706         Identical file removed.
6707         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
6708         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
6709         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
6710         * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
6711         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
6712         * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
6713         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
6714         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
6715         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
6716         * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
6717         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
6718         Moved ...
6719         * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
6720         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
6721         * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
6722         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
6723         * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
6724         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
6725         Moved ...
6726         * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
6727         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
6728         * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
6729         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
6730         * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
6731         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
6732         Identical file removed.
6733         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
6734         * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
6735         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
6736         * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
6737         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
6738         Moved ...
6739         * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
6740         ... here.
6741         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
6742         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
6743         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
6744         * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
6745         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
6746         * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
6747         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
6748         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
6749         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
6750         * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
6751         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
6752         Moved ...
6753         * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
6754         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
6755         Moved ...
6756         * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
6757         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
6758         * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
6759         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
6760         Moved ...
6761         * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
6762         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
6763         * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
6764
6765         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
6766         folded into ...
6767         * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
6768         * sysdeps/unix/sysv/linux/s390/Versions
6769         (libpthread: GLIBC_2.19): New version set.
6770         * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
6771         * sysdeps/unix/sysv/linux/s390/s390-64/Versions
6772         (librt: GLIBC_2.3.3): New version set.
6773         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
6774         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
6775         * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
6776         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
6777         * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
6778         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
6779         * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
6780         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
6781         * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
6782         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
6783         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
6784         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
6785         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
6786         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
6787         * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
6788         * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
6789         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
6790         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
6791         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
6792         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
6793         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
6794         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
6795         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
6796         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
6797         * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
6798         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
6799         * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
6800         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
6801         * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
6802         * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
6803         * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
6804         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
6805         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
6806         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
6807         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
6808         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
6809         * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
6810         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
6811         * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
6812         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
6813         * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
6814         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
6815         * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
6816         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
6817         * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
6818
6819         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
6820         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
6821         (__libc_vfork): Define the function under this name.
6822         [!NOT_IN_libc] (__vfork): Make this an alias.
6823         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
6824         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
6825         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
6826         (__libc_vfork): Define the function under this name.
6827         [!NOT_IN_libc] (__vfork): Make this an alias.
6828         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
6829         * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
6830         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
6831         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
6832         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
6833         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
6834
6835         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
6836         code that was previously under [RESET_PID].
6837         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
6838         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
6839         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
6840
6841         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
6842         * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
6843         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
6844         * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
6845         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
6846         * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
6847         * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
6848         * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
6849         * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
6850         * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
6851         * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
6852         Moved ...
6853         * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
6854         * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
6855         * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
6856         * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
6857         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
6858         * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
6859         * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
6860         * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
6861         * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
6862         * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
6863         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
6864         * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
6865         * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
6866         * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
6867         * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
6868         * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
6869         * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
6870         * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
6871         * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
6872         * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
6873         * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
6874         * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
6875         * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
6876         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
6877         * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
6878         * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
6879         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
6880         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
6881         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
6882
6883 2014-06-25  Roland McGrath  <roland@hack.frob.com>
6884
6885         * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
6886         that was previously under [RESET_PID].
6887         * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
6888
6889 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
6890
6891         * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
6892         not undefine and redefine.
6893         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
6894         [O_CLOEXEC]: Make code unconditional.
6895         (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
6896         * sysdeps/unix/sysv/linux/shm_open.c: Do not include
6897         <kernel-features.h>.
6898         [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
6899         conditional variable definition.
6900         (shm_open) [O_CLOEXEC]: Make code unconditional.
6901         (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
6902         code.
6903
6904         * configure.ac (USE_REGPARMS): Don't define here.
6905         * configure: Regenerated.
6906         * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
6907         * sysdeps/i386/configure: Regenerated.
6908
6909         * nptl/createthread.c: Don't include kernel-features.h.
6910         * nptl/pthread_cancel.c: Likewise.
6911         * nptl/pthread_condattr_setclock.c: Likewise.
6912         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
6913         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
6914         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
6915         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
6916         * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
6917         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
6918         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
6919         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
6920         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
6921         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
6922         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
6923         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
6924         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
6925         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
6926         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
6927         * nscd/gai.c: Likewise.
6928         * nss/nss_db/db-open.c: Likewise.
6929         * sysdeps/generic/ldsodefs.h: Likewise.
6930         * sysdeps/sh/nptl/tls.h: Likewise.
6931         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
6932         * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
6933         * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
6934         * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
6935         * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
6936         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
6937         * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
6938         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
6939         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
6940         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
6941         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
6942         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
6943         * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
6944         * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
6945         * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
6946         * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
6947         * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
6948         * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
6949         * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
6950         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
6951         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
6952         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
6953         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
6954         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
6955         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
6956         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
6957         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
6958         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
6959         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
6960         * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
6961         * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
6962         * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
6963         * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
6964         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
6965         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
6966         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
6967         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
6968         * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
6969         * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
6970         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
6971         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
6972         * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
6973         * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
6974         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
6975         * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
6976         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
6977         * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
6978         * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
6979         * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
6980         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
6981         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
6982         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
6983         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
6984         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
6985         * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
6986         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
6987         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
6988         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
6989         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
6990         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
6991         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
6992         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
6993         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
6994         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
6995         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
6996         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
6997         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
6998         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
6999         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
7000         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
7001         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
7002         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
7003         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
7004         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
7005         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
7006         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
7007         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
7008         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
7009         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
7010         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
7011         * sysdeps/unix/sysv/linux/pread.c: Likewise.
7012         * sysdeps/unix/sysv/linux/pread64.c: Likewise.
7013         * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
7014         * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
7015         * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
7016         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
7017         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
7018         * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
7019         * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
7020         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
7021         * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
7022         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
7023         * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
7024         * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
7025         * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
7026         * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
7027         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
7028         * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
7029         * sysdeps/unix/sysv/linux/syslog.c: Likewise.
7030         * sysdeps/unix/sysv/linux/system.c: Likewise.
7031         * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
7032         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
7033         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
7034         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
7035         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
7036         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
7037         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
7038
7039         * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
7040         * configure: Regenerated.
7041         * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
7042
7043         * configure.ac (base_machine): Do not set specially for particular
7044         machines here.
7045         * configure: Regenerated.
7046         * sysdeps/powerpc/preconfigure: Move machine and base_machine
7047         settings from configure.ac.
7048         * sysdeps/i386/preconfigure: New file.
7049         * sysdeps/s390/preconfigure: Likewise.
7050         * sysdeps/sh/preconfigure: Likewise.
7051         * sysdeps/sparc/preconfigure: Likewise.
7052
7053 2014-06-25  Roland McGrath  <roland@hack.frob.com>
7054
7055         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
7056         * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
7057         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
7058         * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
7059         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
7060         * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
7061         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
7062         * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
7063         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
7064         * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
7065         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
7066         * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
7067         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
7068         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
7069         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
7070         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
7071         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
7072         * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
7073         * sysdeps/sparc/sparc64/Makefile: ... appended here.
7074
7075         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
7076         * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
7077         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
7078         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
7079         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
7080         * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
7081         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
7082         * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
7083         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
7084         * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
7085         * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
7086         * sysdeps/sparc/sparc32/sem_post.c: ... here.
7087         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
7088         * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
7089         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
7090         * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
7091         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
7092         * sysdeps/sparc/sparc32/sem_wait.c: ... here.
7093         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
7094         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
7095         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
7096         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
7097         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
7098         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
7099         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
7100         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
7101         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
7102         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
7103         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
7104         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
7105         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
7106         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
7107         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
7108         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
7109         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
7110         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
7111         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
7112         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
7113
7114         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
7115         * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
7116         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
7117         * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
7118         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
7119         Moved ...
7120         * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
7121         ... here.
7122         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
7123         * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
7124         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
7125         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
7126         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
7127         Moved ...
7128         * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
7129         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
7130         * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
7131         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
7132         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
7133         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
7134         * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
7135         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
7136         Moved ...
7137         * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
7138         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
7139         Moved ...
7140         * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
7141         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
7142         * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
7143         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
7144         Moved ...
7145         * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
7146         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
7147         * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
7148         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
7149         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
7150         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
7151         * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
7152         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
7153         * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
7154         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
7155         Moved ...
7156         * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
7157         ... here.
7158         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
7159         * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
7160         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
7161         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
7162         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
7163         Moved ...
7164         * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
7165         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
7166         * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
7167         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
7168         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
7169         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
7170         * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
7171         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
7172         Moved ...
7173         * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
7174         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
7175         Moved ...
7176         * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
7177         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
7178         * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
7179         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
7180         Moved ...
7181         * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
7182         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
7183         * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
7184         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
7185         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
7186
7187 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
7188
7189         * timezone/checktab.awk: Update from tzcode 2014e.
7190         * timezone/private.h: Likewise.
7191         * timezone/tzfile.h: Likewise.
7192         * timezone/zdump.c: Likewise.
7193         * timezone/zic.c: Likewise.
7194
7195         * sysdeps/unix/sysv/linux/kernel-features.h
7196         (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
7197         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
7198         [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
7199         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
7200         Remove conditional code.
7201
7202 2014-06-25  Will Newton  <will.newton@linaro.org>
7203
7204         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
7205         (_dl_arm_cap_flags): Add HWCAP2 values.
7206         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
7207         (_DL_HWCAP_COUNT): Increase to 37.
7208         (_DL_HWCAP_LAST): New define.
7209         (_DL_HWCAP2_LAST): New define.
7210         (_dl_procinfo): Add support for printing
7211         AT_HWCAP2 entries.
7212         (_dl_string_hwcap): Use _dl_hwcap_string.
7213
7214 2014-06-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7215
7216         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7217
7218 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
7219
7220         * README: Do not mention ports directory.
7221
7222         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
7223         Remove macro.
7224         * sysdeps/unix/sysv/linux/futimes.c: Do not include
7225         <kernel-features.h>.
7226         [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
7227         conditional variable definition.
7228         (__futimes): Update comment.
7229         (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
7230         (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
7231
7232         [BZ #16560]
7233         * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
7234         arguments close to 0.
7235         * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
7236         Likewise.
7237         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
7238         Likewise.
7239         * math/auto-libm-test-in: Add more tests of exp10.
7240         * math/auto-libm-test-out: Regenerated.
7241         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7242
7243         * sysdeps/unix/sysv/linux/kernel-features.h
7244         (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
7245         * sysdeps/unix/sysv/linux/readv.c: Do not include
7246         <kernel-features.h>.
7247         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
7248         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
7249         (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
7250         unconditional.
7251         (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
7252         conditional code.
7253         * sysdeps/unix/sysv/linux/writev.c: Do not include
7254         <kernel-features.h>.
7255         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
7256         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
7257         (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
7258         unconditional.
7259         (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
7260         conditional code.
7261
7262 2014-06-25  Will Newton  <will.newton@linaro.org>
7263
7264         * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
7265         comment changes throughout the file.  Remove checks
7266         for HAVE_*_H definitions that are not required.
7267         (__gen_tempname): Call abort if an unknown kind value is
7268         passed.
7269
7270 2014-06-25  Andreas Schwab  <schwab@suse.de>
7271
7272         [BZ #17086]
7273         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
7274         scalbln, scalblnf, scalblnl in libc.
7275
7276 2014-06-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
7277
7278         [BZ #17086]
7279         * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
7280         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
7281         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
7282
7283 2014-06-24  Roland McGrath  <roland@hack.frob.com>
7284
7285         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
7286         * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
7287         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
7288         * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
7289         Update #include.
7290         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
7291         * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
7292         Update #include.
7293         * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
7294         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
7295         * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
7296         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
7297         * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
7298         * sysdeps/x86/bits/pthreadtypes.h: ... here.
7299         * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
7300         * sysdeps/x86/bits/semaphore.h: ... here.
7301         * sysdeps/x86/nptl/elide.h: Moved ...
7302         * sysdeps/x86/elide.h: ... here.
7303         * sysdeps/x86_64/nptl/Implies: File removed.
7304         * sysdeps/i386/nptl/Implies: File removed.
7305
7306 2014-06-24  Joseph Myers  <joseph@codesourcery.com>
7307
7308         [BZ #16539]
7309         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
7310         return the argument for normal arguments with exponent below -64.
7311         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
7312         Likewise.
7313         * math/auto-libm-test-in: Add another test of expm1.
7314         * math/auto-libm-test-out: Regenerated.
7315
7316         [BZ #16287]
7317         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
7318         calling __erfcl for arguments at least 16.
7319         * math/auto-libm-test-in: Add more tests of erf.
7320         * math/auto-libm-test-out: Regenerated.
7321
7322         * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
7323         individual architectures.
7324         * sysdeps/unix/sysv/linux/configure: Regenerated.
7325         * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
7326         * sysdeps/unix/sysv/linux/i386/configure: New generated file.
7327         * sysdeps/unix/sysv/linux/powerpc/configure.ac
7328         (ldd_rewrite_script): Define variable.
7329         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
7330         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
7331         file.
7332         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
7333         generated file.
7334         * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
7335         * sysdeps/unix/sysv/linux/s390/configure: New generated file.
7336         * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
7337         * sysdeps/unix/sysv/linux/sh/configure: New generated file.
7338         * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
7339         * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
7340         * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
7341         * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
7342
7343 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
7344
7345         [BZ #17084]
7346         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
7347         Rename member __data.d to __data.__elision_data.
7348
7349 2014-06-24  Wilco  <wdijkstr@arm.com>
7350
7351         * NEWS: Add 16918 to fixed bug list.
7352
7353 2014-06-24  Wilco  <wdijkstr@arm.com>
7354
7355         * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
7356
7357 2014-06-24  Wilco  <wdijkstr@arm.com>
7358
7359         * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
7360         * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
7361         (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
7362         (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
7363         (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
7364         * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
7365         * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
7366         Use _FPU_MASK_RM.
7367
7368 2014-06-24  Wilco  <wdijkstr@arm.com>
7369
7370         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
7371
7372 2014-06-24  Wilco  <wdijkstr@arm.com>
7373
7374         * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
7375         * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
7376         * sysdeps/arm/fesetround.c (fesetround): Remove space.
7377         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
7378
7379 2014-06-24  Wilco  <wdijkstr@arm.com>
7380
7381         [BZ #16918]
7382         * sysdeps/arm/feupdateenv.c (feupdateenv):
7383         Rewrite to reduce FPSCR accesses and fix return value.
7384
7385 2014-06-24  Wilco  <wdijkstr@arm.com>
7386
7387         * sysdeps/arm/fclrexcpt.c (feclearexcept):
7388         Optimize to avoid unnecessary FPSCR writes.
7389         * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
7390         * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
7391         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
7392         * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
7393
7394 2014-06-24  Wilco  <wdijkstr@arm.com>
7395
7396         * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
7397         * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
7398         * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
7399         * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
7400         Call libc_fetestexcept_vfp.
7401         * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
7402         * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
7403         __SOFTFP__ ifdef so that they can be built for softfp.
7404
7405 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
7406
7407         * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
7408         argument type signed char.
7409
7410         * Makerules (check-abi): Dump diff of symlist if the test
7411         fails.
7412
7413 2014-06-23  Roland McGrath  <roland@hack.frob.com>
7414
7415         * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
7416         using abort.
7417
7418         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
7419         Remove unused variable ST.
7420
7421 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
7422
7423         [BZ #16354]
7424         [BZ #17061]
7425         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
7426         small arguments before calling __expm1.
7427         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
7428         small arguments before calling __expm1f.
7429         * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
7430         small arguments before calling __expm1l.
7431         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
7432         Likewise.
7433         * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
7434         * math/auto-libm-test-in: Add more cosh tests.  Do not allow
7435         spurious underflow for some cosh tests.
7436         * math/auto-libm-test-out: Regenerated.
7437         * sysdeps/i386/fpu/libm-test-ulps: Update.
7438
7439         [BZ #17050]
7440         * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
7441         (__ieee754_y1): Set errno if return value overflows.
7442         * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
7443         (__ieee754_y1f): Set errno if return value overflows.
7444         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
7445         (__ieee754_y1l): Set errno if return value overflows.
7446         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
7447         (__ieee754_y1l): Set errno if return value overflows.
7448         * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
7449         * math/auto-libm-test-out: Regenerated.
7450
7451         * math/gen-auto-libm-tests.c: Document use of
7452         ignore-zero-inf-sign.
7453         (input_flag_type): Add value flag_ignore_zero_inf_sign.
7454         (input_flags): Add ignore-zero-inf-sign.
7455         (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
7456         * math/gen-libm-test.pl (generate_testfile): Handle
7457         ignore-zero-inf-sign.
7458         * math/auto-libm-test-in: Mark some cpow tests with
7459         ignore-zero-inf-sign and some with xfail-rounding.
7460         * math/auto-libm-test-out: Regenerated.
7461         * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
7462         * sysdeps/i386/fpu/libm-test-ulps: Update.
7463         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7464
7465         [BZ #16315]
7466         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
7467         overflowing or underflowing operations take place with sign of
7468         result.
7469         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
7470         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
7471         * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
7472         (__ieee754_pow): Recompute overflowing and underflowing results in
7473         original rounding mode.
7474         * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
7475         (__powl_helper): Allow negative argument X and scale negated value
7476         as needed.  Avoid passing value outside [-1, 1] to f2xm1.
7477         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
7478         overflowing or underflowing operations take place with sign of
7479         result.
7480         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
7481         Include <math.h>.
7482         * math/auto-libm-test-in: Add more tests of pow.
7483         * math/auto-libm-test-out: Regenerated.
7484         * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
7485         (pow_tonearest_test_data): Remove.
7486         (pow_test_tonearest): Likewise.
7487         (pow_towardzero_test_data): Likewise.
7488         (pow_test_towardzero): Likewise.
7489         (pow_downward_test_data): Likewise.
7490         (pow_test_downward): Likewise.
7491         (pow_upward_test_data): Likewise.
7492         (pow_test_upward): Likewise.
7493         (main): Don't call removed functions.
7494         * sysdeps/i386/fpu/libm-test-ulps: Update.
7495         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7496
7497 2014-06-23  Roland McGrath  <roland@hack.frob.com>
7498
7499         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
7500         Moved ...
7501         * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
7502         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
7503         Moved ...
7504         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
7505         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
7506         Moved ...
7507         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
7508         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
7509         Moved ...
7510         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
7511         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
7512         File removed.
7513         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
7514         File removed.
7515         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
7516         File removed.
7517         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
7518         File removed.
7519         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
7520         File removed.
7521         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
7522         File removed.
7523         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
7524         File removed.
7525         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
7526         File removed.
7527         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
7528         File removed.
7529         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
7530         File removed.
7531         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
7532         File removed.
7533         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
7534         File removed.
7535         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
7536         Moved ...
7537         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
7538         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
7539         Moved ...
7540         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
7541         ... here.
7542         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
7543         Moved ...
7544         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
7545         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
7546         Moved ...
7547         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
7548         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
7549         Moved ...
7550         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
7551         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
7552         Moved ...
7553         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
7554         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
7555         Moved ...
7556         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
7557         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
7558         Moved ...
7559         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
7560         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
7561         Moved ...
7562         * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
7563         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
7564         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
7565         ... here.
7566         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
7567         Moved ...
7568         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
7569         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
7570         Moved ...
7571         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
7572         ... here.
7573         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
7574         Moved ...
7575         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
7576         ... here.
7577         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
7578         Moved ...
7579         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
7580         ... here.
7581         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
7582         Moved ...
7583         * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
7584         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
7585         Moved ...
7586         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
7587         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
7588         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
7589         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
7590         Moved ...
7591         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
7592         ... here.
7593         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
7594         Moved ...
7595         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
7596         ... here.
7597         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
7598         Moved ...
7599         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
7600         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
7601         Moved ...
7602         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
7603         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
7604         Moved ...
7605         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
7606         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
7607         Moved ...
7608         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
7609         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
7610         Moved ...
7611         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
7612         ... here.
7613         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
7614         Moved ...
7615         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
7616         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
7617         Moved ...
7618         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
7619         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
7620         Moved ...
7621         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
7622         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
7623         Moved ...
7624         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
7625         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
7626         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
7627         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
7628         Moved ...
7629         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
7630         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
7631         Moved ...
7632         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
7633         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
7634         Moved ...
7635         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
7636         ... here.
7637         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
7638         Moved ...
7639         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
7640         ... here.
7641         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
7642         Moved ...
7643         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
7644         ... here.
7645         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
7646         Moved ...
7647         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
7648         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
7649         Moved ...
7650         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
7651         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
7652         Moved ...
7653         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
7654         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
7655         Moved ...
7656         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
7657         ... here.
7658         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
7659         Moved ...
7660         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
7661         ... here.
7662         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
7663         Moved ...
7664         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
7665         ... here.
7666         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
7667         Moved ...
7668         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
7669         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
7670         Moved ...
7671         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
7672
7673 2014-06-23  Will Newton  <will.newton@linaro.org>
7674             Wilco  <wdijkstr@arm.com>
7675
7676         * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
7677         implementation.  Include get-rounding-mode.h.
7678         [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
7679         [!libc_feholdsetround_noex_ctx]: Define
7680         libc_feholdsetround_noex_ctx.
7681         [!libc_feholdsetround_noexf_ctx]: Define
7682         libc_feholdsetround_noexf_ctx.
7683         [!libc_feholdsetround_noexl_ctx]: Define
7684         libc_feholdsetround_noexl_ctx.
7685         (libc_feholdsetround_ctx): New function.
7686         (libc_feresetround_ctx): New function.
7687         (libc_feholdsetround_noex_ctx): New function.
7688         (libc_feresetround_noex_ctx): New function.
7689
7690 2014-06-23  Roland McGrath  <roland@hack.frob.com>
7691
7692         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
7693         * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
7694         * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
7695         * sysdeps/mips/nptl/bits/semaphore.h: ... here.
7696         * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
7697         * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
7698
7699         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
7700         * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
7701         * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
7702         * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
7703         * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
7704         * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
7705         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
7706         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
7707         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
7708         * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
7709         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
7710         Moved ...
7711         * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
7712         ... here.
7713         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
7714         * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
7715         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
7716         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
7717         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
7718         Moved ...
7719         * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
7720         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
7721         * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
7722         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
7723         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
7724         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
7725         * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
7726         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
7727         Moved ...
7728         * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
7729         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
7730         Moved ...
7731         * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
7732         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
7733         * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
7734         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
7735         Moved ...
7736         * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
7737         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
7738         * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
7739         * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
7740         * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
7741         * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
7742         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
7743         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
7744         * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
7745         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
7746         Moved ...
7747         * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
7748         ... here.
7749         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
7750         * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
7751         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
7752         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
7753         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
7754         * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
7755         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
7756         * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
7757         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
7758         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
7759         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
7760         * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
7761         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
7762         Moved ...
7763         * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
7764         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
7765         * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
7766         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
7767         * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
7768         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
7769         Moved ...
7770         * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
7771         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
7772         * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
7773         * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
7774         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
7775
7776         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
7777         * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
7778         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
7779         * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
7780         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
7781         * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
7782         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
7783         * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
7784         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
7785         * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
7786         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
7787         * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
7788         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
7789         * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
7790         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
7791         * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
7792         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
7793         * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
7794         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
7795         * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
7796         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
7797         * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
7798         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
7799         * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
7800         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
7801         * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
7802         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
7803         * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
7804
7805 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
7806
7807         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
7808         (FALLOC_FL_COLLAPSE_RANGE): New macro.
7809         [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
7810         * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
7811         (IPV6_PMTUDISC_INTERFACE): Likewise.
7812         (IPV6_PMTUDISC_OMIT): Likewise.
7813
7814 2014-06-23  Andreas Schwab  <schwab@suse.de>
7815
7816         * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
7817         Remove unused errout label.
7818
7819 2014-06-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7820
7821         * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
7822         macro: hardware supports Vector Crypto instructions.
7823
7824 2014-06-23  Will Newton  <will.newton@linaro.org>
7825
7826         * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
7827         rather than __builtin_expect.
7828
7829         * elf/dl-lookup.c (undefined_msg): Remove variable.
7830         (_dl_lookup_symbol_x): Replace undefined_msg with string
7831         literal.
7832
7833         * elf/dl-lookup.c (do_lookup_unique): New function.
7834         (do_lookup_x): Move STB_GNU_UNIQUE handling code
7835         to a separate function.
7836
7837 2014-06-23  Andreas Schwab  <schwab@suse.de>
7838
7839         [BZ #17079]
7840         * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
7841         before reading the next line.
7842
7843 2014-06-23  Will Newton  <will.newton@linaro.org>
7844
7845         * test-skeleton.c (signal_handler): Use printf and %m
7846         rather than perror.  Use printf rather than fprintf to
7847         stderr.  Use puts rather than fputs to stderr.
7848         (main): Likewise.
7849
7850 2014-06-22  Ludovic Courtès  <ludo@gnu.org>
7851
7852         * nscd/nscd.c (thread_info_t): Remove typedef.
7853         (thread_info): Remove variable.
7854
7855 2014-06-21  Allan McRae  <allan@archlinux.org>
7856
7857         * NEWS: Mention CVE-2014-4043.
7858
7859 2014-06-20  Roland McGrath  <roland@hack.frob.com>
7860
7861         * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
7862         * nptl/smp.h: ... here.
7863
7864         * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
7865
7866         * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
7867         * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
7868         * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
7869         * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
7870
7871         * nptl/allocatestack.c: Include <stack-aliasing.h>.
7872         * nptl/stack-aliasing.h: New file.
7873         * sysdeps/i386/i686/stack-aliasing.h: New file.
7874         * sysdeps/i386/i686/nptl/Makefile: File removed.
7875         * sysdeps/x86_64/stack-aliasing.h: New file.
7876         * sysdeps/x86_64/nptl/Makefile
7877         (CFLAGS-pthread_create.c): Variable removed.
7878
7879         * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
7880         * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
7881         old file.
7882         * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
7883         * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
7884         old file.
7885
7886 2014-06-21  Joseph Myers  <joseph@codesourcery.com>
7887
7888         * sysdeps/unix/sysv/linux/arm/kernel-features.h
7889         (__ASSUME_SIGFRAME_V2): Remove macro.
7890         * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
7891         [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
7892         (__default_sa_restorer_v2): Rename to __default_sa_restorer.
7893         (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
7894         * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
7895         Declare as function.  Remove conditional macro definitions.
7896         (__default_rt_sa_restorer): Likewise.
7897         (__default_sa_restorer_v1): Remove declaration.
7898         (__default_sa_restorer_v2): Likewise.
7899         (__default_rt_sa_restorer_v1): Likewise.
7900         (__default_rt_sa_restorer_v2): Likewise.
7901         * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
7902         __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
7903         __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
7904
7905 2014-06-20  Roland McGrath  <roland@hack.frob.com>
7906
7907         * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
7908         (libpthread-routines): Add sysdep.
7909         * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
7910         * sysdeps/unix/sysv/linux/sparc/Versions
7911         (libpthread: GLIBC_2.3.3): New version set.
7912         * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
7913         * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
7914         * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
7915         * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
7916         * sysdeps/sparc/nptl/internaltypes.h: ... here.  Use #include_next.
7917         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
7918         Moved ...
7919         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
7920         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
7921         * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
7922         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
7923         * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
7924         * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
7925         * sysdeps/sparc/nptl/sem_init.c: ... here.
7926         * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
7927         * sysdeps/sparc/nptl/sem_post.c: ... here.
7928         * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
7929         * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
7930         * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
7931         * sysdeps/sparc/nptl/sem_wait.c: ... here.
7932         * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
7933         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
7934         * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
7935         (libpthread-routines): Add cpu_relax.
7936         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
7937         File removed.
7938         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
7939         (librt: GLIBC_2.3.3): New version set.
7940         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
7941         * sysdeps/sparc/sparc64/nptl/Makefile: New file.
7942         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
7943         (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
7944         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
7945         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
7946         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
7947         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
7948         Moved ...
7949         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
7950         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
7951         * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
7952         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
7953         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
7954         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
7955         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
7956         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
7957         * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
7958         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
7959         Moved ...
7960         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
7961         Update #include.
7962         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
7963         Moved ...
7964         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
7965         Update #include.
7966         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
7967         Moved ...
7968         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
7969         Update #include.
7970         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
7971         Moved ...
7972         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
7973         Update #include.
7974         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
7975         Moved ...
7976         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
7977         Update #include.
7978         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
7979         Moved ...
7980         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
7981         Update #include.
7982         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
7983         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
7984         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
7985         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
7986         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
7987         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
7988         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
7989         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
7990         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
7991         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
7992         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
7993         Moved ...
7994         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
7995         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
7996         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
7997         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
7998         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
7999
8000 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
8001
8002         * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
8003         * nptl/pthread_rwlock_timedrdlock.c: Likewise.
8004         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
8005         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
8006         * nscd/nscd.c: Likewise.
8007         * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
8008         * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
8009         * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
8010         * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
8011
8012         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
8013         <kernel-features.h>.
8014         (init_mq_netlink): Remove conditional have_sock_cloexec
8015         definitions.  Remove code conditional on have_sock_cloexec < 0.
8016         (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
8017         (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
8018         * sysdeps/unix/sysv/linux/opensock.c: Do not include
8019         <kernel-features.h>.
8020         (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
8021         (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
8022
8023 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
8024
8025         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
8026         Add tests for memset_chk and memset.
8027
8028         * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
8029         with AVX2_Usable.
8030
8031 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
8032
8033         [BZ #16046]
8034         * elf/tst-dl-iter-static.c: New file.
8035         * elf/Makefile (tests-static): Add tst-dl-iter-static.
8036
8037         * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
8038         error.
8039
8040 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
8041
8042         * sysdeps/unix/sysv/linux/kernel-features.h
8043         (__ASSUME_F_GETOWN_EX): Remove macro.
8044         * sysdeps/unix/sysv/linux/fcntl.c: Do not include
8045         <kernel-features.h>.
8046         (miss_F_GETOWN_EX): Remove variable or macro.
8047         (do_fcntl): Do not check miss_F_GETOWN_EX.
8048         (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
8049
8050         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
8051         Remove macro.
8052         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
8053         [!__ASSUME_AT_RANDOM]: Remove conditional code.
8054         (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
8055
8056         * sysdeps/unix/sysv/linux/kernel-features.h
8057         (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
8058         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
8059         [ADJ_OFFSET_SS_READ]: Make code unconditional.
8060         (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
8061
8062 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
8063
8064         [BZ #17075]
8065         * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
8066         Fix calculation of the symbol's value.
8067         * sysdeps/arm/tst-armtlsdescloc.c: New file.
8068         * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
8069         * sysdeps/arm/tst-armtlsdescextnow.c: New file.
8070         * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
8071         * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
8072         * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
8073         * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
8074         `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
8075         (modules-names): Add `tst-armtlsdescmod',
8076         `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
8077         (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
8078         (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
8079         (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
8080         (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
8081         (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
8082         (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
8083         ($(objpfx)tst-armtlsdescloc): New dependency.
8084         ($(objpfx)tst-armtlsdescextnow): Likewise.
8085         ($(objpfx)tst-armtlsdescextlazy): Likewise.
8086         * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
8087         TLS scheme support.
8088         * sysdeps/arm/configure: Regenerate.
8089
8090 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
8091
8092         * include/fcntl.h (__atfct_seterrno): Remove prototype.
8093         (__atfct_seterrno_2): Likewise.
8094         * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
8095         <kernel-features.h>.
8096         (__ASSUME_ATFCTS): Do not undefine and redefine.
8097         * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
8098         (__have_atfcts): Remove conditional definition.
8099         (__fxstatat([__NR_fstatat64]: Make code unconditional.
8100         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
8101         unreachable if [__ASSUME_ATFCTS].
8102         * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
8103         not undefine and redefine.
8104         * sysdeps/unix/sysv/linux/faccessat.c: Do not include
8105         <kernel-features.h>.
8106         (faccessat) [__NR_faccessat]: Make code unconditional.
8107         (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
8108         * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
8109         <kernel-features.h>.
8110         (fchmodat) [__NR_fchmodat]: Make code unconditional.
8111         (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
8112         * sysdeps/unix/sysv/linux/fchownat.c: Do not include
8113         <kernel-features.h>.
8114         (fchownat) [__NR_fchownat]: Make code unconditional.
8115         (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
8116         * sysdeps/unix/sysv/linux/futimesat.c: Do not include
8117         <kernel-features.h>.
8118         (futimesat) [__NR_futimesat]: Make code unconditional.
8119         (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
8120         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
8121         <kernel-features.h>.
8122         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
8123         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
8124         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
8125         <kernel-features.h>.
8126         (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
8127         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
8128         * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
8129         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
8130         <kernel-features.h>.
8131         (__fxstatat) [__NR_fstatat64]: Make code unconditional.
8132         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
8133         * sysdeps/unix/sysv/linux/linkat.c: Do not include
8134         <kernel-features.h>.
8135         (linkat) [__NR_linkat]: Make code unconditional.
8136         (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
8137         * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
8138         * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
8139         <kernel-features.h>.
8140         (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
8141         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
8142         * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
8143         <kernel-features.h>.
8144         (mkdirat) [__NR_mkdirat]: Make code unconditional.
8145         (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
8146         * sysdeps/unix/sysv/linux/openat.c: Do not include
8147         <kernel-features.h>.
8148         [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
8149         [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
8150         (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
8151         (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
8152         * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
8153         * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
8154         <kernel-features.h>.
8155         (readlinkat) [__NR_readlinkat]: Make code unconditional.
8156         (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.  Return
8157         result of INLINE_SYSCALL directly, not via int variable.
8158         * sysdeps/unix/sysv/linux/renameat.c: Do not include
8159         <kernel-features.h>.
8160         [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
8161         (renameat) [__NR_renameat]: Make code unconditional.
8162         (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
8163         * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
8164         * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
8165         * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
8166         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
8167         (__ASSUME_ATFCTS): Do not undefine and redefine.
8168         * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
8169         <kernel-features.h>.
8170         (symlinkat) [__NR_symlinkat]: Make code unconditional.
8171         (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
8172         * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
8173         <kernel-features.h>.
8174         (unlinkat) [__NR_unlinkat]: Make code unconditional.
8175         (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
8176         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
8177         (__ASSUME_ATFCTS): Do not undefine and redefine.
8178         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
8179         <kernel-features.h>.
8180         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
8181         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
8182         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
8183         <kernel-features.h>.
8184         (__xmknodat) [__NR_mknodat]: Make code unconditional.
8185         (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
8186
8187 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
8188
8189         * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
8190
8191 2014-06-20  Andreas Schwab  <schwab@linux-m68k.org>
8192
8193         [BZ #17069]
8194         * posix/regcomp.c (parse_reg_exp): Deallocate partially
8195         constructed tree before returning error.
8196         * posix/bug-regexp36.c: Expand test case.
8197
8198 2014-06-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
8199
8200         [BZ #6803]
8201         * math/libm-test.inc (scalbln_test_date):
8202         Add errno expectations.
8203         * math/w_scalblnf.c: New File.
8204         Add wrapper which checks for setting errno to ERANGE.
8205         Add weak_alias for corresponding scalbln function.
8206         * math/w_scalbln.c: Likewise.
8207         * math/w_scalblnl.c: Likewise.
8208         * math/Makefile (libm-calls): Add w_scalbln.
8209         * sysdeps/ieee754/flt-32/s_scalblnf.c:
8210         Remove weak_alias for corresponding scalbln function.
8211         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
8212         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
8213         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
8214         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
8215         * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
8216         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
8217         * sysdeps/i386/fpu/s_scalbn.S: Likewise.
8218         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
8219         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
8220         * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
8221         Remove long_double_symbol for scalblnl function in libm, libc.
8222         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
8223         Add wrapper which checks for setting errno to ERANGE.
8224         Add long_double_symbol for scalblnl function in libm, libc.
8225         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
8226         Remove long_double_symbol for scalblnl in libm.
8227         * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
8228         Add wrapper which checks for setting errno to ERANGE.
8229         Add long_double_symbol for scalblnl function in libm.
8230         * sysdeps/ia64/fpu/w_scalblnf.c: New File.
8231         Do not use wrapper because of own implementation.
8232
8233 2014-06-19  H.J. Lu  <hongjiu.lu@intel.com>
8234
8235         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
8236         3 bytes for __pad1 for x32.
8237         (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
8238
8239 2014-06-19  Ling Ma  <ling.ml@alibaba-inc.com>
8240             H.J. Lu  <hongjiu.lu@intel.com>
8241
8242         * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
8243         * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
8244         * sysdeps/x86_64/multiarch/memset.S: Likewise.
8245         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
8246         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
8247
8248 2014-06-19  Andreas Schwab  <schwab@linux-m68k.org>
8249
8250         [BZ #17069]
8251         * posix/regcomp.c (parse_expression): Deallocate partially
8252         constructed tree before returning error.
8253         * posix/Makefile.c (tests): Add bug-regex36.
8254         (generated): Add bug-regex36.mtrace.
8255         (tests-special): Add $(objpfx)bug-regex36-mem.out
8256         (bug-regex36-ENV): New variable.
8257         ($(objpfx)bug-regex36-mem.out): New rule.
8258         * posix/bug-regex36.c: New file.
8259
8260 2014-06-19  Will Newton  <will.newton@linaro.org>
8261
8262         * malloc/malloc.c (systrim): If extra is zero then return
8263         early.
8264
8265 2014-06-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
8266
8267         * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
8268
8269 2014-06-19  Richard Earnshaw  <rearnsha@arm.com>
8270
8271         * sysdeps/aarch64/strchr.S: New file.
8272
8273 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
8274
8275         [BZ #17022]
8276         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
8277         from arguments -2 or below.
8278         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
8279         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
8280
8281 2014-06-18  Andreas Schwab  <schwab@suse.de>
8282
8283         [BZ #17062]
8284         * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
8285         of a bracket expr not to run off the end of the string.
8286         * posix/Makefile (tests): Add tst-fnmatch3.
8287         * posix/tst-fnmatch3.c: New file.
8288
8289 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
8290
8291         * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
8292         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
8293         [$(cross-compiling) = no]: Likewise.
8294         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
8295         [$(cross-compiling) = no]: Likewise.
8296
8297 2014-16-17  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
8298
8299         [BZ #17031]
8300         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
8301         double, adjusted for any remainder from the high double.
8302         * math/libm-test.inc (nearbyint): Add tests.
8303         (rint): Likewise.
8304
8305 2014-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8306
8307         * nptl/sysdeps/powerpc/Makefile: Moved ...
8308         * sysdeps/powerpc/nptl/Makefile: ... here.
8309         * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
8310         * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
8311         * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
8312         * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
8313         * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
8314         * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
8315         * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
8316         * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
8317         * nptl/sysdeps/powerpc/tls.h: Moved ...
8318         * sysdeps/powerpc/nptl/tls.h: ... here.
8319
8320 2014-06-16  Joseph Myers  <joseph@codesourcery.com>
8321
8322         [BZ #16681]
8323         * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
8324         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
8325         * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
8326         * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
8327         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
8328         * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
8329         * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
8330         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
8331         * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
8332
8333 2014-06-17  Andreas Schwab  <schwab@linux-m68k.org>
8334
8335         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
8336
8337 2014-06-16  Andreas Schwab  <schwab@linux-m68k.org>
8338
8339         * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
8340         defined operator.
8341
8342         * scripts/cross-test-ssh.sh (timeoutfactor): Default to
8343         $TIMEOUTFACTOR.
8344
8345 2014-06-16  Florian Weimer  <fweimer@redhat.com>
8346
8347         [BZ #17058]
8348         * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
8349         non-executed part of the test.
8350
8351 2014-06-16  Andreas Schwab  <schwab@suse.de>
8352
8353         * string/bits/string2.h (strdup, strndup): Update feature guard.
8354
8355 2014-06-14  David S. Miller  <davem@davemloft.net>
8356
8357         * sysdeps/sparc/fpu/libm-test-ulps: Update.
8358
8359 2014-06-14  Andreas Schwab  <schwab@linux-m68k.org>
8360
8361         * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
8362         that was previously under [RESET_PID].
8363         * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
8364
8365         * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
8366         * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
8367         * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
8368         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
8369         (__libc_vfork): New strong alias.
8370         * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
8371
8372 2014-06-14 Andi Kleen  <ak@linux.intel.com>
8373
8374         * sysdeps/generic/elide.h: New file.
8375
8376 2014-06-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
8377
8378         * Makefile (installed-headers): Adjust path of pthread.h header.
8379
8380 2014-06-13  Roland McGrath  <roland@hack.frob.com>
8381
8382         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
8383         * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
8384         * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
8385         * sysdeps/s390/nptl/bits/semaphore.h: ... here.
8386
8387         * nptl/sysdeps/s390/Makefile: Moved ...
8388         * sysdeps/s390/nptl/Makefile: ... here.
8389         * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
8390         * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
8391         * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
8392         * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
8393         * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
8394         * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
8395         * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
8396         * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
8397         * nptl/sysdeps/s390/pthreaddef.h: Moved ...
8398         * sysdeps/s390/nptl/pthreaddef.h: ... here.
8399         * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
8400         * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
8401         * nptl/sysdeps/s390/tls.h: Moved ...
8402         * sysdeps/s390/nptl/tls.h: ... here.
8403
8404         * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
8405         * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
8406
8407 2014-06-13  David S. Miller  <davem@davemloft.net>
8408
8409         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
8410         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
8411         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
8412         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
8413         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
8414         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
8415         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
8416         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
8417         * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
8418         * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
8419         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
8420         Remove RESET_PID cpp guards.
8421         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
8422         Remove RESET_PID cpp guards.
8423         * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
8424
8425 2014-06-13  Andreas Schwab  <schwab@linux-m68k.org>
8426
8427         * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
8428         __sp to uintptr_t.
8429
8430 2014-06-13  Andi Kleen  <ak@linux.intel.com>
8431
8432         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
8433         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
8434         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
8435         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
8436         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
8437         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
8438         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
8439         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
8440         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
8441         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
8442         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
8443         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
8444         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
8445         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
8446         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
8447         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
8448         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
8449         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
8450         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
8451         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
8452
8453         * nptl/pthread_rwlock_rdlock.c: Include elide.h.
8454         (pthread_rwlock_rdlock): Add elision.
8455         * nptl/pthread_rwlock_wrlock.c: Include elide.h.
8456         (pthread_rwlock_wrlock): Add elision.
8457         * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
8458         (pthread_rwlock_trywrlock): Add elision.
8459         * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
8460         (pthread_rwlock_tryrdlock): Add elision.
8461         * nptl/pthread_rwlock_unlock.c: Include elide.h.
8462         (pthread_rwlock_tryrdlock): Add elision unlock.
8463         * nptl/sysdeps/pthread/pthread.h:
8464         (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
8465         (PTHREAD_RWLOCK_INITIALIZER,
8466         PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
8467         Handle new elision field.
8468         * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
8469         * sysdeps/arm/nptl/bits/pthreadtypes.h
8470         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
8471         * sysdeps/sh/nptl/bits/pthreadtypes.h
8472         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
8473         * sysdeps/tile/nptl/bits/pthreadtypes.h
8474         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
8475         * sysdeps/a/nptl/bits/pthreadtypes.h
8476         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
8477         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
8478         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
8479         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
8480         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
8481         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
8482         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
8483         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
8484         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
8485         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
8486         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
8487         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
8488         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
8489         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
8490         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
8491         * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
8492         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
8493         * sysdeps/unix/sysv/linux/x86/elision-conf.c:
8494         (elision_init): Set try_xbegin to zero when no RTM.
8495         * sysdeps/x86/nptl/bits/pthreadtypes.h
8496         (pthread_rwlock_t): Change __pad1 to __rwelision.
8497         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
8498
8499 2014-06-13  Andi Kleen  <ak@linux.intel.com>
8500
8501         * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
8502         Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
8503         * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
8504         Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
8505
8506 2014-06-13  Meador Inge  <meadori@codesourcery.com>
8507
8508         [BZ #16996]
8509         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
8510         that the cached result has been set before returning it.
8511
8512 2014-06-12  Roland McGrath  <roland@hack.frob.com>
8513
8514         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
8515         * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
8516         * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
8517         * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
8518         * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
8519         * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
8520
8521         * nptl/sysdeps/sparc/Makefile: Moved ...
8522         * sysdeps/sparc/nptl/Makefile: ... here.
8523         * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
8524         * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
8525         * nptl/sysdeps/sparc/tls.h: Moved ...
8526         * sysdeps/sparc/nptl/tls.h: ... here.
8527         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
8528         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
8529         * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
8530         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
8531         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
8532         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
8533         * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
8534         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
8535         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
8536         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
8537         * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
8538         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
8539         * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
8540         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
8541         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
8542         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
8543         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
8544         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
8545         Update #include.
8546         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
8547         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
8548         Update #include.
8549         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
8550         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
8551         Update #include.
8552         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
8553         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
8554         Update #include.
8555
8556         * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
8557
8558         * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
8559         * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
8560
8561         * sysdeps/pthread/posix-timer.h: Include <list.h>.
8562         (struct list_links): Type removed.
8563         (struct thread_node, struct timer_node): Replace struct list_links
8564         with struct list_head.
8565         (list_unlink_ip): Likewise.
8566         * sysdeps/pthread/timer_routines.c
8567         (timer_free_list, thread_free_list, thread_active_list): Likewise.
8568         (list_append, list_insbefore): Likewise.
8569         (list_init): Function removed.
8570         (thread_init, init_module): Use INIT_LIST_HEAD instead.
8571         * sysdeps/nptl/Makefile: Move tst-timer bits to ...
8572         * sysdeps/pthread/Makefile: ... here, new file.
8573
8574         * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
8575         * sysdeps/nptl/Implies: ... here.
8576         * sysdeps/unix/sysv/linux/Implies: Add nptl.
8577         * nptl/sysdeps/pthread/list.h: Moved ...
8578         * include/list.h: ... here.
8579         * nptl/sysdeps/pthread/createthread.c: Moved ...
8580         * nptl/createthread.c: ... here.
8581         * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
8582         * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
8583         * nptl/pt-longjmp.c: ... here.
8584         * nptl/sysdeps/pthread/Makefile: Moved ...
8585         * sysdeps/nptl/Makefile: ... here.
8586         * nptl/sysdeps/pthread/Subdirs: Moved ...
8587         * sysdeps/nptl/Subdirs: ... here.
8588         * nptl/sysdeps/pthread/aio_misc.h: Moved ...
8589         * sysdeps/nptl/aio_misc.h: ... here.
8590         * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
8591         * sysdeps/nptl/bits/libc-lock.h: ... here.
8592         * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
8593         * sysdeps/nptl/bits/libc-lockP.h: ... here.
8594         * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
8595         * sysdeps/nptl/bits/stdio-lock.h: ... here.
8596         * nptl/sysdeps/pthread/configure: Moved ...
8597         * sysdeps/nptl/configure: ... here.
8598         * nptl/sysdeps/pthread/configure.ac: Moved ...
8599         * sysdeps/nptl/configure.ac: ... here.
8600         * nptl/sysdeps/pthread/gai_misc.h: Moved ...
8601         * sysdeps/nptl/gai_misc.h: ... here.
8602         * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
8603         * sysdeps/nptl/librt-cancellation.c: ... here.
8604         * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
8605         * sysdeps/nptl/malloc-machine.h: ... here.
8606         * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
8607         * sysdeps/nptl/pthread-functions.h: ... here.
8608         * nptl/sysdeps/pthread/pthread.h: Moved ...
8609         * sysdeps/nptl/pthread.h: ... here.
8610         * nptl/sysdeps/pthread/setxid.h: Moved ...
8611         * sysdeps/nptl/setxid.h: ... here.
8612         * nptl/sysdeps/pthread/sigfillset.c: Moved ...
8613         * sysdeps/nptl/sigfillset.c: ... here.
8614         * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
8615         * sysdeps/nptl/tcb-offsets.h: ... here.
8616         * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
8617         * sysdeps/nptl/tst-mqueue8x.c: ... here.
8618         * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
8619         * sysdeps/nptl/unwind-forcedunwind.c: ... here.
8620         * nptl/sysdeps/pthread/allocalim.h: Moved ...
8621         * sysdeps/pthread/allocalim.h: ... here.
8622         * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
8623         * sysdeps/pthread/bits/sigthread.h: ... here.
8624         * nptl/sysdeps/pthread/flockfile.c: Moved ...
8625         * sysdeps/pthread/flockfile.c: ... here.
8626         * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
8627         * sysdeps/pthread/ftrylockfile.c: ... here.
8628         * nptl/sysdeps/pthread/funlockfile.c: Moved ...
8629         * sysdeps/pthread/funlockfile.c: ... here.
8630         * nptl/sysdeps/pthread/posix-timer.h: Moved ...
8631         * sysdeps/pthread/posix-timer.h: ... here.
8632         * nptl/sysdeps/pthread/timer_create.c: Moved ...
8633         * sysdeps/pthread/timer_create.c: ... here.
8634         * nptl/sysdeps/pthread/timer_delete.c: Moved ...
8635         * sysdeps/pthread/timer_delete.c: ... here.
8636         * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
8637         * sysdeps/pthread/timer_getoverr.c: ... here.
8638         * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
8639         * sysdeps/pthread/timer_gettime.c: ... here.
8640         * nptl/sysdeps/pthread/timer_routines.c: Moved ...
8641         * sysdeps/pthread/timer_routines.c: ... here.
8642         * nptl/sysdeps/pthread/timer_settime.c: Moved ...
8643         * sysdeps/pthread/timer_settime.c: ... here.
8644         * nptl/sysdeps/pthread/tst-timer.c: Moved ...
8645         * sysdeps/pthread/tst-timer.c: ... here.
8646         * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
8647         * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
8648
8649         * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
8650         * nptl/sysdeps/pthread/sigprocmask.c: File removed.
8651
8652         * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
8653         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
8654         * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
8655         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
8656         Update #include target.
8657         * nptl/sysdeps/i386/i686/Makefile: Moved ...
8658         * sysdeps/i386/i686/nptl/Makefile: ... here.
8659         * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
8660         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
8661         Update #include target.
8662         * nptl/sysdeps/i386/i686/tls.h: Moved ...
8663         * sysdeps/i386/i686/nptl/tls.h: ... here.  Use #include_next.
8664         * nptl/sysdeps/i386/Makefile: Moved ...
8665         * sysdeps/i386/nptl/Makefile: ... here.
8666         * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
8667         * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
8668         * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
8669         * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
8670         * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
8671         * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
8672         * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
8673         * nptl/sysdeps/i386/pthreaddef.h: Moved ...
8674         * sysdeps/i386/nptl/pthreaddef.h: ... here.
8675         * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
8676         * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
8677         * nptl/sysdeps/i386/tls.h: Moved ...
8678         * sysdeps/i386/nptl/tls.h: ... here.
8679
8680         * sysdeps/sh/Makefile [$(subdir) = csu]
8681         (gen-as-const-headers): Add tcb-offsets.sym.
8682         * nptl/sysdeps/sh/Makefile: File removed.
8683         * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
8684         * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
8685         * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
8686         * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
8687         * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
8688         * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
8689         * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
8690         * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
8691         * nptl/sysdeps/sh/pthreaddef.h: Moved ...
8692         * sysdeps/sh/nptl/pthreaddef.h: ... here.
8693         * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
8694         * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
8695         * nptl/sysdeps/sh/tls.h: Moved ...
8696         * sysdeps/sh/nptl/tls.h: ... here.
8697         * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
8698         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
8699         * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
8700         * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
8701         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
8702         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
8703         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
8704         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
8705         * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
8706         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
8707         * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
8708         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
8709         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
8710         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
8711         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
8712         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
8713         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
8714         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
8715         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
8716         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
8717         * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
8718         * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
8719         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
8720         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
8721         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
8722         Moved ...
8723         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
8724         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
8725         Moved ...
8726         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
8727         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
8728         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
8729         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
8730         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
8731         * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
8732         * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
8733         * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
8734         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
8735         * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
8736         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
8737         * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
8738         * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
8739         * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
8740         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
8741         * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
8742         * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
8743         * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
8744         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
8745
8746 2014-06-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
8747
8748         * posix/spawn_faction_addopen.c: Include string.h.
8749
8750 2014-06-11  Roland McGrath  <roland@hack.frob.com>
8751
8752         * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
8753         * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
8754         * nptl/sysdeps/x86_64/Makefile: Moved ...
8755         * sysdeps/x86_64/nptl/Makefile: ... here.
8756         * nptl/sysdeps/x86_64/configure: Moved ...
8757         * sysdeps/x86_64/nptl/configure: ... here.
8758         * nptl/sysdeps/x86_64/configure.ac: Moved ...
8759         * sysdeps/x86_64/nptl/configure.ac: ... here.
8760         * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
8761         * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
8762         * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
8763         * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
8764         * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
8765         * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
8766         * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
8767         * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
8768         * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
8769         * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
8770         * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
8771         * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
8772         * nptl/sysdeps/x86_64/tls.h: Moved ...
8773         * sysdeps/x86_64/nptl/tls.h: ... here.
8774         * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
8775         * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
8776         * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
8777         * sysdeps/x86_64/x32/nptl/tls.h: ... here.
8778
8779         * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
8780
8781 2014-06-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8782
8783         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8784
8785 2014-06-11  Joseph Myers  <joseph@codesourcery.com>
8786
8787         * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
8788         type.
8789         [POSIX] (off_t): Likewise.
8790         * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
8791         [POSIX] (S_ISBLK): Require macro.
8792         [POSIX] (S_ISCHR): Likewise.
8793         [POSIX] (S_ISDIR): Likewise.
8794         [POSIX] (S_ISFIFO): Likewise.
8795         [POSIX] (S_ISREG): Likewise.
8796         [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
8797         optional-macro.
8798         * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
8799         type.
8800         [POSIX] (time_t): Likewise.
8801         [POSIX] (timer_t): Likewise.
8802
8803 2014-06-11  Florian Weimer  <fweimer@redhat.com>
8804
8805         [BZ #17048]
8806         * posix/spawn_int.h (struct __spawn_action): Make the path string
8807         non-const to support deallocation.
8808         * posix/spawn_faction_addopen.c
8809         (posix_spawn_file_actions_addopen): Make a copy of the pathname.
8810         * posix/spawn_faction_destroy.c
8811         (posix_spawn_file_actions_destroy): Adjust comment.  Deallocate
8812         path in all spawn_do_open actions.
8813         * posix/tst-spawn.c (do_test): Exercise the copy operation in
8814         posix_spawn_file_actions_addopen.
8815
8816 2014-06-11  Chris Metcalf  <cmetcalf@tilera.com>
8817
8818         * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
8819         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
8820         * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
8821         conditional code always true.
8822         (__libc_vfork): New alias.
8823
8824 2014-06-11  Roland McGrath  <roland@hack.frob.com>
8825
8826         * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
8827         * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
8828
8829         * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
8830
8831         * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
8832         * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
8833
8834         * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
8835         * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
8836
8837         * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
8838         * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
8839
8840 2014-06-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
8841
8842         * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
8843         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
8844         multiarch strcmp for PPC64.
8845         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
8846         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
8847         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
8848         multiarch optimizations.
8849         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
8850         (__libc_ifunc_impl_list): Likewise.
8851
8852 2014-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
8853
8854         * benchtests/scripts/validate_benchout.py: New script.
8855         * benchtests/Makefile (bench-func): Call it.
8856         * benchtests/scripts/benchout.schema.json: New file.
8857
8858 2014-06-10  Chris Metcalf  <cmetcalf@tilera.com>
8859
8860         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
8861         * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
8862         * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
8863         * sysdeps/tile/nptl/bits/semaphore.h: ... here.
8864         * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
8865         * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
8866         * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
8867         * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
8868         * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
8869         * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
8870         * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
8871         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
8872         * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
8873         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
8874         * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
8875         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
8876         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
8877         Moved ...
8878         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
8879         ... here.
8880         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
8881         Moved ...
8882         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
8883         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
8884         Moved ...
8885         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
8886         ... here.
8887         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
8888         Moved ...
8889         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
8890         ... here.
8891         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
8892         Moved ...
8893         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
8894         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
8895         Moved ...
8896         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
8897         ... here.
8898         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
8899         Moved ...
8900         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
8901         ... here.
8902         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
8903         Moved ...
8904         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
8905         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
8906         Moved ...
8907         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
8908         ... here.
8909         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
8910         Moved ...
8911         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
8912         ... here.
8913         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
8914         Moved ...
8915         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
8916         ... here.
8917         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
8918         Moved ...
8919         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
8920         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
8921         Moved ...
8922         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
8923         ... here.
8924         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
8925         Moved ...
8926         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
8927         ... here.
8928         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
8929         Moved ...
8930         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
8931         ... here.
8932         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
8933         Moved ...
8934         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
8935         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
8936         Moved ...
8937         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
8938         ... here.
8939         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
8940         Moved ...
8941         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
8942         ... here.
8943         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
8944         Moved ...
8945         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
8946         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
8947         Moved ...
8948         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
8949         ... here.
8950         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
8951         Moved ...
8952         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
8953         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
8954         Moved ...
8955         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
8956         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
8957         Moved ...
8958         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
8959         ... here.
8960         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
8961         Moved ...
8962         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
8963         ... here.
8964         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
8965         Moved ...
8966         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
8967         ... here.
8968         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
8969         Moved ...
8970         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
8971         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
8972         Moved ...
8973         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
8974         ... here.
8975         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
8976         Moved ...
8977         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
8978         ... here.
8979         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
8980         * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
8981         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
8982         * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
8983         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
8984         Moved ...
8985         * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
8986         ... here.
8987         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
8988         * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
8989         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
8990         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
8991         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
8992         * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
8993         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
8994         * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
8995         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
8996         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
8997         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
8998         * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
8999         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
9000         Moved ...
9001         * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
9002         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
9003         Moved ...
9004         * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
9005         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
9006         * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
9007         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
9008         Moved ...
9009         * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
9010         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
9011         * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
9012         * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
9013         * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
9014         * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
9015         * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
9016
9017 2014-06-10  Wilco  <wdijkstr@arm.com>
9018
9019         * math/test-fenv-return.c: New file.
9020         * math/Makefile: Add new test test-fenv-return.
9021
9022 2014-06-10  Joseph Myers  <joseph@codesourcery.com>
9023
9024         [BZ #17042]
9025         * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
9026         when x - 1 is zero.
9027         * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
9028         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
9029         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
9030         0.0L for an argument of 1.0L.
9031         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
9032         Likewise.
9033         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
9034         value when x - 1 is zero.
9035         * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
9036         * sysdeps/i386/fpu/libm-test-ulps: Update.
9037         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9038
9039 2014-06-09  Bernard Ogden  <bernie.ogden@linaro.org>
9040
9041         [BZ #15119]
9042         * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
9043
9044 2014-06-09  Roland McGrath  <roland@hack.frob.com>
9045
9046         * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
9047         * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
9048
9049 2014-06-09  Roland McGrath  <roland@hack.frob.com>
9050
9051         * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
9052         * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
9053
9054         * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
9055         * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
9056
9057         * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
9058         * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
9059
9060         * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
9061         * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
9062
9063         * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
9064         if not already defined.
9065         (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
9066         * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
9067         * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
9068         (TLS_INIT_TP): Use it.
9069         (TLS_DEFINE_INIT_TP): New macro.
9070         * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
9071
9072 2014-06-09  Joseph Myers  <joseph@codesourcery.com>
9073
9074         * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
9075         constant.
9076         [POSIX] (IXANY): Likewise.
9077         [POSIX] (OLCUC): Likewise.
9078         [POSIX || POSIX2008] (CBAUD): Do not allow.
9079         [POSIX || POSIX2008] (DEFECHO): Likewise.
9080         [POSIX || POSIX2008] (ECHOCTL): Likewise.
9081         [POSIX || POSIX2008] (ECHOKE): Likewise.
9082         [POSIX || POSIX2008] (ECHOPRT): Likewise.
9083         [POSIX || POSIX2008] (EXTA): Likewise.
9084         [POSIX || POSIX2008] (EXTB): Likewise.
9085         [POSIX || POSIX2008] (FLUSHO): Likewise.
9086         [POSIX || POSIX2008] (LOBLK): Likewise.
9087         [POSIX || POSIX2008] (PENDIN): Likewise.
9088         [POSIX || POSIX2008] (SWTCH): Likewise.
9089         [POSIX || POSIX2008] (VDISCARD): Likewise.
9090         [POSIX || POSIX2008] (VDSUSP): Likewise.
9091         [POSIX || POSIX2008] (VLNEXT): Likewise.
9092         [POSIX || POSIX2008] (VREPRINT): Likewise.
9093         [POSIX || POSIX2008] (VSTATUS): Likewise.
9094         [POSIX || POSIX2008] (VWERASE): Likewise.
9095         (B*): Change to B[0123456789]*.
9096         * conform/data/time.h-data [POSIX || UNIX98]
9097         (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
9098         [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
9099         [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
9100         [POSIX] (tm_*): Do not allow.
9101
9102 2014-06-07  Joseph Myers  <joseph@codesourcery.com>
9103
9104         * Makefile (install): Don't set LANGUAGE.
9105         * Makefile.in (install): Likewise.
9106         * assert/Makefile (test-assert-ENV): Remove variable.
9107         (test-assert-perr-ENV): Likewise.
9108         * elf/Makefile (neededtest4-ENV): Likewise.
9109         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
9110         [$(cross-compiling) = no]: Don't set LANGUAGE.
9111         * io/ftwtest-sh (LANG): Remove variable.
9112         * libio/Makefile (tst-widetext-ENV): Likewise.
9113         * manual/install.texi (Running make install): Don't refer to
9114         environment settings for make install.
9115         * INSTALL: Regenerated.
9116         * nptl/tst-tls6.sh: Don't set LANG.
9117         * posix/globtest.sh (LANG): Remove variable.
9118         * string/Makefile (tester-ENV): Likewise.
9119         (inl-tester-ENV): Likewise.
9120         (noinl-tester-ENV): Likewise.
9121         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
9122         [$(cross-compiling) = no]: Don't set LANGUAGE.
9123         * timezone/Makefile (build-testdata): Use $(built-program-cmd)
9124         without explicit environment settings.
9125
9126 2014-06-06  Roland McGrath  <roland@hack.frob.com>
9127
9128         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
9129         * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
9130         * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
9131         * sysdeps/sh/nptl/bits/semaphore.h: ... here.
9132
9133 2014-06-06  Chris Metcalf  <cmetcalf@tilera.com>
9134
9135         * crypt/crypt-private.h [DOS]: Add some includes taken from the
9136         other files in the crypt directory.
9137         * crypt/crypt.c: Remove duplicate includes.
9138         * crypt/crypt-entry.c: Likewise.
9139         * crypt/crypt_util.c: Likewise.
9140
9141 2014-06-06  Joseph Myers  <joseph@codesourcery.com>
9142
9143         * Makeconfig (run-program-env): New variable.
9144         (run-program-prefix-before-env): Likewise.
9145         (run-program-prefix-after-env): Likewise.
9146         (run-program-prefix): Define in terms of new variables.
9147         (built-program-cmd-before-env): New variable.
9148         (built-program-cmd-after-env): Likewise.
9149         (built-program-cmd): Define in terms of new variables.
9150         (test-program-prefix-before-env): New variable.
9151         (test-program-prefix-after-env): Likewise.
9152         (test-program-prefix): Define in terms of new variables.
9153         (test-program-cmd-before-env): New variable.
9154         (test-program-cmd-after-env): Likewise.
9155         (test-program-cmd): Define in terms of new variables.
9156         * Rules (make-test-out): Use $(run-program-env).
9157         * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
9158         (help): Do not mention environment variables.  Mention
9159         --timeoutfactor option.
9160         (timeoutfactor): New variable.
9161         (blacklist_exports): Remove function.
9162         (exports): Remove variable.
9163         (command): Do not include ${exports}.
9164         * manual/install.texi (Configuring and compiling): Do not mention
9165         test wrappers preserving environment variables.  Mention that last
9166         assignment to a variable must take precedence.
9167         * INSTALL: Regenerated.
9168         * benchtests/Makefile (run-bench): Use $(run-program-env).
9169         * catgets/Makefile ($(objpfx)test1.cat): Use
9170         $(built-program-cmd-before-env), $(run-program-env) and
9171         $(built-program-cmd-after-env).
9172         ($(objpfx)test2.cat): Do not specify environment variables
9173         explicitly.
9174         ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
9175         $(run-program-env) and $(built-program-cmd-after-env).
9176         ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
9177         $(run-program-env) and $(test-program-cmd-after-env).
9178         ($(objpfx)sample.SJIS.cat): Do not specify environment variables
9179         explicitly.
9180         * catgets/test-gencat.sh: Use test_program_cmd_before_env,
9181         run_program_env and test_program_cmd_after_env arguments.
9182         * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
9183         * elf/tst-pathopt.sh: Use run_program_env argument.
9184         * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
9185         $(test-wrapper-env) and $(run-program-env).
9186         * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
9187         run_program_env arguments.
9188         * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
9189         * intl/Makefile ($(objpfx)tst-gettext.out): Use
9190         $(test-program-prefix-before-env), $(run-program-env) and
9191         $(test-program-prefix-after-env).
9192         ($(objpfx)tst-gettext2.out): Likewise.
9193         * intl/tst-gettext.sh: Use test_program_prefix_before_env,
9194         run_program_env and test_program_prefix_after_env arguments.
9195         * intl/tst-gettext2.sh: Likewise.
9196         * intl/tst-gettext4.sh: Do not set environment variables
9197         explicitly.
9198         * intl/tst-gettext6.sh: Likewise.
9199         * intl/tst-translit.sh: Likewise.
9200         * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
9201         $(test-program-prefix-before-env), $(run-program-env) and
9202         $(test-program-prefix-after-env).
9203         * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
9204         run_program_env and test_program_prefix_after_env arguments.
9205         * math/Makefile (run-regen-ulps): Use $(run-program-env).
9206         * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
9207         * nptl/tst-tls6.sh: Use run_program_env argument.  Set LANG=C
9208         explicitly with each use of ${test_wrapper_env}.
9209         * posix/Makefile ($(objpfx)wordexp-tst.out): Use
9210         $(test-program-prefix-before-env), $(run-program-env) and
9211         $(test-program-prefix-after-env).
9212         * posix/tst-getconf.sh: Do not set environment variables
9213         explicitly.
9214         * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
9215         run_program_env and test_program_prefix_after_env arguments.
9216         * stdio-common/tst-printf.sh: Do not set environment variables
9217         explicitly.
9218         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
9219         $(test-program-prefix-before-env), $(run-program-env) and
9220         $(test-program-prefix-after-env).
9221         * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
9222         run_program_env and test_program_prefix_after_env arguments.
9223         Split $test calls into $test_pre and $test.
9224         * timezone/Makefile (build-testdata): Use
9225         $(built-program-cmd-before-env), $(run-program-env) and
9226         $(built-program-cmd-after-env).
9227
9228 2014-06-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9229
9230         * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
9231         strlen for non SHARED builds.
9232
9233 2014-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
9234
9235         * nptl/allocatestack.c (check_list): Inlined function...
9236         (__reclaim_stacks): ... here.
9237
9238 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
9239
9240         [BZ #15698]
9241         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
9242         memory overrun.
9243
9244 2014-06-05  Joseph Myers  <joseph@codesourcery.com>
9245
9246         * Rules (make-test-out): Include
9247         LOCPATH=$(common-objpfx)localedata in default environment.
9248         * debug/Makefile (tst-chk1-ENV): Remove variable.
9249         (tst-chk2-ENV): Likewise.
9250         (tst-chk3-ENV): Likewise.
9251         (tst-chk4-ENV): Likewise.
9252         (tst-chk5-ENV): Likewise.
9253         (tst-chk6-ENV): Likewise.
9254         (tst-lfschk1-ENV): Likewise.
9255         (tst-lfschk2-ENV): Likewise.
9256         (tst-lfschk3-ENV): Likewise.
9257         (tst-lfschk4-ENV): Likewise.
9258         (tst-lfschk5-ENV): Likewise.
9259         (tst-lfschk6-ENV): Likewise.
9260         * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
9261         (tst-iconv7-ENV): Likewise.
9262         * intl/Makefile (LOCPATH-ENV): Likewise.
9263         (tst-codeset-ENV): Likewise.
9264         (tst-gettext3-ENV): Likewise.
9265         (tst-gettext5-ENV): Likewise.
9266         * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
9267         (tst-fopenloc-ENV): Likewise.
9268         (tst-fgetws-ENV): Remove variable.
9269         (tst-ungetwc1-ENV): Likewise.
9270         (tst-ungetwc2-ENV): Likewise.
9271         (bug-ungetwc2-ENV): Likewise.
9272         (tst-swscanf-ENV): Likewise.
9273         (bug-ftell-ENV): Likewise.
9274         (tst-fgetwc-ENV): Likewise.
9275         (tst-fseek-ENV): Likewise.
9276         (tst-ftell-partial-wide-ENV): Likewise.
9277         (tst-ftell-active-handler-ENV): Likewise.
9278         (tst-ftell-append-ENV): Likewise.
9279         * posix/Makefile (tst-fnmatch-ENV): Likewise.
9280         (tst-regexloc-ENV): Likewise.
9281         (bug-regex1-ENV): Likewise.
9282         (tst-regex-ENV): Likewise.
9283         (tst-regex2-ENV): Likewise.
9284         (bug-regex5-ENV): Likewise.
9285         (bug-regex6-ENV): Likewise.
9286         (bug-regex17-ENV): Likewise.
9287         (bug-regex18-ENV): Likewise.
9288         (bug-regex19-ENV): Likewise.
9289         (bug-regex20-ENV): Likewise.
9290         (bug-regex22-ENV): Likewise.
9291         (bug-regex23-ENV): Likewise.
9292         (bug-regex25-ENV): Likewise.
9293         (bug-regex26-ENV): Likewise.
9294         (bug-regex30-ENV): Likewise.
9295         (bug-regex32-ENV): Likewise.
9296         (bug-regex33-ENV): Likewise.
9297         (bug-regex34-ENV): Likewise.
9298         (bug-regex35-ENV): Likewise.
9299         (tst-rxspencer-ENV): Likewise.
9300         (tst-rxspencer-no-utf8-ENV): Likewise.
9301         * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
9302         (tst-sscanf-ENV): Likewise.
9303         (tst-swprintf-ENV): Likewise.
9304         (tst-swscanf-ENV): Likewise.
9305         (test-vfprintf-ENV): Likewise.
9306         (scanf13-ENV): Likewise.
9307         (bug14-ENV): Likewise.
9308         (tst-grouping-ENV): Likewise.
9309         * stdlib/Makefile (tst-strtod-ENV): Likewise.
9310         (tst-strtod3-ENV): Likewise.
9311         (tst-strtod4-ENV): Likewise.
9312         (tst-strtod5-ENV): Likewise.
9313         (testmb2-ENV): Likewise./
9314         * string/Makefile (tst-strxfrm-ENV): Likewise.
9315         (tst-strxfrm2-ENV): Likewise.
9316         (bug-strcoll1-ENV): Likewise.
9317         (test-strcasecmp-ENV): Likewise.
9318         (test-strncasecmp-ENV): Likewise.
9319         * time/Makefile (tst-strptime-ENV): Likewise.
9320         (tst-ftime_l-ENV): Likewise.
9321         * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
9322         (tst-mbrtowc-ENV): Likewise.
9323         (tst-wcrtomb-ENV): Likewise.
9324         (tst-mbrtowc2-ENV): Likewise.
9325         (tst-c16c32-1-ENV): Likewise.
9326         (tst-mbsnrtowcs-ENV): Likewise.
9327
9328 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
9329
9330         * manual/resource.texi (How to get information about the memory
9331         subsystem?): Fix typo.
9332         Reported by Peon de la Parra Ivan <peon@keba.com>
9333
9334 2014-06-03  Guo Yixuan  <culu.gyx@gmail.com>
9335
9336         [BZ #16882]
9337         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
9338         (pthread_spin_lock): Branch out of spin loop to proper location.
9339         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
9340         (pthread_spin_lock): Likewise.
9341
9342         * nptl/tst-spin4.c: New test.
9343         * nptl/Makefile (tests): Add tst-spin4.
9344
9345 2014-06-03  Andreas Schwab  <schwab@suse.de>
9346
9347         [BZ #15946]
9348         * resolv/res_send.c (send_dg): Reload file descriptor after
9349         calling reopen.
9350
9351 2014-06-03  Stefan Liebler  <stli@linux.vnet.ibm.com>
9352
9353         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
9354
9355 2014-06-03  Richard Henderson  <rth@redhat.com>
9356
9357         * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
9358         * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
9359         * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
9360         SAVE_PID and RESTORE_PID blocks from pt-vfork.S.  Map 0 to INT_MIN
9361         in the SAVE_PID block.
9362         (__libc_vfork): New alias.
9363         * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
9364
9365         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
9366         child in registers, not on the stack.  Remove RESET_PID conditionals.
9367         * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
9368
9369 2014-06-03  Marcus Shawcroft  <marcus.shawcroft@arm.com>
9370
9371         * sysdeps/aarch64/libm-test-ulps: Regenerate.
9372
9373 2014-06-03  Wilco  <wdijkstr@arm.com>
9374
9375         * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
9376         (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
9377         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
9378         Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
9379         * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
9380         Likewise.
9381
9382 2014-06-03  Wilco  <wdijkstr@arm.com>
9383
9384         * sysdeps/aarch64/fpu/math_private.h
9385         (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
9386         (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
9387         (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
9388         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
9389         Fix declarations.
9390
9391 2014-06-03  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
9392
9393         * crypt/crypt-private.h: Include ufc-crypt.h.
9394         (__b64_from_24bit): Declare extern.
9395         * crypt/crypt_util.c(__b64_from_24bit): New function.
9396         (b64t): New static const variable.
9397         * crypt/md5-crypt.c (b64_from_24bit): Remove function.
9398         (b64t): Remove variable.
9399         (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
9400         * crypt/sha256-crypt.c: Include crypt-private.h.
9401         (b64t): Remove variable.
9402         (__sha256_crypt_r): Remove b64_from_24bit and replace
9403         with __b64_from_24bit.
9404         * crypt/sha512-crypt.c: Likewise.
9405
9406 2014-06-02  Roland McGrath  <roland@hack.frob.com>
9407
9408         * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
9409         * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
9410         Label the code __libc_vfork rather than __vfork.
9411         [!NOT_IN_libc] (vfork): Define as weak alias.
9412         [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
9413         * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
9414         * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
9415
9416 2014-06-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
9417
9418         * malloc/malloc.c (malloc_info): Fix format specifier for
9419         n_mmaps.
9420
9421 2014-06-02  Wilco  <wdijkstr@arm.com>
9422
9423         * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
9424         FPCR write.
9425
9426 2014-06-02  Wilco  <wdijkstr@arm.com>
9427
9428         [BZ #17009]
9429         * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
9430         Rewrite to reduce FPCR/FPSR accesses.
9431
9432 2014-06-01  David S. Miller  <davem@davemloft.net>
9433
9434         * sysdeps/sparc/fpu/libm-test-ulps: Update.
9435
9436 2014-05-31  David S. Miller  <davem@davemloft.net>
9437
9438         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
9439         to occur in round to nearest mode when |x| >= 2.0
9440
9441 2014-05-30  Richard Henderson  <rth@twiddle.net>
9442
9443         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
9444         (PSEUDO_RET_NOERRNO): Remove.
9445         (ret): Don't redefine.
9446         (ret_NOERRNO): Define in terms of ret.
9447         (ret_ERRVAL): Likewise.
9448
9449         * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
9450         use of PSEUDO_RET; perform the error check directly.
9451
9452 2014-05-30 Marko Myllynen  <myllynen@redhat.com>
9453
9454         * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
9455         with __int128_t.
9456
9457 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
9458
9459         * malloc/malloc (malloc_info): Fix formatting.
9460
9461 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
9462             Roland McGrath  <roland@hack.frob.com>
9463
9464         * malloc/malloc (malloc_info): Also print mmapped statistics.
9465
9466 2014-05-30  Roland McGrath  <roland@hack.frob.com>
9467
9468         * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
9469         * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
9470
9471 2014-05-30  Ondřej Bílka  <neleai@seznam.cz>
9472
9473         * malloc/malloc.c (malloc_info): Inline mi_arena.
9474
9475 2014-05-29  Richard Henderson  <rth@twiddle.net>
9476
9477         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
9478         Remove comma before expanding ASM_ARGS_##nr.
9479         (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
9480         Make _x0 a strict output; make _x8 a strict input; adjust expansion
9481         of ASM_ARGS_##nr.
9482         (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
9483         (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
9484         (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
9485         (ASM_ARGS_1): Add leading comma.
9486
9487         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
9488         (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
9489         to __errno_location.
9490         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
9491         Remove the expected plt for __errno_location.
9492
9493         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
9494         [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
9495         call to __read_tp.
9496
9497         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
9498         Always allocate 64 bytes of stack frame.  Use ldp/stp to create
9499         it and break it down.
9500         (DOCARGS_0, DOCARGS_1): Do nothing.
9501         (DOCARGS_2): Update to store into the new stack frame.
9502         (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
9503         (UNDOCARGS_1): Update to restore from the new stack frame.
9504         (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
9505         (UNDOCARGS_5, UNDOCARGS_6): Likewise.
9506
9507         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
9508         (SINGLE_THREAD_P): New parameter for result regno.
9509         (PSEUDO): Update to match; use cbz instead of beq.
9510
9511         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
9512         Use ENTRY to define the _nocancel entry point.  Share the syscall
9513         and syscall error check paths with the cancel path.
9514         (PSEUDO_END): New.
9515
9516         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
9517         whitespace; tabs before and after asm mnemonics.
9518
9519 2014-05-29  Eric Wong  <normalperson@yhbt.net>
9520
9521         [BZ #15132]
9522         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
9523         Call fstat64 or stat64 internally, depending on arguments passed.
9524         Replace stat buffer argument with file descriptor argument.
9525         (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
9526         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
9527         Pass fd to __internal_statvfs instead of calling fstat64.
9528         * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
9529         Pass fd to __internal_statvfs64 instead of calling fstat64.
9530         * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
9531         Pass -1 to __internal_statvfs instead of calling stat64.
9532         * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
9533         Pass -1 to __internal_statvfs64 instead of calling stat64.
9534
9535 2014-05-28  Roland McGrath  <roland@hack.frob.com>
9536
9537         * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
9538         that was previously under [RESET_PID].
9539         * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
9540
9541         * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
9542         * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
9543
9544 2014-05-27  Roland McGrath  <roland@hack.frob.com>
9545
9546         * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
9547
9548         * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
9549         * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
9550
9551 2014-05-27  Ondřej Bílka  <neleai@seznam.cz>
9552
9553         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
9554
9555 2014-05-27  Andreas Schwab  <schwab@suse.de>
9556
9557         * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
9558         TLS_INIT_TP macro.
9559         * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
9560         * elf/rtld.c (init_tls, dl_main): Likewise.
9561         * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
9562         * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
9563         * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
9564         * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
9565         * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
9566         * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
9567         * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
9568         * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
9569         * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
9570         * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
9571         * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
9572         * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
9573         * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
9574         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
9575         * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
9576         * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
9577         * sysdeps/generic/tls.h: Update description.
9578
9579 2014-05-27  Will Newton  <will.newton@linaro.org>
9580
9581         [BZ #16990]
9582         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
9583         and restore r2 rather than just restoring.
9584
9585 2014-05-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
9586
9587         [BZ #16724]
9588         * libio/tst-ftell-append.c: New test case.
9589         * libio/Makefile (tests): Add test case.
9590         * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
9591         append mode.
9592         * libio/wfileops.c (do_ftell_wide): Likewise.
9593
9594 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9595
9596         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9597
9598         * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
9599         ...
9600         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
9601         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
9602         * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
9603         * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
9604         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
9605         * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
9606         * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
9607         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
9608         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
9609         Moved ...
9610         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
9611         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
9612         Moved ...
9613         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
9614         * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
9615         * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
9616         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
9617         * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
9618         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
9619         ...
9620         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
9621         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
9622         Moved ...
9623         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
9624         here.
9625         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
9626         ...
9627         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
9628         * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
9629         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
9630
9631         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
9632         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
9633         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
9634         * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
9635
9636         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
9637         merge into ...
9638         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
9639         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
9640         ...
9641         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
9642         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
9643         ...
9644         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
9645         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
9646         Moved ...
9647         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
9648         here.
9649         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
9650         Moved ...
9651         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
9652         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
9653         Moved ...
9654         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
9655
9656         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
9657         conditional [RESET_PID].
9658         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
9659         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
9660         removed.
9661         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
9662         removed.
9663
9664         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
9665         <tcb-offsets.h>.
9666         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
9667         (__libc_vfork): New strong alias.
9668         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
9669         removed.
9670         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
9671         Removed.
9672
9673         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
9674         <tcb-offsets.h>.
9675         (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
9676         (__libc_vfork): New strong alias.
9677         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
9678         removed.
9679         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
9680         removed.
9681
9682 2014-05-26  Carlos O'Donell  <carlos@redhat.com>
9683
9684         * malloc/malloc.c (mi_arena): New function.
9685         (malloc_info): Remove nested function mi_arena. Call non-nosted
9686         function mi_arena.
9687
9688 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9689
9690         * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
9691         by insrwi.
9692         * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
9693         * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
9694         * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
9695         * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
9696         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
9697         * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
9698         * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
9699
9700 2014-05-26  Andreas Schwab  <schwab@suse.de>
9701
9702         [BZ #16984]
9703         * locale/programs/repertoire.c (repertoire_read): Add slash
9704         between I18NPATH element and file name.
9705         * locale/programs/locfile.c (locfile_read): Likewise.
9706
9707 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
9708
9709         * nptl/pthread_mutexattr_settype.c
9710         (__pthread_mutexattr_settype):
9711         Disable lock elision for PTHREAD_MUTEX_NORMAL.
9712
9713 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
9714
9715         * nptl/tst-mutex5 (do_test):
9716         Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
9717
9718 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
9719
9720         * benchtests/README: Document 'init' directive.
9721         * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
9722         BENCH_INIT.
9723         * scripts/bench.py (gen_source): Define BENCH_INIT macro.
9724         (parse_file): Recognize 'init' directive.
9725
9726 2014-05-26  Kyle McMartin  <kyle@redhat.com>
9727
9728         [BZ #16796]
9729         * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
9730         alignment of struct pthread.
9731
9732 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
9733
9734         [BZ #16878]
9735         * nscd/netgroupcache.c (addgetnetgrentX): Look for
9736         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
9737         * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
9738         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
9739
9740 2014-05-25  Richard Henderson  <rth@twiddle.net>
9741
9742         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
9743         (SINGLE_THREAD_P_PIC): Remove.
9744         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
9745         (SINGLE_THREAD_P_PIC): Remove.
9746
9747         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
9748         branch to syscall error ...
9749         (PSEUDO): ... here.
9750         [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
9751         from __local_syscall_error to .Lsyscall_error.
9752         [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
9753         (SYSCALL_ERROR): Update label name.
9754
9755         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
9756         Do not use DOARGS/UNDOARGS.
9757         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
9758         (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
9759         (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
9760         (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
9761         (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
9762
9763         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
9764         block comment.
9765
9766         * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
9767         define if !NOT_IN_libc.
9768         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
9769         define with non-default symbol versions.
9770
9771 2014-05-23  Richard Henderson  <rth@twiddle.net>
9772
9773         * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
9774         (vfork, __vfork): Define via compat_symbol.
9775
9776         * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
9777         [!HAVE_IFUNC] (vfork_compat): Remove.
9778         [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
9779
9780 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
9781
9782         [BZ #16978]
9783         * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
9784         * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
9785         variable.
9786
9787 2014-05-23  Richard Henderson  <rth@twiddle.net>
9788
9789         * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
9790         * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
9791         * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
9792         * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
9793
9794         * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
9795         * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
9796         * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
9797         * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
9798         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
9799         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
9800         * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
9801         * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
9802         * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
9803         * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
9804         * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
9805         * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
9806         * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
9807         * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
9808         * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
9809         * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
9810         * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
9811         * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
9812         * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
9813         * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
9814         * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
9815         * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
9816         * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
9817         * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
9818         * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
9819         * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
9820         * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
9821         * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
9822         * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
9823         * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
9824         * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
9825         * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
9826         * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
9827         * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
9828         * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
9829         * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
9830         * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
9831         * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
9832         * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
9833         * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
9834         * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
9835         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
9836         * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
9837         * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
9838         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
9839         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
9840         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
9841         * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
9842         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
9843         * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
9844         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
9845         * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
9846         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
9847         * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
9848         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
9849         * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
9850
9851         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
9852         * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
9853         * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here.  Restore PID
9854         before exiting on error.
9855         (__libc_vfork): New strong alias.
9856         * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
9857         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
9858
9859         * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
9860         that was previously under [RESET_PID].
9861         * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
9862
9863         * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
9864
9865 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
9866
9867         [BZ #16977]
9868         * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
9869         value when x - 1 is zero.
9870         * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
9871         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
9872         * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
9873         0.0L for an argument of 1.0L.
9874         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
9875         Likewise.
9876         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
9877         value when x - 1 is zero.
9878         * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
9879         * sysdeps/i386/fpu/libm-test-ulps: Update.
9880         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9881
9882 2014-05-23  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
9883
9884         * manual/filesys.texi (Scanning Directory Content): Fix prototype of
9885         alphasort and versionsort.
9886
9887 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9888
9889         * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
9890         macro.
9891         [copysignf]: Likewise.
9892
9893 2014-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
9894
9895         * crypt/md5-crypt.c: Fix formatting.
9896
9897 2014-05-22  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
9898
9899         * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
9900         (b64_from_24bit): New function.
9901
9902 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9903
9904         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
9905         libc_hidden_builtin_def to ifunc.
9906         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
9907         [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
9908
9909 2014-05-21  Roland McGrath  <roland@hack.frob.com>
9910
9911         * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
9912         * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
9913
9914 2014-05-21  Joseph Myers  <joseph@codesourcery.com>
9915
9916         * nscd/Depend (linuxthreads): Remove.
9917         (nptl): Add.
9918         * resolv/Depend (linuxthreads): Remove.
9919         * rt/Depend (linuxthreads): Remove.
9920
9921         * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
9922         (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
9923         $(common-objpfx)elf/.
9924         (link-libc-before-gnulib): Likewise.
9925         (elfobjdir): Remove variable.
9926         * Makefile (install): Use $(elf-objpfx) instead of
9927         $(common-objpfx)elf/.
9928         * Makerules (link-libc-args): Use $(elf-objpfx) instead of
9929         $(elfobjdir)/.
9930         (link-libc-deps): Likewise.
9931         ($(common-objpfx)libc.so): Likewise.
9932         ($(common-objpfx)linkobj/libc.so): Likewise.
9933         [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
9934         instead of $(common-objpfx)elf/.
9935         (symbolic-link-list): Likewise.
9936         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
9937         [$(cross-compiling) = no]: Likewise.
9938         * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
9939         $(elfobjdir)/.
9940         (static-gnulib-arch): Likewise.
9941         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
9942         [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
9943         $(common-objpfx)elf/.
9944
9945 2014-05-21  Richard Henderson  <rth@redhat.com>
9946
9947         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
9948         (SINGLE_THREAD_P): Use the correct width load.  Fold
9949         into the ldr offset.
9950
9951         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
9952         (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
9953
9954 2014-05-20  Joseph Myers  <joseph@codesourcery.com>
9955
9956         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
9957         (libgcc_s_resume): Use __attribute_used__.
9958         * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
9959         Likewise.
9960
9961 2014-05-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9962
9963         * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
9964         optimization when used with float constants.
9965
9966         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9967
9968 2014-05-20  Aurelien Jarno  <aurelien@aurel32.net>
9969
9970         [BZ #16915]
9971         * locale/nl_langinfo_l.c: Make direct reference to every
9972         _nl_current_CATEGORY symbol.
9973         * localedata/Makefile (test-srcs): Add tst-langinfo-static.
9974         (tests-static): Add tst-langinfo-static.
9975         (tests-special): Add tst-langinfo-static.out.
9976         ($(objpfx)tst-langinfo.out): Redirect output.
9977         ($(objpfx)tst-langinfo-static.out): New.
9978         * localedata/tst-langinfo.sh: Send output to stdout.
9979         * localedata/tst-langinfo-static.c: New file.
9980
9981         [BZ #16965]
9982         * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
9983         when the shift amount is modulo the limb size.
9984
9985 2014-05-20  Richard Henderson  <rth@redhat.com>
9986
9987         [BZ #16967]
9988         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
9989         Change type of sa_flags from unsigned int to int.
9990
9991         [BZ #16966]
9992         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
9993
9994         * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
9995
9996 2014-05-20  Will Newton  <will.newton@linaro.org>
9997
9998         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
9999         Test the return value of the system call in the nocancel case.
10000
10001 2014-05-20  Will Newton  <will.newton@linaro.org>
10002             Yvan Roux  <yvan.roux@linaro.org>
10003
10004         * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
10005         #include of asm/ptrace.h.
10006         (PTRACE_GET_THREAD_AREA): Remove #undef.
10007         (PTRACE_GETHBPREGS): Likewise.
10008         (PTRACE_SETHBPREGS): Likewise.
10009         (struct user_regs_struct): New structure.
10010         (struct user_fpsimd_struct): New structure.
10011         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
10012         #include of asm/ptrace.h and second #include of sys/user.h.
10013         (PTRACE_GET_THREAD_AREA): Remove #undef.
10014         (PTRACE_GETHBPREGS): Likewise.
10015         (PTRACE_SETHBPREGS): Likewise.
10016         (ELF_NGREG): Use new struct user_regs_struct.
10017         (elf_fpregset_t): Use new struct user_fpsimd_struct.
10018
10019 2014-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10020
10021         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
10022         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
10023
10024 2014-05-17  Jose E. Marchesi  <jose.marchesi@oracle.com>
10025
10026         [BZ #16958]
10027         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
10028         membar to avoid block loads/stores to overlap previous stores.
10029
10030 2014-05-17  Richard Henderson  <rth@redhat.com>
10031
10032         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
10033         Create the __##syscall_name##_nocancel entry point.
10034         * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
10035         Remove; let the sysdep-cancel.h code create it.
10036
10037 2014-05-17  David S. Miller  <davem@davemloft.net>
10038
10039         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
10040         Protect with __USE_GNU.
10041         (TIOCSET_TEMPT): Likewise.
10042         (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
10043         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
10044         these are already provided in bits/ioctl-types.h
10045
10046 2014-05-16  Roland McGrath  <roland@hack.frob.com>
10047
10048         * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
10049         * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
10050
10051         * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
10052         Use wait4 regardless of [__NR_waitpid].
10053
10054 2014-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
10055
10056         PR libgcc/60166
10057         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
10058         (_FP_NANSIGN_Q): Set the quiet bit.
10059
10060 2014-05-16  Joseph Myers  <joseph@codesourcery.com>
10061
10062         * benchtests/Makefile
10063         ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
10064         not $(common-objpfx)math/libm.so.
10065         ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
10066         $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
10067         * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
10068         $(common-objpfx)dlfcn/libdl.so.
10069         ($(objpfx)tst-audit8): Depend on $(libm), not
10070         $(common-objpfx)math/libm.so.
10071         * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
10072         not $(common-objpfx)dlfcn/libdl.so.
10073         * math/Makefile
10074         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
10075         Depend on $(libm), not $(objpfx)libm.so.  Do not condition on
10076         [$(build-shared) = yes].
10077         ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
10078         $(common-objpfx)nptl/libpthread.so.
10079         * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
10080         $(common-objpfx)math/libm.so$(libm.so-version) or
10081         $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
10082         * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
10083         $(common-objpfx)dlfcn/libdl.so.
10084         * setjmp/Makefile (link-libm): Remove variable.
10085         ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
10086         * stdio-common/Makefile (link-libm): Remove variable.
10087         ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
10088         * stdlib/Makefile (link-libm): Remove variable.
10089         ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
10090         ($(objpfx)tst-strtod-round): Likewise.
10091         ($(objpfx)tst-tininess): Likewise.
10092         ($(objpfx)tst-strtod-underflow): Likewise.
10093         ($(objpfx)tst-strtod6): Likewise.
10094         ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
10095         $(libdl), not $(common-objpfx)nptl/libpthread.so and
10096         $(common-objpfx)dlfcn/libdl.so.
10097
10098 2014-05-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10099
10100         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
10101         BSD terminal modes definitions.
10102
10103 2014-05-16  Roland McGrath  <roland@hack.frob.com>
10104
10105         * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
10106         * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
10107
10108         * sysdeps/unix/sysv/linux/arch-fork.h: New file.
10109         * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
10110         * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
10111         Don't do #include_next.
10112         * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
10113         * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
10114         Don't do #include_next.
10115         * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
10116         * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
10117         * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
10118         * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
10119
10120 2014-05-16  Allan McRae  <allan@archlinux.org>
10121
10122         * po/sv.po: Update Swedish translation from translation project.
10123
10124         * timezone/Makefile ($(objpfx)tzselect): Use correct variable
10125         in sed expression.
10126
10127 2014-05-16  Aurelien Jarno  <aurelien@aurel32.net>
10128
10129         [BZ #16917]
10130         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
10131         errno if the TIOCGPTN ioctl fails with an error different than
10132         EINVAL.
10133         * login/tst-ptsname.c: New file.
10134         * login/Makefile (tests): Add tst-ptsname.
10135
10136         [BZ #16943]
10137         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
10138         and prlimit64.
10139
10140 2014-05-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
10141
10142         [BZ #16849]
10143         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
10144         herrno to return EAI_AGAIN.
10145
10146 2014-05-14  Roland McGrath  <roland@hack.frob.com>
10147
10148         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
10149         * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
10150         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
10151         * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
10152         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
10153         * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
10154         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
10155         * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
10156         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
10157         * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
10158         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
10159         * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
10160         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
10161         * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
10162         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
10163         * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
10164         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
10165         * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
10166         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
10167         * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
10168         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
10169         * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
10170         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
10171         * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
10172         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
10173         * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
10174         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
10175         * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
10176         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
10177         * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
10178         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
10179         * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
10180         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
10181         * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
10182         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
10183         Moved ...
10184         * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
10185         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
10186         * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
10187         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
10188         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
10189         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
10190         * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
10191         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
10192         * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
10193         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
10194         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
10195         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
10196         * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
10197         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
10198         * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
10199         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
10200         * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
10201         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
10202         * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
10203         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
10204         * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
10205         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
10206         * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
10207         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
10208         * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
10209         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
10210         * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
10211         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
10212         Moved ...
10213         * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
10214         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
10215         * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
10216         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
10217         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
10218         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
10219         * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
10220         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
10221         * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
10222         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
10223         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
10224         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
10225         * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
10226         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
10227         * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
10228         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
10229         * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
10230         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
10231         * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
10232         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
10233         Moved ...
10234         * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
10235         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
10236         * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
10237
10238         * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
10239         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
10240         (libpthread-sysdep_routines): Add elision-related stuff here instead.
10241         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
10242         * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
10243         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
10244         * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
10245         * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
10246         * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
10247         * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
10248         * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
10249         * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
10250         * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
10251         * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
10252         * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
10253         * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
10254         * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
10255         * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
10256         * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
10257         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
10258         * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
10259         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
10260         * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
10261         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
10262         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
10263         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
10264         * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
10265         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
10266         * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
10267         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
10268         * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
10269
10270         * sysdeps/unix/sysv/linux/mips/fork.h: New file.
10271         * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
10272
10273         * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
10274         * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
10275         * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
10276         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
10277         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
10278         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
10279         Moved ...
10280         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
10281         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
10282         Moved ...
10283         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
10284         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
10285         Moved ...
10286         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
10287         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
10288         Moved ...
10289         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
10290         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
10291         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
10292         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
10293         Moved ...
10294         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
10295         * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
10296         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
10297         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
10298         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
10299         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
10300         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
10301         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
10302         Moved ...
10303         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
10304         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
10305         Moved ...
10306         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
10307         ... here.
10308         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
10309         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
10310         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
10311         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
10312         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
10313         Moved ...
10314         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
10315         ... here.
10316         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
10317         Moved ...
10318         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
10319         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
10320         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
10321         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
10322         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
10323         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
10324         Moved ...
10325         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
10326         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
10327         Moved ...
10328         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
10329         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
10330         Moved ...
10331         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
10332         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
10333         Moved ...
10334         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
10335         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
10336         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
10337         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
10338         Moved ...
10339         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
10340         * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
10341         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
10342         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
10343         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
10344         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
10345         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
10346         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
10347         Moved ...
10348         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
10349         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
10350         Moved ...
10351         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
10352         ... here.
10353         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
10354         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
10355         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
10356         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
10357         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
10358         Moved ...
10359         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
10360         ... here.
10361         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
10362         Moved ...
10363         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
10364         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
10365         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
10366         * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
10367         * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
10368         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
10369         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
10370         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
10371         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
10372         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
10373         Moved ...
10374         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
10375         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
10376         Moved ...
10377         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
10378         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
10379         Moved ...
10380         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
10381         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
10382         Moved ...
10383         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
10384         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
10385         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
10386         * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
10387         * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
10388         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
10389         Moved ...
10390         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
10391         * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
10392         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
10393         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
10394         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
10395         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
10396         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
10397         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
10398         Moved ...
10399         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
10400         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
10401         Moved ...
10402         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
10403         ... here.
10404         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
10405         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
10406         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
10407         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
10408         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
10409         Moved ...
10410         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
10411         ... here.
10412         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
10413         Moved ...
10414         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
10415         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
10416         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
10417         * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
10418         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
10419         * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
10420         * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
10421         * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
10422         * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
10423         * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
10424         * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
10425
10426         * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
10427         * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
10428
10429         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
10430         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
10431
10432         * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
10433         * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
10434         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
10435         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
10436         * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
10437         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
10438         * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
10439         * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
10440         * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
10441         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
10442         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
10443         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
10444         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
10445         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
10446         * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
10447         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
10448         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
10449         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
10450         Moved ...
10451         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
10452         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
10453         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
10454         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
10455         Moved ...
10456         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
10457         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
10458         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
10459         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
10460         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
10461         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
10462         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
10463         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
10464         Moved ...
10465         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
10466         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
10467         Moved ...
10468         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
10469         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
10470         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
10471         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
10472         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
10473         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
10474         * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
10475         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
10476         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
10477         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
10478         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
10479         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
10480         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
10481         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
10482         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
10483         * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
10484         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
10485
10486         * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
10487         * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
10488         * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
10489         * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
10490         * sysdeps/unix/sysv/linux/i386/fork.h: New file.
10491
10492         * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
10493         * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
10494         * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
10495         * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
10496         * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
10497         * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
10498         * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
10499         * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
10500         * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
10501         * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
10502
10503         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
10504         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
10505
10506         * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
10507         * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
10508         * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
10509         * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
10510         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
10511         * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
10512         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
10513         * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
10514         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
10515         * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
10516         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
10517         * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
10518         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
10519         * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
10520         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
10521         Update #include.
10522         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
10523         Likewise.
10524         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
10525         Likewise.
10526         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
10527         Likewise.
10528         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
10529         Likewise.
10530         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
10531         Likewise.
10532         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
10533         Likewise.
10534         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
10535         Likewise.
10536         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
10537         Likewise.
10538         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
10539         Likewise.
10540         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
10541         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
10542         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
10543         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
10544         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
10545         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
10546         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
10547         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
10548         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
10549         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
10550         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
10551         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
10552         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
10553         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c:  Likewise.
10554         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c:  Likewise.
10555
10556         * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
10557         that was previously under [RESET_PID].
10558         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
10559         * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
10560         * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
10561
10562         * sysdeps/i386/nptl/Implies: New file.
10563         * sysdeps/x86_64/nptl/Implies: New file.
10564         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
10565         * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
10566         * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
10567         * sysdeps/x86/nptl/bits/semaphore.h: ... here.
10568
10569         * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
10570         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
10571         (__libc_vfork): New strong alias.
10572         * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
10573         * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
10574
10575         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
10576         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
10577         (__libc_vfork): New strong alias.
10578         * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
10579         * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
10580
10581         * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
10582         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
10583         (__libc_vfork): New strong alias.
10584         * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
10585         * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
10586         * nptl/pt-vfork.c: New file.
10587         * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
10588         (libpthread: GLIBC_2.20): New version set (empty).
10589
10590 2014-05-14  Will Newton  <will.newton@linaro.org>
10591
10592         * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
10593         rather than #if.
10594
10595 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
10596
10597         [BZ #16564]
10598         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
10599         arguments with exponent 65 or above.
10600         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
10601         arguments 0x1p113L or above.
10602         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
10603         to arguments 0x1p107L or above.
10604         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
10605         positive arguments with exponent 65 or above.
10606         * math/auto-libm-test-in: Add more tests of log1p.
10607         * math/auto-libm-test-out: Regenerated.
10608
10609         [BZ #16928]
10610         * math/s_cacos.c (__cacos): Ensure zero real part of result from
10611         non-finite arguments is +0.
10612         * math/s_cacosf.c (__cacosf): Likewise.
10613         * math/s_cacosl.c (__cacosl): Likewise.
10614         * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
10615         * sysdeps/i386/fpu/libm-test-ulps: Update.
10616         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10617
10618         [BZ #16927]
10619         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
10620         value.
10621         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
10622         * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
10623         * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
10624         for explicit high bit of mantissa when testing for argument equal
10625         to 1.
10626         * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
10627         * sysdeps/i386/fpu/libm-test-ulps: Update.
10628         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10629
10630         [BZ #16516]
10631         * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
10632         (__erf): Scale by 16 instead of 8 in potentially underflowing
10633         case.  Ensure exception if result actually underflows.
10634         * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
10635         (__erff): Scale by 16 instead of 8 in potentially underflowing
10636         case.  Ensure exception if result actually underflows.
10637         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
10638         (efx8): Remove variable.
10639         (__erfl): Scale by 16 instead of 8 in potentially underflowing
10640         case.  Ensure exception if result actually underflows.
10641         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
10642         (efx8): Remove variable.
10643         (__erfl): Scale by 16 instead of 8 in potentially underflowing
10644         case.  Ensure exception if result actually underflows.
10645         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
10646         (efx8): Remove variable.
10647         (__erfl): Scale by 16 instead of 8 in potentially underflowing
10648         case.  Ensure exception if result actually underflows.
10649         * math/auto-libm-test-in: Add more tests of erf.
10650         * math/auto-libm-test-out: Regenerated.
10651
10652 2014-05-14  Andreas Schwab  <schwab@suse.de>
10653
10654         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
10655         Remove code conditionalized on USE___THREAD.
10656
10657         * config.h.in (HAVE_PT_CHOWN): Define as 0.
10658         * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
10659         not definedness.
10660
10661 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
10662
10663         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
10664         Define unconditionally.
10665         (__ASSUME_O_CLOEXEC): Likewise.
10666         (__ASSUME_SOCK_CLOEXEC): Likewise.
10667         (__ASSUME_IN_NONBLOCK): Likewise.
10668         (__ASSUME_PIPE2): Likewise.
10669         (__ASSUME_EVENTFD2): Likewise.
10670         (__ASSUME_SIGNALFD4): Likewise.
10671         (__ASSUME_DUP3): Likewise.
10672         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
10673         (__ASSUME_DUP3): Do not define.
10674         (__ASSUME_EVENTFD2): Likewise.
10675         (__ASSUME_IN_NONBLOCK): Likewise.
10676         (__ASSUME_O_CLOEXEC): Likewise.
10677         (__ASSUME_PIPE2): Likewise.
10678         (__ASSUME_SIGNALFD4): Likewise.
10679         (__ASSUME_SOCK_CLOEXEC): Likewise.
10680         (__ASSUME_UTIMES): Undefine.
10681         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
10682         (__ASSUME_UTIMES): Do not define.
10683         (__ASSUME_O_CLOEXEC): Likewise.
10684         (__ASSUME_SOCK_CLOEXEC): Likewise.
10685         (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
10686         0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
10687         0x020621].
10688         (__ASSUME_PIPE2): Likewise.
10689         (__ASSUME_EVENTFD2): Likewise.
10690         (__ASSUME_SIGNALFD4): Likewise.
10691         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
10692         * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
10693         Do not define.
10694         (__ASSUME_EVENTFD2): Likewise.
10695         (__ASSUME_SIGNALFD4): Likewise.
10696         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
10697         (__ASSUME_32BITUIDS): Likewise.
10698         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
10699         (__ASSUME_IPC64): Likewise.
10700         (__ASSUME_ST_INO_64_BIT): Likewise.
10701         (__ASSUME_GETDENTS64_SYSCALL): Likewise.
10702         [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
10703         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
10704         (__ASSUME_UTIMES): Do not define.
10705         (__ASSUME_PSELECT): Likewise.
10706         (__ASSUME_PPOLL): Likewise.
10707         (__ASSUME_O_CLOEXEC): Likewise.
10708         (__ASSUME_SOCK_CLOEXEC): Likewise.
10709         (__ASSUME_IN_NONBLOCK): Likewise.
10710         (__ASSUME_PIPE2): Likewise.
10711         (__ASSUME_EVENTFD2): Likewise.
10712         (__ASSUME_SIGNALFD4): Likewise.
10713         (__ASSUME_DUP3): Likewise.
10714         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
10715         (__ASSUME_UTIMES): Likewise.
10716         (__ASSUME_O_CLOEXEC): Likewise.
10717         (__ASSUME_SOCK_CLOEXEC): Likewise.
10718         (__ASSUME_IN_NONBLOCK): Likewise.
10719         (__ASSUME_PIPE2): Likewise.
10720         (__ASSUME_EVENTFD2): Likewise.
10721         (__ASSUME_SIGNALFD4): Likewise.
10722         (__ASSUME_DUP3): Likewise.
10723         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
10724         (__ASSUME_UTIMES): Likewise.
10725         (__ASSUME_O_CLOEXEC): Likewise.
10726         (__ASSUME_SOCK_CLOEXEC): Likewise.
10727         (__ASSUME_IN_NONBLOCK): Likewise.
10728         (__ASSUME_PIPE2): Likewise.
10729         (__ASSUME_EVENTFD2): Likewise.
10730         (__ASSUME_SIGNALFD4): Likewise.
10731         (__ASSUME_DUP3): Likewise.
10732         * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
10733         Likewise.
10734         (__ASSUME_UTIMES): Likewise.
10735         (__ASSUME_EVENTFD2): Likewise.
10736         (__ASSUME_SIGNALFD4): Likewise.
10737         * sysdeps/unix/sysv/linux/tile/kernel-features.h
10738         (__ASSUME_O_CLOEXEC): Likewise.
10739         (__ASSUME_SOCK_CLOEXEC): Likewise.
10740         (__ASSUME_IN_NONBLOCK): Likewise.
10741         (__ASSUME_PIPE2): Likewise.
10742         (__ASSUME_EVENTFD2): Likewise.
10743         (__ASSUME_SIGNALFD4): Likewise.
10744         (__ASSUME_DUP3): Likewise.
10745         (__ASSUME_UTIMES): Undefine.
10746
10747         * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
10748         feclearexcept.  Remove symbol versioning code.
10749         * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv.  Remove
10750         symbol versioning code.
10751         * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv.  Remove
10752         symbol versioning code.
10753         * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
10754         feupdateenv.  Remove symbol versioning code.
10755         * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
10756         fegetexceptflag.  Remove symbol versioning code.
10757         * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
10758         fesetexceptflag.  Remove symbol versioning code.
10759         * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
10760         GLIBC_2.2 and GLIBC_2.3.3 entries.  Change GLIBC_2.1 to GLIBC_2.4.
10761         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
10762         (__posix_fadvise64_l32): Remove prototype.
10763         [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
10764         code.
10765
10766 2014-05-13  Roland McGrath  <roland@hack.frob.com>
10767
10768         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
10769         * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
10770         * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
10771         * sysdeps/arm/nptl/bits/semaphore.h: ... here.
10772
10773 2014-05-13  Sami Kerola  <kerolasa@iki.fi>
10774
10775         * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
10776         current working directory
10777
10778 2014-05-13  Roland McGrath  <roland@hack.frob.com>
10779
10780         * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
10781         * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
10782         * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
10783         * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
10784         * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
10785         * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
10786         * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
10787         * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
10788         * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
10789         * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
10790         * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
10791         * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
10792         * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
10793         * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
10794         * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
10795         * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
10796         * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
10797         * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
10798         * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
10799         * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
10800         * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
10801         * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
10802         * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
10803         * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
10804         * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
10805         * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
10806         * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
10807         * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
10808         * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
10809         * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
10810         * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
10811         * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
10812         * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
10813         * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
10814         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
10815         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
10816         * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
10817         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
10818         * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
10819         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
10820         * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
10821         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
10822
10823         * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
10824         * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
10825
10826         * sysdeps/unix/sysv/linux/arm/Makefile
10827         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
10828         Add rt-aeabi_unwind_cpp_pr1.
10829         [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
10830         Add nptl-aeabi_unwind_cpp_pr1.
10831         [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
10832         * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
10833         * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
10834         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
10835         * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
10836         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
10837
10838         * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
10839         * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
10840         * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
10841         * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
10842
10843         * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
10844         Deconditionalize the code that was previously under [RESET_PID].
10845         * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
10846
10847         * sysdeps/generic/exit-thread.h: New file.
10848         * sysdeps/unix/sysv/linux/exit-thread.h: New file.
10849         * include/unistd.h (__exit_thread): Remove declaration.
10850         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
10851         * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
10852         * csu/libc-start.c: Include <exit-thread.h>.
10853         (LIBC_START_MAIN): Pass no argument to __exit_thread.
10854         * nptl/pthread_create.c: Include <exit-thread.h>.
10855         (start_thread): Call __exit_thread in place of __exit_thread_inline.
10856         * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
10857         * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
10858         * nptl/sysdeps/s390/pthreaddef.h: Likewise.
10859         * nptl/sysdeps/sh/pthreaddef.h: Likewise.
10860         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
10861         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
10862         * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
10863         * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
10864         * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
10865         * sysdeps/arm/nptl/pthreaddef.h: Likewise.
10866         * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
10867         * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
10868         * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
10869         * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
10870         * sysdeps/mips/nptl/pthreaddef.h: Likewise.
10871         * sysdeps/tile/nptl/pthreaddef.h: Likewise.
10872
10873 2014-05-13  Andreas Schwab  <schwab@suse.de>
10874
10875         * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
10876
10877 2014-05-12  Joseph Myers  <joseph@codesourcery.com>
10878
10879         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
10880         (__ASSUME_UTIMES): Do not condition on kernel version.
10881         (__ASSUME_PSELECT): Define unconditionally.
10882         (__ASSUME_PPOLL): Likewise.
10883         (__ASSUME_ATFCTS): Likewise.
10884         (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
10885         (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
10886         (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
10887         (__ASSUME_UTIMENSAT): Define unconditionally.
10888         (__ASSUME_PRIVATE_FUTEX): Likewise.
10889         (__ASSUME_FALLOCATE): Likewise.
10890         (__ASSUME_O_CLOEXEC): Likewise.
10891         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
10892         (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
10893         (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
10894         (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
10895         (__ASSUME_IN_NONBLOCK): Likewise.
10896         (__ASSUME_PIPE2): Likewise.
10897         (__ASSUME_EVENTFD2): Likewise.
10898         (__ASSUME_SIGNALFD4): Likewise.
10899         (__ASSUME_DUP3): Likewise.
10900         [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
10901         (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
10902         (__ASSUME_AT_RANDOM): Likewise.
10903         (__ASSUME_PREADV): Likewise.
10904         (__ASSUME_PWRITEV): Likewise.
10905         (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
10906         (__ASSUME_F_GETOWN_EX): Define unconditionally.
10907         (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
10908         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
10909         [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
10910         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
10911         (__ASSUME_O_CLOEXEC): Define unconditionally.
10912         (__ASSUME_PSELECT): Do not undefine conditionally.
10913         (__ASSUME_PPOLL): Likewise.
10914         (__ASSUME_ATFCTS): Likewise.
10915         (__ASSUME_SET_ROBUST_LIST): Likewise.
10916         (__ASSUME_UTIMENSAT): Likewise.
10917         (__ASSUME_FDATASYNC): Define unconditionally.
10918         * sysdeps/unix/sysv/linux/arm/kernel-features.h
10919         (__ASSUME_SIGFRAME_V2): Likewise.
10920         )__ASSUME_EVENTFD2): Likewise.
10921         (__ASSUME_SIGNALFD4): Likewise.
10922         (__ASSUME_PSELECT): Do not undefine conditionally.
10923         (__ASSUME_PPOLL): Likewise.
10924         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
10925         (__ASSUME_PSELECT): Define unconditionally.
10926         (__ASSUME_PPOLL): Likewise.
10927         (__ASSUME_O_CLOEXEC): Likewise.
10928         (__ASSUME_SOCK_CLOEXEC): Likewise.
10929         (__ASSUME_IN_NONBLOCK): Likewise.
10930         (__ASSUME_PIPE2): Likewise.
10931         (__ASSUME_EVENTFD2): Likewise.
10932         (__ASSUME_SIGNALFD4): Likewise.
10933         (__ASSUME_DUP3): Likewise.
10934         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
10935         (__ASSUME_O_CLOEXEC): Likewise.
10936         (__ASSUME_SOCK_CLOEXEC): Likewise.
10937         (__ASSUME_IN_NONBLOCK): Likewise.
10938         (__ASSUME_PIPE2): Likewise.
10939         (__ASSUME_EVENTFD2): Likewise.
10940         (__ASSUME_SIGNALFD4): Likewise.
10941         (__ASSUME_DUP3): Likewise.
10942         * sysdeps/unix/sysv/linux/mips/kernel-features.h
10943         (__ASSUME_EVENTFD2): Likewise.
10944         (__ASSUME_SIGNALFD4): Likewise.
10945         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
10946
10947 2014-05-12  Andreas Schwab  <schwab@suse.de>
10948
10949         [BZ #16932]
10950         * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
10951         (_nss_nis_gethostbyname4_r): Return error if item length is larger
10952         than maximum RPC packet size.
10953         * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
10954         * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
10955         * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
10956         (_nss_nis_getservbyport_r): Likewise.
10957
10958 2014-05-12  Will Newton  <will.newton@linaro.org>
10959
10960         * malloc/Makefile (tests): Add tst-mallopt.
10961         * malloc/tst-mallopt.c: New file.
10962
10963 2014-05-09  Roland McGrath  <roland@hack.frob.com>
10964
10965         * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
10966         [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
10967
10968 2014-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10969
10970         * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
10971         (tst-tlsmod6.so): Likewise.
10972
10973 2014-05-09  Roland McGrath  <roland@hack.frob.com>
10974
10975         * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
10976
10977 2014-05-09  Joseph Myers  <joseph@codesourcery.com>
10978
10979         [BZ #16064]
10980         * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
10981         and <dl-procinfo.h>.
10982         (__fegetenv): Save SSE state in envp->__eip if supported.
10983         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
10984         envp->__eip if supported.
10985         * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
10986         and <dl-procinfo.h>.
10987         (__fesetenv): Always set __eip, __cs_selector, __opcode,
10988         __data_offset and __data_selector in environment to 0.  Set SSE
10989         state if supported.
10990         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
10991         test-fenv-sse.
10992         [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
10993         -mfpmath=sse.
10994         * sysdeps/x86/fpu/test-fenv-sse.c: New file.
10995
10996 2014-05-09  Will Newton  <will.newton@linaro.org>
10997
10998         * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
10999         and libc_relro_required for ARM.
11000         * sysdeps/arm/preconfigure: Regenerate.
11001
11002 2014-05-09  Dominik Vogt  <vogt@linux.vnet.ibm.com>
11003             Stefan Liebler  <stli@linux.vnet.ibm.com>
11004
11005         * config.make.in (enable-lock-elision): New Makefile variable.
11006         * configure.ac: Likewise.
11007         * configure: Regenerate.
11008         * sysdeps/s390/configure.ac:
11009         Add check for gcc transactions support.
11010         * sysdeps/s390/configure: Regenerate.
11011         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
11012         Build elision files if enabled.
11013         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
11014         Add lock elision support for s390.
11015         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
11016         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
11017         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
11018         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
11019         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
11020         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
11021         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
11022         Likewise.
11023         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
11024         Likewise.
11025         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
11026         Likewise.
11027         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
11028         Likewise.
11029         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
11030         (__lll_timedlock_elision, __lll_lock_elision)
11031         (__lll_unlock_elision, __lll_trylock_elision)
11032         (lll_timedlock_elision, lll_lock_elision)
11033         (lll_unlock_elision, lll_trylock_elision): Add.
11034         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
11035         (pthread_mutex_t): Add lock elision support for s390.
11036
11037 2014-05-14  Wilco  <wdijkstr@arm.com>
11038
11039         * sysdeps/arm/fclrexcpt.c: Cleanup.
11040         * sysdeps/arm/fedisblxcpt.c: Cleanup.
11041         * sysdeps/arm/feenablxcpt.c: Cleanup.
11042         * sysdeps/arm/fegetenv.c: Cleanup.
11043         * sysdeps/arm/fegetexcept.c: Cleanup.
11044         * sysdeps/arm/fegetround.c: Cleanup.
11045         * sysdeps/arm/feholdexcpt.c: Cleanup.
11046         * sysdeps/arm/fesetenv.c: Cleanup.
11047         * sysdeps/arm/fesetround.c: Cleanup.
11048         * sysdeps/arm/feupdateenv.c: Cleanup.
11049         * sysdeps/arm/fgetexcptflg.c: Cleanup.
11050         * sysdeps/arm/fraiseexcpt.c: Cleanup.
11051         * sysdeps/arm/fsetexcptflg.c: Cleanup.
11052         * sysdeps/arm/ftestexcept.c: Cleanup.
11053         * sysdeps/arm/get-rounding-mode.h: Cleanup.
11054         * sysdeps/arm/setfpucw.c: Cleanup.
11055
11056 2014-05-09  Will Newton  <will.newton@linaro.org>
11057
11058         * sysdeps/arm/armv7/strcmp.S: New file.
11059         * NEWS: Mention addition of ARMv7 optimized strcmp.
11060
11061 2014-05-08  Roland McGrath  <roland@hack.frob.com>
11062
11063         * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
11064         look for %.ac rather than %.in.
11065
11066         * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
11067         * sysdeps/unix/sysv/linux/configure.ac: Likewise.
11068         * sysdeps/mach/hurd/configure: Regenerated.
11069         * sysdeps/unix/sysv/linux/configure: Regenerated.
11070
11071         * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
11072
11073 2014-05-07  Steve Ellcey  <sellcey@mips.com>
11074
11075         [BZ# 16922]
11076         * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
11077         (LONG_SUB): Ditto.
11078         (PTR_SUB): Ditto.
11079
11080 2014-05-07  Andreas Schwab  <schwab@suse.de>
11081
11082         * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
11083         when skipping over non-matching result from nscd.
11084
11085 2014-05-07  Ondřej Bílka  <neleai@seznam.cz>
11086
11087         [BZ #16876]
11088         * nptl/sockperf.c (client): Check socket return value.
11089
11090         [BZ #16877]
11091         * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
11092         nscd security class.
11093
11094 2014-05-06  Roland McGrath  <roland@hack.frob.com>
11095
11096         * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
11097         * sysdeps/arm/unwind.h: ... here.
11098
11099 2014-05-06  Aurelien Jarno  <aurelien@aurel32.net>
11100
11101         [BZ# 16916]
11102         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
11103         Define.
11104
11105 2014-05-06  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
11106
11107         * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
11108         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
11109         multiarch strncpy for PPC64.
11110         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
11111         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
11112         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
11113         multiarch optimizations.
11114         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
11115         (__libc_ifunc_impl_list): Likewise.
11116         * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
11117         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
11118         multiarch stpncpy for PPC64.
11119         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
11120         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
11121
11122 2014-05-06  Andreas Schwab  <schwab@suse.de>
11123
11124         [BZ #16912]
11125         * gmon/mcount.c (_MCOUNT_DECL): Use
11126         atomic_compare_and_exchange_bool_acq instead of
11127         catomic_compare_and_exchange_bool_acq.
11128
11129 2014-05-05  Roland McGrath  <roland@hack.frob.com>
11130
11131         * elf/Makefile (others, install-bin): Remove pldd.
11132         (pldd-modules): Variable removed.
11133         ($(objpfx)pldd): Target removed.
11134         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
11135         (others, install-bin): Append pldd here.
11136         ($(objpfx)pldd): New target.
11137
11138         * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
11139         to 0, so the first #if test emitted later doesn't see it undefined.
11140         (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
11141         * sysdeps/gnu/errlist.c: Regenerated.
11142
11143 2014-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11144
11145         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
11146         [libc_hidden_builtin_def]: Define to empty value.
11147         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
11148         [libc_hidden_builtin_def]: Likewise.
11149         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
11150         [libc_hidden_builtin_def]: Likewise.
11151         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
11152         [libc_hidden_builtin_def]: Likewise.
11153         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
11154         __redirect_memcpy and define ifunc as default hidden symbol.
11155         * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
11156         * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
11157
11158 2014-05-04  Adam Conrad  <adconrad@0c3.net>
11159
11160         * locale/iso-4217.def: Reintroduce XDR currency.
11161
11162 2014-05-04  Allan McRae  <allan@archlinux.org>
11163
11164         * po/eo.po: Update Esperanto translation from translation project.
11165
11166 2014-05-02  Carlos O'Donell  <carlos@redhat.com>
11167
11168         * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
11169         and FEATURE_INDEX_MAX to 1.
11170         [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
11171
11172 2014-05-01  Steve Ellcey  <sellcey@mips.com>
11173
11174         * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
11175         * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
11176         * iconvdata/big5.c (ONE_DIRECTION): Define.
11177         * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
11178         * iconvdata/cp1255.c (ONE_DIRECTION): Define.
11179         * iconvdata/cp1258.c (ONE_DIRECTION): Define.
11180         * iconvdata/cp932.c (ONE_DIRECTION): Define.
11181         * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
11182         * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
11183         * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
11184         * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
11185         * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
11186         * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
11187         * iconvdata/gb18030.c (ONE_DIRECTION): Define.
11188         * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
11189         * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
11190         * iconvdata/gbk.c (ONE_DIRECTION): Define.
11191         * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
11192         * iconvdata/ibm930.c (ONE_DIRECTION): Define.
11193         * iconvdata/ibm932.c (ONE_DIRECTION): Define.
11194         * iconvdata/ibm933.c (ONE_DIRECTION): Define.
11195         * iconvdata/ibm935.c (ONE_DIRECTION): Define.
11196         * iconvdata/ibm937.c (ONE_DIRECTION): Define.
11197         * iconvdata/ibm939.c (ONE_DIRECTION): Define.
11198         * iconvdata/ibm943.c (ONE_DIRECTION): Define.
11199         * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
11200         * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
11201         * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
11202         * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
11203         * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
11204         * iconvdata/iso646.c (ONE_DIRECTION): Define.
11205         * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
11206         * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
11207         * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
11208         * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
11209         * iconvdata/johab.c (ONE_DIRECTION): Define.
11210         * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
11211         * iconvdata/sjis.c (ONE_DIRECTION): Define.
11212         * iconvdata/t.61.c (ONE_DIRECTION): Define.
11213         * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
11214         * iconvdata/tscii.c (ONE_DIRECTION): Define.
11215         * iconvdata/uhc.c (ONE_DIRECTION): Define.
11216         * iconvdata/unicode.c (ONE_DIRECTION): Define.
11217         * iconvdata/utf-16.c (ONE_DIRECTION): Define.
11218         * iconvdata/utf-32.c (ONE_DIRECTION): Define.
11219         * iconvdata/utf-7.c (ONE_DIRECTION): Define.
11220
11221 2014-05-01  Roland McGrath  <roland@hack.frob.com>
11222
11223         * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
11224         (_IO_JUMPS_OFFSET): Define to 0.
11225
11226         * nptl/sysdeps/pthread/bits/libc-lock.h
11227         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
11228         (__libc_lock_define_initialized_recursive): Always define using
11229         initializer.  Modern compilers treat uninitialized (implicit zero) and
11230         explicit zero initializers the same (i.e. put the datum in bss).
11231
11232 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
11233
11234         * nscd/nscd-client.h: Include <string.h>.
11235
11236 2014-05-01  David S. Miller  <davem@davemloft.net>
11237
11238         [BZ #16885]
11239         * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
11240         multiple zero bytes exist at the end of a string.
11241         Reported by Aurelien Jarno <aurelien@aurel32.net>
11242
11243         * string/test-strcmp.c (check): Add explicit test for situations where
11244         there are multiple zero bytes after the first.
11245
11246 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
11247
11248         [BZ #16890]
11249         * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
11250         when compiling wprintf.
11251         * stdio-common/tstdiomisc.c (t3): New function.
11252         (main): Call it.
11253
11254 2014-05-01  Steve Ellcey  <sellcey@mips.com>
11255
11256         * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
11257         * iconv/gconv_simple.c (ONE_DIRECTION): Define.
11258         * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
11259         * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
11260
11261 2014-05-01  Steve Ellcey  <sellcey@mips.com>
11262
11263         * stdlib/longlong.h: Updated from GCC.
11264
11265 2014-05-01  Will Newton  <will.newton@linaro.org>
11266             Bernard Ogden  <bernie.ogden@linaro.org>
11267
11268         * NEWS: Update fixed bug list.
11269
11270         [BZ #15119]
11271         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
11272
11273 2014-04-30  David S. Miller  <davem@davemloft.net>
11274
11275         * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
11276         (libc_feholdexcept_setround_sparc_ctx): New function.
11277         (libc_fesetenv_sparc_ctx): Likewise.
11278         (libc_feupdateenv_sparc_ctx): Likewise.
11279         (libc_feholdsetround_sparc_ctx): Likewise.
11280         (libc_feholdexcept_setround_ctx): Define.
11281         (libc_feholdexcept_setroundf_ctx): Likewise.
11282         (libc_feholdexcept_setroundl_ctx): Likewise.
11283         (libc_fesetenv_ctx): Likewise.
11284         (libc_fesetenvf_ctx): Likewise.
11285         (libc_fesetenvl_ctx): Likewise.
11286         (libc_feupdateenv_ctx): Likewise.
11287         (libc_feupdateenvf_ctx): Likewise.
11288         (libc_feupdateenvl_ctx): Likewise.
11289         (libc_feresetround_ctx): Likewise.
11290         (libc_feresetroundf_ctx): Likewise.
11291         (libc_feresetroundl_ctx): Likewise.
11292         (libc_feholdsetround_ctx): Likewise.
11293         (libc_feholdsetroundf_ctx): Likewise.
11294         (libc_feholdsetroundl_ctx): Likewise.
11295
11296         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
11297         with __USE_GNU instead of XOPEN cpp guards.
11298
11299         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
11300         0.
11301
11302         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
11303         with XOPEN cpp guards.
11304
11305 2014-04-30  Julian Brown  <julian@codesourcery.com>
11306
11307         [BZ #16888]
11308         * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
11309         handling.
11310
11311 2014-04-30  Joseph Myers  <joseph@codesourcery.com>
11312
11313         [BZ #9894]
11314         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
11315         Change to 2.6.32.
11316         (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
11317         * sysdeps/unix/sysv/linux/configure: Regenerated.
11318         * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
11319         * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
11320         * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
11321         * sysdeps/unix/sysv/linux/tile/configure: Likewise.
11322         * README: Update reference to required Linux kernel version.
11323         * manual/install.texi (Linux): Update reference to required Linux
11324         kernel headers version.
11325         * INSTALL: Regenerated.
11326
11327         * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
11328         header inclusion.
11329         [POSIX] (limits.h): Likewise.
11330         [POSIX] (math.h): Likewise.
11331         [POSIX] (sys/wait.h): Likewise.
11332         * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
11333         function.
11334         [POSIX] (stddef.h): Do not allow header inclusion.
11335
11336 2014-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11337
11338         * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
11339
11340 2014-04-30  Yang Yingliang  <yangyingliang@huawei.com>
11341
11342         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
11343         Return immediately after lll_futex_wake.
11344
11345 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
11346
11347         [BZ #16791]
11348         * nscd/nscd-client.h (datahead_init_common): Initialize entire
11349         structure.
11350         (datahead_init_pos): Call datahead_init_common early.
11351         (datahead_init_neg): Likewise.
11352
11353         * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
11354         datahead_init_neg): New functions.
11355         * nscd/aicache.c (addhstaiX): Use them.
11356         * nscd/grpcache.c (cache_addgr): Likewise.
11357         * nscd/hstcache.c (cache_addhst): Likewise.
11358         * nscd/initgrcache.c (addinitgroupsX): Likewise.
11359         * nscd/netgroupcache.c (do_notfound): Likewise.
11360         (addgetnetgrentX): Likewise.
11361         (addinnetgrX): Likewise.
11362         * nscd/pwdcache.c (cache_addpw): Likewise.
11363         * nscd/servicescache.c (cache_addserv): Likewise.
11364
11365 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
11366             Atsushi Onoe  <atsushi@onoe.org>
11367
11368         [BZ #14308]
11369         [BZ #12994]
11370         [BZ #13651]
11371         * resolv/res_query.c (__libc_res_nsearch): Return if at least
11372         one response is valid.
11373         * resolv/res_send.c (send_dg): Check for validity of other
11374         response if the current response is a referral.
11375
11376 2014-04-29  Steve Ellcey  <sellcey@mips.com>
11377
11378         * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
11379
11380 2014-04-29  Stefan Liebler  <stli@linux.vnet.ibm.com>
11381
11382         [BZ #16823]
11383         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
11384         Always divide by positive zero when computing -Inf result.
11385         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
11386         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
11387
11388 2014-04-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11389
11390         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
11391         FPSCR if value do not change.
11392         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
11393         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
11394         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
11395         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
11396         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
11397         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
11398         function.
11399
11400 2014-05-29  Carlos O'Donell  <carlos@systemhalted.org>
11401
11402         * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
11403         * sysdeps/unix/sysv/linux/hppa: Move directory from
11404         ports/systeps/unix/sysv/linux/hppa.
11405         * README: Update listing for hppa-*-linux-gnu.
11406
11407 2014-04-28  Ondřej Bílka  <neleai@seznam.cz>
11408
11409         [BZ #16754]
11410         * manual/stdio.texi (Hook functions): Fix types of stream hook
11411         functions.
11412         [BZ #16854]
11413         * socket/sys/socket.h: Fix typo in comment.
11414
11415 2014-04-28  Wilco  <wdijkstr@arm.com>
11416
11417         * sysdeps/arm/fenv_private.h: New file.
11418         * sysdeps/arm/math_private.h: New file.
11419         * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
11420
11421 2014-04-25  H.J. Lu  <hongjiu.lu@intel.com>
11422
11423         * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
11424         with __int128_t.
11425         (La_x86_64_retval): Likewise.
11426
11427 2014-04-24  Ian Bolton  <ian.bolton@arm.com>
11428
11429         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
11430         fpsr if value didn't change.
11431         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
11432         to fpcr if value didn't change.
11433         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
11434         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
11435         fpsr or fpcr if value didn't change.
11436         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
11437         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
11438         fpcr if value didn't change.
11439         * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
11440         to fpsr if value didn't change.
11441
11442 2014-02-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
11443
11444         * nptl/tst-sem3.c: Use test-skeleton.c
11445         (main): Rename to do_test.  Use return instead of
11446         exit.
11447         * nptl/tst-sem4.c: Use test-skeleton.c
11448         (main): Rename to do_test.
11449
11450 2014-04-22  David S. Miller  <davem@davemloft.net>
11451
11452         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
11453         (struct sigaction): New struct member __glibc_reserved0, change
11454         type of sa_flags to int.
11455
11456 2014-04-22  Yufeng Zhang  <yufeng.zhang@arm.com>
11457
11458         * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
11459         (COUNT_LEADING_ZEROS_0): Define for AArch64.
11460
11461 2014-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
11462
11463         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
11464         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
11465
11466 2014-04-22  Will Newton  <will.newton@linaro.org>
11467             Venkataramanan Kumar  <venkataramanan.kumar@linaro.org>
11468
11469         * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
11470         (__longjmp): Add longjmp and longjmp_target SystemTap
11471         probes.
11472         * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
11473         (__sigsetjmp): Add setjmp SystemTap probe.
11474
11475 2014-04-17  Carlos O'Donell  <carlos@redhat.com>
11476
11477         * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
11478         match manual order.
11479
11480 2014-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11481
11482         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
11483
11484         * sysdeps/powerpc/fpu/fenv_private.h
11485         (libc_feholdexcept_setroundl_ctx): Define to
11486         libc_feholdexcept_setround_ppc_ctx.
11487         (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
11488         (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
11489         (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
11490         (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
11491
11492 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
11493
11494         * sysdeps/aarch64/math-tests.h: New file.
11495
11496 2014-04-17  Sihai Yao  <sihai.ysh@alibaba-inc.com>
11497
11498         * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
11499         New.
11500         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
11501         Check and set bit_AVX2_Usable.
11502         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
11503         macro.
11504         (bit_AVX2): Likewise.
11505         (index_AVX2_Usable): Likewise.
11506         (CPUID_AVX2): Likewise.
11507         (HAS_AVX2): Likewise.
11508
11509 2014-04-17  Will Newton  <will.newton@linaro.org>
11510
11511         * manual/setjmp.texi (System V contexts): Add note that
11512         calling setcontext on a context created by a call to a
11513         signal handler is undefined.  Update text to note that
11514         setcontext from a signal handler is possible but not
11515         recommended.
11516
11517         [BZ #16629]
11518         * stdlib/tst-setcontext.c: Include signal.h.
11519         (main): Check that the signal stack before and
11520         after swapcontext is the same.
11521
11522         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
11523         Re-implement to restore registers in user code and avoid
11524         rt_sigreturn system call.
11525
11526 2014-04-17  Wilco  <wdijkstr@arm.com>
11527
11528         * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
11529         * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
11530         * math/test-fenv.c: Skip exception trap tests on targets which only
11531         support non-stop mode.
11532
11533 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
11534             Wilco Dijkstra  <wilco.dijkstra@arm.com>
11535
11536         * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
11537         (libc_feholdsetround_aarch64_ctx)
11538         (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
11539         (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
11540         (libc_feresetround_ctx, libc_feresetroundf_ctx)
11541         (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
11542         (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
11543         (libc_feresetround_noexl_ctx): Define.
11544
11545 2014-04-16  Richard Henderson  <rth@redhat.com>
11546
11547         * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
11548
11549         * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
11550         unwind tables.
11551
11552         * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
11553         const from the non-libc, non-ldso copy.
11554
11555         * sysdeps/alpha/libm-test-ulps: Regenerate.
11556
11557 2014-04-16  Ian Bolton  <ian.bolton@arm.com>
11558             Wilco Dijkstra  <wilco.dijkstra@arm.com>
11559
11560         * sysdeps/aarch64/fpu/math_private.h: New file.
11561
11562 2014-04-16  Marcus Shawcroft  <marcus.shawcroft@arm.com>
11563
11564         * sysdeps/aarch64/libm-test-ulps: Regenerate.
11565
11566 2014-04-16  Igor Zamyatin  <igor.zamyatin@intel.com>
11567
11568         [BZ #16275]
11569         * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
11570         (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
11571         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
11572         Intel MPX bound registers before _dl_profile_fixup.
11573         * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
11574         registers after _dl_profile_fixup.  Save and restore bound
11575         registers bnd0/bnd1 when calling _dl_call_pltexit.
11576         * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
11577         (LR_BND_OFFSET): Likewise.
11578         (LRV_BND0_OFFSET): Likewise.
11579         (LRV_BND1_OFFSET): Likewise.
11580
11581 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
11582
11583         * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
11584         to...
11585         * sysdeps/mach/hurd/i386/tls.h: ... here.
11586         (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
11587         pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
11588         fields.
11589
11590 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
11591
11592         * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
11593
11594 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
11595
11596         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
11597
11598 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
11599
11600         [BZ #14770]
11601         * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
11602         * sysdeps/s390/configure: Regenerate.
11603
11604         [BZ #16824]
11605         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
11606         Set round-to-nearest internally to reduce error accumulation.
11607
11608 2014-04-16  Alan Modra  <amodra@gmail.com>
11609
11610         [BZ #16740]
11611         [BZ #16619]
11612         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
11613         * math/libm-test.inc (frexp_test_data): Add tests.
11614         * NEWS: Update fixed bug list.
11615
11616 2014-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
11617
11618         * benchtests/Makefile: Depend on libraries in build directory.
11619         (bench-math): Separate out math tests.
11620         (bench-pthread): Separate out pthread tests.
11621         (bench): Include math and pthread tests.
11622
11623 2014-04-14  Carlos O'Donell  <carlos@redhat.com>
11624
11625         [BZ #16831]
11626         * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
11627         _dl_debug_initialize.
11628
11629         * configure.ac: Remove SELinux header check.
11630         * configure: Regenerate.
11631         * nscd/selinux.c (perms): Array of const char* to permission names.
11632         (nscd_request_avc_has_perm): Call security_deny_unknown to find
11633         default policy. Call string_to_security_class and string_to_av_perm to
11634         translate strings. Enforce default policy and call avs_has_perm with
11635         results of translated strings.
11636
11637 2014-04-13  David S. Miller  <davem@davemloft.net>
11638
11639         * sysdeps/sparc/fpu/libm-test-ulps: Update.
11640
11641 2014-04-12  Allan McRae  <allan@archlinux.org>
11642
11643         [BZ #16838]
11644         * manual/string.texi (Collation Functions): Fix qsort argument
11645         order in example.
11646         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
11647
11648 2014-04-11  Chris Metcalf  <cmetcalf@tilera.com>
11649
11650         * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
11651         Make the test a no-op if there are no exceptions defined.
11652
11653 2014-04-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
11654
11655         * elf/Makefile (tests): make tst-dlopen-aout conditional on
11656         enable-hardcoded-path-in-tests
11657
11658 2014-04-11  Will Newton  <will.newton@linaro.org>
11659
11660         * benchtests/Makefile (extra-objs): Add json-lib.o.
11661         (bench-func): Tidy up JSON output.
11662         * benchtests/bench-skeleton.c: Include json-lib.h.
11663         (main): Use JSON library functions to do output of
11664         benchmark results.
11665         * benchtests/bench-timing-type.c (main): Output the
11666         timing type simply, leaving formatting to the user.
11667         * benchtests/json-lib.c: New file.
11668         * benchtests/json-lib.h: Likewise.
11669
11670 2014-04-11  Torvald Riegel  <triegel@redhat.com>
11671
11672         [BZ #15215]
11673         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
11674         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here.  Add missing
11675         memory barriers.  Add comments.
11676         * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
11677         * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
11678         * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
11679         * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
11680         * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
11681         * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
11682
11683 2014-04-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
11684
11685         * sysdeps/s390/s390-32/configure.ac: Unify file with ...
11686         * sysdeps/s390/s390-64/configure.ac: ... this ...
11687         * sysdeps/s390/configure.ac: ... to here.
11688         * sysdeps/s390/s390-32/configure: Delete file.
11689         * sysdeps/s390/s390-64/configure: Delete file.
11690         * sysdeps/s390/configure: Regenerate.
11691
11692 2014-04-11  Joseph Anthony Pasquale Holsten  <joseph@josephholsten.com>
11693
11694         * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
11695
11696 2014-04-11  Will Newton  <will.newton@linaro.org>
11697
11698         * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
11699         to zero if it is not defined elsewhere.  (mtrim): Test
11700         the value of MALLOC_DEBUG with #if rather than #ifdef.
11701
11702 2014-04-10 Torvald Riegel  <triegel@redhat.com>
11703
11704         * benchtests/pthread_once-inputs: New file.
11705         * benchtests/pthread_once-source.c: New file.
11706         * benchtests/README: Update documentation.
11707
11708 2014-04-09  Igor Zamyatin  <igor.zamyatin@intel.com>
11709             H.J. Lu  <hongjiu.lu@intel.com>
11710
11711         [BZ #16275]
11712         * config.h.in (HAVE_MPX_SUPPORT): New #undef.
11713         * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
11714         * sysdeps/x86_64/configure: Regenerated.
11715         * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
11716         macro.
11717         (REGISTER_SAVE_RAX): Likewise.
11718         (REGISTER_SAVE_RCX): Likewise.
11719         (REGISTER_SAVE_RDX): Likewise.
11720         (REGISTER_SAVE_RSI): Likewise.
11721         (REGISTER_SAVE_RDI): Likewise.
11722         (REGISTER_SAVE_R8): Likewise.
11723         (REGISTER_SAVE_R9): Likewise.
11724         (REGISTER_SAVE_BND0): Likewise.
11725         (REGISTER_SAVE_BND1): Likewise.
11726         (REGISTER_SAVE_BND2): Likewise.
11727         (_dl_runtime_resolve): Use them.  Save and restore Intel MPX
11728         bound registers when calling _dl_fixup.
11729
11730 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11731
11732         * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
11733         * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
11734         of its definition.
11735         * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
11736         * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
11737         * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
11738         * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
11739         * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
11740         * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
11741         * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
11742
11743 2014-04-09  Peter Brett  <peter@peter-b.co.uk>
11744
11745         [BZ #15514]
11746         * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
11747         pathconf(_PC_NAME_MAX).
11748
11749 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11750
11751         * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
11752         Remove macro usage.
11753         (__PTHREAD_SPINS): Move definition to ...
11754         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
11755         (__PTHREAD_SPINS): ... here.
11756         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
11757         (__PTHREAD_SPIN): Likewise.
11758         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
11759         (__PTHREAD_SPIN): Likewise.
11760         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
11761         (__PTHREAD_SPIN): Likewise.
11762         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
11763         (__PTHREAD_SPIN): Likewise.
11764         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
11765         (__PTHREAD_SPIN): Likewise.
11766         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
11767         (__PTHREAD_SPIN): Likewise.
11768         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
11769         (__PTHREAD_SPIN): Likewise.
11770         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
11771         (__PTHREAD_SPIN): Likewise.
11772         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
11773         (__PTHREAD_SPIN): Likewise.
11774         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
11775         (__PTHREAD_SPIN): Likewise.
11776         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
11777         (__PTHREAD_SPIN): Likewise.
11778         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
11779         (__PTHREAD_SPIN): Likewise.
11780
11781         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
11782         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
11783         * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
11784         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
11785         imply folder.
11786         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
11787         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
11788         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
11789         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
11790         correct imply path.
11791         * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
11792         strlen symbol for non multi-arch builds.
11793         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
11794         missing hidden_def and weak_alias.
11795
11796 2014-04-08  Carlos O'Donell  <carlos@redhat.com>
11797
11798         * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
11799
11800 2014-04-07  Will Newton  <will.newton@linaro.org>
11801
11802         * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
11803         and contents.  [!_LIBC] Remove #ifndef and contents.
11804         (basename): Use ANSI prototype.  [_LIBC] Remove #idef.
11805         * string/memccpy.c (__memccpy): Use ANSI prototype.
11806         * string/memfrob.c (memfrob): Likewise.
11807         * string/strcoll.c (STRCOLL): Likewise.
11808         * string/strlen.c (strlen): Likewise.
11809         * string/strtok.c (STRTOK): Likewise.
11810         * string/strcat.c: Remove unused #include of memcopy.h.
11811         (strcat): Use ANSI prototype.
11812         * string/strchr.c: Remove unused #include of memcopy.h.
11813         (strchr): Use ANSI prototype.
11814         * string/strcmp.c: Remove unused #include of memcopy.h.
11815         (strcmp): Use ANSI prototype.
11816         * string/strcpy.c: Remove unused #include of memcopy.h.
11817         (strcpy): Use ANSI prototype.
11818
11819 2014-04-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11820
11821         * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
11822         * config.make.in (config-extra-cppflags): Set it from
11823         libc_extra_cppflags.
11824         * configure.ac (libc_extra_cflags): Make it accumulate over
11825         configure fragments.
11826         (libc_extra_cppflags): New flag.
11827         * configure. Regenerate.
11828         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
11829         (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
11830         not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
11831         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
11832
11833         [BZ #16815]
11834         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
11835         result for FE_DOWNWARD rounding mode.
11836         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
11837         Likewise.
11838         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11839
11840 2014-04-04  Chris Metcalf  <cmetcalf@tilera.com>
11841
11842         * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
11843         in function argument name.
11844
11845 2014-04-03  David Svoboda  <svoboda@cert.org>
11846
11847         [BZ #5666]
11848         * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
11849         explicitly.
11850
11851 2014-04-03  Roland McGrath  <roland@hack.frob.com>
11852
11853         * elf/dl-unmap-segments.h: New file.
11854         * sysdeps/generic/ldsodefs.h
11855         (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
11856         * elf/dl-close.c: Include <dl-unmap-segments.h>.
11857         * elf/dl-fptr.c: Likewise.
11858         (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
11859         * sysdeps/aarch64/tlsdesc.c: Likewise.
11860         * sysdeps/arm/tlsdesc.c: Likewise.
11861         * sysdeps/i386/tlsdesc.c: Likewise.
11862         * sysdeps/tile/dl-runtime.c: Likewise.
11863         * sysdeps/x86_64/tlsdesc.c: Likewise.
11864         * elf/dl-load.h: New file.
11865         * elf/dl-load.c: Include it.
11866         (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
11867         Macros moved to dl-load.h.
11868         (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
11869         (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
11870         Use _dl_unmap_segments in place of __munmap.
11871         Break out segment-mapping loop into ...
11872         * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
11873
11874 2014-04-03  Will Newton  <will.newton@linaro.org>
11875
11876         * elf/dl-lookup.c (do_lookup_x): Remove comment
11877         referring to nested function and move variable
11878         declarations down to before first use.
11879
11880 2014-04-02  Joseph Myers  <joseph@codesourcery.com>
11881
11882         [BZ #16799]
11883         [BZ #16800]
11884         * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
11885         with 0 numerator.
11886         * math/s_catanf.c (__catanf): Likewise.
11887         * math/s_catanh.c (__catanh): Likewise.
11888         * math/s_catanhf.c (__catanhf): Likewise.
11889         * math/s_catanhl.c (__catanhl): Likewise.
11890         * math/s_catanl.c (__catanl): Likewise.
11891         * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
11892         by positive zero when computing -Inf result.
11893         * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
11894         (catanh_test): Likewise.
11895         * sysdeps/i386/fpu/libm-test-ulps: Update.
11896         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11897
11898         [BZ #16789]
11899         * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
11900         instead of using underflowing value in computing result.
11901         * math/s_clog10.c (__clog10): Likewise.
11902         * math/s_clog10f.c (__clog10f): Likewise.
11903         * math/s_clog10l.c (__clog10l): Likewise.
11904         * math/s_clogf.c (__clogf): Likewise.
11905         * math/s_clogl.c (__clogl): Likewise.
11906         * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
11907         (clog10_test): Likewise.
11908         * sysdeps/i386/fpu/libm-test-ulps: Update.
11909         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11910
11911 2014-04-02  Alan Modra  <amodra@gmail.com>
11912
11913         [BZ #16739]
11914         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
11915         output when value is near a power of two.  Use int64_t for lx and
11916         remove casts.  Use decimal rather than hex exponent constants.
11917         Don't use long double multiplication when double will suffice.
11918         * math/libm-test.inc (nextafter_test_data): Add tests.
11919         * NEWS: Add 16739 and 16786 to bug list.
11920
11921         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
11922
11923         * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
11924
11925 2014-04-01  Will Newton  <will.newton@linaro.org>
11926
11927         * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
11928         -fno-builtin.  (CFLAGS-bench-ffsll.c): Likewise.
11929
11930 2014-04-01  Florian Weimer  <fweimer@redhat.com>
11931
11932         [BZ #13347]
11933         * nptl/nptl-init.c (sighandler_setxid): Check system call result.
11934         * nptl/tst-setuid2.c: New file.
11935         * nptl/Makefile (xtests): Add tst-setuid2.
11936
11937 2014-04-01  Alan Modra  <amodra@gmail.com>
11938
11939         [BZ #16786]
11940         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
11941
11942 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
11943
11944         [BZ #6803]
11945         [BZ #6804]
11946         * math/w_scalb.c (__scalb): For non-SVID mode, check result and
11947         set errno as appropriate.
11948         * math/w_scalbf.c (__scalbf): Likewise.
11949         * math/w_scalbl.c (__scalbl): Likewise.
11950         * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
11951         ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
11952         * math/libm-test.inc (scalb_test_data): Add errno expectations.
11953         Add more NaN tests.
11954
11955         [BZ #16349]
11956         * math/w_atan2.c: Include <errno.h>.
11957         (__atan2): Set errno for result underflowing to zero.
11958         * math/w_atan2f.c: Include <errno.h>.
11959         (__atan2f): Set errno for result underflowing to zero.
11960         * math/w_atan2l.c: Include <errno.h>.
11961         (__atan2l): Set errno for result underflowing to zero.
11962         * math/auto-libm-test-in: Don't allow missing errno for some atan2
11963         tests.
11964         * math/auto-libm-test-out: Regenerated.
11965
11966 2014-03-31  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11967
11968         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
11969         Encode instruction correctly in little endian.
11970         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
11971         Likewise.
11972         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
11973         Likewise.
11974         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
11975         Likewise.
11976         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
11977         Likewise.
11978
11979 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
11980
11981         [BZ #9894]
11982         * sysdeps/unix/sysv/linux/kernel-features.h
11983         [__sparc__ && !__arch64__ && !__sparc_v9__]
11984         (__ASSUME_SET_ROBUST_LIST): Do not define.
11985         [__sparc__ && !__arch64__ && !__sparc_v9__]
11986         (__ASSUME_FUTEX_LOCK_PI): Likewise.
11987         [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
11988         Likewise.
11989         * sysdeps/unix/sysv/linux/arm/kernel-features.h
11990         (__ASSUME_FUTEX_LOCK_PI): Undefine.
11991         (__ASSUME_REQUEUE_PI): Likewise.
11992         (__ASSUME_SET_ROBUST_LIST): Likewise.
11993         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
11994         [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
11995         Undefine.
11996         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
11997         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
11998         Likewise.
11999         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
12000         Likewise.
12001         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
12002         Likewise.
12003         * sysdeps/unix/sysv/linux/mips/kernel-features.h
12004         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
12005         Undefine.
12006         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
12007         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
12008         Likewise.
12009
12010         [BZ #16648]
12011         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
12012         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
12013         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
12014
12015 2014-03-31  Will Newton  <will.newton@linaro.org>
12016
12017         * benchtests/Makefile (bench): Add ffs and ffsll to list
12018         of tests.
12019         * benchtests/ffs-inputs: New file.
12020         * benchtests/ffsll-inputs: Likewise.
12021
12022 2014-03-29  Joseph Myers  <joseph@codesourcery.com>
12023
12024         [BZ #16770]
12025         * math/e_scalb.c (__ieee754_scalb): Check second argument is not
12026         too large before casting to int.
12027         * math/e_scalbf.c (__ieee754_scalbf): Likewise.
12028         * math/e_scalbl.c (__ieee754_scalbl): Likewise.
12029         * math/libm-test.inc (scalb_test_data): Add more tests.
12030
12031 2014-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
12032
12033         * benchtests/Makefile (DETAILED_OPT): New make option.
12034         (bench-func): Run benchmark program with -d if DETAILED_OPT is
12035         set.
12036         * benchtests/bench-skeleton.c: Include stdbool.h.
12037         (main): Store and print timings per input.
12038         * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
12039         member to each argument value.
12040         (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
12041         (_print_arg_data): Initialize per-input timing to 0.
12042
12043         * benchtests/Makefile (timing-type): New binary.
12044         (bench-clean): Also remove bench-timing-type.
12045         (bench): New target for timing-type.
12046         (bench-func): Print output in JSON format.
12047         * benchtests/bench-skeleton.c (main): Print output in JSON
12048         format.
12049         * benchtests/bench-timing-type.c: New file.
12050         * benchtests/bench-timing.h (TIMING_TYPE): New macro.
12051         (TIMING_PRINT_STATS): Remove.
12052         * benchtests/scripts/bench.py (_print_arg_data): Store variant
12053         name separately.
12054
12055         * benchtests/bench-modf.c: Remove.
12056         * benchtests/modf-inputs: New inputs file.
12057
12058 2014-03-28  Joseph Myers  <joseph@codesourcery.com>
12059
12060         [BZ #16362]
12061         * math/s_clog10.c (M_PI_LOG10E): New macro.
12062         (__clog10): Use M_PI_LOG10E instead of M_PI when real and
12063         imaginary parts are 0.
12064         * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
12065         (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
12066         imaginary parts are 0.
12067         * math/s_clog10l.c (M_PI_LOG10El): New macro.
12068         (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
12069         imaginary parts are 0.
12070         * math/libm-test.inc (clog10_test_data): Update expected results
12071         for when real and imaginary parts are 0.
12072
12073 2014-03-27  Paul Pluzhnikov  <ppluzhnikov@google.com>
12074
12075         * elf/dl-load.c: Finish conversion of __builtin_expect into
12076         __glibc_{un}likely.
12077
12078 2014-03-27  Joseph Myers  <joseph@codesourcery.com>
12079
12080         [BZ #16348]
12081         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
12082         1+x for argument with exponent below -67.
12083         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
12084         Likewise.
12085         * math/auto-libm-test-in: Add more tests of exp.
12086         * math/auto-libm-test-out: Regenerated.
12087
12088 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
12089
12090         [BZ #16759]
12091         * inet/getnetgrent_r.c (get_nonempty_val): New function.
12092         (nscd_getnetgrent): Use it.
12093
12094         [BZ #16760]
12095         * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
12096         of stpcpy.
12097
12098 2014-03-27  Andi Kleen  <ak@linux.intel.com>
12099
12100         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
12101         (lll_robust_lock, lll_cond_lock, lll_timedlock)
12102         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
12103         (lll_robust_unlock): Remove out of line section. Use cfi
12104         intrinsics.
12105         (LLL_STUB_UNWIND_INFO*): Remove.
12106         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
12107         (lll_robust_lock, lll_cond_lock, lll_timedlock)
12108         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
12109         (lll_robust_unlock): Remove out of line section. Use cfi
12110         intrinsics.
12111         (LLL_STUB_UNWIND_INFO*): Remove.
12112
12113 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
12114
12115         [BZ #16758]
12116         * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
12117         blank values.
12118
12119 2014-03-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
12120
12121         * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
12122
12123 2014-03-26  Joseph Myers  <joseph@codesourcery.com>
12124
12125         [BZ #16198]
12126         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
12127         fnstenv.
12128         * math/test-fenv-preserve.c: New file.
12129         * math/Makefile (tests): Add test-fenv-preserve.
12130
12131 2014-03-26  Will Newton <will.newton@linaro.org>
12132
12133         * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
12134
12135 2014-03-25  Roland McGrath  <roland@hack.frob.com>
12136
12137         * scripts/versionlist.awk: Partition the version sets and emit all
12138         GLIBC_* (sorted) before all others (sorted).
12139
12140 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
12141
12142         * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
12143         GLIBC_2.2.5 version.
12144
12145 2014-03-25 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12146
12147         * scripts/localplt.awk: Check for PLT generated by internal IFUNC
12148         calls.
12149
12150         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
12151         previous change.
12152
12153         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12154
12155 2014-03-25  Andreas Schwab  <schwab@suse.de>
12156
12157         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
12158         label to be used after in6ailist is initialized.
12159
12160 2014-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12161
12162         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
12163         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
12164
12165 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
12166
12167         [BZ #16357]
12168         [BZ #16599]
12169         * math/gen-auto-libm-tests.c (fp_format_desc): Add field
12170         min_plus_half.
12171         (fp_formats): Update initializers.
12172         (init_fp_formats): Initialize new field.
12173         (output_for_one_input_case): Allow underflow for results up to
12174         min_plus_half.
12175         * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
12176         * math/auto-libm-test-in: Don't mark some underflows from asin and
12177         atanh as spurious.
12178         * math/auto-libm-test-out: Regenerated.
12179         * sysdeps/i386/fpu/libm-test-ulps: Update.
12180         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12181
12182 2014-03-25  Andreas Schwab  <schwab@suse.de>
12183
12184         * libio/Makefile (tst-ftell-partial-wide-ENV)
12185         (tst-ftell-active-handler-ENV): Define.
12186
12187 2014-03-25  Stefan Liebler <stli@linux.vnet.ibm.com>
12188
12189         * NEWS: Add 16712, 16713, 16714 to fixed bug list.
12190
12191 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
12192
12193         * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
12194
12195 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
12196
12197         * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
12198         * sysdeps/x86_64/fpu/multiarch/e_exp.c
12199         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
12200
12201 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
12202
12203         [BZ #16634]
12204         * elf/dl-load.c (open_verify): Add mode parameter.
12205         Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
12206         (open_path): Change from boolean 'secure' to complete flag 'mode'
12207         (_dl_map_object): Adjust.
12208         * elf/Makefile (tests): Add tst-dlopen-aout.
12209         * elf/tst-dlopen-aout.c: New test.
12210
12211 2014-03-24  Stefan Liebler <stli@linux.vnet.ibm.com>
12212
12213         [BZ #16714]
12214         * sysdeps/unix/sysv/linux/s390/bits/stat.h
12215         (struct stat): Rename member pad0 to __glibc_reserved0.
12216
12217         [BZ #16712]
12218         * sysdeps/s390/s390-32/bits/wordsize.h
12219         (__WORDSIZE32_SIZE_ULONG): New define.
12220         * sysdeps/s390/s390-64/bits/wordsize.h
12221         (__WORDSIZE32_SIZE_ULONG): Likewise.
12222         * sysdeps/generic/stdint.h (SIZE_MAX):
12223         Define as UL if __WORDSIZE32_SIZE_ULONG.
12224
12225         [BZ #16713]
12226         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
12227         (__glibc_reserved0): New variable.
12228         (sa_flags): Change type to int.
12229
12230         * posix/Makefile (before-compile): Use += before-compile instead
12231         of a :=.
12232
12233         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
12234         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
12235
12236 2014-03-20  Andreas Schwab  <schwab@suse.de>
12237
12238         [BZ #16743]
12239         * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
12240         non-matching result from nscd.
12241
12242 2014-03-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
12243
12244         * scripts/bench.py: Moved to ...
12245         * benchtests/scripts/bench.py: ... here.
12246         * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
12247
12248 2014-03-24  Andreas Schwab  <schwab@suse.de>
12249
12250         [BZ #16002]
12251         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
12252         alloca_account and account alloca use for struct in6ailist.
12253
12254 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
12255
12256         [BZ #16284]
12257         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
12258         rounding mode to recompute results that overflow to infinity or
12259         underflow to zero.
12260         * math/auto-libm-test-in: Don't mark tests as expected to fail for
12261         bug 16284.
12262         * math/auto-libm-test-out: Regenerated.
12263         * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
12264         (ccosh_test): Likewise.
12265         (csin_test_data): Use plus_oflow.
12266         (csin_test): Use ALL_RM_TEST.
12267         (csinh_test_data): Use plus_oflow.
12268         (csinh_test): Use ALL_RM_TEST.
12269         * sysdeps/i386/fpu/libm-test-ulps: Update.
12270         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12271
12272 2014-03-21  Joseph Myers  <joseph@codesourcery.com>
12273
12274         * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
12275         * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
12276         * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
12277
12278         [BZ #16731]
12279         * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
12280         when x - 1 is zero.
12281         * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
12282         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
12283         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
12284         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
12285         argument is 1.
12286         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
12287         * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
12288         zero.
12289         * math/libm-test.inc (log_test): Use ALL_RM_TEST.
12290         * sysdeps/i386/fpu/libm-test-ulps: Update.
12291         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12292
12293 2014-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
12294
12295         * scripts/bench.pl: Remove file.
12296         * scripts/bench.py: New benchmark script.
12297         * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
12298         * benchtests/README: Mention python dependency.
12299         * scripts/pylintrc: New file.
12300         * scripts/pylint: New file.
12301
12302         * bits/mathdef.h: Use #ifdef instead of #if.
12303         * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
12304         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
12305         * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
12306         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
12307         * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
12308         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
12309
12310 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12311             Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
12312
12313         * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
12314         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
12315         and strpbrk-ppc64 objects.
12316         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12317         (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
12318         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
12319         multiarch strpbrk for POWER7.
12320         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
12321         multiarch strpbrk for PPC64.
12322         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
12323         ifunc selector.
12324         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
12325         strpbrk for POWER7.
12326
12327 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
12328
12329         * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
12330         (atan_test): Likewise.
12331         (atanh_test_data): Use NO_TEST_INLINE for two tests.
12332         (atanh_test): Use ALL_RM_TEST.
12333         (atan2_test_data): Likewise.
12334         (cabs_test): Likewise.
12335         (cacosh_test): Likewise.
12336         (carg_test): Likewise.
12337         (casin_test): Likewise.
12338         (casinh_test): Likewise.
12339         (cbrt_test): Likewise.
12340         (csqrt_test): Likewise.
12341         (erf_test): Likewise.
12342         (erfc_test): Likewise.
12343         (pow10_test): Likewise.
12344         (exp2_test): Likewise.
12345         (hypot_test): Likewise.
12346         (j0_test): Likewise.
12347         (j1_test): Likewise.
12348         (lgamma_test): Likewise.
12349         (gamma_test): Likewise.
12350         (sincos_test): Likewise.
12351         (tanh_test): Likewise.
12352         (y0_test): Likewise.
12353         (y1_test): Likewise.
12354         * sysdeps/i386/fpu/libm-test-ulps: Update.
12355         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12356
12357 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12358
12359         * string/strcspn.c (strcspn): Using macro to redefine symbol name.
12360         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
12361         and strcspn-ppc64 objects.
12362         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12363         (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
12364         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
12365         multiarch strcspn for POWER7.
12366         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
12367         multiarch strcspn for PPC64.
12368         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
12369         ifunc selector.
12370         * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
12371         strcspn for POWER7.
12372
12373 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
12374
12375         * math/gen-libm-test.pl (generate_testfile): Expect only function
12376         name as argument to AUTO_TESTS_* and pass results for all rounding
12377         modes to parse_args.
12378         (parse_auto_input): Separate inputs of automatic tests from
12379         outputs before storing in %auto_tests.
12380         * math/libm-test.inc (acos_test_data): Update call to
12381         AUTO_TESTS_f_f.
12382         (acos_test): Use ALL_RM_TEST.
12383         (acos_tonearest_test_data): Remove.
12384         (acos_test_tonearest): Likewise.
12385         (acos_towardzero_test_data): Likewise.
12386         (acos_test_towardzero): Likewise.
12387         (acos_downward_test_data): Likewise.
12388         (acos_test_downward): Likewise.
12389         (acos_upward_test_data): Likewise.
12390         (acos_test_upward): Likewise.
12391         (acosh_test_data): Update call to AUTO_TESTS_f_f.
12392         (asin_test_data): Likewise.
12393         (asin_test): Use ALL_RM_TEST.
12394         (asin_tonearest_test_data): Remove.
12395         (asin_test_tonearest): Likewise.
12396         (asin_towardzero_test_data): Likewise.
12397         (asin_test_towardzero): Likewise.
12398         (asin_downward_test_data): Likewise.
12399         (asin_test_downward): Likewise.
12400         (asin_upward_test_data): Likewise.
12401         (asin_test_upward): Likewise.
12402         (asinh_test_data): Update call to AUTO_TESTS_f_f.
12403         (atan_test_data): Likewise.
12404         (atanh_test_data): Likewise.
12405         (atan2_test_data): Update call to AUTO_TESTS_ff_f.
12406         (cabs_test_data): Update call to AUTO_TESTS_c_f.
12407         (carg_test_data): Likewise.
12408         (cbrt_test_data): Update call to AUTO_TESTS_f_f.
12409         (ccos_test_data): Update call to AUTO_TESTS_c_c.
12410         (ccosh_test_data): Likewise.
12411         (cexp_test_data): Likewise.
12412         (clog_test_data): Likewise.
12413         (clog10_test_data): Likewise.
12414         (cos_test_data): Update call to AUTO_TESTS_f_f.
12415         (cos_test): Use ALL_RM_TEST.
12416         (cos_tonearest_test_data): Remove.
12417         (cos_test_tonearest): Likewise.
12418         (cos_towardzero_test_data): Likewise.
12419         (cos_test_towardzero): Likewise.
12420         (cos_downward_test_data): Likewise.
12421         (cos_test_downward): Likewise.
12422         (cos_upward_test_data): Likewise.
12423         (cos_test_upward): Likewise.
12424         (cosh_test_data): Update call to AUTO_TESTS_f_f.
12425         (cosh_test): Use ALL_RM_TEST.
12426         (cosh_tonearest_test_data): Remove.
12427         (cosh_test_tonearest): Likewise.
12428         (cosh_towardzero_test_data): Likewise.
12429         (cosh_test_towardzero): Likewise.
12430         (cosh_downward_test_data): Likewise.
12431         (cosh_test_downward): Likewise.
12432         (cosh_upward_test_data): Likewise.
12433         (cosh_test_upward): Likewise.
12434         (cpow_test_data): Update call to AUTO_TESTS_cc_c.
12435         (csqrt_test_data): Update call to AUTO_TESTS_c_c.
12436         (ctan_test_data): Likewise.
12437         (ctan_test): Use ALL_RM_TEST.
12438         (ctan_tonearest_test_data): Remove.
12439         (ctan_test_tonearest): Likewise.
12440         (ctan_towardzero_test_data): Likewise.
12441         (ctan_test_towardzero): Likewise.
12442         (ctan_downward_test_data): Likewise.
12443         (ctan_test_downward): Likewise.
12444         (ctan_upward_test_data): Likewise.
12445         (ctan_test_upward): Likewise.
12446         (ctanh_test_data): Update call to AUTO_TESTS_c_c.
12447         (ctanh_test): Use ALL_RM_TEST.
12448         (ctanh_tonearest_test_data): Remove.
12449         (ctanh_test_tonearest): Likewise.
12450         (ctanh_towardzero_test_data): Likewise.
12451         (ctanh_test_towardzero): Likewise.
12452         (ctanh_downward_test_data): Likewise.
12453         (ctanh_test_downward): Likewise.
12454         (ctanh_upward_test_data): Likewise.
12455         (ctanh_test_upward): Likewise.
12456         (erf_test_data): Update call to AUTO_TESTS_f_f.
12457         (erfc_test_data): Likewise.
12458         (exp_test_data): Likewise.
12459         (exp_test): Use ALL_RM_TEST.
12460         (exp_tonearest_test_data): Remove.
12461         (exp_test_tonearest): Likewise.
12462         (exp_towardzero_test_data): Likewise.
12463         (exp_test_towardzero): Likewise.
12464         (exp_downward_test_data): Likewise.
12465         (exp_test_downward): Likewise.
12466         (exp_upward_test_data): Likewise.
12467         (exp_test_upward): Likewise.
12468         (exp10_test_data): Update call to AUTO_TESTS_f_f.
12469         (exp10_test): Use ALL_RM_TEST.
12470         (exp10_tonearest_test_data): Remove.
12471         (exp10_test_tonearest): Likewise.
12472         (exp10_towardzero_test_data): Likewise.
12473         (exp10_test_towardzero): Likewise.
12474         (exp10_downward_test_data): Likewise.
12475         (exp10_test_downward): Likewise.
12476         (exp10_upward_test_data): Likewise.
12477         (exp10_test_upward): Likewise.
12478         (exp2_test_data): Update call to AUTO_TESTS_f_f.
12479         (expm1_test_data): Likewise.
12480         (expm1_test): Use ALL_RM_TEST.
12481         (expm1_tonearest_test_data): Remove.
12482         (expm1_test_tonearest): Likewise.
12483         (expm1_towardzero_test_data): Likewise.
12484         (expm1_test_towardzero): Likewise.
12485         (expm1_downward_test_data): Likewise.
12486         (expm1_test_downward): Likewise.
12487         (expm1_upward_test_data): Likewise.
12488         (expm1_test_upward): Likewise.
12489         (fma_test_data): Update call to AUTO_TESTS_fff_f.
12490         (fma_test): Use ALL_RM_TEST.
12491         (fma_towardzero_test_data): Remove.
12492         (fma_test_towardzero): Likewise.
12493         (fma_downward_test_data): Likewise.
12494         (fma_test_downward): Likewise.
12495         (fma_upward_test_data): Likewise.
12496         (fma_test_upward): Likewise.
12497         (hypot_test_data): Update call to AUTO_TESTS_ff_f.
12498         (j0_test_data): Update call to AUTO_TESTS_f_f.
12499         (j1_test_data): Likewise.
12500         (jn_test_data): Update call to AUTO_TESTS_if_f.
12501         (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
12502         (log_test_data): Update call to AUTO_TESTS_f_f.
12503         (log10_test_data): Likewise.
12504         (log1p_test_data): Likewise.
12505         (log2_test_data): Likewise.
12506         (pow_test_data): Update call to AUTO_TESTS_ff_f.
12507         (pow_tonearest_test_data): Likewise.
12508         (sin_test_data): Update call to AUTO_TESTS_f_f.
12509         (sin_test): Use ALL_RM_TEST.
12510         (sin_tonearest_test_data): Remove.
12511         (sin_test_tonearest): Likewise.
12512         (sin_towardzero_test_data): Likewise.
12513         (sin_test_towardzero): Likewise.
12514         (sin_downward_test_data): Likewise.
12515         (sin_test_downward): Likewise.
12516         (sin_upward_test_data): Likewise.
12517         (sin_test_upward): Likewise.
12518         (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
12519         (sinh_test_data): Update call to AUTO_TESTS_f_f.
12520         (sinh_test): Use ALL_RM_TEST.
12521         (sinh_tonearest_test_data): Remove.
12522         (sinh_test_tonearest): Likewise.
12523         (sinh_towardzero_test_data): Likewise.
12524         (sinh_test_towardzero): Likewise.
12525         (sinh_downward_test_data): Likewise.
12526         (sinh_test_downward): Likewise.
12527         (sinh_upward_test_data): Likewise.
12528         (sinh_test_upward): Likewise.
12529         (sqrt_test_data): Update call to AUTO_TESTS_f_f.
12530         (sqrt_test): Use ALL_RM_TEST.
12531         (sqrt_tonearest_test_data): Remove.
12532         (sqrt_test_tonearest): Likewise.
12533         (sqrt_towardzero_test_data): Likewise.
12534         (sqrt_test_towardzero): Likewise.
12535         (sqrt_downward_test_data): Likewise.
12536         (sqrt_test_downward): Likewise.
12537         (sqrt_upward_test_data): Likewise.
12538         (sqrt_test_upward): Likewise.
12539         (tan_test_data): Update call to AUTO_TESTS_f_f.
12540         (tan_test): Use ALL_RM_TEST.
12541         (tan_tonearest_test_data): Remove.
12542         (tan_test_tonearest): Likewise.
12543         (tan_towardzero_test_data): Likewise.
12544         (tan_test_towardzero): Likewise.
12545         (tan_downward_test_data): Likewise.
12546         (tan_test_downward): Likewise.
12547         (tan_upward_test_data): Likewise.
12548         (tan_test_upward): Likewise.
12549         (tanh_test_data): Update call to AUTO_TESTS_f_f.
12550         (tgamma_test_data): Likewise.
12551         (y0_test_data): Likewise.
12552         (y1_test_data): Likewise.
12553         (yn_test_data): Update call to AUTO_TESTS_if_f.
12554         (main): Do not call removed functions.
12555
12556 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
12557
12558         * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
12559         (ldexp_test_data): Remove.
12560         (ldexp_test): Move to after scalbn_test.  Use ALL_RM_TEST with
12561         scalbn_test_data.
12562         (scalb_test): Use ALL_RM_TEST.
12563
12564 2014-03-19  Andreas Schwab  <schwab@suse.de>
12565
12566         * nscd/nscd.service: Also invalidate netgroup cache on reload.
12567
12568 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
12569
12570         [BZ #16649]
12571         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
12572         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
12573         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
12574         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
12575         (__ASSUME_PREADV): Undefine.
12576         (__ASSUME_PWRITEV): Likewise.
12577
12578 2014-03-18  Roland McGrath  <roland@hack.frob.com>
12579
12580         * bits/mman-linux.h: Add comment about non-Linux use.
12581         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
12582         bits/mman-linux.h resting place.
12583
12584         * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
12585         * bits/mman-linux.h: ... here.
12586
12587 2014-03-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12588
12589         * conform/conformtest.pl: Add standard definition when calling C
12590         preprocessor on data files.
12591         (checknamespace): Remove unused variable.
12592
12593 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
12594
12595         * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
12596         minus_oflow, plus_uflow and minus_uflow in expected results.
12597         * math/libm-test.inc (scalbn_test_data): Add more tests of
12598         negative arguments.  Use plus_oflow, minus_oflow, plus_uflow and
12599         minus_uflow.
12600         (scalbn_test): Use ALL_RM_TEST.
12601         (scalbln_test_data): Add more tests of negative arguments.  Use
12602         plus_oflow, minus_oflow, plus_uflow and minus_uflow.
12603         (scalbln_test): Use ALL_RM_TEST.
12604
12605 2014-03-18  Roland McGrath  <roland@hack.frob.com>
12606
12607         * scripts/abilist.awk: Ignore symbols marked with .hidden.
12608
12609 2014-03-18  Will Newton  <will.newton@linaro.org>
12610
12611         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
12612         inaccurate comment.
12613
12614 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
12615
12616         * Makerules [!subdir] (check-abi): Exit with error status if a
12617         test failed.
12618
12619 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
12620
12621         * math/libm-test.inc (nearbyint_test_data): Include all tests used
12622         for rint.  Include results for all rounding modes.
12623         (nearbyint_test): Use ALL_RM_TEST.
12624         (rint_test_data): Include all tests used for nearbyint.
12625
12626 2014-03-17  Will Newton  <will.newton@linaro.org>
12627
12628         * nptl/sysdeps/pthread/pthread.h: Revert previous
12629         change.
12630
12631         * sysdeps/generic/ldsodefs.h: Revert previous
12632         change.
12633
12634         * libio/genops.c: Revert previous change.
12635         * libio/libioP.h: Likewise.
12636         * stdio-common/vfprintf.c: Likewise.
12637
12638         * sysdeps/generic/math_private.h: Revert previous
12639         change.
12640
12641         * sysdeps/generic/math_private.h: Check whether
12642         HAVE_RM_CTX is defined with #ifdef rather
12643         than #if.
12644
12645         * argp/argp-fmtstream.h: Check whether
12646         __STRICT_ANSI__ is defined with #ifdef rather
12647         than #if.
12648         * argp/argp.h: Likewise.
12649
12650         * libio/genops.c: Check whether
12651         _IO_JUMPS_OFFSET is defined with #ifdef rather
12652         than #if.
12653         * libio/libioP.h: Likewise.
12654         * stdio-common/vfprintf.c: Likewise.
12655
12656         * sysdeps/generic/ldsodefs.h: Check whether
12657         HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
12658         than #if.
12659
12660         * nptl/sysdeps/pthread/pthread.h: Check
12661         __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
12662         its value.
12663
12664 2014-03-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
12665
12666         * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
12667         setting O_APPEND.
12668         * libio/tst-ftell-active-handler.c (do_append_test): Add a
12669         test case.
12670
12671         [BZ #16680]
12672         * libio/fileops.c (_IO_file_open): Seek to end of file but
12673         don't cache the offset.
12674         (get_file_offset): Remove function.
12675         (do_ftell): Use cached offset when available.
12676         * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
12677         don't cache the offset.
12678         * libio/tst-ftell-active-handler.c (do_rewind_test): New test
12679         case.
12680         (do_one_test): Call it.
12681         (do_ftell_test): Fix up expected old offset for a+ mode.
12682         * libio/wfileops.c (do_ftell_wide): Used cached offset when
12683         available.
12684
12685         * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
12686         up test status with function return status.
12687         (do_write_test): Likewise.
12688         (do_append_test): Likewise.
12689
12690         * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
12691         && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
12692         Remove.
12693
12694 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
12695
12696         * math/gen-libm-test.pl (parse_args): Handle results specified for
12697         each rounding mode separately.
12698         * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
12699         tests and results from lrint_tonearest_test_data,
12700         lrint_towardzero_test_data, lrint_downward_test_data and
12701         lrint_upward_test_data.
12702         (lrint_test): Use ALL_RM_TEST.
12703         (lrint_tonearest_test_data): Remove.
12704         (lrint_test_tonearest): Likewise.
12705         (lrint_towardzero_test_data): Likewise.
12706         (lrint_test_towardzero): Likewise.
12707         (lrint_downward_test_data): Likewise.
12708         (lrint_test_downward): Likewise.
12709         (lrint_upward_test_data): Likewise.
12710         (lrint_test_upward): Likewise.
12711         (llrint_test_data): Merge in per-rounding-mode tests and results
12712         from llrint_tonearest_test_data, llrint_towardzero_test_data,
12713         llrint_downward_test_data and llrint_upward_test_data.
12714         (llrint_test): Use ALL_RM_TEST.
12715         (llrint_tonearest_test_data): Remove.
12716         (llrint_test_tonearest): Likewise.
12717         (llrint_towardzero_test_data): Likewise.
12718         (llrint_test_towardzero): Likewise.
12719         (llrint_downward_test_data): Likewise.
12720         (llrint_test_downward): Likewise.
12721         (llrint_upward_test_data): Likewise.
12722         (llrint_test_upward): Likewise.
12723         (rint_test_data): Merge in per-rounding-mode tests and results
12724         from rint_tonearest_test_data, rint_towardzero_test_data,
12725         rint_downward_test_data and rint_upward_test_data.  Add
12726         per-rounding-mode results for tests not in those arrays.
12727         (rint_test): Use ALL_RM_TEST.
12728         (rint_tonearest_test_data): Remove.
12729         (rint_test_tonearest): Likewise.
12730         (rint_towardzero_test_data): Likewise.
12731         (rint_test_towardzero): Likewise.
12732         (rint_downward_test_data): Likewise.
12733         (rint_test_downward): Likewise.
12734         (rint_upward_test_data): Likewise.
12735         (rint_test_upward): Likewise.
12736         (main): Don't call removed functions.
12737
12738 2014-03-14  Roland McGrath  <roland@hack.frob.com>
12739
12740         * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
12741         "Compiled on ..." crapola.  It is anti-useful.
12742
12743 2014-03-14  Joseph Myers  <joseph@codesourcery.com>
12744
12745         * scripts/evaluate-test.sh: Handle fourth argument to determine
12746         whether test run should stop on failure.
12747         * Makeconfig (stop-on-test-failure): New variable.
12748         (evaluate-test): Pass fourth argument to evaluate-test.sh based on
12749         $(stop-on-test-failure).
12750         * Makefile (tests): Give a summary of results from testing and
12751         exit with failure status if they include an ERROR or FAIL.
12752         (xtests): Likewise.
12753         * manual/install.texi (Configuring and compiling): Mention
12754         stop-on-test-failure=y.
12755         * INSTALL: Regenerated.
12756
12757 2014-03-14  Roland McGrath  <roland@hack.frob.com>
12758
12759         * scripts/versionlist.awk: New file.
12760         * Makerules [$(build-shared) = yes]
12761         (postclean-generated): Add Versions.def, not Versions.def.v and
12762         Versions.def.v.i.
12763         ($(common-objpfx)Versions.def.v.i): Target removed.
12764         ($(common-objpfx)Versions.def): New target.
12765         ($(common-objpfx)Versions.all): Depend on that rather that
12766         $(common-objpfx)Versions.def.v.
12767         * Versions.def: File removed.
12768
12769         * Makeconfig (+gccwarn): Add -Wundef.
12770         * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
12771         a dl-sysdep.h breaking its contract.
12772         [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
12773         * include/stackinfo.h: New file.
12774         * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
12775         * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
12776         * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
12777         * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
12778         * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
12779         * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
12780         * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
12781         * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
12782         * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
12783         * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
12784         * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
12785         * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
12786         * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
12787         * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
12788         * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
12789
12790 2014-03-14  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12791
12792         [BZ #16707]
12793         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
12794         implementation.
12795         * math/libm-test.inc (round_test_data): Add more tests.
12796
12797         [BZ #16706]
12798         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
12799         implementation.
12800         * math/libm-test.inc (nearbyint_test_data): Add more tests.
12801
12802         [BZ #16701]
12803         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
12804         implementation.
12805         * math/libm-test.inc (ceil_test_data): Add more tests.
12806
12807         * math/libm-test.inc (trunc_test_data): Add more tests related to
12808         BZ#16414.
12809
12810 2014-03-14  Roland McGrath  <roland@hack.frob.com>
12811
12812         * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
12813         with #if rather than #ifdef.
12814         * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
12815
12816 2014-03-14  H.J. Lu  <hongjiu.lu@intel.com>
12817
12818         * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
12819         first.  Disable AVX-512 GCC support if assembler doesn't support
12820         it.
12821         * sysdeps/x86_64/configure: Regenerated.
12822
12823 2014-03-13  Carlos O'Donell  <carlos@redhat.com>
12824
12825         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
12826         [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
12827         (__old_pthread_attr_setstack): Likewise.
12828         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
12829         [!_STACK_GROWS_DOWN]: Likewise.
12830
12831 2014-03-13  Mike Frysinger  <vapier@gentoo.org>
12832
12833         * config.make.in (have-bash2): Delete.
12834         * configure.ac (libc_cv_have_bash2): Delete.
12835         * configure: Regenerate.
12836         * elf/Makefile (common-ldd-rewrite): Rename to ...
12837         (ldd-rewrite): ... this.  Move bash-ldd-rewrite content to end.
12838         (sh-ldd-rewrite): Delete.
12839         (bash-ldd-rewrite): Delete.
12840         (have-bash2): Delete checks.
12841         [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
12842         ldd-rewrite.
12843
12844         * config.make.in (have-ksh): Delete.
12845         (KSH): Delete.
12846         * configure.ac (libc_cv_have_ksh): Delete.
12847         * configure: Regenerate.
12848
12849         * elf/Makefile: Delete $(have-ksh) check.
12850         ($(objpfx)sotruss): Change KSH to BASH.
12851         * elf/sotruss.ksh: Rename to ...
12852         * elf/sotruss.sh: ... this.  Change @KSH@ to @BASH@.  Change
12853         function style to match POSIX.  Drop ksh vim mode setting.
12854
12855         * manual/time.texi (Specifying the Time Zone with TZ): Change
12856         Tuesday to Thursday.
12857
12858         * debug/tst-longjmp_chk2.c: Update header comment.
12859         (stackoverflow_handler): Add comment.  Call assert on pass value.
12860
12861 2014-03-13  Igor Zamyatin  <igor.zamyatin@intel.com>
12862
12863         [BZ #16194]
12864         * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
12865         (HAVE_AVX512_ASM_SUPPORT): Likewise.
12866         * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
12867         (La_x86_64_vector): Add zmm.
12868         * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
12869         (modules-names): Add tst-auditmod10a and tst-auditmod10b.
12870         ($(objpfx)tst-audit10): New target.
12871         ($(objpfx)tst-audit10.out): Likewise.
12872         (tst-audit10-ENV): New.
12873         (AVX512-CFLAGS): Likewise.
12874         (CFLAGS-tst-audit10.c): Likewise.
12875         (CFLAGS-tst-auditmod10a.c): Likewise.
12876         (CFLAGS-tst-auditmod10b.c): Likewise.
12877         * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
12878         HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
12879         * sysdeps/x86_64/configure: Regenerated.
12880         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
12881         AVX-512 zmm register support.
12882         (_dl_x86_64_save_sse): Likewise.
12883         (_dl_x86_64_restore_sse): Likewise.
12884         * sysdeps/x86_64/dl-trampoline.h: Updated to support different
12885         size vector registers.
12886         * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
12887         (ZMM_SIZE): Likewise.
12888         * sysdeps/x86_64/tst-audit10.c: New file.
12889         * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
12890         * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
12891
12892 2014-03-13  Roland McGrath  <roland@hack.frob.com>
12893
12894         * configure.ac (HAVE_EHDR_START): New check.
12895         * configure: Regenerated.
12896         * config.h.in (HAVE_EHDR_START): New #undef.
12897         * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
12898         assuming the lowest-addressed segment maps the start of the file.
12899
12900 2014-03-13  Joseph Myers  <joseph@codesourcery.com>
12901
12902         * INSTALL: Regenerated.
12903
12904 2014-03-13  Will Newton  <will.newton@linaro.org>
12905
12906         * manual/setjmp.texi (System V contexts): Improve
12907         clarity and grammar of documentation.
12908
12909 2014-03-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
12910
12911         [BZ #16381]
12912         * elf/Makefile (tests): Add tst-pie2.
12913         (tests-pie): Add tst-pie2.
12914         * elf/tst-pie2.c: New file.
12915         * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
12916         for ET_EXEC.
12917         * elf/rtld.c (map_doit): Load executable as lt_executable.
12918         (dl_main): Likewise.
12919
12920 2014-03-12  Joseph Myers  <joseph@codesourcery.com>
12921
12922         [BZ #16642]
12923         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
12924         (__ASSUME_PSELECT): Undefine.
12925
12926 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12927
12928         [BZ #16689]
12929         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
12930         (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
12931         static build.
12932         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
12933         selector for static builds.
12934
12935 2014-03-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
12936
12937         [BZ #16695]
12938         * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
12939         key in the buffer.
12940
12941 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12942
12943         * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
12944         IFUNC selector for static builds.
12945
12946 2014-03-11  Joseph Myers  <joseph@codesourcery.com>
12947
12948         * sysdeps/mips/math_private.h [__mips_hard_float]
12949         (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
12950         libc_feresetround_mips_ctx.
12951         [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
12952         [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
12953         [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
12954
12955         [BZ #16677]
12956         * math/s_nextafter.c (__nextafter): Do not return value from
12957         overflowing computation.
12958         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
12959         * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
12960         * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
12961         Likewise.
12962         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
12963         Likewise.
12964         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
12965         * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
12966
12967 2014-03-11  Roland McGrath  <roland@hack.frob.com>
12968
12969         * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
12970         * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
12971         Move sfi_sp use from the load-multiple (that no longer sets sp) to
12972         the new mov targetting sp.
12973
12974 2014-03-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12975
12976         [BZ #16683]
12977         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
12978         Define it for static builds as well.
12979         (NO_BZERO_IMPL): Likewise.
12980
12981 2014-03-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
12982
12983         * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
12984         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
12985         multiarch strspn for PPC64.
12986         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
12987         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
12988         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
12989         (__libc_ifunc_impl_list): Likewise.
12990         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
12991         multiarch optimizations
12992         * string/strspn.c (strspn): Using macro to redefine symbol name.
12993
12994 2014-03-10  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
12995             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12996
12997         * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
12998         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
12999         multiarch strncat for PPC64.
13000         * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
13001         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
13002         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
13003         (__libc_ifunc_impl_list): Likewise.
13004         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
13005         multiarch optimizations
13006
13007 2014-03-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
13008
13009         [BZ #16639]
13010         * nscd/nscd.service: Make service type forking.
13011
13012 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13013
13014         * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
13015         sign in non default rounding modes.
13016         * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
13017
13018 2014-03-08  Joseph Myers  <joseph@codesourcery.com>
13019
13020         * math/libm-test.inc (ALL_RM_TEST): New macro.
13021         (ceil_test): Use ALL_RM_TEST.
13022         (cimag_test): Likewise.
13023         (conj_test): Likewise.
13024         (copysign_test): Likewise.
13025         (cproj_test): Likewise.
13026         (creal_test): Likewise.
13027         (fabs_test): Likewise.
13028         (floor_test): Likewise.
13029         (fmax_test): Likewise.
13030         (fmin_test): Likewise.
13031         (fmod_test): Likewise.
13032         (fpclassify_test): Likewise.
13033         (frexp_test): Likewise.
13034         (ilogb_test): Likewise.
13035         (isfinite_test): Likewise.
13036         (finite_test): Likewise.
13037         (isgreater_test): Likewise.
13038         (isgreaterequal_test): Likewise.
13039         (isinf_test): Likewise.
13040         (isless_test): Likewise.
13041         (islessequal_test): Likewise.
13042         (islessgreater_test): Likewise.
13043         (isnan_test): Likewise.
13044         (isnormal_test): Likewise.
13045         (issignaling_test): Likewise.
13046         (isunordered_test): Likewise.
13047         (logb_test): Likewise.
13048         (logb_downward_test_data): Remove.
13049         (logb_test_downward): Likewise.
13050         (lround_test): Use ALL_RM_TEST.
13051         (llround_test): Likewise.
13052         (modf_test): Likewise.
13053         (nexttoward_test): Likewise.
13054         (remainder_test): Likewise.
13055         (drem_test): Likewise.
13056         (remainder_tonearest_test_data): Likewise.
13057         (remainder_test_tonearest): Likewise.
13058         (drem_test_tonearest): Likewise.
13059         (remainder_towardzero_test_data): Likewise.
13060         (remainder_test_towardzero): Likewise.
13061         (drem_test_towardzero): Likewise.
13062         (remainder_downward_test_data): Likewise.
13063         (remainder_test_downward): Likewise.
13064         (drem_test_downward): Likewise.
13065         (remainder_upward_test_data): Likewise.
13066         (remainder_test_upward): Likewise.
13067         (drem_test_upward): Likewise.
13068         (remquo_test): Use ALL_RM_TEST.  Remove comment about x.
13069         (round_test): Use ALL_RM_TEST.
13070         (signbit_test): Likewise.
13071         (trunc_test): Likewise.
13072         (significand_test): Likewise.
13073         (main): Don't call removed functions.
13074
13075 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
13076
13077         [BZ #16674]
13078         * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
13079         || __USE_XOPEN2K8].
13080         (ILL_ILLOPN): Likewise.
13081         (ILL_ILLADR): Likewise.
13082         (ILL_ILLTRP): Likewise.
13083         (ILL_PRVOPC): Likewise.
13084         (ILL_PRVREG): Likewise.
13085         (ILL_COPROC): Likewise.
13086         (ILL_BADSTK): Likewise.
13087         (FPE_INTDIV): Likewise.
13088         (FPE_INTOVF): Likewise.
13089         (FPE_FLTDIV): Likewise.
13090         (FPE_FLTOVF): Likewise.
13091         (FPE_FLTUND): Likewise.
13092         (FPE_FLTRES): Likewise.
13093         (FPE_FLTINV): Likewise.
13094         (FPE_FLTSUB): Likewise.
13095         (SEGV_MAPERR): Likewise.
13096         (SEGV_ACCERR): Likewise.
13097         (BUS_ADRALN): Likewise.
13098         (BUS_ADRERR): Likewise.
13099         (BUS_OBJERR): Likewise.
13100         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
13101         (TRAP_TRACE): Likewise.
13102         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
13103         __USE_XOPEN2K8].
13104         (CLD_KILLED): Likewise.
13105         (CLD_DUMPED): Likewise.
13106         (CLD_TRAPPED): Likewise.
13107         (CLD_STOPPED): Likewise.
13108         (CLD_CONTINUED): Likewise.
13109         (POLL_IN): Likewise.
13110         (POLL_OUT): Likewise.
13111         (POLL_MSG): Likewise.
13112         (POLL_ERR): Likewise.
13113         (POLL_PRI): Likewise.
13114         (POLL_HUP): Likewise.
13115         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
13116         Likewise.
13117         (ILL_ILLOPN): Likewise.
13118         (ILL_ILLADR): Likewise.
13119         (ILL_ILLTRP): Likewise.
13120         (ILL_PRVOPC): Likewise.
13121         (ILL_PRVREG): Likewise.
13122         (ILL_COPROC): Likewise.
13123         (ILL_BADSTK): Likewise.
13124         (FPE_INTDIV): Likewise.
13125         (FPE_INTOVF): Likewise.
13126         (FPE_FLTDIV): Likewise.
13127         (FPE_FLTOVF): Likewise.
13128         (FPE_FLTUND): Likewise.
13129         (FPE_FLTRES): Likewise.
13130         (FPE_FLTINV): Likewise.
13131         (FPE_FLTSUB): Likewise.
13132         (SEGV_MAPERR): Likewise.
13133         (SEGV_ACCERR): Likewise.
13134         (BUS_ADRALN): Likewise.
13135         (BUS_ADRERR): Likewise.
13136         (BUS_OBJERR): Likewise.
13137         (BUS_MCEERR_AR): Likewise.
13138         (BUS_MCEERR_AO): Likewise.
13139         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
13140         (TRAP_TRACE): Likewise.
13141         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
13142         __USE_XOPEN2K8].
13143         (CLD_KILLED): Likewise.
13144         (CLD_DUMPED): Likewise.
13145         (CLD_TRAPPED): Likewise.
13146         (CLD_STOPPED): Likewise.
13147         (CLD_CONTINUED): Likewise.
13148         (POLL_IN): Likewise.
13149         (POLL_OUT): Likewise.
13150         (POLL_MSG): Likewise.
13151         (POLL_ERR): Likewise.
13152         (POLL_PRI): Likewise.
13153         (POLL_HUP): Likewise.
13154         * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
13155         (ILL_ILLOPN): Likewise.
13156         (ILL_ILLADR): Likewise.
13157         (ILL_ILLTRP): Likewise.
13158         (ILL_PRVOPC): Likewise.
13159         (ILL_PRVREG): Likewise.
13160         (ILL_COPROC): Likewise.
13161         (ILL_BADSTK): Likewise.
13162         (FPE_INTDIV): Likewise.
13163         (FPE_INTOVF): Likewise.
13164         (FPE_FLTDIV): Likewise.
13165         (FPE_FLTOVF): Likewise.
13166         (FPE_FLTUND): Likewise.
13167         (FPE_FLTRES): Likewise.
13168         (FPE_FLTINV): Likewise.
13169         (FPE_FLTSUB): Likewise.
13170         (SEGV_MAPERR): Likewise.
13171         (SEGV_ACCERR): Likewise.
13172         (BUS_ADRALN): Likewise.
13173         (BUS_ADRERR): Likewise.
13174         (BUS_OBJERR): Likewise.
13175         (BUS_MCEERR_AR): Likewise.
13176         (BUS_MCEERR_AO): Likewise.
13177         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
13178         (TRAP_TRACE): Likewise.
13179         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
13180         __USE_XOPEN2K8].
13181         (CLD_KILLED): Likewise.
13182         (CLD_DUMPED): Likewise.
13183         (CLD_TRAPPED): Likewise.
13184         (CLD_STOPPED): Likewise.
13185         (CLD_CONTINUED): Likewise.
13186         (POLL_IN): Likewise.
13187         (POLL_OUT): Likewise.
13188         (POLL_MSG): Likewise.
13189         (POLL_ERR): Likewise.
13190         (POLL_PRI): Likewise.
13191         (POLL_HUP): Likewise.
13192         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
13193         Likewise.
13194         (ILL_ILLOPN): Likewise.
13195         (ILL_ILLADR): Likewise.
13196         (ILL_ILLTRP): Likewise.
13197         (ILL_PRVOPC): Likewise.
13198         (ILL_PRVREG): Likewise.
13199         (ILL_COPROC): Likewise.
13200         (ILL_BADSTK): Likewise.
13201         (ILL_BADIADDR): Likewise.
13202         (ILL_BREAK): Likewise.
13203         (FPE_INTDIV): Likewise.
13204         (FPE_INTOVF): Likewise.
13205         (FPE_FLTDIV): Likewise.
13206         (FPE_FLTOVF): Likewise.
13207         (FPE_FLTUND): Likewise.
13208         (FPE_FLTRES): Likewise.
13209         (FPE_FLTINV): Likewise.
13210         (FPE_FLTSUB): Likewise.
13211         (FPE_DECOVF): Likewise.
13212         (FPE_DECDIV): Likewise.
13213         (FPE_DECERR): Likewise.
13214         (FPE_INVASC): Likewise.
13215         (FPE_INVDEC): Likewise.
13216         (SEGV_MAPERR): Likewise.
13217         (SEGV_ACCERR): Likewise.
13218         (SEGV_PSTKOVF): Likewise.
13219         (BUS_ADRALN): Likewise.
13220         (BUS_ADRERR): Likewise.
13221         (BUS_OBJERR): Likewise.
13222         (BUS_MCEERR_AR): Likewise.
13223         (BUS_MCEERR_AO): Likewise.
13224         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
13225         (TRAP_TRACE): Likewise.
13226         (TRAP_BRANCH): Likewise.
13227         (TRAP_HWBKPT): Likewise.
13228         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
13229         __USE_XOPEN2K8].
13230         (CLD_KILLED): Likewise.
13231         (CLD_DUMPED): Likewise.
13232         (CLD_TRAPPED): Likewise.
13233         (CLD_STOPPED): Likewise.
13234         (CLD_CONTINUED): Likewise.
13235         (POLL_IN): Likewise.
13236         (POLL_OUT): Likewise.
13237         (POLL_MSG): Likewise.
13238         (POLL_ERR): Likewise.
13239         (POLL_PRI): Likewise.
13240         (POLL_HUP): Likewise.
13241         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
13242         (ILL_ILLOPN): Likewise.
13243         (ILL_ILLADR): Likewise.
13244         (ILL_ILLTRP): Likewise.
13245         (ILL_PRVOPC): Likewise.
13246         (ILL_PRVREG): Likewise.
13247         (ILL_COPROC): Likewise.
13248         (ILL_BADSTK): Likewise.
13249         (FPE_INTDIV): Likewise.
13250         (FPE_INTOVF): Likewise.
13251         (FPE_FLTDIV): Likewise.
13252         (FPE_FLTOVF): Likewise.
13253         (FPE_FLTUND): Likewise.
13254         (FPE_FLTRES): Likewise.
13255         (FPE_FLTINV): Likewise.
13256         (FPE_FLTSUB): Likewise.
13257         (SEGV_MAPERR): Likewise.
13258         (SEGV_ACCERR): Likewise.
13259         (BUS_ADRALN): Likewise.
13260         (BUS_ADRERR): Likewise.
13261         (BUS_OBJERR): Likewise.
13262         (BUS_MCEERR_AR): Likewise.
13263         (BUS_MCEERR_AO): Likewise.
13264         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
13265         (TRAP_TRACE): Likewise.
13266         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
13267         __USE_XOPEN2K8].
13268         (CLD_KILLED): Likewise.
13269         (CLD_DUMPED): Likewise.
13270         (CLD_TRAPPED): Likewise.
13271         (CLD_STOPPED): Likewise.
13272         (CLD_CONTINUED): Likewise.
13273         (POLL_IN): Likewise.
13274         (POLL_OUT): Likewise.
13275         (POLL_MSG): Likewise.
13276         (POLL_ERR): Likewise.
13277         (POLL_PRI): Likewise.
13278         (POLL_HUP): Likewise.
13279         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
13280         (ILL_ILLOPN): Likewise.
13281         (ILL_ILLADR): Likewise.
13282         (ILL_ILLTRP): Likewise.
13283         (ILL_PRVOPC): Likewise.
13284         (ILL_PRVREG): Likewise.
13285         (ILL_COPROC): Likewise.
13286         (ILL_BADSTK): Likewise.
13287         (FPE_INTDIV): Likewise.
13288         (FPE_INTOVF): Likewise.
13289         (FPE_FLTDIV): Likewise.
13290         (FPE_FLTOVF): Likewise.
13291         (FPE_FLTUND): Likewise.
13292         (FPE_FLTRES): Likewise.
13293         (FPE_FLTINV): Likewise.
13294         (FPE_FLTSUB): Likewise.
13295         (SEGV_MAPERR): Likewise.
13296         (SEGV_ACCERR): Likewise.
13297         (BUS_ADRALN): Likewise.
13298         (BUS_ADRERR): Likewise.
13299         (BUS_OBJERR): Likewise.
13300         (BUS_MCEERR_AR): Likewise.
13301         (BUS_MCEERR_AO): Likewise.
13302         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
13303         (TRAP_TRACE): Likewise.
13304         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
13305         __USE_XOPEN2K8].
13306         (CLD_KILLED): Likewise.
13307         (CLD_DUMPED): Likewise.
13308         (CLD_TRAPPED): Likewise.
13309         (CLD_STOPPED): Likewise.
13310         (CLD_CONTINUED): Likewise.
13311         (POLL_IN): Likewise.
13312         (POLL_OUT): Likewise.
13313         (POLL_MSG): Likewise.
13314         (POLL_ERR): Likewise.
13315         (POLL_PRI): Likewise.
13316         (POLL_HUP): Likewise.
13317         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
13318         (ILL_ILLOPN): Likewise.
13319         (ILL_ILLADR): Likewise.
13320         (ILL_ILLTRP): Likewise.
13321         (ILL_PRVOPC): Likewise.
13322         (ILL_PRVREG): Likewise.
13323         (ILL_COPROC): Likewise.
13324         (ILL_BADSTK): Likewise.
13325         (FPE_INTDIV): Likewise.
13326         (FPE_INTOVF): Likewise.
13327         (FPE_FLTDIV): Likewise.
13328         (FPE_FLTOVF): Likewise.
13329         (FPE_FLTUND): Likewise.
13330         (FPE_FLTRES): Likewise.
13331         (FPE_FLTINV): Likewise.
13332         (FPE_FLTSUB): Likewise.
13333         (SEGV_MAPERR): Likewise.
13334         (SEGV_ACCERR): Likewise.
13335         (BUS_ADRALN): Likewise.
13336         (BUS_ADRERR): Likewise.
13337         (BUS_OBJERR): Likewise.
13338         (BUS_MCEERR_AR): Likewise.
13339         (BUS_MCEERR_AO): Likewise.
13340         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
13341         (TRAP_TRACE): Likewise.
13342         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
13343         __USE_XOPEN2K8].
13344         (CLD_KILLED): Likewise.
13345         (CLD_DUMPED): Likewise.
13346         (CLD_TRAPPED): Likewise.
13347         (CLD_STOPPED): Likewise.
13348         (CLD_CONTINUED): Likewise.
13349         (POLL_IN): Likewise.
13350         (POLL_OUT): Likewise.
13351         (POLL_MSG): Likewise.
13352         (POLL_ERR): Likewise.
13353         (POLL_PRI): Likewise.
13354         (POLL_HUP): Likewise.
13355         * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
13356         (ILL_ILLOPN): Likewise.
13357         (ILL_ILLADR): Likewise.
13358         (ILL_ILLTRP): Likewise.
13359         (ILL_PRVOPC): Likewise.
13360         (ILL_PRVREG): Likewise.
13361         (ILL_COPROC): Likewise.
13362         (ILL_BADSTK): Likewise.
13363         (ILL_DBLFLT): Likewise.
13364         (ILL_HARDWALL): Likewise.
13365         (FPE_INTDIV): Likewise.
13366         (FPE_INTOVF): Likewise.
13367         (FPE_FLTDIV): Likewise.
13368         (FPE_FLTOVF): Likewise.
13369         (FPE_FLTUND): Likewise.
13370         (FPE_FLTRES): Likewise.
13371         (FPE_FLTINV): Likewise.
13372         (FPE_FLTSUB): Likewise.
13373         (SEGV_MAPERR): Likewise.
13374         (SEGV_ACCERR): Likewise.
13375         (BUS_ADRALN): Likewise.
13376         (BUS_ADRERR): Likewise.
13377         (BUS_OBJERR): Likewise.
13378         (BUS_MCEERR_AR): Likewise.
13379         (BUS_MCEERR_AO): Likewise.
13380         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
13381         (TRAP_TRACE): Likewise.
13382         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
13383         __USE_XOPEN2K8].
13384         (CLD_KILLED): Likewise.
13385         (CLD_DUMPED): Likewise.
13386         (CLD_TRAPPED): Likewise.
13387         (CLD_STOPPED): Likewise.
13388         (CLD_CONTINUED): Likewise.
13389         (POLL_IN): Likewise.
13390         (POLL_OUT): Likewise.
13391         (POLL_MSG): Likewise.
13392         (POLL_ERR): Likewise.
13393         (POLL_PRI): Likewise.
13394         (POLL_HUP): Likewise.
13395         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
13396         (ILL_ILLOPN): Likewise.
13397         (ILL_ILLADR): Likewise.
13398         (ILL_ILLTRP): Likewise.
13399         (ILL_PRVOPC): Likewise.
13400         (ILL_PRVREG): Likewise.
13401         (ILL_COPROC): Likewise.
13402         (ILL_BADSTK): Likewise.
13403         (FPE_INTDIV): Likewise.
13404         (FPE_INTOVF): Likewise.
13405         (FPE_FLTDIV): Likewise.
13406         (FPE_FLTOVF): Likewise.
13407         (FPE_FLTUND): Likewise.
13408         (FPE_FLTRES): Likewise.
13409         (FPE_FLTINV): Likewise.
13410         (FPE_FLTSUB): Likewise.
13411         (SEGV_MAPERR): Likewise.
13412         (SEGV_ACCERR): Likewise.
13413         (BUS_ADRALN): Likewise.
13414         (BUS_ADRERR): Likewise.
13415         (BUS_OBJERR): Likewise.
13416         (BUS_MCEERR_AR): Likewise.
13417         (BUS_MCEERR_AO): Likewise.
13418         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
13419         (TRAP_TRACE): Likewise.
13420         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
13421         __USE_XOPEN2K8].
13422         (CLD_KILLED): Likewise.
13423         (CLD_DUMPED): Likewise.
13424         (CLD_TRAPPED): Likewise.
13425         (CLD_STOPPED): Likewise.
13426         (CLD_CONTINUED): Likewise.
13427         (POLL_IN): Likewise.
13428         (POLL_OUT): Likewise.
13429         (POLL_MSG): Likewise.
13430         (POLL_ERR): Likewise.
13431         (POLL_PRI): Likewise.
13432         (POLL_HUP): Likewise.
13433         * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
13434         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
13435
13436         [BZ #16670]
13437         * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
13438         before #include of <time.h>.
13439         [!__USE_XOPEN2K] (__need_timespec): Likewise.
13440         * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
13441         (test-xfail-UNIX98/sched.h/conform): Likewise.
13442
13443 2014-03-07  Marcus Shawcroft  <marcus.shawcroft@arm.com>
13444
13445         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
13446         error absence of trapping exception support.
13447         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
13448
13449 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
13450
13451         * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
13452         ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
13453         * timezone/Makefile (testdata): Move definition above include of
13454         Rules.
13455         (test-zones): New variable.
13456         (tests-special): Add zone files.
13457         (build-testdata): Use $(evaluate-test).
13458
13459         * elf/Makefile (tests-special): Rename tests to end with .out.
13460         ($(objpfx)noload-mem): Likewise.
13461         ($(objpfx)tst-leaks1-mem): Likewise.
13462         ($(objpfx)tst-leaks1-static-mem.out): Likewise.
13463         * iconv/Makefile (xtests-special): Change test-iconvconfig to
13464         $(objpfx)test-iconvconfig.out.
13465         (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out.  Use
13466         set -e inside subshell and redirect output to file.
13467         * iconvdata/Makefile (generated): Rename tests to end with .out.
13468         Correct type.
13469         (tests-special): Rename tests to end with .out.
13470         ($(objpfx)mtrace-tst-loading): Likewise.
13471         * intl/Makefile (generated): Likewise.
13472         (tests-special): Likewise.
13473         ($(objpfx)mtrace-tst-gettext): Likewise.
13474         * misc/Makefile (generated): Likewise.
13475         (tests-special): Likewise.
13476         ($(objpfx)tst-error1-mem): Likewise.
13477         * nptl/Makefile (tests-special): Likewise.
13478         ($(objpfx)tst-stack3-mem): Likewise.
13479         (generated): Likewise.
13480         * posix/Makefile (generated): Likewise.
13481         (tests-special): Likewise.
13482         (xtests-special): Likewise.
13483         ($(objpfx)tst-fnmatch-mem): Likewise.
13484         ($(objpfx)bug-regex2-mem): Likewise.
13485         ($(objpfx)bug-regex14-mem): Likewise.
13486         ($(objpfx)bug-regex21-mem): Likewise.
13487         ($(objpfx)bug-regex31-mem): Likewise.
13488         ($(objpfx)tst-vfork3-mem): Likewise.
13489         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
13490         ($(objpfx)tst-pcre-mem): Likewise.
13491         ($(objpfx)tst-boost-mem): Likewise.
13492         ($(objpfx)bug-ga2-mem): Likewise.
13493         ($(objpfx)bug-glob2-mem): Likewise.
13494         * resolv/Makefile (generate): Likewise.
13495         (tests-special): Likewise.
13496         (xtests-special): Likewise.
13497         (generated): Likewise.
13498         ($(objpfx)mtrace-tst-leaks): Likewise.
13499         ($(objpfx)mtrace-tst-leaks2): Likewise.
13500
13501         * scripts/merge-test-results.sh: New file.
13502         * Makefile (tests-special-notdir): New variable.
13503         (tests): Run merge-test-results.sh.
13504         (xtests): Likewise.
13505         * Rules (tests-special-notdir): New variable.
13506         (xtests-special-notdir): Likewise.
13507         (tests): Run merge-test-results.sh
13508         (xtests): Likewise.
13509
13510         * Makeconfig (test-xfail-name): New variable.
13511         (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
13512         compute variable name for expected failures.
13513         * conform/Makefile (conformtest-headers-data): New variable.
13514         (conformtest-standards): Likewise.
13515         (conformtest-headers-ISO): Likewise.
13516         (conformtest-headers-ISO99): Likewise.
13517         (conformtest-headers-ISO11): Likewise.
13518         (conformtest-headers-POSIX): Likewise.
13519         (conformtest-headers-XPG3): Likewise.
13520         (conformtest-headers-XPG4): Likewise.
13521         (conformtest-headers-UNIX98): Likewise.
13522         (conformtest-headers-XOPEN2K): Likewise.
13523         (conformtest-headers-POSIX2008): Likewise.
13524         (conformtest-headers-XOPEN2K8): Likewise.
13525         (conformtest-header-list-base): Likewise.
13526         (conformtest-header-list-tests): Likewise.
13527         (conformtest-header-base): Likewise.
13528         (conformtest-header-tests): Likewise.
13529         (tests-special): Add $(conformtest-header-list-tests).  If
13530         [$(fast-check) && !$(cross-compiling)], add
13531         $(conformtest-header-tests) instead of
13532         $(objpfx)run-conformtest.out.
13533         (generated): Add $(conformtest-header-list-base).  If
13534         [$(fast-check) && !$(cross-compiling)], add
13535         $(conformtest-header-base).  Remove previous setting.
13536         ($(conformtest-header-list-tests)): New target.
13537         (test-xfail-run-conformtest): Remove variable.
13538         ($(objpfx)run-conformtest.out): Remove target.
13539         (test-xfail-ISO11/complex.h/conform): New variable.
13540         (test-xfail-ISO11/stdalign.h/conform): Likewise.
13541         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
13542         (test-xfail-XPG3/varargs.h/conform): Likewise.
13543         (test-xfail-XPG4/varargs.h/conform): Likewise.
13544         (test-xfail-UNIX98/varargs.h/conform): Likewise.
13545         (test-xfail-XPG4/ndbm.h/conform): Likewise.
13546         (test-xfail-UNIX98/ndbm.h/conform): Likewise.
13547         (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
13548         (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
13549         (test-xfail-XPG3/fcntl.h/conform): Likewise.
13550         (test-xfail-XPG3/ftw.h/conform): Likewise.
13551         (test-xfail-XPG3/grp.h/conform): Likewise.
13552         (test-xfail-XPG3/langinfo.h/conform): Likewise.
13553         (test-xfail-XPG3/limits.h/conform): Likewise.
13554         (test-xfail-XPG3/pwd.h/conform): Likewise.
13555         (test-xfail-XPG3/search.h/conform): Likewise.
13556         (test-xfail-XPG3/signal.h/conform): Likewise.
13557         (test-xfail-XPG3/stdio.h/conform): Likewise.
13558         (test-xfail-XPG3/stdlib.h/conform): Likewise.
13559         (test-xfail-XPG3/string.h/conform): Likewise.
13560         (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
13561         (test-xfail-XPG3/sys/msg.h/conform): Likewise.
13562         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
13563         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
13564         (test-xfail-XPG3/sys/stat.h/conform): Likewise.
13565         (test-xfail-XPG3/sys/types.h/conform): Likewise.
13566         (test-xfail-XPG3/sys/wait.h/conform): Likewise.
13567         (test-xfail-XPG3/termios.h/conform): Likewise.
13568         (test-xfail-XPG3/time.h/conform): Likewise.
13569         (test-xfail-XPG3/unistd.h/conform): Likewise.
13570         (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
13571         (test-xfail-XPG4/fcntl.h/conform): Likewise.
13572         (test-xfail-XPG4/langinfo.h/conform): Likewise.
13573         (test-xfail-XPG4/netdb.h/conform): Likewise.
13574         (test-xfail-XPG4/netinet/in.h/conform): Likewise.
13575         (test-xfail-XPG4/signal.h/conform): Likewise.
13576         (test-xfail-XPG4/stdio.h/conform): Likewise.
13577         (test-xfail-XPG4/stdlib.h/conform): Likewise.
13578         (test-xfail-XPG4/stropts.h/conform): Likewise.
13579         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
13580         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
13581         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
13582         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
13583         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
13584         (test-xfail-XPG4/sys/stat.h/conform): Likewise.
13585         (test-xfail-XPG4/sys/time.h/conform): Likewise.
13586         (test-xfail-XPG4/sys/types.h/conform): Likewise.
13587         (test-xfail-XPG4/sys/wait.h/conform): Likewise.
13588         (test-xfail-XPG4/termios.h/conform): Likewise.
13589         (test-xfail-XPG4/ucontext.h/conform): Likewise.
13590         (test-xfail-XPG4/unistd.h/conform): Likewise.
13591         (test-xfail-XPG4/utmpx.h/conform): Likewise.
13592         (test-xfail-POSIX/sched.h/conform): Likewise.
13593         (test-xfail-POSIX/signal.h/conform): Likewise.
13594         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
13595         (test-xfail-POSIX/tar.h/conform): Likewise.
13596         (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
13597         (test-xfail-UNIX98/fcntl.h/conform): Likewise.
13598         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
13599         (test-xfail-UNIX98/netdb.h/conform): Likewise.
13600         (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
13601         (test-xfail-UNIX98/sched.h/conform): Likewise.
13602         (test-xfail-UNIX98/signal.h/conform): Likewise.
13603         (test-xfail-UNIX98/stdio.h/conform): Likewise.
13604         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
13605         (test-xfail-UNIX98/stropts.h/conform): Likewise.
13606         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
13607         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
13608         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
13609         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
13610         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
13611         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
13612         (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
13613         (test-xfail-UNIX98/ucontext.h/conform): Likewise.
13614         (test-xfail-UNIX98/unistd.h/conform): Likewise.
13615         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
13616         (test-xfail-XOPEN2K/aio.h/conform): Likewise.
13617         (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
13618         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
13619         (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
13620         (test-xfail-XOPEN2K/math.h/conform): Likewise.
13621         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
13622         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
13623         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
13624         (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
13625         (test-xfail-XOPEN2K/signal.h/conform): Likewise.
13626         (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
13627         (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
13628         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
13629         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
13630         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
13631         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
13632         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
13633         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
13634         (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
13635         (test-xfail-XOPEN2K/termios.h/conform): Likewise.
13636         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
13637         (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
13638         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
13639         (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
13640         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
13641         (test-xfail-POSIX2008/netdb.h/conform): Likewise.
13642         (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
13643         (test-xfail-POSIX2008/signal.h/conform): Likewise.
13644         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
13645         (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
13646         (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
13647         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
13648         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
13649         (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
13650         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
13651         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
13652         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
13653         (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
13654         (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
13655         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
13656         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
13657         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
13658         (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
13659         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
13660         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
13661         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
13662         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
13663         (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
13664         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
13665         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
13666         (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
13667         (conformtest-cc-flags): Likewise.
13668         ($(conformtest-header-tests): New target.
13669         * conform/check-header-lists.sh: New file.
13670         * conform/run-conformtest.sh: Remove.
13671
13672         * conform/conformtest.pl: Allow ' and \ in values given for
13673         constants.
13674         * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
13675         inclusion.
13676         [POSIX] (sys/types.h): Likewise.
13677         [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
13678         inclusion.
13679         [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
13680         inclusion.
13681         * conform/data/signal.h-data (SIGIO): Remove expectation.
13682         [XPG3] (SIGBUS): Do not expect.
13683         [POSIX || XPG3] (SIGPOLL): Likewise.
13684         [POSIX || XPG3] (SIGPROF): Likewise.
13685         [POSIX || XPG3] (SIGSYS): Likewise.
13686         [XPG3] (SIGTRAP): Likewise.
13687         [POSIX || XPG3] (SIGURG): Likewise.
13688         [POSIX || XPG3] (SIGVTALRM): Likewise.
13689         [POSIX || XPG3] (SIGXCPU): Likewise.
13690         [POSIX || XPG3] (SIGXFSZ): Likewise.
13691         [POSIX] (SA_SIGINFO): Expect.
13692         [XPG3] (siginfo_t): Do not expect type or contents.
13693         [POSIX] (si_pid): Do not expect element.
13694         [POSIX] (si_uid): Likewise.
13695         [POSIX] (si_addr): Likewise.
13696         [POSIX] (si_status): Likewise.
13697         [POSIX] (si_band): Likewise.
13698         [XPG4] (si_value): Likewise.
13699         [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
13700         [POSIX || XPG3] (ILL_ILLOPN): Likewise.
13701         [POSIX || XPG3] (ILL_ILLADR): Likewise.
13702         [POSIX || XPG3] (ILL_ILLTRP): Likewise.
13703         [POSIX || XPG3] (ILL_PRVOPC): Likewise.
13704         [POSIX || XPG3] (ILL_PRVREG): Likewise.
13705         [POSIX || XPG3] (ILL_COPROC): Likewise.
13706         [POSIX || XPG3] (ILL_BADSTK): Likewise.
13707         [POSIX || XPG3] (FPE_INTDIV): Likewise.
13708         [POSIX || XPG3] (FPE_INTOVF): Likewise.
13709         [POSIX || XPG3] (FPE_FLTDIV): Likewise.
13710         [POSIX || XPG3] (FPE_FLTOVF): Likewise.
13711         [POSIX || XPG3] (FPE_FLTUND): Likewise.
13712         [POSIX || XPG3] (FPE_FLTRES): Likewise.
13713         [POSIX || XPG3] (FPE_FLTINV): Likewise.
13714         [POSIX || XPG3] (FPE_FLTSUB): Likewise.
13715         [POSIX || XPG3] (SEGV_MAPERR): Likewise.
13716         [POSIX || XPG3] (SEGV_ACCERR): Likewise.
13717         [POSIX || XPG3] (BUS_ADRALN): Likewise.
13718         [POSIX || XPG3] (BUS_ADRERR): Likewise.
13719         [POSIX || XPG3] (BUS_OBJERR): Likewise.
13720         [POSIX || XPG3] (CLD_EXITED): Likewise.
13721         [POSIX || XPG3] (CLD_KILLED): Likewise.
13722         [POSIX || XPG3] (CLD_DUMPED): Likewise.
13723         [POSIX || XPG3] (CLD_TRAPPED): Likewise.
13724         [POSIX || XPG3] (CLD_STOPPED): Likewise.
13725         [POSIX || XPG3] (CLD_CONTINUED): Likewise.
13726         [POSIX || XPG3] (POLL_IN): Likewise.
13727         [POSIX || XPG3] (POLL_OUT): Likewise.
13728         [POSIX || XPG3] (POLL_MSG): Likewise.
13729         [POSIX || XPG3] (POLL_ERR): Likewise.
13730         [POSIX || XPG3] (POLL_PRI): Likewise.
13731         [POSIX || XPG3] (POLL_HUP): Likewise.
13732         [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
13733         [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
13734         (SIG*): Do not allow.
13735         [XPG3] (si_*): Likewise.
13736         [XPG3] (SI_*): Likewise.
13737         [XPG3 || XPG4] (sigev_*): Likewise.
13738         [XPG3 || XPG4] (SIGEV_*): Likewise.
13739         [XPG3 || XPG4] (sival_*): Likewise.
13740         [POSIX || XPG3 || XPG4] (uc_*): Likewise.
13741         [POSIX || XPG3] (BUS_*): Likewise.
13742         [POSIX || XPG3] (CLD_*): Likewise.
13743         [POSIX || XPG3] (FPE_*): Likewise.
13744         [POSIX || XPG3] (ILL_*): Likewise.
13745         [POSIX || XPG3] (POLL_*): Likewise.
13746         [POSIX || XPG3] (SEGV_*): Likewise.
13747         [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
13748         [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
13749         [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
13750         [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
13751         [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
13752         * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
13753         Specify type and value.
13754         (TVERSLEN): Likewise.
13755         (REGTYPE): Likewise.
13756         (AREGTYPE): Likewise.
13757         (LNKTYPE): Likewise.
13758         (SYMTYPE): Likewise.
13759         (CHRTYPE): Likewise.
13760         (BLKTYPE): Likewise.
13761         (DIRTYPE): Likewise.
13762         (FIFOTYPE): Likewise.
13763         (CONTTYPE): Likewise.
13764         (TSUID): Likewise.
13765         (TSGID): Likewise.
13766         (TSVTX): Likewise.
13767         (TUREAD): Likewise.
13768         (TUWRITE): Likewise.
13769         (TUEXEC): Likewise.
13770         (TGREAD): Likewise.
13771         (TGWRITE): Likewise.
13772         (TGEXEC): Likewise.
13773         (TOREAD): Likewise.
13774         (TOWRITE): Likewise.
13775         (TOEXEC): Likewise.
13776         [POSIX] (TSVTX): Expect constant.
13777
13778 2014-03-06  Joseph Myers  <joseph@codesourcery.com>
13779
13780         * Makefile (tests): Change dependencies to ....
13781         (tests-special): ... additions to this variable.
13782         (tests): Depend on $(tests-special).
13783         * Makerules (check-abi-list): New variable.
13784         (check-abi): Depend on $(check-abi-list).
13785         [$(subdir) = elf] (tests-special): Add
13786         $(objpfx)check-abi-libc.out.
13787         [$(build-shared) = yes && subdir] (tests-special): Add
13788         $(check-abi-list).
13789         [$(build-shared) = yes && subdir] (tests): Do not depend on
13790         check-abi.
13791         * Rules (tests): Depend on $(tests-special).
13792         (xtests): Depend on $(xtests-special).
13793         * catgets/Makefile (tests): Change dependencies to ....
13794         (tests-special): ... additions to this variable.
13795         * conform/Makefile (tests): Change dependencies to ....
13796         (tests-special): ... additions to this variable.
13797         * elf/Makefile (tests): Change dependencies to ....
13798         (tests-special): ... additions to this variable.
13799         * grp/Makefile (tests): Change dependencies to ....
13800         (tests-special): ... additions to this variable.
13801         * iconv/Makefile (xtests): Change dependencies to ....
13802         (xtests-special): ... additions to this variable.
13803         * iconvdata/Makefile (tests): Change dependencies to ....
13804         (tests-special): ... additions to this variable.
13805         * intl/Makefile (tests): Change dependencies to ....
13806         (tests-special): ... additions to this variable.  Also add
13807         $(objpfx)tst-gettext.out.
13808         * io/Makefile (tests): Change dependencies to ....
13809         (tests-special): ... additions to this variable.
13810         * libio/Makefile (tests): Change dependencies to ....
13811         (tests-special): ... additions to this variable.
13812         * malloc/Makefile (tests): Change dependencies to ....
13813         (tests-special): ... additions to this variable.
13814         * misc/Makefile (tests): Change dependencies to ....
13815         (tests-special): ... additions to this variable.
13816         * nptl/Makefile (tests): Change dependencies to ....
13817         (tests-special): ... additions to this variable.
13818         * nptl_db/Makefile (tests): Change dependencies to ....
13819         (tests-special): ... additions to this variable.
13820         * posix/Makefile (tests): Change dependencies to ....
13821         (tests-special): ... additions to this variable.
13822         (xtests): Change dependencies to ....
13823         (xtests-special): ... additions to this variable.
13824         * resolv/Makefile (tests): Change dependencies to ....
13825         (tests-special): ... additions to this variable.
13826         (xtests): Change dependencies to ....
13827         (xtests-special): ... additions to this variable.
13828         * stdio-common/Makefile (tests): Change dependencies to ....
13829         (tests-special): ... additions to this variable.
13830         (do-tst-unbputc): Remove target.
13831         (do-tst-printf): Likewise.
13832         * stdlib/Makefile (tests): Change dependencies to ....
13833         (tests-special): ... additions to this variable.
13834         * string/Makefile (tests): Change dependencies to ....
13835         (tests-special): ... additions to this variable.
13836         * sysdeps/x86/Makefile (tests): Change dependencies to ....
13837         (tests-special): ... additions to this variable.
13838
13839         * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
13840         whole file.
13841         * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
13842         whole file.
13843         * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
13844         * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
13845
13846         * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
13847         * conform/data/arpa/inet.h-data [XPG3]: Likewise.
13848         * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
13849         * conform/data/fmtmsg.h-data [XPG3]: Likewise.
13850         * conform/data/libgen.h-data [XPG3]: Likewise.
13851         * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
13852         * conform/data/ndbm.h-data [XPG3]: Likewise.
13853         * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
13854         * conform/data/netdb.h-data [XPG3]: Likewise.
13855         * conform/data/netinet/in.h-data [XPG3]: Likewise.
13856         * conform/data/poll.h-data [XPG3]: Likewise.
13857         * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
13858         * conform/data/strings.h-data [XPG3]: Likewise.
13859         * conform/data/stropts.h-data [XPG3]: Likewise.
13860         * conform/data/sys/mman.h-data [XPG3]: Likewise.
13861         * conform/data/sys/resource.h-data [XPG3]: Likewise.
13862         * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
13863         Likewise.
13864         * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
13865         * conform/data/sys/time.h-data [XPG3]: Likewise.
13866         * conform/data/sys/timeb.h-data [XPG3]: Likewise.
13867         * conform/data/sys/uio.h-data [XPG3]: Likewise.
13868         * conform/data/sys/un.h-data [XPG3]: Likewise.
13869         * conform/data/syslog.h-data [XPG3]: Likewise.
13870         * conform/data/ucontext.h-data [XPG3]: Likewise.
13871         * conform/data/utmpx.h-data [XPG3]: Likewise.
13872         * conform/data/varargs.h-data [UNIX98]: Enable file.
13873
13874         * manual/Makefile (INSTALL_INFO): Remove variable setting.
13875
13876         * math/libm-test.inc (struct test_f_f_data): Move expected results
13877         into structure for each rounding mode.
13878         (struct test_ff_f_data): Likewise.
13879         (struct test_ff_f_data_nexttoward): Likewise.
13880         (struct test_fi_f_data): Likewise.
13881         (struct test_fl_f_data): Likewise.
13882         (struct test_if_f_data): Likewise.
13883         (struct test_fff_f_data): Likewise.
13884         (struct test_c_f_data): Likewise.
13885         (struct test_f_f1_data): Likewise.
13886         (struct test_fF_f1_data): Likewise.
13887         (struct test_ffI_f1_data): Likewise.
13888         (struct test_c_c_data): Likewise.
13889         (struct test_cc_c_data): Likewise.
13890         (struct test_f_i_data): Likewise.
13891         (struct test_ff_i_data): Likewise.
13892         (struct test_f_l_data): Likewise.
13893         (struct test_f_L_data): Likewise.
13894         (struct test_fFF_11_data): Likewise.
13895         (RM_): New macro.
13896         (RM_FE_DOWNWARD): Likewise.
13897         (RM_FE_TONEAREST): Likewise.
13898         (RM_FE_TOWARDZERO): Likewise.
13899         (RM_FE_UPWARD): Likewise.
13900         (RUN_TEST_LOOP_f_f): Update references to expected results.
13901         (RUN_TEST_LOOP_2_f): Likewise.
13902         (RUN_TEST_LOOP_fff_f): Likewise.
13903         (RUN_TEST_LOOP_c_f): Likewise.
13904         (RUN_TEST_LOOP_f_f1): Likewise.
13905         (RUN_TEST_LOOP_fF_f1): Likewise.
13906         (RUN_TEST_LOOP_fI_f1): Likewise.
13907         (RUN_TEST_LOOP_ffI_f1): Likewise.
13908         (RUN_TEST_LOOP_c_c): Likewise.
13909         (RUN_TEST_LOOP_cc_c): Likewise.
13910         (RUN_TEST_LOOP_f_i): Likewise.
13911         (RUN_TEST_LOOP_f_i_tg): Likewise.
13912         (RUN_TEST_LOOP_ff_i_tg): Likewise.
13913         (RUN_TEST_LOOP_f_b): Likewise.
13914         (RUN_TEST_LOOP_f_b_tg): Likewise.
13915         (RUN_TEST_LOOP_f_l): Likewise.
13916         (RUN_TEST_LOOP_f_L): Likewise.
13917         (RUN_TEST_LOOP_fFF_11): Likewise.
13918         * math/gen-libm-test.pl (parse_args): Output four copies of
13919         expected results for each test.
13920
13921         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
13922         (__ASSUME_UTIMES): Remove.
13923         * sysdeps/unix/sysv/linux/tile/kernel-features.h
13924         (__ASSUME_UTIMES): Likewise.
13925
13926         * math/gen-auto-libm-tests.c: Update comment on output format.
13927         (output_for_one_input_case): Generate before-rounding and
13928         after-rounding information as conditions on output flags not
13929         floating-point format.
13930         * math/auto-libm-test-out: Regenerated.
13931         * math/gen-libm-test.pl (cond_value): New function.
13932         (or_cond_value): Use cond_value.
13933         (generate_testfile): Handle conditional exceptions.
13934
13935 2014-03-05  Joseph Myers  <joseph@codesourcery.com>
13936
13937         * math/libm-test.inc (max_valid_error): New variable.
13938         (init_max_error): Take new argument specifying whether function
13939         results are exactly determined.  Set max_valid_error and bound
13940         other variables for errors based on this argument.
13941         (set_max_error): Do not record results above max_valid_error.
13942         (check_float_internal): Only accept errors of up to 0.5ulps if
13943         also at most max_valid_error.
13944         (START): Take new argument EXACT and pass it to init_max_error.
13945         (acos_test): Update call to START.
13946         (acos_test_tonearest): Likewise.
13947         (acos_test_towardzero): Likewise.
13948         (acos_test_downward): Likewise.
13949         (acos_test_upward): Likewise.
13950         (acosh_test): Likewise.
13951         (asin_test): Likewise.
13952         (asin_test_tonearest): Likewise.
13953         (asin_test_towardzero): Likewise.
13954         (asin_test_downward): Likewise.
13955         (asin_test_upward): Likewise.
13956         (asinh_test): Likewise.
13957         (atan_test): Likewise.
13958         (atanh_test): Likewise.
13959         (atan2_test): Likewise.
13960         (cabs_test): Likewise.
13961         (cacos_test): Likewise.
13962         (cacosh_test): Likewise.
13963         (carg_test): Likewise.
13964         (casin_test): Likewise.
13965         (casinh_test): Likewise.
13966         (catan_test): Likewise.
13967         (catanh_test): Likewise.
13968         (cbrt_test): Likewise.
13969         (ccos_test): Likewise.
13970         (ccosh_test): Likewise.
13971         (ceil_test): Likewise.
13972         (cexp_test): Likewise.
13973         (cimag_test): Likewise.
13974         (clog_test): Likewise.
13975         (clog10_test): Likewise.
13976         (conj_test): Likewise.
13977         (copysign_test): Likewise.
13978         (cos_test): Likewise.
13979         (cos_test_tonearest): Likewise.
13980         (cos_test_towardzero): Likewise.
13981         (cos_test_downward): Likewise.
13982         (cos_test_upward): Likewise.
13983         (cosh_test): Likewise.
13984         (cosh_test_tonearest): Likewise.
13985         (cosh_test_towardzero): Likewise.
13986         (cosh_test_downward): Likewise.
13987         (cosh_test_upward): Likewise.
13988         (cpow_test): Likewise.
13989         (cproj_test): Likewise.
13990         (creal_test): Likewise.
13991         (csin_test): Likewise.
13992         (csinh_test): Likewise.
13993         (csqrt_test): Likewise.
13994         (ctan_test): Likewise.
13995         (ctan_test_tonearest): Likewise.
13996         (ctan_test_towardzero): Likewise.
13997         (ctan_test_downward): Likewise.
13998         (ctan_test_upward): Likewise.
13999         (ctanh_test): Likewise.
14000         (ctanh_test_tonearest): Likewise.
14001         (ctanh_test_towardzero): Likewise.
14002         (ctanh_test_downward): Likewise.
14003         (ctanh_test_upward): Likewise.
14004         (erf_test): Likewise.
14005         (erfc_test): Likewise.
14006         (exp_test): Likewise.
14007         (exp_test_tonearest): Likewise.
14008         (exp_test_towardzero): Likewise.
14009         (exp_test_downward): Likewise.
14010         (exp_test_upward): Likewise.
14011         (exp10_test): Likewise.
14012         (exp10_test_tonearest): Likewise.
14013         (exp10_test_towardzero): Likewise.
14014         (exp10_test_downward): Likewise.
14015         (exp10_test_upward): Likewise.
14016         (pow10_test): Likewise.
14017         (exp2_test): Likewise.
14018         (expm1_test): Likewise.
14019         (expm1_test_tonearest): Likewise.
14020         (expm1_test_towardzero): Likewise.
14021         (expm1_test_downward): Likewise.
14022         (expm1_test_upward): Likewise.
14023         (fabs_test): Likewise.
14024         (fdim_test): Likewise.
14025         (floor_test): Likewise.
14026         (fma_test): Likewise.
14027         (fma_test_towardzero): Likewise.
14028         (fma_test_downward): Likewise.
14029         (fma_test_upward): Likewise.
14030         (fmax_test): Likewise.
14031         (fmin_test): Likewise.
14032         (fmod_test): Likewise.
14033         (fpclassify_test): Likewise.
14034         (frexp_test): Likewise.
14035         (hypot_test): Likewise.
14036         (ilogb_test): Likewise.
14037         (isfinite_test): Likewise.
14038         (finite_test): Likewise.
14039         (isgreater_test): Likewise.
14040         (isgreaterequal_test): Likewise.
14041         (isinf_test): Likewise.
14042         (isless_test): Likewise.
14043         (islessequal_test): Likewise.
14044         (islessgreater_test): Likewise.
14045         (isnan_test): Likewise.
14046         (isnormal_test): Likewise.
14047         (issignaling_test): Likewise.
14048         (isunordered_test): Likewise.
14049         (j0_test): Likewise.
14050         (j1_test): Likewise.
14051         (jn_test): Likewise.
14052         (ldexp_test): Likewise.
14053         (lgamma_test): Likewise.
14054         (gamma_test): Likewise.
14055         (lrint_test): Likewise.
14056         (lrint_test_tonearest): Likewise.
14057         (lrint_test_towardzero): Likewise.
14058         (lrint_test_downward): Likewise.
14059         (lrint_test_upward): Likewise.
14060         (llrint_test): Likewise.
14061         (llrint_test_tonearest): Likewise.
14062         (llrint_test_towardzero): Likewise.
14063         (llrint_test_downward): Likewise.
14064         (llrint_test_upward): Likewise.
14065         (log_test): Likewise.
14066         (log10_test): Likewise.
14067         (log1p_test): Likewise.
14068         (log2_test): Likewise.
14069         (logb_test): Likewise.
14070         (logb_test_downward): Likewise.
14071         (lround_test): Likewise.
14072         (llround_test): Likewise.
14073         (modf_test): Likewise.
14074         (nearbyint_test): Likewise.
14075         (nextafter_test): Likewise.
14076         (nexttoward_test): Likewise.
14077         (pow_test): Likewise.
14078         (pow_test_tonearest): Likewise.
14079         (pow_test_towardzero): Likewise.
14080         (pow_test_downward): Likewise.
14081         (pow_test_upward): Likewise.
14082         (remainder_test): Likewise.
14083         (drem_test): Likewise.
14084         (remainder_test_tonearest): Likewise.
14085         (drem_test_tonearest): Likewise.
14086         (remainder_test_towardzero): Likewise.
14087         (drem_test_towardzero): Likewise.
14088         (remainder_test_downward): Likewise.
14089         (drem_test_downward): Likewise.
14090         (remainder_test_upward): Likewise.
14091         (drem_test_upward): Likewise.
14092         (remquo_test): Likewise.
14093         (rint_test): Likewise.
14094         (rint_test_tonearest): Likewise.
14095         (rint_test_towardzero): Likewise.
14096         (rint_test_downward): Likewise.
14097         (rint_test_upward): Likewise.
14098         (round_test): Likewise.
14099         (scalb_test): Likewise.
14100         (scalbn_test): Likewise.
14101         (scalbln_test): Likewise.
14102         (signbit_test): Likewise.
14103         (sin_test): Likewise.
14104         (sin_test_tonearest): Likewise.
14105         (sin_test_towardzero): Likewise.
14106         (sin_test_downward): Likewise.
14107         (sin_test_upward): Likewise.
14108         (sincos_test): Likewise.
14109         (sinh_test): Likewise.
14110         (sinh_test_tonearest): Likewise.
14111         (sinh_test_towardzero): Likewise.
14112         (sinh_test_downward): Likewise.
14113         (sinh_test_upward): Likewise.
14114         (sqrt_test): Likewise.
14115         (sqrt_test_tonearest): Likewise.
14116         (sqrt_test_towardzero): Likewise.
14117         (sqrt_test_downward): Likewise.
14118         (sqrt_test_upward): Likewise.
14119         (tan_test): Likewise.
14120         (tan_test_tonearest): Likewise.
14121         (tan_test_towardzero): Likewise.
14122         (tan_test_downward): Likewise.
14123         (tan_test_upward): Likewise.
14124         (tanh_test): Likewise.
14125         (tgamma_test): Likewise.
14126         (trunc_test): Likewise.
14127         (y0_test): Likewise.
14128         (y1_test): Likewise.
14129         (yn_test): Likewise.
14130         (significand_test): Likewise.
14131
14132         * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
14133         individual tests in comment.
14134         (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
14135         (prev_max_error): New variable.
14136         (prev_real_max_error): Likewise.
14137         (prev_imag_max_error): Likewise.
14138         (compare_ulp_data): Don't refer to test names in comment.
14139         (find_test_ulps): Remove function.
14140         (find_function_ulps): Likewise.
14141         (find_complex_function_ulps): Likewise.
14142         (init_max_error): Take function name as argument.  Look up ulps
14143         for that function.
14144         (print_ulps): Remove function.
14145         (print_max_error): Use prev_max_error instead of calling
14146         find_function_ulps.
14147         (print_complex_max_error): Use prev_real_max_error and
14148         prev_imag_max_error instead of calling find_complex_function_ulps.
14149         (check_float_internal): Take max_ulp parameter instead of calling
14150         find_test_ulps.  Don't call print_ulps.
14151         (check_float): Update call to check_float_internal.
14152         (check_complex): Update calls to check_float_internal.
14153         (START): Pass argument to init_max_error.
14154         * math/gen-libm-test.pl (%results): Don't include "kind"
14155         information.
14156         (parse_ulps): Don't handle ulps of individual tests.
14157         (print_ulps_file): Likewise.
14158         (output_ulps): Likewise.
14159         * math/README.libm-test: Update.
14160         * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
14161         individual tests.
14162         * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
14163         * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
14164         * sysdeps/arm/libm-test-ulps: Likewise.
14165         * sysdeps/i386/fpu/libm-test-ulps: Likewise.
14166         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
14167         * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
14168         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
14169         * sysdeps/microblaze/libm-test-ulps: Likewise.
14170         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
14171         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
14172         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
14173         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
14174         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
14175         * sysdeps/sh/libm-test-ulps: Likewise.
14176         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
14177         * sysdeps/tile/libm-test-ulps: Likewise.
14178         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14179
14180 2014-03-04  Joseph Myers  <joseph@codesourcery.com>
14181
14182         * math/libm-test.inc (print_complex_max_error): Check separately
14183         whether real and imaginary errors are within allowed range and
14184         pass 0 to print_complex_function_ulps instead of value within
14185         allowed range.
14186
14187 2014-03-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
14188
14189         * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
14190         formatting.
14191         (get_handles_fopen): Likewise.
14192         (do_write_test): Likewise.
14193
14194         * libio/wfileops.c (do_ftell_wide): Fix up formatting.
14195
14196         * libio/fileops.c (do_ftell): Use cached offset when
14197         available.
14198         * libio/iofwide.c (do_ftell_wide): Likewise.
14199         * libio/iofdopen.c (_IO_new_fdopen): Don't use
14200         _IO_file_attach.
14201         * libio/wfileops.c (_IO_fwide): Don't cache offset.
14202
14203         [BZ #16532]
14204         * libio/libioP.h (get_file_offset): New function.
14205         * libio/fileops.c (get_file_offset): Likewise.
14206         (do_ftell): Likewise.
14207         (_IO_new_file_seekoff): Split out ftell logic.
14208         * libio/wfileops.c (do_ftell_wide): Likewise.
14209         (_IO_wfile_seekoff): Split out ftell logic.
14210         * libio/tst-ftell-active-handler.c: New test case.
14211         * libio/Makefile (tests): Add it.
14212
14213 2014-03-03  Roland McGrath  <roland@hack.frob.com>
14214
14215         * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
14216         * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
14217
14218 2014-03-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
14219
14220         [BZ #16639]
14221         * nscd/connections.c (nscd_init): Call do_exit.
14222         (start_threads): Call do_exit and notify_parent.
14223         (begin_drop_privileges): Call do_exit.
14224         (finish_drop_privileges): Likewise.
14225         * nscd/selinux.c (preserve_capabilities): Likewise.
14226         (install_real_capabilities): Likewise.
14227         (nscd_selinux_enabled): Likewise.
14228         (avc_create_thread): Likewise.
14229         (avc_alloc_lock): Likewise.
14230         (nscd_avc_init): Likewise.
14231         * nscd/nscd.c (parent_fd): New static variable.
14232         (main): Create a pipe between parent and child processes.
14233         Skip closing parent_fd.
14234         (monitor_child): New function.
14235         (do_exit): Likewise.
14236         (notify_parent): Likewise.
14237         * nscd/nscd.h (notify_parent): Likewise.
14238         (do_exit): Likewise.
14239
14240 2014-03-03  Carlos O'Donell  <carlos@redhat.com>
14241
14242         * malloc/malloc.c (__libc_calloc): Revert last change.
14243
14244 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14245
14246         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14247
14248 2014-03-03  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
14249
14250         * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
14251         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
14252         implementation.
14253         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
14254         (__libc_ifunc_impl_list): Likewise.
14255         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
14256         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
14257         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
14258         * string/strrchr.c: Define STRRCHR.
14259
14260 2014-02-28  Ondřej Bílka  <neleai@seznam.cz>
14261
14262         * benchtest/bench-strtok.c (simple_strtok): Delete.
14263         (strtok_string): Use as benchmark.
14264         * string/strtok (STRTOK): New macro.
14265
14266 2014-02-28  Carlos O'Donell  <carlos@redhat.com>
14267
14268         * manual/threads.texi: Add header and standard comments to all
14269         functions.
14270
14271         * elf/dl-lookup.c (check_match): New function.
14272         (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
14273         (do_lookup_x): Remove nested function check_match. Use non-nested
14274         function check_match.
14275
14276 2014-02-28  Roland McGrath  <roland@hack.frob.com>
14277
14278         * csu/Makefile (generated, before-compile): Use += rather than =.
14279         * catgets/Makefile (generated, generated-dirs): Likewise.
14280         * debug/Makefile (generated): Likewise.
14281         * dlfcn/Makefile (generated): Likewise.
14282         * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
14283         * iconvdata/Makefile (before-compile, generated): Likewise.
14284         * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
14285         * libio/Makefile (generated): Likewise.
14286         * malloc/Makefile (generated): Likewise.
14287         * manual/Makefile (generated, generated-dirs): Likewise.
14288         * misc/Makefile (generated): Likewise.
14289         * posix/Makefile (generated): Likewise.
14290         * resolv/Makefile (generated): Likewise.
14291         * sunrpc/Makefile (generated, generated-dirs): Likewise.
14292         * timezone/Makefile (generated, generated-dirs): Likewise.
14293
14294         * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
14295
14296 2014-02-27  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14297
14298         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
14299         power8 implementation.
14300         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
14301         file: POWER8 llround ifunc implementation.
14302         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
14303         (__lllround): Add POWER8 implementation.
14304         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
14305         POWER8 llround implementation.
14306
14307         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
14308         power8 implementation.
14309         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
14310         file: POWER8 llrint ifunc implementation.
14311         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
14312         Add POWER8 implementation.
14313         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
14314         POWER8 llrint implementation.
14315
14316         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
14317         power8 implementation.
14318         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
14319         file: POWER8 finite ifunc implementation.
14320         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
14321         Add POWER8 implementation.
14322         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
14323         Likewise.
14324         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
14325         POWER8 finite implementation.
14326         * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
14327
14328         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
14329         power8 implementation.
14330         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
14331         file: POWER8 isinf ifunc implementation.
14332         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
14333         POWER8 implementation.
14334         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
14335         Likewise.
14336         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
14337         isinf implementation.
14338         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
14339
14340         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
14341         (INIT_ARCH): Add hwcap2 initialization.
14342         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
14343         power8 implementation.
14344         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
14345         file: POWER8 isnan ifunc implementation.
14346         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
14347         POWER8 implementation.
14348         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
14349         Likewise.
14350         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
14351         isnan implementation.
14352         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
14353
14354 2014-02-27  Joey Ye  <joey.ye@arm.com>
14355
14356         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
14357         (_FP_NANFRAC_Q): Set to zero.
14358
14359 2014-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
14360
14361         [BZ #16623]
14362         * math/auto-libm-test-in: New test inputs.
14363         * math/auto-libm-test-out: Regenerate.
14364         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
14365         and DA.
14366         (__cos): Likewise.
14367         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
14368
14369 2014-02-27  Joseph Myers  <joseph@codesourcery.com>
14370
14371         * scripts/evaluate-test.sh: Take new argument indicating whether
14372         failure is expected.
14373         * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
14374         indicating whether failure is expected.
14375         * conform/Makefile (test-xfail-run-conformtest): New variable.
14376         ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
14377         level.
14378         * posix/Makefile (test-xfail-annexc): New variable.
14379         ($(objpfx)annexc.out): Don't expect to fail at makefile level.
14380
14381 2014-02-26  Joseph Myers  <joseph@codesourcery.com>
14382
14383         * argp/Makefile: Include Makeconfig immediately after defining
14384         subdir.
14385         * assert/Makefile: Likewise.
14386         * benchtests/Makefile: Likewise.
14387         * catgets/Makefile: Likewise.
14388         * conform/Makefile: Likewise.
14389         * crypt/Makefile: Likewise.
14390         * csu/Makefile: Likewise.
14391         (all): Remove target.
14392         * ctype/Makefile: Include Makeconfig immediately after defining
14393         subdir.
14394         * debug/Makefile: Likewise.
14395         * dirent/Makefile: Likewise.
14396         * dlfcn/Makefile: Likewise.
14397         * gmon/Makefile: Likewise.
14398         * gnulib/Makefile: Likewise.
14399         * grp/Makefile: Likewise.
14400         * gshadow/Makefile: Likewise.
14401         * hesiod/Makefile: Likewise.
14402         * hurd/Makefile: Likewise.
14403         (all): Remove target.
14404         * iconvdata/Makefile: Include Makeconfig immediately after
14405         defining subdir.
14406         * inet/Makefile: Likewise.
14407         * intl/Makefile: Likewise.
14408         * io/Makefile: Likewise.
14409         * libio/Makefile: Likewise.
14410         (all): Remove target.
14411         * locale/Makefile: Include Makeconfig immediately after defining
14412         subdir.
14413         * login/Makefile: Likewise.
14414         * mach/Makefile: Likewise.
14415         (all): Remove target.
14416         * malloc/Makefile: Include Makeconfig immediately after defining
14417         subdir.
14418         (all): Remove target.
14419         * manual/Makefile: Include Makeconfig immediately after defining
14420         subdir.
14421         * math/Makefile: Likewise.
14422         * misc/Makefile: Likewise.
14423         * nis/Makefile: Likewise.
14424         * nss/Makefile: Likewise.
14425         * po/Makefile: Likewise.
14426         (all): Remove target.
14427         * posix/Makefile: Include Makeconfig immediately after defining
14428         subdir.
14429         * pwd/Makefile: Likewise.
14430         * resolv/Makefile: Likewise.
14431         * resource/Makefile: Likewise.
14432         * rt/Makefile: Likewise.
14433         * setjmp/Makefile: Likewise.
14434         * shadow/Makefile: Likewise.
14435         * signal/Makefile: Likewise.
14436         * socket/Makefile: Likewise.
14437         * soft-fp/Makefile: Likewise.
14438         * stdio-common/Makefile: Likewise.
14439         * stdlib/Makefile: Likewise.
14440         * streams/Makefile: Likewise.
14441         * string/Makefile: Likewise.
14442         * sunrpc/Makefile: Likewise.
14443         (all): Remove target.
14444         * sysvipc/Makefile: Include Makeconfig immediately after defining
14445         subdir.
14446         * termios/Makefile: Likewise.
14447         * time/Makefile: Likewise.
14448         * timezone/Makefile: Likewise.
14449         (all): Remove target.
14450         * wcsmbs/Makefile: Include Makeconfig immediately after defining
14451         subdir.
14452         * wctype/Makefile: Likewise.
14453
14454 2014-02-26  Steve Ellcey  <sellcey@mips.com>
14455
14456         * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
14457         (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
14458         (libc_feholdexcept_setround_mips): Ditto.
14459         (libc_feholdsetround): New.
14460         (libc_feholdsetroundf): New.
14461         (libc_feholdsetroundl): New.
14462         (libc_feupdateenv_test_mips): New.
14463         (libc_feupdateenv_test): New.
14464         (libc_feupdateenv_testf): New.
14465         (libc_feupdateenv_testl): New.
14466         (libc_feresetround): New.
14467         (libc_feresetroundf): New.
14468         (libc_feresetroundl): New.
14469         (libc_fetestexcept_mips): New.
14470         (libc_fetestexcept): New.
14471         (libc_fetestexceptf): New.
14472         (libc_fetestexceptl): New.
14473         (HAVE_RM_CTX): New.
14474         (libc_feholdexcept_setround_mips_ctx): New.
14475         (libc_feholdexcept_setround_ctx): New.
14476         (libc_feholdexcept_setroundf_ctx): New.
14477         (libc_feholdexcept_setroundl_ctx): New.
14478         (libc_fesetenv_mips_ctx): New.
14479         (libc_fesetenv_ctx): New.
14480         (libc_fesetenv_ctxf): New.
14481         (libc_fesetenv_ctxl): New.
14482         (libc_feupdateenv_mips_ctx): New.
14483         (libc_feupdateenv_ctx): New.
14484         (libc_feupdateenvf_ctx): New.
14485         (libc_feupdateenvl_ctx): New.
14486         (libc_feholdsetround_mips_ctx): New.
14487         (libc_feholdsetround_ctx): New.
14488         (libc_feholdsetroundf_ctx): New.
14489         (libc_feholdsetroundl_ctx): New.
14490         (libc_feresetround_mips_ctx): New.
14491         (libc_feresetround_ctx): New.
14492         (libc_feresetroundf_ctx): New.
14493         (libc_feresetroundl_ctx): New.
14494
14495 2014-02-26  Carlos O'Donell  <carlos@redhat.com>
14496
14497         * manual/ipc.texi (Semaphores): Use @Theglibc{}.
14498
14499         * manual/ipc.texi: New file.
14500         * manual/Makefile (chapters): Add ipc.
14501         * manual/job.texi: Add "Inter-Process Communication" to next.
14502         * manual/process.texi: Add "Inter-Process Communication" to prev.
14503
14504 2014-02-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14505
14506         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14507
14508 2014-02-26  Ondřej Bílka  <neleai@seznam.cz>
14509
14510         * malloc/malloc.c (__libc_calloc): Simplify implementation.
14511
14512         * manual/arith.texi: Fix spaces after sentences.
14513         * manual/charset.texi: Likewise.
14514         * manual/errno.texi: Likewise.
14515         * manual/install.texi: Likewise.
14516         * manual/llio.texi: Likewise.
14517         * manual/locale.texi: Likewise.
14518         * manual/maint.texi: Likewise.
14519         * manual/math.texi: Likewise.
14520         * manual/memory.texi: Likewise.
14521         * manual/message.texi: Likewise.
14522         * manual/probes.texi: Likewise.
14523         * manual/resource.texi: Likewise.
14524         * manual/signal.texi: Likewise.
14525         * manual/socket.texi: Likewise.
14526         * manual/stdio.texi: Likewise.
14527         * manual/string.texi: Likewise.
14528         * manual/time.texi: Likewise.
14529         * manual/users.texi: Likewise.
14530
14531 2014-02-25  Carlos O'Donell  <carlos@redhat.com>
14532
14533         [BZ #16632]
14534         * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
14535         _DEFAULT_SOURCE is defined.
14536
14537 2014-02-25  Ulrich Drepper  <drepper@gmail.com>
14538             Carlos O'Donell  <carlos@redhat.com>
14539
14540         [BZ #16613]
14541         * elf/dl-tls.c (_dl_count_modids): New function.
14542         * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
14543         * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
14544         audit library and increment generation counter.
14545         (_dl_allocate_tls_init): Add assertion to check TLS generation count.
14546         * elf/tst-audit9.c: New file.
14547         * elf/tst-auditmod9a.c: New file.
14548         * elf/tst-auditmod9b.c: New file.
14549         * elf/Makefile: Add rules to build and run tst-audit9.
14550
14551 2014-02-25  Florian Weimer  <fweimer@redhat.com>
14552
14553         [BZ #15347]
14554         * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
14555
14556 2014-02-25  Will Newton  <will.newton@linaro.org>
14557
14558         * sysdeps/arm/__longjmp.S: Include stap-probe.h.
14559         (__longjmp): Restore sp and lr before restoring callee
14560         saved registers.  Add longjmp and longjmp_target
14561         SystemTap probe point.
14562         * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
14563         * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
14564         Define to zero to match jmpbuf layout.
14565         * sysdeps/arm/setjmp.S: Include stap-probe.h.
14566         (__sigsetjmp): Save sp and lr before saving callee
14567         saved registers.  Add setjmp SystemTap probe point.
14568
14569 2014-02-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
14570
14571         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
14572
14573 2014-02-24  Andreas Schwab  <schwab@suse.de>
14574
14575         [BZ #15804]
14576         * elf/pldd.c (wait_for_ptrace_stop): New function.
14577         (main): Call it after attaching.
14578
14579 2014-02-22  Roland McGrath  <roland@hack.frob.com>
14580
14581         * Makerules ($(common-objpfx)Versions.v.i): No longer depend
14582         on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
14583         Versions files is now verboten.
14584         * hurd/Versions (libc: GLIBC_2.0):
14585         Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
14586         (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
14587         [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
14588         * mach/Versions: Likewise.
14589
14590         * csu/Versions: Remove unused %include.
14591         * resolv/Versions: Likewise.
14592
14593 2014-02-21  Joseph Myers  <joseph@codesourcery.com>
14594
14595         * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
14596         ($(objpfx)check-local-headers.out): Likewise.
14597         ($(objpfx)begin-end-check.out): Likewise.
14598         * Makerules (check-abi-%.out): Likewise.
14599         * catgets/Makefile ($(objpfx)test1.cat): Likewise.
14600         ($(objpfx)test2.cat): Likewise.
14601         ($(objpfx)de/libc.cat): Likewise.
14602         ($(objpfx)test-gencat.out): Likewise.
14603         * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
14604         * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
14605         ($(objpfx)noload-mem): Likewise.
14606         ($(objpfx)tst-pathopt.out): Likewise.
14607         ($(objpfx)tst-rtld-load-self.out): Likewise.
14608         ($(objpfx)tst-array1-cmp.out): Likewise.
14609         ($(objpfx)tst-array1-static-cmp.out): Likewise.
14610         ($(objpfx)tst-array2-cmp.out): Likewise.
14611         ($(objpfx)tst-array3-cmp.out): Likewise.
14612         ($(objpfx)tst-array4-cmp.out): Likewise.
14613         ($(objpfx)tst-array5-cmp.out): Likewise.
14614         ($(objpfx)tst-array5-static-cmp.out): Likewise.
14615         ($(objpfx)check-textrel.out): Likewise.
14616         ($(objpfx)check-execstack.out): Likewise.
14617         ($(objpfx)check-localplt.out): Likewise.
14618         ($(objpfx)order2-cmp.out): Likewise.
14619         ($(objpfx)tst-leaks1-mem): Likewise.
14620         ($(objpfx)tst-leaks1-static-mem): Likewise.
14621         ($(objpfx)tst-initorder-cmp.out): Likewise.
14622         ($(objpfx)tst-initorder2-cmp.out): Likewise.
14623         ($(objpfx)tst-unused-dep.out): Likewise.
14624         ($(objpfx)tst-unused-dep-cmp.out): Likewise.
14625         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
14626         * iconv/Makefile (test-iconvconfig): Likewise.
14627         * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
14628         ($(objpfx)iconv-test.out): Likewise.
14629         ($(objpfx)tst-tables.out): Likewise.
14630         * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
14631         ($(objpfx)tst-gettext.out): Likewise.
14632         ($(objpfx)tst-translit.out): Likewise.
14633         ($(objpfx)tst-gettext2.out): Likewise.
14634         ($(objpfx)tst-gettext4.out): Likewise.
14635         ($(objpfx)tst-gettext6.out): Likewise.
14636         * io/Makefile ($(objpfx)ftwtest.out): Likewise.
14637         * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
14638         ($(objpfx)tst-fopenloc-cmp.out): Likewise.
14639         ($(objpfx)tst-fopenloc-mem.out): Likewise.
14640         * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
14641         * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
14642         * posix/Makefile ($(objpfx)globtest.out): Likewise.
14643         ($(objpfx)wordexp-tst.out): Likewise.
14644         ($(objpfx)annexc.out): Likewise.
14645         ($(objpfx)tst-fnmatch-mem): Likewise.
14646         ($(objpfx)bug-regex2-mem): Likewise.
14647         ($(objpfx)bug-regex14-mem): Likewise.
14648         ($(objpfx)bug-regex21-mem): Likewise.
14649         ($(objpfx)bug-regex31-mem): Likewise.
14650         ($(objpfx)tst-vfork3-mem): Likewise.
14651         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
14652         ($(objpfx)tst-pcre-mem): Likewise.
14653         ($(objpfx)tst-boost-mem): Likewise.
14654         ($(objpfx)tst-getconf.out): Likewise.
14655         ($(objpfx)bug-ga2-mem): Likewise.
14656         ($(objpfx)bug-glob2-mem): Likewise.
14657         * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
14658         ($(objpfx)mtrace-tst-leaks2): Likewise.
14659         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
14660         ($(objpfx)tst-printf.out): Likewise.
14661         ($(objpfx)tst-setvbuf1.out): Likewise.
14662         ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
14663         * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
14664         ($(objpfx)tst-fmtmsg.out): Likewise.
14665         * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
14666         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
14667
14668         * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
14669         * bits/sigaction.h [__USE_MISC]: Likewise.
14670         * bits/waitstatus.h: Update #endif comments.
14671         * ctype/ctype.h: Likewise.
14672         * dirent/dirent.h: Likewise.
14673         [__USE_MISC]: Remove redundant conditionals.
14674         * grp/grp.h: Update #endif comments.
14675         [__USE_GNU]: Remove redundant conditionals.
14676         [__USE_MISC]: Likewise.
14677         * inet/netinet/in.h [__USE_GNU]: Likewise.
14678         * io/sys/stat.h [__USE_MISC]: Likewise.
14679         * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
14680         * libio/bits/stdio.h: Update #endif comments.
14681         [__USE_MISC]: Remove redundant conditionals.
14682         * libio/bits/stdio2.h [__USE_MISC]: Likewise.
14683         * libio/stdio.h: Update #endif comments.
14684         [__USE_MISC]: Remove redundant conditionals.
14685         * math/bits/math-finite.h [__USE_MISC]: Likewise.
14686         * math/bits/mathcalls.h [__USE_MISC]: Likewise.
14687         * math/math.h: Update #else and #endif comments.
14688         [__USE_MISC]: Remove redundant conditionals.
14689         * misc/sys/uio.h: Update #endif comments.
14690         * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
14691         * posix/glob.h [__USE_MISC]: Likewise.
14692         * posix/sys/types.h: Update #endif comments.
14693         [__USE_MISC]: Remove redundant conditionals.
14694         * posix/sys/wait.h: Update #endif comments.
14695         [__USE_MISC]: Remove redundant conditionals.
14696         * posix/unistd.h: Update #endif comments.
14697         [__USE_MISC]: Remove redundant conditionals.
14698         * pwd/pwd.h [__USE_GNU]: Likewise.
14699         [__USE_MISC]: Likewise.
14700         * resolv/netdb.h [__USE_GNU]: Likewise.
14701         * signal/signal.h: Update #endif comments.
14702         [__USE_MISC]: Remove redundant conditionals.
14703         * stdlib/stdlib.h: Update #else and #endif comments.
14704         [__USE_MISC]: Remove redundant conditionals.
14705         [__USE_GNU]: Likewise.
14706         * string/bits/string2.h [__USE_MISC]: Likewise.
14707         * string/string.h: Update #endif comments.
14708         [__USE_MISC]: Remove redundant conditionals.
14709         * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
14710         Likewise.
14711         * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
14712         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
14713         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
14714         Likewise.
14715         * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
14716         Likewise.
14717         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
14718         comments.
14719         [__USE_MISC]: Remove redundant conditionals.
14720         * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
14721         * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
14722         * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
14723         * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
14724         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
14725         Likewise.
14726         * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
14727         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
14728         Likewise.
14729         * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
14730         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
14731         Likewise.
14732         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
14733         Likewise.
14734         * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
14735         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
14736         Likewise.
14737         * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
14738         Likewise.
14739         * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
14740         * sysdeps/x86/bits/string.h: Update #endif comments.
14741         * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
14742         conditionals.
14743         * time/sys/time.h: Update #endif comments.
14744         * time/time.h: Likewise.
14745         [__USE_MISC]: Remove redundant conditionals.
14746
14747 2014-02-21  Yury Gribov  <y.gribov@samsung.com>
14748
14749         [BZ #16600]
14750         * sysdeps/arm/libm-test-ulps: Update for VFPv4.
14751
14752 2014-02-21  Andreas Schwab  <schwab@linux-m68k.org>
14753
14754         * Versions.def (librt): Add GLIBC_2.17.
14755
14756 2014-02-21  Adam Conrad  <adconrad@0c3.net>
14757
14758         * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
14759         synonym for _SYS_AUXV_H to allow direct inclusion.
14760         * sysdeps/sparc/bits/hwcap.h: Likewise.
14761         * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
14762         _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
14763         * sysdeps/sparc/sysdep.h: Likewise.
14764
14765 2014-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
14766
14767         * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
14768
14769 2014-02-21  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
14770
14771         * benchtests/bench-strrchr.c: Print length instead of position.
14772
14773 2014-02-20  Joseph Myers  <joseph@codesourcery.com>
14774
14775         [BZ #16611]
14776         * sysdeps/unix/sysv/linux/kernel-features.h
14777         [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
14778         (__ASSUME_SENDMMSG_SOCKETCALL): Define.
14779         [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
14780         __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
14781         Likewise.
14782         [__i386__ || __powerpc__ || __sh__ || __sparc__]
14783         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
14784         [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
14785         (__ASSUME_SENDMMSG): Define instead of using previous
14786         [__LINUX_KERNEL_VERSION >= 0x020627] condition.
14787         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
14788         (__ASSUME_SENDMMSG_SYSCALL): Define.
14789         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
14790         [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
14791         Likewise.
14792         * sysdeps/unix/sysv/linux/arm/kernel-features.h
14793         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
14794         Likewise.
14795         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
14796         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
14797         Likewise.
14798         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
14799         && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
14800         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
14801         [__ASSUME_SENDMMSG]: Change conditionals to
14802         [__ASSUME_SENDMMSG_SOCKETCALL].
14803         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
14804         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
14805         Define.
14806         * sysdeps/unix/sysv/linux/mips/kernel-features.h
14807         [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
14808         Likewise.
14809         * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
14810         !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
14811         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
14812         [!__ASSUME_SENDMMSG]: Change conditional to
14813         [!__ASSUME_SENDMMSG_SOCKETCALL].
14814         * sysdeps/unix/sysv/linux/tile/kernel-features.h
14815         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
14816         Define.
14817
14818         [BZ #16610]
14819         * sysdeps/unix/sysv/linux/kernel-features.h
14820         [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
14821         (__ASSUME_RECVMMSG_SOCKETCALL): Define.
14822         [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
14823         __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
14824         || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
14825         [__i386__ || __sparc__]
14826         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
14827         [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
14828         (__ASSUME_RECVMMSG): Define instead of using previous
14829         [__LINUX_KERNEL_VERSION >= 0x020621] condition.
14830         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
14831         (__ASSUME_RECVMMSG_SYSCALL): Define.
14832         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
14833         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
14834         Likewise.
14835         * sysdeps/unix/sysv/linux/arm/kernel-features.h
14836         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
14837         Likewise.
14838         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
14839         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
14840         Likewise.
14841         * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
14842         && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
14843         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
14844         [__ASSUME_RECVMMSG]: Change condition to
14845         [__ASSUME_RECVMMSG_SOCKETCALL].
14846         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
14847         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
14848         Define.
14849         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
14850         * sysdeps/unix/sysv/linux/mips/kernel-features.h
14851         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
14852         Likewise.
14853         * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
14854         !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
14855         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
14856         [!__ASSUME_RECVMMSG]: Change condition to
14857         [!__ASSUME_RECVMMSG_SOCKETCALL].
14858         * sysdeps/unix/sysv/linux/tile/kernel-features.h
14859         (__ASSUME_RECVMMSG_SYSCALL): Define.
14860
14861         [BZ #16609]
14862         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
14863         __powerpc__ || __s390__ || __sh__ || __sparc__]
14864         (__ASSUME_SOCKETCALL): Define.
14865         [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
14866         (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
14867         [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
14868         || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
14869         __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
14870         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
14871         [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
14872         (__ASSUME_ACCEPT4): Define instead of using previous
14873         [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
14874         __powerpc__ || __sparc__ || __s390__)] condition.
14875         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
14876         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
14877         * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
14878         !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
14879         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
14880         [!__ASSUME_ACCEPT4]: Change condition to
14881         [!__ASSUME_ACCEPT4_SOCKETCALL].
14882         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
14883         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.  Correct
14884         condition to [__LINUX_KERNEL_VERSION >= 0x030200].
14885         * sysdeps/unix/sysv/linux/arm/kernel-features.h
14886         [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
14887         __ASSUME_ACCEPT4_SYSCALL.
14888         * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
14889         Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
14890         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
14891         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
14892         __ASSUME_ACCEPT4_SYSCALL.
14893         * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
14894         && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
14895         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
14896         [__ASSUME_ACCEPT4]: Change condition to
14897         [__ASSUME_ACCEPT4_SOCKETCALL].
14898         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
14899         (__ASSUME_SOCKETCALL): Define.
14900         [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
14901         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
14902         (__ASSUME_SOCKETCALL): Define.
14903         (__ASSUME_ACCEPT4): Remove.
14904         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
14905         Define.
14906         * sysdeps/unix/sysv/linux/mips/kernel-features.h
14907         [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
14908         Likewise.
14909         * sysdeps/unix/sysv/linux/tile/kernel-features.h
14910         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
14911
14912         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
14913         macro.
14914         (HWCAP_ARM_LPAE): Likewise.
14915         (HWCAP_ARM_EVTSTRM): Likewise.
14916         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
14917         Add vpfd32, lpae and evtstrm.
14918         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
14919         Increase to 22.
14920
14921 2014-02-19  Joseph Myers  <joseph@codesourcery.com>
14922
14923         * math/auto-libm-test-in: Add tests of clog10.
14924         * math/auto-libm-test-out: Regenerated.
14925         * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
14926         * sysdeps/i386/fpu/libm-test-ulps: Update.
14927         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14928
14929 2014-02-18  Andreas Schwab  <schwab@suse.de>
14930
14931         [BZ #16574]
14932         * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
14933         Store non-zero if the second buffer was newly allocated.
14934         (send_dg): Likewise.
14935         (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
14936         to send_vc and send_dg.
14937         (res_nsend): Pass NULL for ansp2_malloced.
14938         * resolv/res_query.c (__libc_res_nquery): Add parameter
14939         answerp2_malloced and pass it down to __libc_res_nsend.
14940         (res_nquery): Pass additional NULL to __libc_res_nquery.
14941         (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
14942         down to __libc_res_nquery and __libc_res_nquerydomain.  Deallocate
14943         second answer buffer if answerp2_malloced was set.
14944         (res_nsearch): Pass additional NULL to __libc_res_nsearch.
14945         (__libc_res_nquerydomain): Add parameter
14946         answerp2_malloced and pass it down to __libc_res_nquery.
14947         (res_nquerydomain): Pass additional NULL to
14948         __libc_res_nquerydomain.
14949         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
14950         additional NULL to __libc_res_nsend and __libc_res_nquery.
14951         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
14952         additional NULL to __libc_res_nsearch.
14953         (_nss_dns_gethostbyname4_r): Revert last change.  Use new
14954         parameter of __libc_res_nsearch to check for separately allocated
14955         second buffer.
14956         (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
14957         __libc_res_nquery.
14958         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
14959         additional NULL to __libc_res_nquery.
14960         * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
14961         __libc_res_nsearch.
14962         (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
14963         * include/resolv.h: Update prototypes of __libc_res_nquery,
14964         __libc_res_nsearch, __libc_res_nsend.
14965
14966 2014-02-18  Joseph Myers  <joseph@codesourcery.com>
14967
14968         * math/auto-libm-test-in: Add tests of fma.
14969         * math/auto-libm-test-out: Regenerated.
14970         * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
14971         (fma_towardzero_test_data): Likewise.
14972         (fma_downward_test_data): Likewise.
14973         (fma_upward_test_data): Likewise.
14974         * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
14975         mpc_mode.
14976         (rounding_modes): Add values for new field.
14977         (func_calc_method): Add value mpfr_fff_f.
14978         (func_calc_desc): Add mpfr_fff_f union field.
14979         (test_function): Add field exact_args.
14980         (FUNC): Add macro argument EXACT_ARGS.
14981         (FUNC_mpfr_f_f): Update call to FUNC.
14982         (FUNC_mpfr_f_f): Likewise.
14983         (FUNC_mpfr_ff_f): Likewise.
14984         (FUNC_mpfr_if_f): Likewise.
14985         (FUNC_mpc_c_f): Likewise.
14986         (FUNC_mpc_c_c): Likewise.
14987         (test_functions): Add fma.  Update calls to FUNC.
14988         (handle_input_arg): Add argument exact_args.
14989         (add_test): Update call to handle_input_arg.
14990         (calc_generic_results): Add argument mode.  Handle mpfr_fff_f.
14991         (output_for_one_input_case): Update call to calc_generic_results.
14992         Recalculate exact zero results in each rounding mode.
14993
14994         * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
14995         non-negative before setting low bit.
14996         * math/auto-libm-test-in: Mark one asin test possibly having
14997         spurious underflow.
14998         * math/auto-libm-test-out: Regenerated.
14999         * sysdeps/i386/fpu/libm-test-ulps: Update.
15000         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15001
15002 2014-02-17  David Holsgrove <david.holsgrove@xilinx.com>
15003
15004         * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
15005         * sysdeps/unix/sysv/linux/microblaze: Move directory from
15006         ports/sysdeps/unix/sysv/linux/microblaze.
15007         * README: Add missing listing for microblaze*-*-linux-gnu.
15008
15009 2014-02-16  Ondřej Bílka  <neleai@seznam.cz>
15010
15011         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
15012         duplicate code
15013
15014 2014-02-16  Mike Frysinger  <vapier@gentoo.org>
15015
15016         * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
15017         * sysdeps/unix/sysv/linux/ia64: Move directory from
15018         ports/sysdeps/unix/sysv/linux/ia64.
15019         * README: Update listing for ia64-*-linux-gnu.
15020
15021 2014-02-14  Tomas Dohnalek  <tdohnale@redhat.com>
15022             Joseph Myers  <joseph@codesourcery.com>
15023
15024         * Makeconfig (test-name): New variable.
15025         (evaluate-test): Likewise.
15026         * Makerules (do-test-clean): Remove .test-result files.
15027         (common-mostlyclean): Likewise.
15028         * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
15029         * scripts/evaluate-test.sh: New file.
15030
15031 2014-02-14  Joseph Myers  <joseph@codesourcery.com>
15032
15033         * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
15034         separate $(objpfx)tst-fopenloc-cmp.out and
15035         $(objpfx)tst-fopenloc-mem.out targets.
15036         (tests): Update dependencies.
15037         * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
15038         (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
15039         tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
15040         (tst-rxspencer-no-utf8-ARGS): New variable.
15041         (tst-rxspencer-no-utf8-ENV): Likewise.
15042         (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
15043         instead of $(objpfx)tst-rxspencer-mem.
15044         ($(objpfx)tst-rxspencer-mem): Change target to
15045         $(objpfx)tst-rxspencer-no-utf8-mem.  Depend on
15046         $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
15047         * posix/tst-rxspencer-no-utf8.c: New file.
15048
15049         * elf/Makefile ($(objpfx)order.out): Remove rule.
15050         [$(run-built-tests) = yes] (tests): Depend on
15051         $(objpfx)order-cmp.out.
15052         ($(objpfx)order-cmp.out): New rule.
15053         [$(run-built-tests) = yes] (tests): Depend on
15054         $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
15055         $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
15056         $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
15057         $(objpfx)tst-array5-static-cmp.out.
15058         ($(objpfx)tst-array1.out): Remove rule.
15059         ($(objpfx)tst-array1-cmp.out): New rule.
15060         ($(objpfx)tst-array1-static.out): Remove rule.
15061         ($(objpfx)tst-array1-static-cmp.out): New rule.
15062         ($(objpfx)tst-array2.out): Remove rule.
15063         ($(objpfx)tst-array2-cmp.out): New rule.
15064         ($(objpfx)tst-array3.out): Remove rule.
15065         ($(objpfx)tst-array3-cmp.out): New rule.
15066         ($(objpfx)tst-array4.out): Remove rule.
15067         ($(objpfx)tst-array4-cmp.out): New rule.
15068         ($(objpfx)tst-array5.out): Remove rule.
15069         ($(objpfx)tst-array5-cmp.out): New rule.
15070         ($(objpfx)tst-array5-static.out): Remove rule.
15071         ($(objpfx)tst-array5-static-cmp.out): New rule.
15072         [$(run-built-tests) = yes] (tests): Depend on
15073         $(objpfx)order2-cmp.out.
15074         ($(objpfx)order2.out): Remove rule.
15075         ($(objpfx)order2-cmp.out): New rule.
15076         ($(objpfx)tst-initorder.out): Remove rule.
15077         [$(run-built-tests) = yes] (tests): Depend on
15078         $(objpfx)tst-initorder-cmp.out.
15079         ($(objpfx)tst-initorder-cmp.out): New rule.
15080         ($(objpfx)tst-initorder2.out): Remove rule.
15081         [$(run-built-tests) = yes] (tests): Depend on
15082         $(objpfx)tst-initorder2-cmp.out.
15083         ($(objpfx)tst-initorder2-cmp.out): New rule.
15084         [$(run-built-tests) = yes] (tests): Depend on
15085         $(objpfx)tst-unused-dep-cmp.out.
15086         ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
15087         ($(objpfx)tst-unused-dep-cmp.out): New rule.
15088         * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
15089         on $(objpfx)tst-setvbuf1-cmp.out.
15090         ($(objpfx)tst-setvbuf1.out): Do not run cmp.
15091         ($(objpfx)tst-setvbuf1-cmp.out): New rule.
15092         * string/Makefile [$(run-built-tests) = yes] (tests): Depend
15093         $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
15094         ($(objpfx)tst-svc.out): Remove rule.
15095         ($(objpfx)tst-svc-cmp.out): New rule.
15096
15097 2014-02-13  Joseph Myers  <joseph@codesourcery.com>
15098
15099         * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
15100         * ctype/ctype.h [__USE_MISC]: Likewise.
15101         * dirent/dirent.h [__USE_MISC]: Likewise.
15102         * grp/grp.h [__USE_MISC]: Likewise.
15103         * io/fcntl.h [__USE_MISC]: Likewise.
15104         * io/sys/stat.h [__USE_MISC]: Likewise.
15105         * libio/stdio.h [__USE_MISC]: Likewise.
15106         * posix/unistd.h [__USE_MISC]: Likewise.
15107         * pwd/pwd.h [__USE_MISC]: Likewise.
15108         * stdlib.h [__USE_MISC]: Likewise.
15109         * string/bits/string2.h [__USE_MISC]: Likewise.
15110         * string/string.h [__USE_MISC]: Likewise.
15111         * time/time.h [__USE_MISC]: Likewise.
15112
15113 2014-02-13  Andreas Schwab  <schwab@suse.de>
15114
15115         [BZ #16574]
15116         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
15117         second answer buffer if it was separately allocated.
15118
15119 2014-02-12  Joseph Myers  <joseph@codesourcery.com>
15120
15121         * sysdeps/mips/math-tests.h: Include <features.h>.
15122         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
15123         (ROUNDING_TESTS_long_double): Do not define.
15124         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
15125         (EXCEPTION_TESTS_long_double): Likewise.
15126         * sysdeps/mips/mips64/libm-test-ulps: Update.
15127
15128         * include/features.h (__USE_BSD): Remove macro definitions.
15129         (__USE_SVID): Likewise.
15130         (_BSD_SOURCE): Likewise.
15131         (_SVID_SOURCE): Likewise.
15132         [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
15133         from definition of _DEFAULT_SOURCE.
15134         [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
15135         [_DEFAULT_SOURCE].
15136         * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
15137         * bits/mman.h [__USE_BSD]: Likewise.
15138         * bits/termios.h [__USE_BSD]: Likewise.
15139         * bits/waitstatus.h [__USE_BSD]: Likewise.
15140         * ctype/ctype.h [__USE_SVID]: Likewise.
15141         * dirent/dirent.h [__USE_BSD]: Likewise.
15142         * grp/grp.h [__USE_SVID]: Likewise.
15143         [__USE_BSD]: Likewise.
15144         * inet/netinet/igmp.h [__USE_BSD]: Likewise.
15145         * io/fcntl.h [__USE_BSD]: Likewise.
15146         * io/ftw.h [__USE_BSD]: Likewise.
15147         * io/sys/stat.h [__USE_BSD]: Likewise.
15148         * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
15149         * libio/bits/stdio2.h [__USE_BSD]: Likewise.
15150         * libio/stdio.h [__USE_SVID]: Likewise.
15151         [__USE_BSD]: Likewise.
15152         * math/math.h [__USE_SVID]: Likewise.
15153         [__USE_BSD]: Likewise.
15154         * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
15155         * misc/bits/syslog.h [__USE_BSD]: Likewise.
15156         * misc/search.h [__USE_SVID]: Likewise.
15157         * misc/sys/mman.h [__USE_BSD]: Likewise.
15158         * misc/sys/syslog.h [__USE_BSD]: Likewise.
15159         * misc/sys/uio.h [__USE_BSD]: Likewise.
15160         * posix/bits/unistd.h [__USE_BSD]: Likewise.
15161         * posix/glob.h [__USE_BSD]: Likewise.
15162         * posix/regex.h [__USE_BSD]: Likewise.
15163         * posix/sys/types.h [__USE_BSD]: Likewise.
15164         [__USE_SVID]: Likewise.
15165         * posix/sys/utsname.h [__USE_SVID]: Likewise.
15166         * posix/sys/wait.h [__USE_BSD]: Likewise.
15167         [__USE_SVID]: Likewise.
15168         * posix/unistd.h [__USE_BSD]: Likewise.
15169         [__USE_SVID]: Likewise.
15170         * pwd/pwd.h [__USE_SVID]: Likewise.
15171         * resolv/netdb.h [__USE_BSD]: Likewise.
15172         * setjmp/setjmp.h [__USE_BSD]: Likewise.
15173         * signal/signal.h [__USE_BSD]: Likewise.
15174         [__USE_SVID]: Likewise.
15175         * socket/sys/socket.h [__USE_BSD]: Likewise.
15176         * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
15177         * stdlib/stdlib.h [__USE_BSD]: Likewise.
15178         [__USE_SVID]: Likewise.
15179         * string/bits/string2.h [__USE_BSD]: Likewise.
15180         [__USE_SVID]: Likewise.
15181         * string/bits/string3.h [__USE_BSD]: Likewise.
15182         * string/endian.h [__USE_BSD]: Likewise.
15183         * string/string.h [__USE_SVID]: Likewise.
15184         [__USE_BSD]: Likewise.
15185         * string/strings.h [__USE_BSD]: Likewise.
15186         * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
15187         * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
15188         * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
15189         * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
15190         * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
15191         * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
15192         Likewise.
15193         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
15194         Likewise.
15195         * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
15196         * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
15197         Likewise.
15198         * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
15199         * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
15200         Likewise.
15201         * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
15202         Likewise.
15203         * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
15204         * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
15205         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
15206         Likewise.
15207         * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
15208         Likewise.
15209         * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
15210         * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
15211         * termios/termios.h [__USE_BSD]: Likewise.
15212         * time/sys/time.h [__USE_BSD]: Likewise.
15213         * time/time.h [__USE_BSD]: Likewise.
15214         [__USE_SVID]: Likewise.
15215
15216         * Makefile (subdir_targets): Remove subdir_lint.out.
15217
15218         * stdio-common/Makefile (do-tst-unbputc): Remove target.
15219         (do-tst-printf): Likewise.
15220         (tests): Depend directly on $(objpfx)tst-unbputc.out and
15221         $(objpfx)tst-printf.out.
15222
15223         * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
15224
15225         * Makerules (check-abi-%): Change target to
15226         $(objpfx)check-abi-%.out.
15227         (check-abi target): Update dependencies.
15228         (check-abi-pattern variable): Redirect output of diff to $@.
15229         (check-abi variable): Likewise.
15230         * elf/Makefile (check-abi): Update dependencies.
15231
15232         * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
15233         unused.
15234         (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
15235         value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
15236         subnormal range.
15237         (_FP_PACK_CANONICAL): Determine tininess based on rounding to
15238         normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
15239         value has largest subnormal exponent.
15240         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
15241         (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
15242         * sysdeps/aarch64/soft-fp/sfp-machine.h
15243         (_FP_TININESS_AFTER_ROUNDING): New macro.
15244         * sysdeps/alpha/soft-fp/sfp-machine.h
15245         (_FP_TININESS_AFTER_ROUNDING): Likewise.
15246         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
15247         Likewise.
15248         * sysdeps/mips/mips64/soft-fp/sfp-machine.h
15249         (_FP_TININESS_AFTER_ROUNDING): Likewise.
15250         * sysdeps/mips/soft-fp/sfp-machine.h
15251         (_FP_TININESS_AFTER_ROUNDING): Likewise.
15252         * sysdeps/powerpc/soft-fp/sfp-machine.h
15253         (_FP_TININESS_AFTER_ROUNDING): Likewise.
15254         * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
15255         Likewise.
15256         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
15257         (_FP_TININESS_AFTER_ROUNDING): Likewise.
15258         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
15259         (_FP_TININESS_AFTER_ROUNDING): Likewise.
15260         * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
15261         Likewise.
15262
15263 2014-02-12  Dylan Alex Simon  <dylan@dylex.net>
15264
15265         [BZ #16545]
15266         * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
15267         model 1.
15268
15269 2014-02-12  Richard Henderson  <rth@redhat.com>
15270
15271         * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
15272         * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
15273         * sysdeps/unix/sysv/linux/alpha: Move directory from
15274         ports/sysdeps/unix/sysv/linux/alpha.
15275         * README: Update listing for alpha-*-linux-gnu.
15276
15277 2014-02-11  Joseph Myers  <joseph@codesourcery.com>
15278
15279         * include/features.h: Update comment documenting feature test
15280         macros.
15281         [_BSD_SOURCE || _SVID_SOURCE]: Give #warning.  Define
15282         _DEFAULT_SOURCE.
15283         * manual/creature.texi (_BSD_SOURCE): Remove documentation.
15284         (_SVID_SOURCE): Likewise.
15285         (_DEFAULT_SOURCE): Update description of default features.
15286         (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
15287         with _GNU_SOURCE.
15288         * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
15289         (S_ISVTX): Likewise.
15290         * manual/math.texi (Mathematical Constants): Likewise.
15291         * manual/signal.texi (Interrupted Primitives): Likewise.
15292         * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
15293         * math/test-matherr.c (_SVID_SOURCE): Do not define.
15294         * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
15295         Don't refer to _SVID_SOURCE in warning text.
15296
15297         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15298
15299         * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
15300         already defined.
15301         (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
15302         * sysdeps/mips/dl-lookup.c: Remove.
15303         * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
15304
15305 2014-02-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
15306
15307         [BZ #16447]
15308         * math/auto-libm-test-in: Add testcase for expl.
15309         * math/auto-libm-test-out: Regenerate.
15310         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
15311         calculation of unsafe.
15312         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
15313
15314 2014-02-11  Marcus Shawcroft  <marcus.shawcroft@arm.com>
15315
15316         * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
15317         * sysdeps/unix/sysv/linux/aarch64: Move directory from
15318         ports/sysdeps/unix/sysv/linux/aarch64.
15319         * README: Update listing for aarch64*-*-linux-gnu.
15320
15321 2014-02-11  Will Newton  <will.newton@linaro.org>
15322
15323         * manual/probes.texi (Mathematical Function Probes): Use
15324         "triggered" instead of "hit".
15325
15326         * manual/probes.texi (Internal Probes): Add documentation
15327         of setjmp, longjmp and longjmp_target probes.
15328
15329         * include/stap-probe.h: Add comment about probe argument
15330         format.
15331
15332         * malloc/mtrace.c (attribute_hidden): Remove unused macro
15333         definition.  (tr_where, tr_freehook, tr_mallochook,
15334         tr_reallochook, tr_memalignhook): Use ANSI protoype.
15335
15336 2014-02-11  David S. Miller  <davem@davemloft.net>
15337
15338         * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
15339         processing int_tests.
15340
15341 2014-02-10  Joseph Myers  <joseph@codesourcery.com>
15342
15343         * sysdeps/mips: Move directory from ports/sysdeps/mips.
15344         * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
15345         * sysdeps/unix/sysv/linux/mips: Move directory from
15346         ports/sysdeps/unix/sysv/linux/mips.
15347         * README: Update listing for mips-*-linux-gnu and
15348         mips64-*-linux-gnu.
15349
15350 2014-02-10  Andreas Schwab  <schwab@linux-m68k.org>
15351
15352         * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
15353         * sysdeps/unix/sysv/linux/m68k: Move directory from
15354         ports/sysdeps/unix/sysv/linux/m68k.
15355         * README: Update listing for m68k-*-linux-gnu.
15356
15357 2014-02-10  Chris Metcalf  <cmetcalf@tilera.com>
15358
15359         * sysdeps/tile: Move directory from ports/sysdeps/tile.
15360         * sysdeps/unix/sysv/linux/generic: Move directory from
15361         ports/sysdeps/unix/sysv/linux/generic.
15362         * sysdeps/unix/sysv/linux/tile: Move directory from
15363         ports/sysdeps/unix/sysv/linux/tile.
15364         * README: Update listing for tile*-*-linux-gnu.
15365
15366 2014-02-10  Ondřej Bílka  <neleai@seznam.cz>
15367
15368         * assert/assert.c (__assert_fail_base): Use glibc_likely instead
15369         __builtin_expect.
15370         * benchtests/bench-memmem.c (simple_memmem): Likewise.
15371         * catgets/open_catalog.c (__open_catalog): Likewise.
15372         * csu/libc-start.c (LIBC_START_MAIN): Likewise.
15373         * debug/confstr_chk.c: Likewise.
15374         * debug/fread_chk.c (__fread_chk): Likewise.
15375         * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
15376         * debug/getgroups_chk.c: Likewise.
15377         * debug/mbsnrtowcs_chk.c: Likewise.
15378         * debug/mbsrtowcs_chk.c: Likewise.
15379         * debug/mbstowcs_chk.c: Likewise.
15380         * debug/memcpy_chk.c: Likewise.
15381         * debug/memmove_chk.c: Likewise.
15382         * debug/mempcpy_chk.c: Likewise.
15383         * debug/memset_chk.c: Likewise.
15384         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
15385         * debug/strcat_chk.c (__strcat_chk): Likewise.
15386         * debug/strcpy_chk.c (__strcpy_chk): Likewise.
15387         * debug/strncat_chk.c (__strncat_chk): Likewise.
15388         * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
15389         * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
15390         * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
15391         * debug/wcpncpy_chk.c: Likewise.
15392         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
15393         * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
15394         * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
15395         * debug/wcsncpy_chk.c: Likewise.
15396         * debug/wcsnrtombs_chk.c: Likewise.
15397         * debug/wcsrtombs_chk.c: Likewise.
15398         * debug/wcstombs_chk.c: Likewise.
15399         * debug/wmemcpy_chk.c: Likewise.
15400         * debug/wmemmove_chk.c: Likewise.
15401         * debug/wmempcpy_chk.c: Likewise.
15402         * debug/wmemset_chk.c: Likewise.
15403         * dirent/scandirat.c (SCANDIRAT): Likewise.
15404         * dlfcn/dladdr1.c (dladdr1): Likewise.
15405         * dlfcn/dladdr.c (dladdr): Likewise.
15406         * dlfcn/dlclose.c (dlclose_doit): Likewise.
15407         * dlfcn/dlerror.c (__dlerror): Likewise.
15408         * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
15409         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
15410         * dlfcn/dlopen.c (dlopen_doit): Likewise.
15411         * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
15412         * dlfcn/dlsym.c (dlsym_doit): Likewise.
15413         * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
15414         * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
15415         * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
15416         Likewise.
15417         * elf/dl-conflict.c: Likewise.
15418         * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
15419         * elf/dl-dst.h: Likewise.
15420         * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
15421         * elf/dl-fptr.c (_dl_make_fptr): Likewise.
15422         * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
15423         * elf/dl-init.c (call_init, _dl_init): Likewise.
15424         * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
15425         * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
15426         (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
15427         Likewise.
15428         * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
15429         Likewise.
15430         * elf/dl-minimal.c (__libc_memalign): Likewise.
15431         * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
15432         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
15433         * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
15434         * elf/dl-sym.c (do_sym): Likewise.
15435         * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
15436         (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
15437         * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
15438         * elf/dl-writev.h (_dl_writev): Likewise.
15439         * elf/ldconfig.c (search_dir): Likewise.
15440         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
15441         (dl_main): Likewise.
15442         * elf/setup-vdso.h (setup_vdso): Likewise.
15443         * grp/compat-initgroups.c (compat_call): Likewise.
15444         * grp/fgetgrent.c (fgetgrent): Likewise.
15445         * grp/initgroups.c (getgrouplist, initgroups): Likewise.
15446         * grp/putgrent.c (putgrent): Likewise.
15447         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
15448         Likewise.
15449         * hurd/hurdinit.c: Likewise.
15450         * iconvdata/8bit-gap.c (struct): Likewise.
15451         * iconvdata/ansi_x3.110.c : Likewise.
15452         * iconvdata/big5.c : Likewise.
15453         * iconvdata/big5hkscs.c : Likewise.
15454         * iconvdata/cp1255.c: Likewise.
15455         * iconvdata/cp1258.c : Likewise.
15456         * iconvdata/cp932.c : Likewise.
15457         * iconvdata/euc-cn.c: Likewise.
15458         * iconvdata/euc-jisx0213.c : Likewise.
15459         * iconvdata/euc-jp.c: Likewise.
15460         * iconvdata/euc-jp-ms.c : Likewise.
15461         * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
15462         * iconvdata/gb18030.c : Likewise.
15463         * iconvdata/gbbig5.c (const): Likewise.
15464         * iconvdata/gbgbk.c: Likewise.
15465         * iconvdata/gbk.c : Likewise.
15466         * iconvdata/ibm1364.c : Likewise.
15467         * iconvdata/ibm930.c : Likewise.
15468         * iconvdata/ibm932.c: Likewise.
15469         * iconvdata/ibm933.c : Likewise.
15470         * iconvdata/ibm935.c : Likewise.
15471         * iconvdata/ibm937.c : Likewise.
15472         * iconvdata/ibm939.c : Likewise.
15473         * iconvdata/ibm943.c: Likewise.
15474         * iconvdata/iso_11548-1.c: Likewise.
15475         * iconvdata/iso-2022-cn.c : Likewise.
15476         * iconvdata/iso-2022-cn-ext.c : Likewise.
15477         * iconvdata/iso-2022-jp-3.c: Likewise.
15478         * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
15479         * iconvdata/iso-2022-kr.c : Likewise.
15480         * iconvdata/iso646.c (gconv_end): Likewise.
15481         * iconvdata/iso_6937-2.c : Likewise.
15482         * iconvdata/iso_6937.c : Likewise.
15483         * iconvdata/iso8859-1.c: Likewise.
15484         * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
15485         * iconvdata/shift_jisx0213.c : Likewise.
15486         * iconvdata/sjis.c : Likewise.
15487         * iconvdata/t.61.c : Likewise.
15488         * iconvdata/tcvn5712-1.c : Likewise.
15489         * iconvdata/tscii.c: Likewise.
15490         * iconvdata/uhc.c : Likewise.
15491         * iconvdata/unicode.c (gconv_end): Likewise.
15492         * iconvdata/utf-16.c (gconv_end): Likewise.
15493         * iconvdata/utf-32.c (gconv_end): Likewise.
15494         * iconvdata/utf-7.c (base64): Likewise.
15495         * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
15496         * iconv/gconv_close.c (__gconv_close): Likewise.
15497         * iconv/gconv_open.c (__gconv_open): Likewise.
15498         * iconv/gconv_simple.c (internal_ucs4_loop_single)
15499         (ucs4_internal_loop, ucs4_internal_loop_unaligned)
15500         (ucs4_internal_loop_single, internal_ucs4le_loop_single)
15501         (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
15502         (ucs4le_internal_loop_single): Likewise.
15503         * iconv/iconv.c (iconv): Likewise.
15504         * iconv/iconv_close.c: Likewise.
15505         * iconv/loop.c (SINGLE): Likewise.
15506         * iconv/skeleton.c (FUNCTION_NAME): Likewise.
15507         * include/atomic.h: Likewise.
15508         * inet/inet6_option.c (option_alloc): Likewise.
15509         * intl/bindtextdom.c (set_binding_values): Likewise.
15510         * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
15511         * intl/loadmsgcat.c (_nl_load_domain): Likewise.
15512         * intl/localealias.c (read_alias_file): Likewise.
15513         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
15514         * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
15515         (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
15516         * libio/fmemopen.c (fmemopen): Likewise.
15517         * libio/iofgets.c (_IO_fgets): Likewise.
15518         * libio/iofgets_u.c (fgets_unlocked): Likewise.
15519         * libio/iofgetws.c (fgetws): Likewise.
15520         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
15521         * libio/iogetdelim.c (_IO_getdelim): Likewise.
15522         * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
15523         (adjust_wide_data, _IO_wfile_seekoff): Likewise.
15524         * locale/findlocale.c (_nl_find_locale): Likewise.
15525         * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
15526         * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
15527         Likewise.
15528         * locale/setlocale.c (setlocale): Likewise.
15529         * login/programs/pt_chown.c (main): Likewise.
15530         * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
15531         * malloc/malloc.c (_int_malloc, _int_free): Likewise.
15532         * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
15533         (mmap, mmap64, mremap, munmap): Likewise.
15534         * math/e_exp2l.c: Likewise.
15535         * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
15536         * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
15537         * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
15538         * math/s_catan.c (__catan): Likewise.
15539         * math/s_catanf.c (__catanf): Likewise.
15540         * math/s_catanh.c (__catanh): Likewise.
15541         * math/s_catanhf.c (__catanhf): Likewise.
15542         * math/s_catanhl.c (__catanhl): Likewise.
15543         * math/s_catanl.c (__catanl): Likewise.
15544         * math/s_ccosh.c (__ccosh): Likewise.
15545         * math/s_ccoshf.c (__ccoshf): Likewise.
15546         * math/s_ccoshl.c (__ccoshl): Likewise.
15547         * math/s_cexp.c (__cexp): Likewise.
15548         * math/s_cexpf.c (__cexpf): Likewise.
15549         * math/s_cexpl.c (__cexpl): Likewise.
15550         * math/s_clog10.c (__clog10): Likewise.
15551         * math/s_clog10f.c (__clog10f): Likewise.
15552         * math/s_clog10l.c (__clog10l): Likewise.
15553         * math/s_clog.c (__clog): Likewise.
15554         * math/s_clogf.c (__clogf): Likewise.
15555         * math/s_clogl.c (__clogl): Likewise.
15556         * math/s_csin.c (__csin): Likewise.
15557         * math/s_csinf.c (__csinf): Likewise.
15558         * math/s_csinh.c (__csinh): Likewise.
15559         * math/s_csinhf.c (__csinhf): Likewise.
15560         * math/s_csinhl.c (__csinhl): Likewise.
15561         * math/s_csinl.c (__csinl): Likewise.
15562         * math/s_csqrt.c (__csqrt): Likewise.
15563         * math/s_csqrtf.c (__csqrtf): Likewise.
15564         * math/s_csqrtl.c (__csqrtl): Likewise.
15565         * math/s_ctan.c (__ctan): Likewise.
15566         * math/s_ctanf.c (__ctanf): Likewise.
15567         * math/s_ctanh.c (__ctanh): Likewise.
15568         * math/s_ctanhf.c (__ctanhf): Likewise.
15569         * math/s_ctanhl.c (__ctanhl): Likewise.
15570         * math/s_ctanl.c (__ctanl): Likewise.
15571         * math/w_pow.c: Likewise.
15572         * math/w_powf.c: Likewise.
15573         * math/w_powl.c: Likewise.
15574         * math/w_scalb.c (sysv_scalb): Likewise.
15575         * math/w_scalbf.c (sysv_scalbf): Likewise.
15576         * math/w_scalbl.c (sysv_scalbl): Likewise.
15577         * misc/error.c (error_tail): Likewise.
15578         * misc/pselect.c (__pselect): Likewise.
15579         * nis/nis_callback.c (__nis_create_callback): Likewise.
15580         * nis/nis_call.c (__nisfind_server): Likewise.
15581         * nis/nis_creategroup.c (nis_creategroup): Likewise.
15582         * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
15583         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
15584         * nis/nis_getservlist.c (nis_getservlist): Likewise.
15585         * nis/nis_lookup.c (nis_lookup): Likewise.
15586         * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
15587         * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
15588         (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
15589         * nis/nis_xdr.c (xdr_endpoint): Likewise.
15590         * nis/nss_compat/compat-grp.c (getgrent_next_file)
15591         (internal_getgrnam_r, internal_getgrgid_r): Likewise.
15592         * nis/nss_compat/compat-initgroups.c (add_group)
15593         (internal_getgrent_r): Likewise.
15594         * nis/nss_compat/compat-pwd.c (getpwent_next_file)
15595         (internal_getpwnam_r, internal_getpwuid_r): Likewise.
15596         * nis/nss_compat/compat-spwd.c (getspent_next_file)
15597         (internal_getspnam_r): Likewise.
15598         * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
15599         (_nss_nis_getaliasbyname_r): Likewise.
15600         * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
15601         (_nss_nis_getntohost_r): Likewise.
15602         * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
15603         (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
15604         (_nss_nis_getgrgid_r): Likewise.
15605         * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
15606         (internal_nis_gethostent_r, internal_gethostbyname2_r)
15607         (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
15608         (_nss_nis_gethostbyname4_r): Likewise.
15609         * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
15610         (initgroups_netid): Likewise.
15611         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
15612         * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
15613         (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
15614         * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
15615         (_nss_nis_getprotobynumber_r): Likewise.
15616         * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
15617         (_nss_nis_getsecretkey): Likewise.
15618         * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
15619         (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
15620         (_nss_nis_getpwuid_r): Likewise.
15621         * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
15622         (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
15623         * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
15624         (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
15625         * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
15626         (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
15627         * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
15628         Likewise.
15629         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
15630         (_nss_nisplus_getntohost_r): Likewise.
15631         * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
15632         (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
15633         * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
15634         (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
15635         Likewise.
15636         * nis/nss_nisplus/nisplus-initgroups.c
15637         (_nss_nisplus_initgroups_dyn): Likewise.
15638         * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
15639         (_nss_nisplus_getnetbyaddr_r): Likewise.
15640         * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
15641         (_nss_nisplus_getprotobynumber_r): Likewise.
15642         * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
15643         (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
15644         * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
15645         Likewise.
15646         * nis/nss_nisplus/nisplus-service.c
15647         (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
15648         (_nss_nisplus_getservbyport_r): Likewise.
15649         * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
15650         (_nss_nisplus_getspnam_r): Likewise.
15651         * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
15652         Likewise.
15653         * nscd/aicache.c (addhstaiX): Likewise.
15654         * nscd/cache.c (cache_search, prune_cache): Likewise.
15655         * nscd/connections.c (register_traced_file, send_ro_fd)
15656         (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
15657         (main_loop_epoll): Likewise.
15658         * nscd/grpcache.c (addgrbyX): Likewise.
15659         * nscd/hstcache.c (addhstbyX): Likewise.
15660         * nscd/initgrcache.c (addinitgroupsX): Likewise.
15661         * nscd/mem.c (gc, mempool_alloc): Likewise.
15662         * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
15663         (addinnetgrX): Likewise.
15664         * nscd/nscd-client.h (__nscd_acquire_maplock)
15665         (__nscd_drop_map_ref): Likewise.
15666         * nscd/nscd_getai.c (__nscd_getai): Likewise.
15667         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
15668         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
15669         Likewise.
15670         * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
15671         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
15672         * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
15673         (__nscd_get_map_ref): Likewise.
15674         * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
15675         * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
15676         Likewise.
15677         * nscd/pwdcache.c (addpwbyX): Likewise.
15678         * nscd/selinux.c (preserve_capabilities): Likewise.
15679         * nscd/servicescache.c (addservbyX): Likewise.
15680         * nss/nss_files/files-XXX.c (internal_getent): Likewise.
15681         * posix/fnmatch.c (fnmatch): Likewise.
15682         * posix/getopt.c (_getopt_internal_r): Likewise.
15683         * posix/glob.c (glob, glob_in_dir): Likewise.
15684         * posix/wordexp.c (exec_comm_child): Likewise.
15685         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
15686         (getanswer_r, gaih_getanswer_slice): Likewise.
15687         * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
15688         * resolv/res_init.c: Likewise.
15689         * resolv/res_mkquery.c (res_nmkquery): Likewise.
15690         * resolv/res_query.c (__libc_res_nquery): Likewise.
15691         * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
15692         Likewise.
15693         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
15694         * stdio-common/perror.c (perror): Likewise.
15695         * stdio-common/printf_fp.c (___printf_fp): Likewise.
15696         * stdio-common/tmpnam.c (tmpnam): Likewise.
15697         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
15698         * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
15699         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
15700         Likewise.
15701         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
15702         * stdlib/putenv.c (putenv): Likewise.
15703         * stdlib/setenv.c (__add_to_environ): Likewise.
15704         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
15705         * stdlib/strtol_l.c (INTERNAL): Likewise.
15706         * string/memmem.c (memmem): Likewise.
15707         * string/strerror.c (strerror): Likewise.
15708         * string/strnlen.c (__strnlen): Likewise.
15709         * string/test-memmem.c (simple_memmem): Likewise.
15710         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
15711         * sunrpc/pm_getport.c (__get_socket): Likewise.
15712         * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
15713         * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
15714         * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
15715         (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
15716         Likewise.
15717         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
15718         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
15719         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
15720         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
15721         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
15722         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
15723         Likewise.
15724         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
15725         Likewise.
15726         * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
15727         * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
15728         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
15729         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
15730         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
15731         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
15732         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
15733         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
15734         * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
15735         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
15736         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
15737         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
15738         Likewise.
15739         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
15740         Likewise.
15741         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
15742         Likewise.
15743         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
15744         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
15745         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
15746         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
15747         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
15748         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
15749         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
15750         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
15751         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
15752         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
15753         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
15754         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
15755         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
15756         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
15757         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
15758         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
15759         Likewise.
15760         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
15761         Likewise.
15762         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
15763         Likewise.
15764         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
15765         Likewise.
15766         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
15767         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
15768         * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
15769         Likewise.
15770         * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
15771         * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
15772         * sysdeps/posix/opendir.c (__opendirat): Likewise.
15773         * sysdeps/posix/sleep.c: Likewise.
15774         * sysdeps/posix/tempname.c: Likewise.
15775         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
15776         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
15777         Likewise.
15778         * sysdeps/powerpc/powerpc32/dl-machine.h
15779         (elf_machine_runtime_setup, elf_machine_rela): Likewise.
15780         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
15781         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
15782         * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
15783         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
15784         Likewise.
15785         * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
15786         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
15787         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
15788         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
15789         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
15790         * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
15791         * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
15792         * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
15793         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
15794         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
15795         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
15796         (elf_machine_lazy_rel): Likewise.
15797         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
15798         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
15799         (elf_machine_lazy_rel): Likewise.
15800         * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
15801         * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
15802         * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
15803         * sysdeps/unix/grantpt.c (grantpt): Likewise.
15804         * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
15805         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
15806         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
15807         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
15808         Likewise.
15809         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
15810         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
15811         * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
15812         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
15813         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
15814         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
15815         * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
15816         * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
15817         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
15818         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
15819         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
15820         Likewise.
15821         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
15822         (__posix_fallocate64_l64): Likewise.
15823         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
15824         (posix_fallocate): Likewise.
15825         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
15826         Likewise.
15827         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
15828         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
15829         (getifaddrs_internal): Likewise.
15830         * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
15831         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
15832         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
15833         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
15834         * sysdeps/unix/sysv/linux/posix_fallocate64.c
15835         (__posix_fallocate64_l64): Likewise.
15836         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
15837         Likewise.
15838         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
15839         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
15840         (__get_clockfreq): Likewise.
15841         * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
15842         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
15843         * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
15844         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
15845         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
15846         * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
15847         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
15848         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
15849         Likewise.
15850         * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
15851         * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
15852         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
15853         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
15854         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
15855         * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
15856         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
15857         Likewise.
15858         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
15859         (posix_fallocate): Likewise.
15860         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
15861         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
15862         * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
15863         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
15864         (elf_machine_rela, elf_machine_rela_relative)
15865         (elf_machine_lazy_rel): Likewise.
15866         * time/asctime.c (asctime_internal): Likewise.
15867         * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
15868         * time/tzset.c (__tzset_parse_tz): Likewise.
15869         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
15870         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
15871         * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
15872         * wcsmbs/wcsmbsload.h: Likewise.
15873
15874         [BZ #15894]
15875         * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
15876
15877         * malloc/arena.c (grow_heap, get_free_list, reused_arena)
15878         (arena_get2): Remove THREAD_STATS conditionals.
15879         * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
15880         (__malloc_stats, int): Likewise.
15881
15882 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
15883
15884         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
15885         f.f_type to RAMFS_MAGIC too.  Compare mp->mnt_type to shm too.
15886
15887         * manual/setjmp.texi: Fix typos/grammar errors.
15888
15889         * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
15890         Only return early when n is <= 0.  Delete unused return statement.
15891
15892         * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
15893         (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
15894         * debug/tst-longjmp_chk3.c: New file.
15895
15896         * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
15897         (test_main): Replace code with set_fortify_handler call.
15898         * debug/test-strcpy_chk.c: Likewise.
15899         * debug/tst-chk1.c: Likewise.
15900         * debug/tst-longjmp_chk.c: Likewise.
15901         * test-skeleton.c: Include fcntl.h & paths.h
15902         (set_fortify_handler): Define.
15903
15904         * debug/tst-longjmp_chk.c: Add header comment and include
15905         ../test-skeleton.c.
15906         (do_test): Mark static.
15907         (TEST_FUNCTION): Define.
15908
15909         * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
15910         (IP_PMTUDISC_INTERFACE): Likewise.
15911         (IP_MULTICAST_IF): Likewise.
15912         (IP_MULTICAST_TTL): Likewise.
15913         (IP_MULTICAST_LOOP): Likewise.
15914         (IP_ADD_MEMBERSHIP): Likewise.
15915         (IP_DROP_MEMBERSHIP): Likewise.
15916         (IP_UNBLOCK_SOURCE): Likewise.
15917         (IP_BLOCK_SOURCE): Likewise.
15918         (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
15919         (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
15920         (IP_MSFILTER): Likewise.
15921         (MCAST_JOIN_GROUP): Likewise.
15922         (MCAST_BLOCK_SOURCE): Likewise.
15923         (MCAST_UNBLOCK_SOURCE): Likewise.
15924         (MCAST_LEAVE_GROUP): Likewise.
15925         (MCAST_JOIN_SOURCE_GROUP): Likewise.
15926         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
15927         (MCAST_MSFILTER): Likewise.
15928         (IP_MULTICAST_ALL): Likewise.
15929         (IP_UNICAST_IF): Likewise.
15930
15931         * timezone/Makefile: Delete $(have-ksh) check.
15932         ($(objpfx)tzselect): Change $(KSH) to $(BASH).
15933         * timezone/tzselect.ksh: Add +x mode bits.
15934
15935         * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
15936         (ANON_INODE_FS_MAGIC): Likewise.
15937         (BDEVFS_MAGIC): Likewise.
15938         (BINFMTFS_MAGIC): Likewise.
15939         (BTRFS_TEST_MAGIC): Likewise.
15940         (CRAMFS_MAGIC_WEND): Likewise.
15941         (DEBUGFS_MAGIC): Likewise.
15942         (ECRYPTFS_SUPER_MAGIC): Likewise.
15943         (EXT3_SUPER_MAGIC): Likewise.
15944         (EXT4_SUPER_MAGIC): Likewise.
15945         (FUTEXFS_SUPER_MAGIC): Likewise.
15946         (HOSTFS_SUPER_MAGIC): Likewise.
15947         (HUGETLBFS_MAGIC): Likewise.
15948         (MINIX3_SUPER_MAGIC): Likewise.
15949         (MTD_INODE_FS_MAGIC): Likewise.
15950         (NILFS_SUPER_MAGIC): Likewise.
15951         (OPENPROM_SUPER_MAGIC): Likewise.
15952         (PIPEFS_MAGIC): Likewise.
15953         (PSTOREFS_MAGIC): Likewise.
15954         (QNX6_SUPER_MAGIC): Likewise.
15955         (RAMFS_MAGIC): Likewise.
15956         (REISERFS_SUPER_MAGIC_STRING): Likewise.
15957         (REISER2FS_SUPER_MAGIC_STRING): Likewise.
15958         (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
15959         (SECURITYFS_MAGIC): Likewise.
15960         (SELINUX_MAGIC): Likewise.
15961         (SMACK_MAGIC): Likewise.
15962         (SOCKFS_MAGIC): Likewise.
15963         (SQUASHFS_MAGIC): Likewise.
15964         (STACK_END_MAGIC): Likewise.
15965         (TMPFS_MAGIC): Likewise.
15966         (USBDEVICE_SUPER_MAGIC): Likewise.
15967         (V9FS_MAGIC): Likewise.
15968         (XENFS_SUPER_MAGIC): Likewise.
15969         (CRAMFS_MAGIC): Fix typo in comment.
15970         (EXT2_SUPER_MAGIC): Update comment.
15971         (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
15972
15973 2014-02-08  Joseph Myers  <joseph@codesourcery.com>
15974
15975         * sysdeps/arm: Move directory from ports/sysdeps/arm.
15976         * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
15977         * sysdeps/unix/sysv/linux/arm: Move directory from
15978         ports/sysdeps/unix/sysv/linux/arm.
15979         * README: Update listing for arm-*-linux-gnueabi.
15980
15981         * README: Remove mention of am33.
15982
15983 2014-02-07  Roland McGrath  <roland@hack.frob.com>
15984
15985         * bits/sigset.h (__sigemptyset): Use a statement expression rather
15986         than the comma operator, to avoid "rhs of comma has no effect"
15987         compiler warnings.
15988         (__sigfillset, __sigandset, __sigorset): Likewise.
15989         * include/signal.h (__sigemptyset): Likewise.
15990         * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
15991
15992 2014-02-07  Allan McRae  <allan@archlinux.org>
15993
15994         * version.h (RELEASE): Set to "development".
15995         (VERSION): Set to "2.19.90"
15996         * NEWS: Add 2.20 section.
15997
15998 2014-02-06  Carlos O'Donell  <carlos@redhat.com>
15999
16000         [BZ #16529]
16001         * inet/netinet/in.h: Remove comma after IPPROTO_MH.
16002
16003 2014-02-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
16004
16005         * manual/contrib.texi: Update entry for Carlos O'Donell,
16006         Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
16007
16008 2014-02-05  Carlos O'Donell  <carlos@rehdat.com>
16009
16010         * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
16011
16012         * sysdeps/unix/sysv/linux/kernel-features.h
16013         [__LINUX_KERNEL_VERSION >= 0x020621]
16014         (__ASSUME_PROC_PID_TASK_COMM): Define.
16015
16016 2014-02-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
16017
16018         [BZ #16398]
16019         * libio/wfileops.c (_IO_wfile_seekoff): Break out form
16020         conversion when destination buffer does not have enough space.
16021         * libio/tst-ftell-partial-wide.c: New test case.
16022         * libio/Makefile (tests): Add tst-ftell-partial-wide.
16023
16024         * manual/contrib.texi: Update entry for Ondrej Bilka, Will
16025         Newton and Alexandre Oliva.  Add entries for Steve Ellcey, Chris
16026         Leonard and Allan McRae.
16027
16028 2014-02-04  David S. Miller  <davem@davemloft.net>
16029
16030         * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
16031         32-bit.
16032
16033 2014-02-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16034
16035         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
16036         New file
16037         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
16038         New file
16039         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
16040         New file.
16041         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
16042         New file.
16043         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
16044         New file.
16045         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
16046         New file.
16047         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
16048         New file.
16049         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
16050         New file.
16051         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
16052         New file.
16053         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
16054         New file.
16055         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
16056         New file.
16057         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
16058         New file.
16059         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
16060         New file.
16061
16062 2014-02-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16063
16064         * nptl/shlib-versions: Change powerpc*le start to 2.17.
16065         * shlib-versions: Likewise.
16066
16067 2014-02-04  Roland McGrath  <roland@hack.frob.com>
16068             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16069
16070         * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
16071         (abilist-pattern): New variable, set to %-le.abilist.
16072
16073         * Makerules (abilist-pattern): New variable.
16074         (vpath): Use $(abilist-pattern) in place of %.abilist.
16075         (check-abi-% pattern rule): Likewise.
16076         (check-abi, update-abi): Likewise.
16077
16078 2014-02-04  Eric Wong  <normalperson@yhbt.net>
16079
16080         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16081
16082 2014-02-03  Carlos O'Donell  <carlos@redhat.com>
16083
16084         * manual/startup.texi: Add next, previous, and top entries for
16085         the `Program Arguments' and `Environment Variables' nodes.
16086
16087 2014-02-03  Alexandre Oliva <aoliva@redhat.com>
16088
16089         * manual/macros.texi: Add comments before MTASC-safety macros.
16090
16091         * manual/users.texi: Document MTASC-safety properties.
16092
16093         * manual/threads.texi (pthread_key_create, pthread_key_delete)
16094         (pthread_getspecific, pthread_setspecific): Format with
16095         @deftypefun, and add @safety note.
16096         * manual/signal.texi: Move comments that analyze the above
16097         functions to their home place.
16098
16099 2014-02-03  Allan McRae  <allan@archlinux.org>
16100
16101         * po/sl.po: Update Slovenian translation from translation project.
16102
16103 2014-02-02  Alexandre Oliva <aoliva@redhat.com>
16104
16105         * manual/time.texi (timegm): Add missing blank after @c.
16106         Reported by Joseph Myers <joseph@codesourcery.com>.
16107
16108 2014-02-01  Alexandre Oliva <aoliva@redhat.com>
16109
16110         * manual/check-safety.sh: New.
16111         * manual/Makefile ($(objpfx)stamp-summary): Run it.
16112
16113         * manual/terminal.texi: Document MTASC-safety properties.
16114
16115         * manual/filesys.texi: Document MTASC-safety properties.
16116
16117         * manual/errno.texi: Document MTASC-safety properties.
16118
16119         * manual/intro.texi: Document safety identifiers and
16120         conditionals.
16121
16122         * manual/string.texi (wcstok): Fix prototype.
16123         (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
16124
16125         * manual/time.texi: Document MTASC-safety properties.
16126
16127         * manual/string.texi: Document MTASC-safety properties.
16128
16129         * manual/threads.texi: Document MTASC-safety properties.
16130
16131         * manual/stdio.texi: Document MTASC-safety properties.
16132
16133         * manual/syslog.texi: Document MTASC-safety properties.
16134
16135         * manual/sysinfo.texi: Document MTASC-safety properties.
16136
16137         * manual/startup.texi: Document MTASC-safety properties.
16138
16139         * manual/socket.texi: Document MTASC-safety properties.
16140
16141         * manual/signal.texi: Document MTASC-safety properties.
16142
16143 2014-01-31  Alexandre Oliva <aoliva@redhat.com>
16144
16145         * manual/setjmp.texi: Document MTASC-safety properties.
16146
16147         * manual/search.texi: Document MTASC-safety properties.
16148
16149         * manual/resource.texi: Document MTASC-safety properties.
16150
16151         * manual/process.texi: Document MTASC-safety properties.
16152
16153         * manual/platform.texi: Document MTASC-safety properties.
16154
16155         * manual/pipe.texi: Document MTASC-safety properties.
16156
16157         * manual/pattern.texi: Document MTASC-safety properties.
16158
16159         * manual/message.texi: Document MTASC-safety properties.
16160
16161         [BZ #12751]
16162         * manual/memory.texi: Document MTASC-safety properties.
16163
16164         * manual/math.texi: Document MTASC-safety properties.
16165
16166         * manual/locale.texi: Document MTASC-safety properties.
16167
16168         * manual/llio.texi: Document MTASC-safety properties.
16169
16170         * manual/libdl.texi: New.
16171
16172         * manual/lang.texi: Document MTASC-safety properties.
16173
16174         * manual/job.texi: Document MTASC-safety properties.
16175
16176         * manual/getopt.texi: Document MTASC-safety properties.
16177
16178         * manual/ctype.texi: Document MTASC-safety properties.
16179
16180 2014-01-31  Maciej W. Rozycki  <macro@codesourcery.com>
16181
16182         [BZ #16046]
16183         * csu/libc-tls.c (static_map): Remove variable.
16184         (__libc_setup_tls): Use main executable's link map for TLS data.
16185         * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
16186         casing for LM_ID_BASE and GL(dl_nns).
16187         * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
16188         function.  Alias dl_iterate_phdr to __dl_iterate_phdr.
16189         * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
16190         casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
16191         * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
16192         member.
16193         (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
16194         l_phnum members.
16195
16196 2014-01-30  Alexandre Oliva <aoliva@redhat.com>
16197
16198         * manual/debug.texi: Document MTASC-safety properties.
16199
16200 2014-01-29  H.J. Lu  <hongjiu.lu@intel.com>
16201
16202         [BZ #16510]
16203         * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
16204         of __x86_64__ when disabling x87 inline functions.
16205
16206 2014-01-29  Alexandre Oliva <aoliva@redhat.com>
16207
16208         * manual/charset.texi: Document MTASC-safety properties.
16209
16210         * manual/crypt.texi: Document MTASC-safety properties.
16211
16212         * manual/conf.texi: Document MTASC-safety properties.
16213
16214         * manual/arith.texi: Document MTASC-safety properties.
16215
16216         * manual/argp.texi: Document MTASC-safety properties.
16217
16218         * manual/macros.texi: Introduce macros to document multi
16219         thread, asynchronous signal and asynchronous cancellation
16220         safety properties.
16221         * manual/intro.texi: Introduce the properties themselves.
16222
16223 2014-01-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
16224
16225         * sysdeps/sh/sh4/Makefile: New file.
16226
16227 2014-01-27  Andreas Schwab  <schwab@linux-m68k.org>
16228
16229         * math/gen-libm-test.pl ($srcdir): New variable.
16230         ($auto_input): Use it.
16231
16232 2014-01-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
16233
16234         [BZ #16506]
16235         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
16236         access beyond array bounds when parsing netgroups file.
16237
16238         * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
16239         the old buffer before realloc.
16240
16241 2014-01-27  Allan McRae  <allan@archlinux.org>
16242
16243         * po/fr.po: Update French translation from translation project.
16244
16245 2014-01-26  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
16246
16247         * sysdeps/sh/libm-test-ulps: Regenerate.
16248
16249 2014-01-24  David S. Miller  <davem@davemloft.net>
16250
16251         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
16252
16253 2014-01-25  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
16254
16255         * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
16256         * sysdeps/sh/libm-test-ulps: ... here and regenerated.
16257
16258 2013-01-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
16259
16260         [BZ #16474]
16261         * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
16262         string pointers after reallocation.
16263
16264 2014-01-24  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
16265
16266         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
16267         __SH4A__ instead of __SH_FPU_ANY__.
16268
16269 2014-01-23  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
16270
16271         * sysdeps/sh/fpu_control.h: New file.
16272         * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
16273         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
16274         * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
16275         * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
16276         * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
16277         * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
16278         * sysdeps/sh/sys/ucontext.h: Remove.
16279         * sysdeps/sh/sys: Remove directory.
16280
16281 2014-01-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
16282
16283         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
16284         s390/sys/ucontext.h.
16285         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
16286         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
16287
16288 2014-01-20  H.J. Lu  <hongjiu.lu@intel.com>
16289
16290         [BZ #15605]
16291         * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
16292
16293 2014-01-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16294
16295         [BZ#16431]
16296         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
16297         Adjust the vDSO correctly for internal calls.
16298         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
16299
16300 2014-01-20  Allan McRae  <allan@archlinux.org>
16301
16302         * po/ca.po: Update Catalan translation from translation project.
16303
16304 2014-01-16  Mike Frysinger  <vapier@gentoo.org>
16305
16306         * sysdeps/s390/sotruss-lib.c: New file.
16307
16308 2014-01-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16309
16310         [BZ#16430]
16311         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
16312         (__GI___gettimeofday): Alias for a different internal symbol to avoid
16313         local calls issues by not having a PLT stub required for IFUNC calls.
16314         * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
16315
16316 2014-01-16 Joseph Myers  <joseph@codesourcery.com>
16317
16318         * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
16319         * math/test-fpucw-static.c: Likewise.
16320
16321 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
16322
16323         [BZ #16453]
16324         * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
16325
16326 2014-01-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16327
16328         * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
16329         implementation for powerpc.
16330
16331 2014-01-15  Ondřej Bílka  <neleai@seznam.cz>
16332
16333         [BZ #14782]
16334         * sysdeps/posix/system.c (__libc_system): Do not enable
16335         asynchronous cancellation.
16336
16337 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
16338
16339         [BZ #16427]
16340         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
16341         handling only for numbers special also in the IEEE case.
16342
16343 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
16344
16345         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
16346
16347 2014-01-11  Allan McRae  <allan@archlinux.org>
16348
16349         * po/bg.po: Update Bulgarian translation from translation project.
16350
16351         * po/de.po: Update German translation from translation project.
16352
16353 2014-01-10  Roland McGrath  <roland@hack.frob.com>
16354
16355         * sysdeps/generic/gcc-compat.h: New file.
16356
16357 2014-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
16358
16359         * benchtests/asin-inputs: Correct slow inputs.
16360         * benchtests/acos-inputs: Likewise.
16361
16362 2014-01-10  Allan McRae  <allan@archlinux.org>
16363
16364         * po:sv.po: Update Swedish translation from translation project.
16365
16366         * po/vi.po: Update Vietnamese translation from translation project.
16367
16368         * po/eo.po: Update Esperanto translation from translation project.
16369
16370         * po/cs.po: Update Czech translation from translation project.
16371
16372         * po/nl.po: Update Dutch translation from translation project.
16373
16374         * po/pl.po: Update Polish translation from translation project.
16375
16376         * po/ru.po: Update Russian translation from translation project.
16377
16378         * po/uk.po: Update Ukrainian translation from translation project.
16379
16380 2014-01-08  Brooks Moses  <bmoses@google.com>
16381
16382         * elf/dl-load.c: Fix comment typo.
16383
16384 2014-01-08  Carlos O'Donell  <carlos@redhat.com>
16385
16386         * po/header.pot: Rename to...
16387         * po/pot.header: ... this.
16388         * po/Makefile: Use pot.header.
16389
16390 2014-01-08  Yuriy Kaminskiy  <yumkam@gmail.com>
16391             Maxim Kuvyrkov  <maxim@kugelworks.com>
16392
16393         [BZ #16394]
16394         * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
16395         SRC and DEST against LEN.
16396
16397 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16398
16399         [BZ #16414]
16400         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
16401         implementation.
16402         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
16403
16404 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16405
16406         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16407
16408 2014-01-08  Joseph Myers  <joseph@codesourcery.com>
16409
16410         [BZ #16408]
16411         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
16412         for large positive arguments.
16413
16414 2014-01-07  Joseph Myers  <joseph@codesourcery.com>
16415
16416         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
16417
16418         * math/auto-libm-test-in: Mark various tests with
16419         xfail-rounding:ldbl-128ibm.
16420         * math/auto-libm-test-out: Regenerated.
16421
16422         [BZ #16407]
16423         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
16424         Increase overflow threshold.
16425
16426 2014-01-07  Ondřej Bílka  <neleai@seznam.cz>
16427
16428         [BZ #14286]
16429         * stdio-common/vfprintf.c: Check for integer overflow.
16430
16431 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
16432
16433         * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
16434         the first argument and return value of __tls_get_addr_internal.
16435
16436 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
16437
16438         * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
16439         also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
16440
16441 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
16442
16443         * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
16444         * sysdeps/s390/rtld-global-offsets.sym: New file.
16445         * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
16446         GLIBC_2.19 symbol.
16447         * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
16448         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
16449         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
16450         ... this.
16451         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
16452         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
16453         ... this.
16454         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
16455         Regenerate.
16456         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
16457         Regenerate.
16458         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
16459         halfs of GPRs for high_gprs contexts.
16460         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
16461         restore upper halfs of GPRs for high_gprs contexts.  Copy uc_flags
16462         field.
16463         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
16464         uc_flags field.
16465         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
16466         64 bit versions:
16467         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
16468         for high GPRs (uc_high_gprs) and for future extensions
16469         (__reserved).
16470         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
16471         for future extensions (__reserved).
16472         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
16473         64 bit versions:
16474         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
16475         SC_HIGHGPRS offset definition.
16476         * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
16477         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
16478
16479         * Versions.def: Add GLIBC_2.19 for libpthread.
16480         * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
16481         siglongjmp for libpthread with GLIBC_2.19 symver.
16482         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
16483         * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
16484         * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
16485         * sysdeps/s390/__longjmp.c: New file.
16486         * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
16487         * sysdeps/s390/longjmp.c: New file.
16488         * sysdeps/s390/setjmp.S: New file.
16489         * sysdeps/s390/sigjmp.S: New file.
16490         * sysdeps/s390/v1-longjmp.c: New file.
16491         * sysdeps/s390/v1-setjmp.h: New file.
16492         * sysdeps/s390/v1-sigjmp.c: New file.
16493         * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
16494         * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
16495         GLIBC_2.19 version.
16496         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
16497         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
16498         versioned symbols for ____longjmp_chk.
16499         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
16500         Likewise.
16501         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
16502         Regenerate.
16503         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
16504         Regenerate.
16505         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
16506         Regenerate.
16507         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
16508         Regenerate.
16509         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
16510         * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
16511         * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
16512         * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
16513         * sysdeps/s390/s390-32/setjmp-common.S: ... this.
16514         * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
16515         * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
16516         * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
16517         * sysdeps/s390/s390-64/setjmp-common.S: ... this.
16518         * sysdeps/s390/rtld-__longjmp.c: New file.
16519         * sysdeps/s390/rtld-setjmp.S: New file.
16520
16521 2014-01-06  Joseph Myers  <joseph@codesourcery.com>
16522
16523         [BZ #16400]
16524         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
16525         Return -__logl (x) for small positive arguments without evaluating
16526         a polynomial.
16527
16528 2014-01-06  Mike Frysinger  <vapier@gentoo.org>
16529
16530         * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
16531         Rename to ...
16532         (__ptrace_peeksiginfo_args): ... this.
16533         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
16534         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
16535         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
16536
16537 2014-01-06  Allan McRae  <allan@archlinux.org>
16538
16539         * inet/netinet/in.h: Fix typo in comment.
16540
16541 2014-01-05  Andreas Jaeger  <aj@suse.de>
16542
16543         * sysdeps/i386/fpu/libm-test-ulps: Update.
16544
16545 2014-01-05  Allan McRae  <allan@archlinux.org>
16546
16547         * po/libc.pot: Regenerated.
16548
16549         * malloc/memusagestat.c: Fix gettext call formatting.
16550
16551 2014-01-04  Sami Kerola  <kerolasa@iki.fi>
16552
16553         * nscd/nscd.c: Improve usage() output.
16554
16555 2014-01-04  Mike Frysinger  <vapier@gentoo.org>
16556
16557         * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
16558         * sysdeps/unix/sysv/linux/configure: Regenerated.
16559         * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
16560         * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
16561
16562 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
16563
16564         [BZ #16390]
16565         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
16566         (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
16567
16568 2014-01-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16569
16570         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
16571         extra tokens at end of #undef directive.
16572         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
16573         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
16574         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
16575
16576 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
16577
16578         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
16579
16580         * math/auto-libm-test-in: Mark various tests with
16581         xfail-rounding:ldbl-128ibm.
16582         * math/auto-libm-test-out: Regenerated.
16583
16584 2014-01-02  Joseph Myers  <joseph@codesourcery.com>
16585
16586         [BZ #16386]
16587         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
16588         numbers with subnormal high part when calculating exponent.
16589
16590         [BZ #16385]
16591         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
16592         fabs.
16593
16594         [BZ #16384]
16595         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
16596         M_LN2l.
16597         (__ieee754_acoshl): Use __log1pl not __log1p.
16598
16599 2013-01-02  Ondřej Bílka  <neleai@seznam.cz>
16600
16601         * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
16602         (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
16603         (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
16604         (grow_heap, heap_trim, _int_new_arena, get_free_list)
16605         (reused_arena, arena_get2): Convert to GNU style.
16606         * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
16607         (mem2mem_check, mem2chunk_check, top_check, realloc_check)
16608         (memalign_check, __malloc_set_state): Likewise.
16609         * malloc/mallocbug.c (main): Likewise.
16610         * malloc/malloc.c (__malloc_assert, malloc_init_state)
16611         (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
16612         (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
16613         (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
16614         (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
16615         (__posix_memalign, malloc_info): Likewise.
16616         * malloc/malloc.h: Likewise.
16617         * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
16618         (mallochook, memalignhook, reallochook, mabort): Likewise.
16619         * malloc/mcheck.h: Likewise.
16620         * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
16621         (free, mmap, mmap64, mremap, munmap, dest): Likewise.
16622         * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
16623         * malloc/morecore.c (__default_morecore): Likewise.
16624         * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
16625         * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
16626         (_obstack_allocated_p, obstack_free, _obstack_memory_used)
16627         (print_and_abort): Likewise.
16628         * malloc/obstack.h: Likewise.
16629         * malloc/set-freeres.c (__libc_freeres): Likewise.
16630         * malloc/tst-mallocstate.c (main): Likewise.
16631         * malloc/tst-mtrace.c (main): Likewise.
16632         * malloc/tst-realloc.c (do_test): Likewise.
16633
16634 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
16635
16636         [BZ #16366]
16637         * nscd/netgroupcache.c (do_notfound): New function.
16638         (addgetnetgrentX): Use it.
16639
16640         [BZ # 16365]
16641         * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
16642         NSS_STATUS_NOTFOUND.
16643
16644 2014-01-01  Joseph Myers  <joseph@codesourcery.com>
16645
16646         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
16647         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16648
16649 2014-01-01  Allan McRae  <allan@archlinux.org>
16650
16651         * scripts/update-copyrights: Update configure input file suffix.
16652
16653         * NEWS: Update copyright year.
16654         * catgets/gencat.c: Likewise.
16655         * csu/version.c: Likewise.
16656         * debug/catchsegv.sh: Likewise.
16657         * debug/pcprofiledump.c: Likewise.
16658         * debug/xtrace.sh: Likewise.
16659         * elf/ldconfig.c: Likewise.
16660         * elf/ldd.bash.in: Likewise.
16661         * elf/pldd.c: Likewise.
16662         * elf/sotruss.ksh: Likewise.
16663         * elf/sprof.c: Likewise.
16664         * iconv/iconv_prog.c: Likewise.
16665         * iconv/iconvconfig.c: Likewise.
16666         * locale/programs/locale.c: Likewise.
16667         * locale/programs/localedef.c: Likewise.
16668         * login/programs/pt_chown.c: Likewise.
16669         * malloc/memusage.sh: Likewise.
16670         * malloc/memusagestat.c: Likewise.
16671         * malloc/mtrace.pl: Likewise.
16672         * manual/libc.texinfo: Likewise.
16673         * nscd/nscd.c: Likewise.
16674         * nss/getent.c: Likewise.
16675         * nss/makedb.c: Likewise.
16676         * posix/getconf.c: Likewise.
16677         * scripts/test-installation.pl: Likewise.
16678
16679         * All files with FSF copyright notices: Update copyright dates
16680         using scripts/update-copyrights.
16681         * intl/plural.c: Regenerated.
16682         * locale/programs/charmap-kw.h: Likewise.
16683         * locale/programs/locfile-kw.h: Likewise.
16684
16685 2013-12-31  Mike Frysinger  <vapier@gentoo.org>
16686
16687         * sysdeps/unix/sysv/linux/configure: Regenerated.
16688         * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
16689         the linux/fanotify.h header.
16690         * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
16691         HAVE_LINUX_FANOTIFY_H is defined.
16692
16693 2013-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
16694
16695         * benchtests/cos-inputs: New inputs.
16696         * benchtests/sin-inputs: Likewise.
16697
16698         * benchtests/atan-inputs: New inputs. Fix name of multiple
16699         precision fallback inputs.
16700
16701         * benchtests/atanh-inputs: New inputs.
16702         * benchtests/tanh-inputs: Likewise.
16703
16704         * benchtests/acosh-inputs: New inputs.
16705         * benchtests/asinh-inputs: Likewise.
16706
16707         * benchtests/cosh-inputs: New inputs.
16708         * benchtests/sinh-inputs: Likewise.
16709
16710         * benchtests/acos-inputs: Add more inputs.
16711         * benchtests/asin-inputs: Likewise.
16712
16713 2013-12-30  Ville Skytta  <ville.skytta@iki.fi>
16714
16715         [BZ #16375]
16716         * manual/arith.texi: Fix spelling.
16717         * manual/charset.texi: Likewise.
16718         * manual/errno.texi: Likewise.
16719         * manual/filesys.texi: Likewise.
16720         * manual/lang.texi: Likewise.
16721         * manual/llio.texi: Likewise.
16722         * manual/locale.texi: Likewise.
16723         * manual/message.texi: Likewise.
16724         * manual/resource.texi: Likewise.
16725         * manual/search.texi: Likewise.
16726         * manual/setjmp.texi: Likewise.
16727         * manual/stdio.texi: Likewise.
16728         * manual/string.texi: Likewise.
16729         * manual/sysinfo.texi: Likewise.
16730         * manual/time.texi: Likewise.
16731
16732 2013-12-27  Carlos O'Donell  <carlos@redhat.com>
16733
16734         * po/sl.po: New file.
16735
16736 2013-12-27  Mike Frysinger  <vapier@gentoo.org>
16737
16738         * .gitignore: Add core/.gdbinit/.gdb_history.
16739
16740 2013-12-27  Allan McRae  <allan@archlinux.org>
16741
16742         [BZ #16369]
16743         * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
16744         Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
16745
16746 2013-12-24  Brooks Moses  <bmoses@google.com>
16747
16748         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
16749         all compilers that claim C++98 compliance, not just GCC.
16750         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
16751         Likewise.
16752
16753 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
16754
16755         * NEWS: Restore accidentally deleted bug-fix entries.
16756
16757 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
16758             Ondřej Bílka  <neleai@seznam.cz>
16759
16760         [BZ #15073]
16761         * malloc/malloc.c (_int_free): Perform sanity check only if we
16762         have_lock.
16763
16764 2013-12-23  Ondřej Bílka  <neleai@seznam.cz>
16765
16766         [BZ #12986]
16767         * manual/stdio.texi (String Input Conversions): Clarify that character
16768         classes are not supported.
16769
16770 2013-12-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16771
16772         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16773
16774 2013-12-22  Joseph Myers  <joseph@codesourcery.com>
16775
16776         [BZ #16337]
16777         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
16778         Calculate results for small negative arguments directly rather
16779         than using reflection formula with special underflow handling.
16780
16781         * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
16782         * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
16783         sysdeps/unix/bsd/bsd4.4/syscalls.list.
16784         (fchflags): Likewise.
16785         (revoke): Likewise.
16786         (setlogin): Likewise.
16787         (sigaltstack): Likewise.
16788         (wait4): Likewise.
16789         (sigblock): Remove.
16790         (sigsetmask): Likewise.
16791         (wait3): Likewise.
16792         (waitpid): Likewise.
16793         * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
16794         * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
16795         file.
16796         * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
16797         * sysdeps/unix/bsd/Makefile: ... here.
16798         * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
16799         * sysdeps/unix/bsd/Versions: ... here.
16800         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
16801         * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
16802         * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
16803         * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
16804         * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
16805         * sysdeps/unix/bsd/sigblock.c: ... here.
16806         * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
16807         * sysdeps/unix/bsd/sigsetmask.c: ... here.
16808         * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
16809         * sysdeps/unix/bsd/sigvec.c: ... here.
16810         * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
16811         * sysdeps/unix/bsd/tcdrain.c: ... here.
16812         * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
16813         * sysdeps/unix/bsd/tcgetattr.c: ... here.
16814         * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
16815         * sysdeps/unix/bsd/tcsetattr.c: ... here.
16816         * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
16817         * sysdeps/unix/bsd/wait.c: ... here.
16818         * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
16819         * sysdeps/unix/bsd/wait3.c: ... here.
16820         * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
16821         * sysdeps/unix/bsd/waitpid.c: ... here.
16822
16823 2013-12-21  Joseph Myers  <joseph@codesourcery.com>
16824
16825         [BZ #16356]
16826         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
16827         round-to-nearest for [!USE_AS_EXPM1L].
16828         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
16829         * math/auto-libm-test-in: Do not expect cosh tests to fail.  Add
16830         more tests of exp and exp10.  Expect some exp10 tests to miss
16831         exceptions or fail in directed rounding modes.
16832         * math/auto-libm-test-out: Regenerated.
16833         * math/libm-test.inc (exp10_tonearest_test_data): New array.
16834         (exp10_test_tonearest): New function.
16835         (exp10_towardzero_test_data): New array.
16836         (exp10_test_towardzero): New function.
16837         (exp10_downward_test_data): New array.
16838         (exp10_test_downward): New function.
16839         (exp10_upward_test_data): New array.
16840         (exp10_test_upward): New function.
16841         (main): Call the new functions.
16842         * sysdeps/i386/fpu/libm-test-ulps: Update.
16843         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16844
16845 2013-12-20  Joseph Myers  <joseph@codesourcery.com>
16846
16847         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
16848         asinh, atan, atan2, atanh, cbrt, cos and cosh.
16849         * math/auto-libm-test-out: Regenerated.
16850         * math/libm-test.inc (acosh_test_data): Add more tests.
16851         (atanh_test_data): Likewise.
16852         (ceil_test_data): Likewise.
16853         (copysign_test_data): Likewise.
16854         * sysdeps/i386/fpu/libm-test-ulps: Update.
16855         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16856
16857         * timezone/checktab.awk: Update from tzcode 2013i.
16858         * timezone/private.h: Likewise.
16859         * timezone/scheck.c: Likewise.
16860         * timezone/tzfile.h: Likewise.
16861         * timezone/tzselect.ksh: Likewise.
16862         * timezone/zdump.c: Likewise.
16863         * timezone/zic.c: Likewise.
16864
16865         * math/auto-libm-test-in: Add tests of cpow.
16866         * math/auto-libm-test-out: Regenerated.
16867         * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
16868         * math/gen-auto-libm-tests.c (func_calc_method): Add value
16869         mpc_cc_c.
16870         (func_calc_desc): Add mpc_cc_c union field.
16871         (test_functions): Add cpow.
16872         (special_fill_2pi): New function.
16873         (special_real_inputs): Add 2pi.
16874         (calc_generic_results): Handle mpc_cc_c.
16875         * sysdeps/i386/fpu/libm-test-ulps: Update.
16876         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16877
16878         * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
16879         csqrt, ctan and ctanh.
16880         * math/auto-libm-test-out: Regenerated.
16881         * math/libm-test.inc (TEST_COND_x86_64): New macro.
16882         (TEST_COND_x86): Likewise.
16883         (ccos_test_data): Use AUTO_TESTS_c_c.
16884         (ccosh_test_data): Likewise.
16885         (cexp_test_data): Likewise.
16886         (clog_test_data): Likewise.
16887         (csqrt_test_data): Likewise.
16888         (ctan_test_data): Likewise.
16889         (ctan_tonearest_test_data): Likewise.
16890         (ctan_towardzero_test_data): Likewise.
16891         (ctan_downward_test_data): Likewise.
16892         (ctan_upward_test_data): Likewise.
16893         (ctanh_test_data): Likewise.
16894         (ctanh_tonearest_test_data): Likewise.
16895         (ctanh_towardzero_test_data): Likewise.
16896         (ctanh_downward_test_data): Likewise.
16897         (ctanh_upward_test_data): Likewise.
16898         * math/gen-auto-libm-tests.c (func_calc_method): Add value
16899         mpc_c_c.
16900         (func_calc_desc): Add mpc_c_c union field.
16901         (FUNC_mpc_c_c): New macro.
16902         (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
16903         ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
16904         ctanh.
16905         (special_fill_min_subnorm_p120): New function.
16906         (special_real_inputs): Add min_subnorm_p120.
16907         (calc_generic_results): Handle mpc_c_c.
16908         * sysdeps/i386/fpu/libm-test-ulps: Update.
16909         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16910
16911 2013-12-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
16912
16913         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
16914         (do_sin_slow): New functions.
16915         (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
16916         (cslow2, csloww1, csloww2): Use the new functions.
16917
16918         * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
16919         Use M to change sign of result instead of X.  Assume X is
16920         positive.
16921         (csloww1): Likewise.
16922         (__sin): Adjust.
16923         (__cos): Adjust.
16924
16925         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
16926         arguments A and DA.
16927         (__sin): Adjust.
16928         (__cos): Likewise.
16929
16930         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
16931         (__cos): Likewise.
16932         (sloww1): Don't adjust sign of DX.
16933         (csloww1): Likewise.
16934         (sloww2): Use X directly and don't adjust sign of DX.
16935         (csloww2): Likewise.
16936
16937 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
16938
16939         * math/auto-libm-test-in: Add tests of cabs and carg.
16940         * math/auto-libm-test-out: Regenerated.
16941         * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
16942         (carg_test_data): Likewise.
16943         * math/gen-auto-libm-tests.c (func_calc_method): Add value
16944         mpc_c_f.
16945         (func_calc_desc): Add mpc_c_f union field.
16946         (test_functions): Add cabs and carg.
16947         (calc_generic_results): Handle mpc_c_f.
16948
16949         * sysdeps/powerpc/powerpc32/libgcc-compat.S
16950         [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
16951         as a macro and a compat symbol.
16952         [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
16953         [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
16954         [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
16955         [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
16956         [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
16957         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
16958         not use .hidden.
16959         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
16960         Likewise.
16961         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
16962         Likewise.
16963         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
16964         Likewise.
16965         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
16966         Likewise.
16967         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
16968         Likewise.
16969         * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
16970         __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
16971         from GLIBC_2.3.2.
16972
16973 2013-12-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16974
16975         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16976
16977 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
16978
16979         * manual/texinfo.tex: Update to version 2013-11-26.10 with
16980         trailing whitespace removed.
16981         * scripts/config.guess: Update to version 2013-11-29.
16982         * scripts/config.sub: Update to version 2013-10-01.
16983
16984         * math/auto-libm-test-in: Add tests of sincos.
16985         * math/auto-libm-test-out: Regenerated.
16986         * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
16987         * math/gen-auto-libm-tests.c (func_calc_method): Add value
16988         mpfr_f_11.
16989         (func_calc_desc): Add mpfr_f_11 union field.
16990         (test_functions): Add sincos.
16991         (calc_generic_results): Handle mpfr_f_11.
16992         * sysdeps/i386/fpu/libm-test-ulps: Update.
16993         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16994
16995 2013-12-19  Andreas Schwab  <schwab@suse.de>
16996
16997         * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
16998         CALL_MCOUNT.
16999         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
17000         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
17001         [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
17002
17003 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
17004
17005         * math/gen-libm-test.pl (%beautify): Remove M_* constants.
17006         * sysdeps/i386/fpu/libm-test-ulps: Update.
17007         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17008
17009         [BZ #16293]
17010         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
17011         round-to-nearest mode when using frndint.
17012         * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
17013         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
17014         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
17015         Likewise.
17016         * math/auto-libm-test-in: Add more tests of expm1.  Do not expect
17017         sinh test to fail.
17018         * math/auto-libm-test-out: Regenerated.
17019         * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
17020         (TEST_COND_x86): Likewise.
17021         (expm1_tonearest_test_data): New array.
17022         (expm1_test_tonearest): New function.
17023         (expm1_towardzero_test_data): New array.
17024         (expm1_test_towardzero): New function.
17025         (expm1_downward_test_data): New array.
17026         (expm1_test_downward): New function.
17027         (expm1_upward_test_data): New array.
17028         (expm1_test_upward): New function.
17029         (main): Run the new test functions.
17030         * sysdeps/i386/fpu/libm-test-ulps: Update.
17031         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17032
17033         * include/features.h: Update comment documenting feature test
17034         macros.  Mention _DEFAULT_SOURCE in comment.
17035         [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
17036         [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
17037         _BSD_SOURCE and _SVID_SOURCE.
17038         [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
17039         !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
17040         !_SVID_SOURCE]: Likewise.
17041         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
17042         (__USE_POSIX_IMPLICITLY): Define.
17043         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
17044         (_POSIX_SOURCE): Undefine and redefine.
17045         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
17046         (_POSIX_C_SOURCE): Likewise.
17047         * manual/creature.texi (_DEFAULT_SOURCE): Document.
17048         (Feature Test Macros): Update documentation of default features.
17049
17050 2013-12-19  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
17051
17052         * benchtests/Makefile: Add bench-strtok.
17053         * benchtests/bench-strtok.c: New file: strtok benchtest.
17054
17055 2013-12-19  Allan McRae  <allan@archlinux.org>
17056
17057         * manual/install.texi: Suppress menu for plain text output.
17058         * INSTALL: Regenerated.
17059
17060 2013-12-18  Brooks Moses  <bmoses@google.com>
17061
17062         [BZ #15846]
17063         * misc/getauxval.c: Include errno.h.
17064         (__getauxval): Set errno to ENOENT if the requested type is not
17065         found.
17066         * misc/sys/auxv.h (getauxval): Document that it may set errno;
17067         don't declare with __attribute_const__.
17068         * elf/tst-auxv.c: Add tests for errno and type-not-found case.
17069         * manual/startup.texi: Document that getauxval sets errno.
17070
17071 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
17072
17073         * math/auto-libm-test-in: Add tests of jn and yn.
17074         * math/auto-libm-test-out: Regenerated.
17075         * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
17076         (yn_test_data): Likewise.
17077         * math/gen-auto-libm-tests.c (func_calc_method): Add value
17078         mpfr_if_f.
17079         (func_calc_desc): Add mpfr_if_f union field.
17080         (FUNC_mpfr_if_f): New macro.
17081         (test_functions): Add jn and yn.
17082         (calc_generic_results): Assert type of second input for
17083         mpfr_ff_f.  Handle mpfr_if_f.
17084         (output_for_one_input_case): Disable all checking for arguments
17085         fitting floating-point types in case of an integer argument.
17086         * sysdeps/i386/fpu/libm-test-ulps: Update.
17087         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17088
17089         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
17090         Don't expect fegetround reference in libm.so.
17091
17092 2013-12-17  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
17093
17094         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
17095         $(config-cflags-nofma).
17096
17097 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
17098
17099         * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
17100         * math/auto-libm-test-out: Regenerated.
17101
17102         [BZ #16338]
17103         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
17104         to determine exponent and adjust argument to have exponent of -1.
17105         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
17106         log2.
17107         * math/auto-libm-test-out: Regenerated.
17108         * sysdeps/i386/fpu/libm-test-ulps: Update.
17109         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17110
17111 2013-12-18  Ondřej Bílka  <neleai@seznam.cz>
17112
17113         * manual/probes.texi: Remove cases when per-thread arenas are
17114         disabled.
17115
17116 2013-12-18  Andreas Schwab  <schwab@suse.de>
17117
17118         * sysdeps/i386/i686/multiarch/strstr.c: Remove.
17119         * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
17120         * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
17121         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
17122         * sysdeps/i386/i686/multiarch/Makefile: Update.
17123         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
17124
17125 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
17126
17127         * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
17128         * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
17129
17130 2013-12-17  Paul Eggert  <eggert@cs.ucla.edu>
17131
17132         [BZ #15968]
17133         Support TZ transition times < 00:00:00.
17134         This is needed for version-3 tz-format files; it supports time
17135         stamps past 2037 for America/Godthab (the only entry in the tz
17136         database for which this change is relevant).
17137         * manual/time.texi (TZ Variable): Document transition times
17138         from -167:59:59 through -00:00:01.
17139         * time/tzset.c (tz_rule): Time of day is now signed.
17140         (__tzset_parse_tz): Parse negative time of day.
17141
17142         Document TZ transition times >= 25:00:00.
17143         * manual/time.texi (TZ Variable): Document transition times from
17144         25:00:00 through 167:59:59.  These are already supported, and this
17145         support will help with version-3 tz-format files.
17146
17147         * manual/time.texi (TZ Variable): Modernize North America example
17148         to reflect current (i.e., 2007-and-later) daylight saving rules.
17149
17150         * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
17151
17152 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
17153
17154         * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
17155         * sysdeps/unix/bsd/bits/stat.h: Likewise.
17156         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
17157         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
17158         * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
17159         * sysdeps/unix/bsd/bsdstat.h: Likewise.
17160         * sysdeps/unix/bsd/clock.c: Likewise.
17161         * sysdeps/unix/bsd/i386/vfork.S: Likewise.
17162         * sysdeps/unix/bsd/i386/wait3.S: Likewise.
17163         * sysdeps/unix/bsd/init-posix.c: Likewise.
17164         * sysdeps/unix/bsd/poll.c: Likewise.
17165         * sysdeps/unix/bsd/ptsname.c: Likewise.
17166         * sysdeps/unix/bsd/seekdir.c: Likewise.
17167         * sysdeps/unix/bsd/setegid.c: Likewise.
17168         * sysdeps/unix/bsd/seteuid.c: Likewise.
17169         * sysdeps/unix/bsd/setgid.c: Likewise.
17170         * sysdeps/unix/bsd/setrgid.c: Likewise.
17171         * sysdeps/unix/bsd/setruid.c: Likewise.
17172         * sysdeps/unix/bsd/setsid.c: Likewise.
17173         * sysdeps/unix/bsd/setuid.c: Likewise.
17174         * sysdeps/unix/bsd/sigaction.c: Likewise.
17175         * sysdeps/unix/bsd/sigprocmask.c: Likewise.
17176         * sysdeps/unix/bsd/sigsuspend.c: Likewise.
17177         * sysdeps/unix/bsd/sys/reboot.h: Likewise.
17178         * sysdeps/unix/bsd/telldir.c: Likewise.
17179         * sysdeps/unix/bsd/times.c: Likewise.
17180         * sysdeps/unix/bsd/usleep.c: Likewise.
17181
17182         * misc/Makefile (install-lib): Remove libbsd-compat.a.
17183         ($(objpfx)libbsd-compat.a): Remove rule.
17184
17185         * include/features.h (__FAVOR_BSD): Do not define.
17186         * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
17187         features conflicting with POSIX.
17188         (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
17189         (_BSD_SOURCE): Remove description of not being a subset of other
17190         feature test macros.
17191         * manual/job.texi (getpgrp): Do not document BSD version.
17192         (getpgid): Do not document by reference to BSD getpgrp.
17193         * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
17194         * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
17195         * signal/signal.h [__FAVOR_BSD]: Likewise.
17196         * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
17197         instead of making contents conditional on [__FAVOR_BSD].
17198         * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
17199
17200 2013-12-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17201
17202         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17203
17204 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
17205
17206         [BZ #16314]
17207         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
17208         values below 2**-450, not 2**-500.
17209         * math/auto-libm-test-in: Don't allow spurious underflow from
17210         hypot.
17211         * math/auto-libm-test-out: Regenerated.
17212
17213         [BZ #16316]
17214         [BZ #16330]
17215         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
17216         values of ha and hb and sort them after adjusting subnormal
17217         arguments.
17218         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
17219         Likewise.
17220         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
17221         values of ea and eb and sort them after adjusting subnormal
17222         arguments.
17223         * math/auto-libm-test-in: Do not expect some hypot tests of
17224         subnormals to fail.  Add more hypot tests.
17225         * math/auto-libm-test-out: Regenerated.
17226
17227 2013-12-16  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
17228
17229         [BZ #13304]
17230         * sysdeps/sh/s_fma.c: New file.
17231         * sysdeps/sh/s_fmaf.c: New file.
17232         * sysdeps/sh/soft-fp/sfp-machine.h: New file.  Based on arm
17233         version.
17234         * sysdeps/sh/Implies: Add sh/soft-fp.
17235
17236 2013-12-16  Roland McGrath  <roland@hack.frob.com>
17237
17238         * elf/dl-error.c (struct catch): Add new member `errcode'.  Add a
17239         level of indirection to members `objname', `errstring', `malloced'.
17240         (_dl_signal_error): Store through pointers in *LCATCH rather modifying
17241         *LCATCH itself.  Set *LCATCH->errcode to ERRCODE rather than passing
17242         it as the __longjmp argument (just pass 1 instead).
17243         (_dl_catch_error): Initialize C with argument pointers and address of
17244         volatile local ERRCODE rather than copying values out of C at return.
17245
17246 2013-12-16  Joseph Myers  <joseph@codesourcery.com>
17247
17248         * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
17249         * math/auto-libm-test-out: Regenerated.
17250         * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
17251         (hypot_test_data): Likewise.
17252         (pow_test_data): Likewise.
17253         (pow_tonearest_test_data): Likewise.
17254         * math/gen-auto-libm-tests.c (func_calc_method): Add value
17255         mpfr_ff_f.
17256         (func_calc_desc): Add mpfr_ff_f union field.
17257         (FUNC_mpfr_ff_f): New macro.
17258         (test_functions): Add atan2, hypot and pow.
17259         (special_fill_min): New function.
17260         (special_fill_minus_min): Likewise.
17261         (special_fill_min_subnorm): Likewise.
17262         (special_fill_minus_min_subnorm): Likewise.
17263         (special_real_inputs): Add min, -min, min_subnorm and
17264         -min_subnorm.
17265         (calc_generic_results): Handle mpfr_ff_f.
17266         * sysdeps/i386/fpu/libm-test-ulps: Update.
17267         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17268
17269 2013-12-16  Will Newton  <will.newton@linaro.org>
17270
17271         * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
17272         (Aligned Memory Blocks): Add documentation for aligned_alloc
17273         and suggest it as an alternative to posix_memalign.
17274         (Hooks for Malloc): Document __memalign_hook is also called
17275         for aligned_alloc.  (Summary of Malloc): Add summary for
17276         aligned alloc.  Document __memalign_hook is also called
17277         for aligned_alloc.
17278
17279 2013-12-16  Will Newton  <will.newton@linaro.org>
17280
17281         * manual/memory.texi (Malloc Examples): Clarify default
17282         alignment documentation.  Suggest posix_memalign rather
17283         than memalign or valloc.
17284         (Aligned Memory Blocks): Remove suggestion to use memalign
17285         or valloc.  Remove obsolete comment about BSD.
17286         Document memalign errno values and mark the function obsolete.
17287         Document posix_memalign returned error codes.  Mark valloc
17288         as obsolete.  (Hooks for Malloc): __memalign_hook is also
17289         called for posix_memalign and valloc.
17290         (Summary of Malloc): Add posix_memalign to function summary.
17291         __memalign_hook is also called for posix_memalign and valloc.
17292
17293 2013-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
17294
17295         * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
17296         TAYLOR_SIN.
17297         (__sin): Adjust.
17298         (__cos): Likewise.
17299         (sloww): Use mynumber union.  Expand ternary operator into
17300         if-else statements.
17301         (cslow): use mynumber union.
17302
17303 2013-12-16  Allan McRae  <allan@archlinux.org>
17304
17305         * configure.ac: Set AUTOCONF when maintainer-mode is not used.
17306         * configure: Regenerated.
17307
17308         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
17309
17310         [BZ #14120]
17311         * configure.ac: Added --enable-maintainer-mode. Check for
17312         autoconf when enabled.
17313         * configure: Regenerated.
17314
17315         * nscd/nscd.service: New file.
17316         * nscd/nscd.tmpfiles: New file.
17317
17318 2013-12-14  Ondřej Bílka  <neleai@seznam.cz>
17319
17320         [BZ #12100]
17321         * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
17322         * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
17323         * sysdeps/x86_64/multiarch/strstr.c: ... here.
17324         (strstr): Add __strstr_sse2_unaligned ifunc.
17325         * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
17326         * sysdeps/x86_64/multiarch/strcasestr.c ... here.
17327         (strcasestr): Remove __strcasestr_sse42 ifunc.
17328         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
17329         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
17330         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
17331
17332 2013-12-14  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
17333
17334         * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
17335         * sysdeps/sh/bits/fenv.h: ... here.
17336         * sysdeps/sh/sh4/fpu/bits: Remove directory.
17337
17338 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17339
17340         * NEWS: Mention ppc64 STT_GNU_IFUNC support.
17341
17342         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
17343         hypotf multiarch implementations.
17344         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
17345         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
17346         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
17347         multiarch hypot for PPC64.
17348         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
17349         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
17350         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
17351         multiarch hypotf for PPC64.
17352
17353         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
17354         modff multiarch implementations.
17355         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
17356         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
17357         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
17358         multiarch modf for PPC64.
17359         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
17360         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
17361         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
17362         multiarch modff for PPC64.
17363
17364         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
17365         and logl multiarch implementations.
17366         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
17367         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
17368         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
17369         multiarch logb for PPC64.
17370         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
17371         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
17372         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
17373         multiarch logb for PPC64.
17374         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
17375         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
17376         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
17377         multiarch logb for PPC64.
17378
17379         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
17380         isinff multiarch implementation.
17381         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
17382         file.
17383         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
17384         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
17385         multiarch isinf for PPC64.
17386         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
17387         file.
17388         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
17389         multiarch isinff for PPC64.
17390
17391         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
17392         finitef multiarch implementation.
17393         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
17394         file.
17395         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
17396         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
17397         multiarch finite for PPC64.
17398         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
17399         file.
17400         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
17401         multiarch finitef for PPC64.
17402
17403         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
17404         lrint multiarch implementation.
17405         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
17406         file.
17407         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
17408         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
17409         multiarch llrint for PPC64.
17410         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
17411         multiarch lrint for PPC64.
17412
17413         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
17414         copysignf multiarch implementation.
17415         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
17416         file.
17417         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
17418         file.
17419         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
17420         multiarch copysign for PPC64.
17421         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
17422         multiarch copysignf for PPC64.
17423
17424         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
17425         multiarch implementation.
17426         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
17427         file.
17428         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
17429         file.
17430         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
17431         file.
17432         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
17433         file.
17434         multiarch llround for PPC64.
17435         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
17436         multiarch trunc for PPC64.
17437         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
17438         multiarch truncf for PPC64.
17439
17440         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
17441         multiarch implementation.
17442         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
17443         file.
17444         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
17445         file.
17446         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
17447         file.
17448         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
17449         file.
17450         multiarch llround for PPC64.
17451         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
17452         multiarch round for PPC64.
17453         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
17454         multiarch roundf for PPC64.
17455
17456         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
17457         multiarch implementation.
17458         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
17459         file.
17460         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
17461         file.
17462         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
17463         file.
17464         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
17465         file.
17466         multiarch llround for PPC64.
17467         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
17468         multiarch floor for PPC64.
17469         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
17470         multiarch floorf for PPC64.
17471
17472         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
17473         multiarch implementation.
17474         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
17475         file.
17476         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
17477         file.
17478         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
17479         file.
17480         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
17481         file.
17482         multiarch llround for PPC64.
17483         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
17484         multiarch ceil for PPC64.
17485         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
17486         multiarch ceilf for PPC64.
17487
17488         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
17489         multiarch implementation.
17490         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
17491         file.
17492         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
17493         file.
17494         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
17495         file.
17496         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
17497         multiarch llround for PPC64.
17498         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
17499         multiarch lround for PPC64.
17500
17501         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
17502         multiarch implementation.
17503         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
17504         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
17505         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
17506         file.
17507         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
17508         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
17509         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
17510         multiarch isnan for PPC64.
17511         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
17512         multiarch isnanf for PPC64.
17513
17514         * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
17515         * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
17516         * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
17517         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
17518         * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
17519         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
17520
17521         * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
17522         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
17523         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
17524         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
17525
17526         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
17527         multiarch implementations.
17528         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17529         (__libc_ifunc_impl_list): Likewise.
17530         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
17531         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
17532         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
17533         multiarch stpcpy for PPC64.
17534
17535         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
17536         multiarch implementations.
17537         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17538         (__libc_ifunc_impl_list): Likewise.
17539         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
17540         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
17541         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
17542         multiarch strcpy for PPC64.
17543
17544         * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
17545         redefine function name.
17546         (_wordcopy_fwd_dest_aligned): Likewise.
17547         (_wordcopy_bwd_aligned): Likewise.
17548         (_wordcopy_bwd_dest_aligned): Likewise.
17549         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
17550         multiarch implementations.
17551         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17552         (__libc_ifunc_impl_list): Likewise.
17553         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
17554         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
17555         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
17556         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
17557         multiarch wcscpy for PPC64.
17558
17559         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
17560         multiarch implementations.
17561         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17562         (__libc_ifunc_impl_list): Likewise.
17563         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
17564         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
17565         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
17566         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
17567         multiarch wcscpy for PPC64.
17568
17569         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
17570         multiarch implementations.
17571         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17572         (__libc_ifunc_impl_list): Likewise.
17573         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
17574         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
17575         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
17576         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
17577         multiarch wcsrchr for PPC64.
17578
17579         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
17580         multiarch implementations.
17581         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17582         (__libc_ifunc_impl_list): Likewise.
17583         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
17584         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
17585         * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
17586         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
17587         multiarch wcschr for PPC64.
17588
17589         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
17590         multiarch implementations.
17591         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17592         (__libc_ifunc_impl_list): Likewise.
17593         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
17594         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
17595         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
17596         multiarch strchrnul for PPC64.
17597
17598         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
17599         implementations.
17600         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17601         (__libc_ifunc_impl_list): Likewise.
17602         * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
17603         * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
17604         * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
17605         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
17606         strchr for PPC64.
17607
17608         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
17609         implementations.
17610         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17611         (__libc_ifunc_impl_list): Likewise.
17612         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
17613         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
17614         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
17615         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
17616         strncmp for PPC64.
17617
17618         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
17619         multiarch implementations.
17620         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17621         (__libc_ifunc_impl_list): Likewise.
17622         * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
17623         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
17624         strncasecmp for PPC64.
17625         * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
17626         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
17627         multiarch strncasecmp_l for PPC64.
17628
17629         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
17630         multiarch implementations.
17631         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
17632         (__libc_ifunc_impl_list): Likewise.
17633         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
17634         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
17635         multiarch strcasecmp for PPC64.
17636         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
17637         file.
17638         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
17639         multiarch strcasecmp_l for PPC64.
17640
17641         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
17642         implementations.
17643         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17644         (__libc_ifunc_impl_list): Likewise.
17645         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
17646         * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
17647         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
17648         strnlen for PPC64.
17649
17650         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
17651         implementations.
17652         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17653         (__libc_ifunc_impl_list): Likewise.
17654         * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
17655         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
17656         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
17657         strlen for PPC64.
17658
17659         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
17660         implementations.
17661         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17662         (__libc_ifunc_impl_list): Likewise.
17663         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
17664         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
17665         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
17666         rawmemrchr for PPC64.
17667
17668         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
17669         implementation.
17670         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17671         (__libc_ifunc_impl_list): Likewise.
17672         * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
17673         * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
17674         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
17675         memrchr for PPC64.
17676
17677         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
17678         implementation.
17679         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17680         (__libc_ifunc_impl_list): Likewise.
17681         * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
17682         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
17683         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
17684         memchr for PPC64.
17685
17686         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
17687         implementation.
17688         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17689         (__libc_ifunc_impl_list): Likewise.
17690         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
17691         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
17692         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
17693         mempcpy for PPC64.
17694
17695         * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
17696         avoid cretion of __bzero symbol.
17697         * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
17698         Likewise.
17699         * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
17700         Likewise.
17701         * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
17702         Likewise.
17703         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
17704         multiarch implementations.
17705         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17706         (__libc_ifunc_impl_list): Likewise.
17707         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
17708         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
17709         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
17710         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
17711         bzero for PPC32.
17712         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
17713         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
17714         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
17715         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
17716         * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
17717         memset for PPC64.
17718         * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
17719
17720         * string/memcmp.c (memcmp): Using macro to redefine symbol name.
17721         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
17722         implementations.
17723         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17724         (__libc_ifunc_impl_list): Likewise.
17725         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
17726         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
17727         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
17728         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
17729         memcmp for PPC64.
17730
17731         * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
17732         multiarch for POWER/PPC64.
17733         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
17734         * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
17735         * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
17736         * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
17737         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
17738         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
17739         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
17740         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
17741         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
17742         memcpy for PPC64.
17743
17744         * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
17745         * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
17746         * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
17747         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
17748         * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
17749         * sysdeps/powerpc/powerpc64/power5/Implies: New File.
17750         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
17751         * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
17752         * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
17753         * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
17754         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
17755         * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
17756         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
17757         * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
17758         * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
17759         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
17760         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
17761         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
17762         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
17763         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
17764         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
17765         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
17766
17767 2013-12-12  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
17768
17769         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
17770
17771 2013-12-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
17772
17773         * benchtests/Makefile (bench): Add exp2 and log2.
17774         (LDLIBS-bench-exp2): Add -lm.
17775         (LDLIBS-bench-log2): Likewise.
17776         * benchtests/exp2-inputs: New inputs file.
17777         * benchtests/log2-inputs: New inputs file.
17778         * benchtests/log-inputs: Add new inputs.
17779         * benchtests/tan-inputs: Likewise.
17780
17781 2013-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
17782
17783         * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
17784         definition...
17785         (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
17786         (csloww2): ... from here.
17787
17788         * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
17789         instead of structures.
17790         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
17791         (POLYNOMIAL): Likewise.
17792         (TAYLOR_SLOW): Likewise.
17793         (__sin): Likewise.
17794         (__cos): Likewise.
17795         (slow1): Likewise.
17796         (slow2): Likewise.
17797         (sloww): Likewise.
17798         (sloww1); Likewise.
17799         (sloww2): Likewise.
17800         (bsloww1): Likewise.
17801         (bsloww2): Likewise.
17802         (cslow2): Likewise.
17803         (csloww): Likewise.
17804         (csloww1): Likewise.
17805         (csloww2): Likewise.
17806
17807 2013-12-10  Ondřej Bílka  <neleai@seznam.cz>
17808
17809         * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
17810         (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
17811         Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
17812         * malloc/hooks.c (realloc_check): Likewise.
17813
17814         * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
17815         * malloc/arena.c: Remove PER_THREAD conditional.
17816         [!PER_THREAD]: Remove code.
17817         (ptmalloc_unlock_all2): Likewise.
17818         (ptmalloc_init): Likewise.
17819         (_int_new_arena): Likewise.
17820         (arena_get2): Likewise.
17821         * malloc/hooks.c (__malloc_get_state): Likewise.
17822         (__malloc_set_state): Likewise.
17823         * malloc/malloc.c: Likewise.
17824         (struct malloc_state): Likewise.
17825         (struct malloc_par): Likewise.
17826         (__libc_realloc): Likewise.
17827         (__libc_mallopt): Likewise.
17828
17829 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17830
17831         * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
17832
17833 2013-12-09  Ondřej Bílka  <neleai@seznam.cz>
17834
17835         * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
17836         macro to a function.  Check for zero perturb_byte.
17837         (_int_malloc, _int_free): Remove zero perturb_byte checks.
17838
17839         * malloc/malloc.c: (force_reg): Remove.
17840         (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
17841         (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
17842         force_reg by atomic_forced_read.
17843         * malloc/arena.c (ptmalloc_init): Likewise.
17844         * malloc/hooks.c (top_check): Likewise.
17845
17846 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17847
17848         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17849
17850 2013-12-09  Markus Trippelsdorf  <markus@trippelsdorf.de>
17851
17852         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
17853
17854 2013-12-08  Joseph Myers  <joseph@codesourcery.com>
17855
17856         * math/auto-libm-test-in: Add tests of lgamma.
17857         * math/auto-libm-test-out: Regenerated.
17858         * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
17859         (M_LOG_2_SQRT_PIl): Likewise.
17860         (lgamma_test_data): Use AUTO_TESTS_f_f1.
17861         * math/gen-auto-libm-tests.c (func_calc_method): Add value
17862         mpfr_f_f1.
17863         (func_calc_desc): Add mpfr_f_f1 union field.
17864         (ARGS1): New macro.
17865         (ARGS2): Likewise.
17866         (ARGS3): Likewise.
17867         (ARGS4): Likewise.
17868         (RET1): Likewise.
17869         (RET2): Likewise.
17870         (CALC): Likewise.
17871         (FUNC): Likewise.
17872         (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
17873         (test_functions): Add lgamma.
17874         (calc_generic_results): Handle mpfr_f_f1.
17875         * sysdeps/i386/fpu/libm-test-ulps: Update.
17876         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17877
17878 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17879
17880         * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
17881         __mpn_add_n for PowerPC64/POWER7.
17882         * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
17883         __mpn_sub_n for PowerPC64/POWER7.
17884
17885         * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
17886         __mpn_addmul_1 for PowerPC64.
17887         * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
17888         __mpn_submul_1 for PowerPC64.
17889         * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
17890         for PowerPC64.
17891         * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
17892         for PowerPC64.
17893
17894 2013-12-06  Fernando J. V. da Silva  <fernandojvdasilva@gmail.com>
17895
17896         [BZ #15089]
17897         * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
17898
17899 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17900
17901         * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
17902
17903         * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
17904         add multiarch folders.
17905         * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
17906         * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
17907         * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
17908         * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
17909         * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
17910         * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
17911         * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
17912         * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
17913         * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
17914         * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
17915         * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
17916         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
17917         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
17918         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
17919         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
17920         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
17921         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
17922
17923         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
17924         __ieee754_hypot and __ieee754_hypotf multiarch implementations.
17925         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
17926         New file.
17927         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
17928         New file.
17929         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
17930         multiarch __ieee754_hypot for PowerPC32.
17931         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
17932         New file.
17933         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
17934         New file.
17935         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
17936         multiarch __ieee754_hypotf for PowerPC32.
17937
17938         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
17939         long_double_symbol only if __logbl is defined.
17940         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
17941         * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
17942         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
17943         * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
17944         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
17945         * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
17946         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
17947         path for implementation.
17948         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
17949         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
17950         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
17951         logb, and logbl multiarch implementations for PowerPC32.
17952         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
17953         file.
17954         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
17955         file.
17956         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
17957         multiarch logb for PowerPC32.
17958         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
17959         file.
17960         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
17961         file.
17962         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
17963         multiarch logbf for PowerPC32.
17964         * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
17965         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
17966         file.
17967         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
17968         multiarch logbl implementation for PowerPC32.
17969
17970         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
17971         and modff multiarch implementations.
17972         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
17973         New file.
17974         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
17975         New file.
17976         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
17977         multiarch modf for PowerPC32.
17978         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
17979         New file.
17980         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
17981         New file.
17982         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
17983         multiarch modff for PowerPC32.
17984
17985         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
17986         and lrintf multiarch implementations.
17987         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
17988         New file.
17989         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
17990         New file.
17991         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
17992         multiarch lrint for PowerPC32.
17993         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
17994         file: multiarch lrintf for PowerPC32.
17995
17996         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
17997         and lroundf multiarch implementations.
17998         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
17999         New file.
18000         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
18001         New file.
18002         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
18003         New file.
18004         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
18005         multiarch lround for PowerPC32.
18006         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
18007         file: multiarch lroundf for PowerPC32.
18008
18009         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
18010         copysign and copysignf multiarch implementations.
18011         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
18012         New file.
18013         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
18014         New file.
18015         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
18016         file: multiarch copysign for PowerPC32.
18017         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
18018         file: multiarch copysignf for PowerPC32.
18019
18020         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
18021         and truncf multiarch implementations.
18022         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
18023         New file.
18024         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
18025         file.
18026         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
18027         multiarch trunc for PowerPC32.
18028         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
18029         New file.
18030         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
18031         New file.
18032         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
18033         multiarch truncf for PowerPC32.
18034
18035         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
18036         and roundf multiarch implementations.
18037         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
18038         New file.
18039         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
18040         file.
18041         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
18042         multiarch round for PowerPC32.
18043         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
18044         New file.
18045         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
18046         New file.
18047         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
18048         multiarch roundf for PowerPC32.
18049
18050         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
18051         and floorf multiarch implementations.
18052         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
18053         New file.
18054         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
18055         file.
18056         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
18057         multiarch floor for PowerPC32.
18058         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
18059         New file.
18060         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
18061         New file.
18062         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
18063         multiarch floorf for PowerPC32.
18064
18065         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
18066         and ceilf multiarch implementations.
18067         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
18068         New file.
18069         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
18070         file.
18071         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
18072         multiarch ceil for PowerPC32.
18073         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
18074         New file.
18075         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
18076         file.
18077         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
18078         multiarch ceilf for PowerPC32.
18079
18080         * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
18081         is defined.
18082         * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
18083         FINITEF is defined.
18084         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
18085         and finitef multiarch implementations.
18086         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
18087         New file.
18088         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
18089         file.
18090         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
18091         multiarch finite for PowerPC32.
18092         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
18093         New file.
18094         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
18095         file: multiarch finitef for PowerPC32.
18096
18097         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
18098         and isinff multiarch implementations.
18099         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
18100         file.
18101         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
18102         file.
18103         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
18104         multiarch isinf for PowerPC32.
18105         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
18106         New file.
18107         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
18108         multiarch isinff for PowerPC32.
18109
18110         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
18111         alias when __isnan is defined.
18112         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
18113         and isnanf multiarch implementations.
18114         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
18115         file.
18116         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
18117         file.
18118         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
18119         file.
18120         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
18121         file.
18122         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
18123         multiarch isnan for PowerPC32.
18124         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
18125         New file.
18126         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
18127         New file.
18128         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
18129         multiarch isnanf for PowerPC32.
18130
18131         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
18132         and sqrtf multiarch implementations.
18133         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
18134         file.
18135         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
18136         file.
18137         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
18138         multiarch sqrt for PowerPC32.
18139         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
18140         file.
18141         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
18142         file.
18143         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
18144         multiarch sqrtf for PowerPC32.
18145
18146         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
18147         and llroundf multiarch implementations.
18148         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
18149         New file.
18150         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
18151         New file.
18152         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
18153         New file.
18154         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
18155         file: multiarch llround for PowerPC32.
18156         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
18157         file: multiarch llroundf for PowerPC32.
18158
18159         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
18160         multiarch PowerPC32 fpu implementations.
18161         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
18162         New file.
18163         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
18164         New file.
18165         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
18166         multiarch llrint for PowerPC32.
18167         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
18168         New file.
18169         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
18170         New file.
18171         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
18172         file.
18173
18174         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
18175
18176         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
18177         file.
18178         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
18179         file.
18180         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
18181         file.
18182         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
18183         multiarch wordcopy for PPC32.
18184         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
18185         wordcopy objects.
18186         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
18187         (__libc_ifunc_impl_list): Likewise.
18188         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
18189         * sysdeps/powerpc/power4/wordcopy.c: ... to here.
18190         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
18191         * sysdeps/powerpc/power6/wordcopy.c: ... to here.
18192         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
18193         * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
18194
18195         * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
18196         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
18197         file.
18198         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
18199         file.
18200         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
18201         file.
18202         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
18203         multiarch wcscpy for PPC32.
18204         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
18205         multiarch objects.
18206         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
18207         (__libc_ifunc_impl_list): Likewise.
18208         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
18209         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
18210         * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
18211         sysdeps/powerpc/power6/wcscpy.c.
18212
18213         * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
18214         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
18215         file.
18216         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
18217         file.
18218         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
18219         file.
18220         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
18221         multiarch wcsrchr for PPC32.
18222         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
18223         multiarch objects.
18224         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
18225         (__libc_ifunc_impl_list): Likewise.
18226         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
18227         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
18228         * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
18229         sysdeps/powerpc/power6/wcsrchr.c.
18230
18231         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
18232         file.
18233         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
18234         file.
18235         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
18236         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
18237         multiarch wcschr for PPc32.
18238         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
18239         multiarch objects.
18240         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
18241         (__libc_ifunc_impl_list): Likewise.
18242         * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
18243         * sysdeps/powerpc/power6/wcschr.c: ... to here.
18244         * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
18245         sysdeps/powerpc/power6/wcschr.c.
18246
18247         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
18248         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
18249         file.
18250         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
18251         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
18252         file: multiarch strchr for PPC32.
18253         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
18254         multiarch objects.
18255         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
18256         (__libc_ifunc_impl_list): Likewise.
18257
18258         * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
18259         name.
18260         * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
18261         file.
18262         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
18263         file.
18264         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
18265         multiarch strchrnul for PPC32.
18266         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
18267         multiarch objects.
18268         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
18269         (__libc_ifunc_impl_list): Likewise.
18270
18271         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
18272         file.
18273         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
18274         multiarch strncasecmp for PPC32.
18275         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
18276         file.
18277         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
18278         multiarch strncasecmp_l for PPC32.
18279         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
18280         strncasecmp multiarch objects.
18281         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
18282         (__libc_ifunc_impl_list): Likewise.
18283
18284         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
18285         file.
18286         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
18287         multiarch strncasecmp for PPC32.
18288         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
18289         New file.
18290         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
18291         multiarch strcasecmp_l for PPC32.
18292         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
18293         multiarch objects.
18294         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
18295         (__libc_ifunc_impl_list): Likewise.
18296
18297         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
18298         file.
18299         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
18300         file.
18301         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
18302         multiarch strncmp for PPC32.
18303         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
18304         multiarch objects.
18305         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
18306         (__libc_ifunc_impl_list): Likewise.
18307
18308         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
18309         * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
18310         file.
18311         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
18312         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
18313         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
18314         multiarch objects.
18315         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
18316         (__libc_ifunc_impl_list): Likewise.
18317
18318         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
18319         file.
18320         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
18321         file.
18322         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
18323         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
18324         multiarch objects.
18325         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
18326         (__libc_ifunc_impl_list): Likewise.
18327
18328         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
18329         file.
18330         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
18331         file.
18332         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
18333         multiarch rawmemchr for PPC32.
18334         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
18335         multiarch objects.
18336         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
18337         (__libc_ifunc_impl_list): Likewise.
18338
18339         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
18340         file.
18341         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
18342         file.
18343         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
18344         file: memrchr multiarch for PPC32.
18345         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
18346         multiarch objects.
18347         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
18348         (__libc_ifunc_impl_list): Likewise.
18349
18350         * string/memchr.c (__memchr): Using macro to redefine symbol name.
18351         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
18352         file.
18353         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
18354         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
18355         multiarch memchr for PPC32.
18356         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
18357         multiarch objects.
18358         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
18359         (__libc_ifunc_impl_list): Likewise.
18360
18361         * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
18362         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
18363         file.
18364         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
18365         file.
18366         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
18367         file: multiarch mempcpy for PPC32.
18368         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
18369         multiarch objects.
18370         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
18371         (__libc_ifunc_impl_list): Likewise.
18372
18373         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
18374         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
18375         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
18376         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
18377         multiarch bzero for PPC32.
18378         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
18379         file.
18380         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
18381         file.
18382         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
18383         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
18384         file: multiarch memset for PPC32.
18385         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
18386         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
18387         memset multiarch objects.
18388         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
18389         (__libc_ifunc_impl_list): Likewise.
18390
18391         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
18392         file.
18393         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
18394         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
18395         memcmp for PPC32.
18396         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
18397         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
18398         multiarch objects.
18399         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
18400         (__libc_ifunc_impl_list): Likewise.
18401
18402         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
18403         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
18404         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
18405         file.
18406         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
18407         file.
18408         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
18409         file.
18410         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
18411         multiarch memcpy for PPC32.
18412         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
18413         multiarch objects.
18414         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
18415         (__libc_ifunc_impl_list): Likewise.
18416
18417         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
18418         support multiarch for POWER/PPC32.
18419         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
18420         Likewise.
18421         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
18422         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
18423         Implies file to make multiarch folder appers before the fpu and
18424         default folder for power4 configuration.
18425
18426 2013-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
18427
18428         * scripts/bench.pl: Append volatile keyword to type.
18429
18430 2013-12-05  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
18431
18432         * sysdeps/sh/sotruss-lib.c: New file.
18433         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
18434
18435 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18436
18437         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18438
18439 2013-12-05  Joseph Myers  <joseph@codesourcery.com>
18440
18441         [BZ #6810]
18442         * math/w_tgamma.c: Include <errno.h>.
18443         (__tgamma): Use __glibc_unlikely.  Set errno on underflow to 0.
18444         * math/w_tgammaf.c: Include <errno.h>.
18445         (__tgammaf): Use __glibc_unlikely.  Set errno on underflow to 0.
18446         * math/w_tgammal.c: Include <errno.h>.
18447         (__tgammal): Use __glibc_unlikely.  Set errno on underflow to 0.
18448         * math/auto-libm-test-in: Do not allow missing errno on tgamma
18449         underflow.  Add more tgamma tests.
18450         * math/auto-libm-test-out: Regenerated.
18451         * sysdeps/i386/fpu/libm-test-ulps: Update.
18452         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18453
18454         * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
18455         sin, sinh, tan, tanh, tgamma, y0 and y1.
18456         * math/auto-libm-test-out: Regenerated.
18457         * math/libm-test.inc (TEST_COND_x86_64): New macro.
18458         (TEST_COND_x86): Likewise.
18459         (M_E2l): Remove macro.
18460         (M_E3l): Likewise.
18461         (M_2_SQRT_PIl): Likewise.
18462         (M_SQRT_PIl): Likewise.
18463         (M_1_DIV_El): Likewise.
18464         (log_test_data): Use AUTO_TESTS_f_f.
18465         (log10_test_data): Likewise.
18466         (log1p_test_data): Likewise.
18467         (log2_test_data): Likewise.
18468         (sin_test_data): Likewise.
18469         (sin_tonearest_test_data): Likewise.
18470         (sin_towardzero_test_data): Likewise.
18471         (sin_downward_test_data): Likewise.
18472         (sin_upward_test_data): Likewise.
18473         (sinh_test_data): Likewise.
18474         (sinh_tonearest_test_data): Likewise.
18475         (sinh_towardzero_test_data): Likewise.
18476         (sinh_downward_test_data): Likewise.
18477         (sinh_upward_test_data): Likewise.
18478         (tan_test_data): Likewise.
18479         (tan_tonearest_test_data): Likewise.
18480         (tan_towardzero_test_data): Likewise.
18481         (tan_downward_test_data): Likewise.
18482         (tan_upward_test_data): Likewise.
18483         (tanh_test_data): Likewise.
18484         (tgamma_test_data): Likewise.
18485         (y0_test_data): Likewise.
18486         (y1_test_data): Likewise.
18487         * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
18488         (special_real_inputs): Add pi/4.
18489         * sysdeps/i386/fpu/libm-test-ulps: Update.
18490         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18491
18492 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18493
18494         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
18495         "longjmp_target" static probes.
18496         (__longjmp): Rename to __longjmp_symbol.
18497         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
18498         * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
18499         on which longjmp to generate.
18500         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
18501         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
18502         probe.
18503         (__sigsetjmp): Rename to __sigsetjmp_symbol.
18504         (__sigjmp_save): Rename to __sigjmp_save_symbol.
18505         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
18506         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
18507         and __sigjmp_save_symbol based on which sigsetjmp to generated.
18508         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
18509         * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
18510         __longjmp_symbol based on which __longjmp to generate.
18511         * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
18512         probe.
18513         (setjmp): Rename to setjmp_symbol.
18514         (__sigsetjmp): Rename to __sigsetjmp_symbol.
18515         (_setjmp): Rename to _setjmp_symbol.
18516         (__sigsetjmp): Rename to __sigsetjmp_symbol.
18517         * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
18518         _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
18519         which setjmp to generate.
18520         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
18521         "longjmp_target" static probes.
18522
18523 2013-12-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
18524
18525         * benchtests/README: Add note about output arguments.
18526         * benchtests/bench-sincos.c: Remove file.
18527         * benchtests/sincos-inputs: New file.
18528         * scripts/bench.pl: Identify output arguments and define
18529         static variables for them.
18530
18531         * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
18532
18533         [BZ #15941]
18534         * Makefile (INSTALL): Add install-plain.texi as the primary
18535         dependency.
18536         * manual/install-plain.texi: New file.
18537         * manual/install.texi: Include node directive only for
18538         non-plaintext output.
18539
18540 2013-12-04  Joseph Myers  <joseph@codesourcery.com>
18541
18542         * stdlib/longlong.h: Update from GCC.
18543
18544         [BZ #6807]
18545         [BZ #15901]
18546         * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
18547         * math/w_j0f.c (y0f): Likewise.
18548         * math/w_j0l.c (__y0l): Likewise.
18549         * math/w_j1.c (y1): Likewise.
18550         * math/w_j1f.c (y1f): Likewise.
18551         * math/w_j1l.c (__y1l): Likewise
18552         * math/w_jn.c (yn): Likewise.
18553         * math/w_jnf.c (ynf): Likewise.
18554         * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
18555         Bessel function pole errors in _POSIX_ mode.  Use NAN as return
18556         value for Bessel function domain errors outside _SVID_ mode.
18557         Adjust sign of return value for yn (negative integer, 0).
18558         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
18559         by zero in return for negative x and set sign appropriately for
18560         negative n.
18561         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
18562         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
18563         * math/libm-test.inc (y0_test_data): Add more tests and adjust
18564         expectations in error cases.
18565         (y1_test_data): Likewise.
18566         (yn_test_data): Likewise.
18567         * sysdeps/i386/fpu/libm-test-ulps: Update.
18568         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18569
18570 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
18571
18572         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
18573         "64" to "64-v1".  Add "64-v2".
18574         (abi-64-options): Rename to ...
18575         (abi-64-v1-options): ... this.   Redefine _CALL_ELF.
18576         (abi-64-condition): Rename to ...
18577         (abi-64-v1-condition): ... this.  Add _CALL_ELF check.,
18578         (abi-64-ld-soname): Rename to ...
18579         (abi-64-v1-ld-soname): ... this.
18580         (abi-64-v2-options): Define.
18581         (abi-64-v2-condition): Likewise.
18582         (abi-64-v2-ld-soname): Likewise.
18583         * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
18584         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
18585         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
18586         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
18587         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
18588
18589 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
18590             Alan Modra  <amodra@gmail.com>
18591
18592         * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
18593         New versions for use with the ELFv2 ABI.
18594         (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
18595         * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
18596         declaration.
18597         (struct La_ppc64v2_retval): Likewise.
18598         (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
18599         (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
18600         * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
18601         to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
18602         (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
18603         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
18604         Do not save or restore CR.
18605         (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
18606         (_dl_profile_resolve): Do no save or restore CR.  Support extended
18607         return values for ELFv2 ABI.  Fix location of FPR return registers.
18608         * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
18609         updated values for _CALL_ELF == 2.
18610         (La_regs, La_retval, int_retval): Likewise.
18611
18612 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
18613
18614         * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
18615         (FRAME_MIN_SIZE_PARM): Likewise.
18616         (FRAME_BACKCHAIN): Likewise.
18617         (FRAME_CR_SAVE): Likewise.
18618         (FRAME_LR_SAVE): Likewise.
18619         (FRAME_TOC_SAVE): Likewise.
18620         (FRAME_PARM_SAVE): Likewise.
18621         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
18622         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
18623         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
18624         (call_mcount_parm_offset): New macro.
18625         (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
18626         (PROF): Use symbolic stack frame offsets.
18627         (TAIL_CALL_SYSCALL_ERROR): Likewise.
18628         * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
18629         Redefine in terms of FRAME_MIN_SIZE.
18630         (_dl_runtime_resolve): Use symbolic stack frame offsets.
18631         (_dl_profile_resolve): Likewise.  Update comment.
18632         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
18633         symbols stack frame offsets.
18634         (__sigsetjmp): Likewise.
18635         * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
18636         * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
18637         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
18638         * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
18639
18640         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
18641         (FRAME_BACKCHAIN): Remove.
18642         (FRAME_CR_SAVE): Likewise.
18643         (FRAME_LR_SAVE): Likewise.
18644         (FRAME_COMPILER_DW): Likewise.
18645         (FRAME_LINKER_DW): Likewise.
18646         (FRAME_TOC_SAVE): Likewise.
18647         (FRAME_PARM_SAVE): Likewise.
18648         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
18649         (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
18650         (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
18651         * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
18652         (CHECK_SP): Use symbolic stack frame offsets.
18653         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
18654         zone" instead of caller's parameter save area for temp storage.
18655         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
18656         Likewise.  Also, use symbolic stack frame offsets.
18657         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
18658         stackblock): Redefine for _CALL_ELF == 2 to save parameters into
18659         our own stack frame instead of the caller's.
18660         (__socket): Use symbolic stack frame offsets.
18661
18662 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
18663             Alan Modra  <amodra@gmail.com>
18664
18665         * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
18666         Define.
18667         (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
18668         (PPC64_LOCAL_ENTRY_OFFSET): Define.
18669         * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
18670         New function.
18671         (elf_machine_fixup_plt): Call it.
18672         (elf_machine_plt_conflict): Likewise.  Add map, sym_map, and
18673         reloc arguments.
18674         (elf_machine_rela): Update call to elf_machine_plt_conflict.
18675         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
18676         (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
18677         r2 before calling target.
18678
18679 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
18680             Alan Modra  <amodra@gmail.com>
18681
18682         * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
18683         (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
18684         versions of macros to support ELFv2 ABI.
18685         (LOCALENTRY): New macro.
18686         (ENTRY, EALIGN): Use it.
18687         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
18688         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
18689         fall through into ENTRY entry point.
18690         * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
18691         Only define if _CALL_ELF != 2.
18692
18693         (elf_machine_matches_host): Verify ABI version matches.
18694         (RTLD_START): Use LOCALENTRY.
18695         (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
18696         (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
18697         (PLT_ENTRY_WORDS): New macro.
18698         (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
18699         (elf_machine_runtime_setup): Support ELFv2 ABI.
18700         (elf_machine_fixup_plt): Likewise.
18701         (elf_machine_plt_conflict): Likewise.
18702         (resolve_ifunc): Likewise.
18703         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
18704         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
18705         Likewise.
18706         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
18707         (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
18708         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
18709         (makecontext): Support ELFv2 ABI.
18710         * elf/elf.h (EF_PPC64_ABI): Define.
18711
18712 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
18713
18714         * sysdeps/powerpc/powerpc64/sysdep.h
18715         (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
18716         (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
18717         (ENTRY) [ASSEMBLER]: ... but instead here ...
18718         (EALIGN) [ASSEMBLER]: ... and here.
18719         (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
18720         (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
18721         (ENTRY_2) [!ASSEMBLER]: Use it.
18722         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
18723         ENTRY_2 changes.  Use PPC64_LOAD_FUNCPTR.
18724         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
18725         (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
18726         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
18727         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
18728         Use PPC64_LOAD_FUNCPTR.
18729
18730         * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
18731
18732 2013-12-04  Alan Modra  <amodra@gmail.com>
18733
18734         * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
18735         (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
18736         (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
18737         (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
18738
18739         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
18740         overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
18741         R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
18742         Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
18743         R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
18744         Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
18745
18746 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
18747
18748         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
18749         (__makecontext): Fix incorrect CFI when backtracing out of
18750         context created via makecontext.
18751         * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
18752         (__setcontext): Fix incorrect CFI during switch to new context.
18753         (__novec_setcontext): Likewise.
18754
18755 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
18756
18757         [BZ #4772]
18758         * time/strptime_l.c (__strptime_internal): Allow modifiers
18759         in strptime.
18760         * time/tst-strptime.c (day_tests): Add testcase.
18761
18762 2013-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
18763
18764         * scripts/bench.pl: Skip over blank lines.
18765
18766 2013-12-04  Paul Eggert  <eggert@cs.ucla.edu>
18767
18768         [BZ #926]
18769         * manual/time.texi (Calendar Time): Clarify what timezone functions
18770         use.
18771
18772 2013-12-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18773
18774         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18775
18776 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
18777
18778         * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
18779         implementation.
18780         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
18781         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
18782         * debug/memset_chk.c (__memset_chk): Likewise.
18783         * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
18784         * debug/strncpy_chk.c: Likewise.
18785
18786 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
18787
18788         [BZ #15268]
18789         [BZ #15425]
18790         * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
18791         (__ieee754_exp): For possibly underflowing results, check size of
18792         result and force underflow exception if required.
18793         * math/auto-libm-test-in: Add more tests of exp.
18794         * math/auto-libm-test-out: Regenerated.
18795         * sysdeps/i386/fpu/libm-test-ulps: Update.
18796         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18797
18798         [BZ #16283]
18799         * math/w_exp2.c (__exp2): Handle a zero result as underflow.
18800         * math/w_exp2f.c (__exp2f): Likewise.
18801         * math/w_exp2l.c (__exp2l): Likewise.
18802         * math/auto-libm-test-in: Do not allow missing errno on exp2
18803         underflow.
18804         * math/auto-libm-test-out: Regenerated.
18805
18806 2013-12-03  Ondřej Bílka  <neleai@seznam.cz>
18807
18808         [BZ #16274]
18809         * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
18810         handle filename validation.
18811         * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
18812         (do_open): Delete.
18813
18814 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
18815
18816         [BZ #6786]
18817         * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
18818         (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
18819         * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
18820         <float.h>.
18821         (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
18822         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
18823         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
18824         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
18825         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
18826         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
18827         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
18828         * math/auto-libm-test-in: Don't allow missing errno from erfc.
18829         Add more erfc tests.
18830         * math/auto-libm-test-out: Regenerated.
18831         * sysdeps/i386/fpu/libm-test-ulps: Update.
18832         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18833
18834         * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
18835         exp2, expm1, j0 and j1.
18836         * math/auto-libm-test-out: Regenerated.
18837         * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
18838         (erfc_test_data): Likewise.
18839         (exp_test_data): Likewise.
18840         (exp_tonearest_test_data): Likewise.
18841         (exp_towardzero_test_data): Likewise.
18842         (exp_downward_test_data): Likewise.
18843         (exp_upward_test_data): Likewise.
18844         (exp10_test_data): Likewise.
18845         (exp2_test_data): Likewise.
18846         (expm1_test_data): Likewise.
18847         (j0_test_data): Likewise.
18848         (j1_test_data): Likewise.
18849         * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
18850         (input_flag_type): Add flag_xfail_rounding.
18851         (input_flags): Add xfail-rounding.
18852         (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
18853         (output_for_one_input_case): Handle flag_xfail_rounding.
18854         * sysdeps/i386/fpu/libm-test-ulps: Update.
18855         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18856
18857 2013-12-03  Aurelien Jarno  <aurelien@aurel32.net>
18858
18859         [BZ #16289]
18860         * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
18861         division by 0.
18862
18863 2013-12-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
18864
18865         [BZ #16195]
18866         * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
18867         (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
18868         (STAP_PROBE0): New macro.
18869         (STAP_PROBE1): Likewise.
18870         (STAP_PROBE2): Likewise.
18871         (STAP_PROBE3): Likewise.
18872         (STAP_PROBE4): Likewise.
18873
18874 2013-12-02  Ondřej Bílka  <neleai@seznam.cz>
18875
18876         * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
18877
18878 2013-12-02  Steve Ellcey  <sellcey@mips.com>
18879
18880         * benchtests/Makefile (bench): Add sqrt.
18881         (LDLIBS-bench-sqrt): New.
18882         * benchtests/sqrt-input: New.
18883
18884 2013-12-02  Pavel Simerda  <psimerda@redhat.com>
18885
18886         * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
18887         (GAIH_EAI): Likewise.
18888         (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
18889         (gaih_inet): Likewise.
18890         (getaddrinfo): Don't use GAIH_EAI.
18891
18892         * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
18893         (struct gaih): Remove definition.
18894
18895 2013-12-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
18896
18897         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
18898         Use HERRNOP directly.
18899
18900 2013-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18901
18902         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18903
18904 2013-11-30  Joseph Myers  <joseph@codesourcery.com>
18905
18906         * math/gen-auto-libm-tests.c (test_functions): Add more
18907         single-argument functions.
18908         (special_fill_pi_2): New function.
18909         (special_fill_minus_pi_2): Likewise.
18910         (special_fill_pi_6): Likewise.
18911         (special_fill_minus_pi_6): Likewise.
18912         (special_fill_pi_3): Likewise.
18913         (special_fill_2pi_3): Likewise.
18914         (special_fill_e): Likewise.
18915         (special_fill_1_e): Likewise.
18916         (special_fill_e_minus_1): Likewise.
18917         (special_real_inputs): Add more special inputs.
18918         (output_for_one_input_case): Do not require ERANGE on underflow to
18919         zero if round-to-nearest result does not underflow to zero, unless
18920         exact results required.
18921         * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
18922         atan, atanh, cbrt, cos and cosh.
18923         * math/auto-libm-test-out: Regenerated.
18924         * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
18925         (acos_tonearest_test_data): Likewise.
18926         (acos_towardzero_test_data): Likewise.
18927         (acos_downward_test_data): Likewise.
18928         (acos_upward_test_data): Likewise.
18929         (acosh_test_data): Likewise.
18930         (asin_test_data): Likewise.
18931         (asin_tonearest_test_data): Likewise.
18932         (asin_towardzero_test_data): Likewise.
18933         (asin_upward_test_data): Likewise.
18934         (asinh_test_data): Likewise.
18935         (atan_test_data): Likewise.
18936         (atanh_test_data): Likewise.
18937         (cbrt_test_data): Likewise.
18938         (cos_test_data): Likewise.
18939         (cos_tonearest_test_data): Likewise.
18940         (cos_towardzero_test_data): Likewise.
18941         (cos_downward_test_data): Likewise.
18942         (cos_upward_test_data): Likewise.
18943         (cosh_test_data): Likewise.
18944         (cosh_tonearest_test_data): Likewise.
18945         (cosh_towardzero_test_data): Likewise.
18946         (cosh_downward_test_data): Likewise.
18947         (cosh_upward_test_data): Likewise.
18948         * sysdeps/i386/fpu/libm-test-ulps: Update.
18949         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18950
18951 2013-11-29  Joseph Myers  <joseph@codesourcery.com>
18952
18953         [BZ #6787]
18954         * math/w_exp10.c (__exp10): Handle a zero result as underflow.
18955         * math/w_exp10f.c (__exp10f): Likewise.
18956         * math/w_exp10l.c (__exp10l): Likewise.
18957         * math/libm-test.inc (exp10_test_data): Add more tests and expect
18958         errno settings in existing tests.
18959
18960         [BZ #14032]
18961         * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
18962         precision control set to double precision.
18963         * sysdeps/i386/fpu/w_sqrt.c: New file.
18964         * math/auto-libm-test-in: Add more tests.
18965         * math/auto-libm-test-out: Update.
18966
18967         * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
18968         (sqrt_test_tonearest): New function.
18969         (sqrt_towardzero_test_data): New variable.
18970         (sqrt_test_towardzero): New function.
18971         (sqrt_downward_test_data): New variable.
18972         (sqrt_test_downward): New function.
18973         (sqrt_upward_test_data): New variable.
18974         (sqrt_test_upward): New function.
18975         (main): Call the new functions.
18976
18977         * math/gen-auto-libm-tests.c: New file.
18978         * math/auto-libm-test-in: Likewise.
18979         * math/auto-libm-test-out: New generated file.
18980         * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
18981         variables.
18982         (%beautify): Add generated representations of zero.
18983         (top level): Set $auto_input and call parse_auto_input.
18984         (beautify): Remove trailing "f" from hex float constants.
18985         (parse_args): Handle XFAIL_TEST.
18986         (convert_condition): New function.
18987         (or_value): Likewise.
18988         (or_cond_value): Likewise.
18989         (generate_testfile): Handle AUTO_TESTS_* lines.
18990         (parse_auto_input): New function.
18991         * math/libm-test.inc (XFAIL_TEST): New macro.
18992         (ERRNO_UNCHANGED): Update value.
18993         (ERRNO_EDOM): Likewise.
18994         (ERRNO_ERANGE): Likewise.
18995         (IGNORE_RESULT): Likewise.
18996         (TEST_COND_flt_32): New macro.
18997         (TEST_COND_dbl_64): Likewise.
18998         (TEST_COND_ldbl_96_intel): Likewise.
18999         (TEST_COND_ldbl_96_m68k): Likewise.
19000         (TEST_COND_ldbl_128): Likewise.
19001         (TEST_COND_ldbl_128ibm): Likewise.
19002         (TEST_COND_long32): Likewise.
19003         (TEST_COND_long64): Likewise.
19004         (TEST_COND_before_rounding): Likewise.
19005         (TEST_COND_after_rounding): Likewise.
19006         (enable_test): Handle XFAIL_TEST flag.
19007         (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
19008         with finite results.
19009         * math/Makefile ($(objpfx)libm-test.stmp): Depend on
19010         auto-libm-test-out.
19011
19012 2013-11-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
19013             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
19014
19015         [BZ #16214]
19016         * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
19017         __tls_get_addr_internal instead of __tls_get_offset in order to
19018         avoid GOT pointer dependency.  Make rtld export
19019         __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
19020         __tls_get_addr since we are a __tls_get_offset platform.
19021         * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
19022         GOT pointer being set up before.
19023         * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
19024
19025 2013-11-28  Joseph Myers  <joseph@codesourcery.com>
19026
19027         * manual/math.texi (Errors in Math Functions): Document accuracy
19028         goals.
19029
19030         [BZ #15004]
19031         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
19032         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
19033         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
19034         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
19035         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
19036         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
19037         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
19038         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
19039         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
19040         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
19041         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
19042         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
19043         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
19044         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
19045         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
19046         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
19047
19048         * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
19049         * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
19050         * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
19051         * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
19052         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
19053         Likewise.
19054         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
19055         Likewise.
19056         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
19057         Likewise.
19058         * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
19059         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
19060         (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
19061         atomic-feupdateenv and flt-rounds.
19062         * sysdeps/powerpc/nofpu/Versions (libc): Add
19063         __atomic_feholdexcept, __atomic_feclearexcept,
19064         __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
19065         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
19066         (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
19067         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
19068         (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
19069         here.
19070         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
19071         Update.
19072
19073         * manual/arith.texi (FP Exceptions): Document that exceptions may
19074         not be raised when matherr is used.
19075         (Math Error Reporting): Document overflow in directed rounding
19076         modes.  Document that errno may not be set when finite values are
19077         returned on overflow.  Document intent to set errno on underflow
19078         only for underflow to zero.
19079
19080         [BZ #16271]
19081         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
19082         round-to-nearest then adjust result for other rounding modes.
19083         * include/fenv.h (fegetround): Use libm_hidden_proto.
19084         * math/fegetround.c (fegetround): Use libm_hidden_def.
19085         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
19086         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
19087         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
19088         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
19089         Likewise.
19090         * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
19091         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
19092         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
19093         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
19094
19095 2013-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
19096
19097         [BZ #16077]
19098         * nss/Versions (libnss_files): Add
19099         _nss_files_gethostbyname3_r.
19100         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
19101         New function.
19102         (HOST_DB_LOOKUP): Remove macro.
19103         (_nss_files_gethostbyname_r): Implement function without the
19104         HOST_DB_LOOKUP macro.
19105         (_nss_files_gethostbyname2_r): Likewise.
19106
19107 2013-11-28  Ondřej Bílka  <neleai@seznam.cz>
19108
19109         * malloc/malloc.c (__libc_calloc): Make memset a tail call.
19110
19111 2013-11-26  Uros Bizjak  <ubizjak@gmail.com>
19112
19113         * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
19114         _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
19115         warning.
19116
19117 2013-11-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19118
19119         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
19120         __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
19121         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
19122         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
19123         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
19124         __fe_nomask_env_priv and attribute_hidden.
19125         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
19126         (libc_feupdateenv_test_ppc): Likewise.
19127         (libc_feresetround_ppc): Likewise.
19128         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
19129         (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
19130         compat_symbol macro.
19131         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
19132         (__fe_nomask_env): Likewise.
19133         * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
19134
19135 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
19136
19137         * string/Makefile: Remove ifunc tests.
19138         * string/test-string.h: Define TEST_IFUNC.
19139         * string/test-bcopy-ifunc.c: Remove.
19140         * string/test-bzero-ifunc.c: Likewise.
19141         * string/test-memccpy-ifunc.c: Likewise.
19142         * string/test-memchr-ifunc.c: Likewise.
19143         * string/test-memcmp-ifunc.c: Likewise.
19144         * string/test-memcpy-ifunc.c: Likewise.
19145         * string/test-memmem-ifunc.c: Likewise.
19146         * string/test-memmove-ifunc.c: Likewise.
19147         * string/test-mempcpy-ifunc.c: Likewise.
19148         * string/test-memrchr-ifunc.c: Likewise.
19149         * string/test-memset-ifunc.c: Likewise.
19150         * string/test-rawmemchr-ifunc.c: Likewise.
19151         * string/test-stpcpy-ifunc.c: Likewise.
19152         * string/test-stpncpy-ifunc.c: Likewise.
19153         * string/test-strcasecmp-ifunc.c: Likewise.
19154         * string/test-strcasestr-ifunc.c: Likewise.
19155         * string/test-strcat-ifunc.c: Likewise.
19156         * string/test-strchr-ifunc.c: Likewise.
19157         * string/test-strchrnul-ifunc.c: Likewise.
19158         * string/test-strcmp-ifunc.c: Likewise.
19159         * string/test-strcpy-ifunc.c: Likewise.
19160         * string/test-strcspn-ifunc.c: Likewise.
19161         * string/test-strlen-ifunc.c: Likewise.
19162         * string/test-strncasecmp-ifunc.c: Likewise.
19163         * string/test-strncat-ifunc.c: Likewise.
19164         * string/test-strncmp-ifunc.c: Likewise.
19165         * string/test-strncpy-ifunc.c: Likewise.
19166         * string/test-strnlen-ifunc.c: Likewise.
19167         * string/test-strpbrk-ifunc.c: Likewise.
19168         * string/test-strrchr-ifunc.c: Likewise.
19169         * string/test-strspn-ifunc.c: Likewise.
19170         * string/test-strstr-ifunc.c: Likewise.
19171
19172 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
19173
19174         * benchtests/Makefile: Remove ifunc tests.
19175         * benchtests/bench-string.h: Define TEST_IFUNC.
19176         * benchtests/bench-bcopy-ifunc.c: Remove.
19177         * benchtests/bench-bzero-ifunc.c: Likewise.
19178         * benchtests/bench-memccpy-ifunc.c: Likewise.
19179         * benchtests/bench-memchr-ifunc.c: Likewise.
19180         * benchtests/bench-memcmp-ifunc.c: Likewise.
19181         * benchtests/bench-memcpy-ifunc.c: Likewise.
19182         * benchtests/bench-memmem-ifunc.c: Likewise.
19183         * benchtests/bench-memmove-ifunc.c: Likewise.
19184         * benchtests/bench-mempcpy-ifunc.c: Likewise.
19185         * benchtests/bench-memrchr-ifunc.c: Likewise.
19186         * benchtests/bench-memset-ifunc.c: Likewise.
19187         * benchtests/bench-rawmemchr-ifunc.c: Likewise.
19188         * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
19189         * benchtests/bench-stpcpy-ifunc.c: Likewise.
19190         * benchtests/bench-stpncpy-ifunc.c: Likewise.
19191         * benchtests/bench-strcasecmp-ifunc.c: Likewise.
19192         * benchtests/bench-strcasestr-ifunc.c: Likewise.
19193         * benchtests/bench-strcat-ifunc.c: Likewise.
19194         * benchtests/bench-strchr-ifunc.c: Likewise.
19195         * benchtests/bench-strchrnul-ifunc.c: Likewise.
19196         * benchtests/bench-strcmp-ifunc.c: Likewise.
19197         * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
19198         * benchtests/bench-strcpy-ifunc.c: Likewise.
19199         * benchtests/bench-strcspn-ifunc.c: Likewise.
19200         * benchtests/bench-strlen-ifunc.c: Likewise.
19201         * benchtests/bench-strncasecmp-ifunc.c: Likewise.
19202         * benchtests/bench-strncat-ifunc.c: Likewise.
19203         * benchtests/bench-strncmp-ifunc.c: Likewise.
19204         * benchtests/bench-strncpy-ifunc.c: Likewise.
19205         * benchtests/bench-strnlen-ifunc.c: Likewise.
19206         * benchtests/bench-strpbrk-ifunc.c: Likewise.
19207         * benchtests/bench-strrchr-ifunc.c: Likewise.
19208         * benchtests/bench-strsep-ifunc.c: Likewise.
19209         * benchtests/bench-strspn-ifunc.c: Likewise.
19210         * benchtests/bench-strstr-ifunc.c: Likewise.
19211
19212 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
19213
19214         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
19215
19216 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
19217
19218         * resolv/netdb.h: Use __glibc_reserved instead __unused.
19219         * rt/aio.h: Likewise.
19220         * sysdeps/gnu/bits/utmp.h: Likewise.
19221         * sysdeps/gnu/bits/utmpx.h: Likewise.
19222         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
19223         * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
19224         * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
19225         * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
19226         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
19227         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
19228         * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
19229         * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
19230         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
19231         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
19232         * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
19233         * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
19234         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
19235         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
19236         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
19237         * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
19238         * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
19239         * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
19240         * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
19241         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
19242         * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
19243         * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
19244         * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
19245         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
19246         * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
19247         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
19248         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
19249         * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
19250         * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
19251         * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
19252         * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
19253         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
19254         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
19255         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
19256         * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
19257         * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
19258         * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
19259         * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
19260         * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
19261         * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
19262         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
19263         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
19264
19265 2013-11-25  Carlos O'Donell  <carlos@redhat.com>
19266
19267         [BZ #16245]
19268         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
19269         Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
19270
19271 2013-11-25  Joseph Myers  <joseph@codesourcery.com>
19272
19273         * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
19274         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
19275         Likewise.
19276
19277 2013-11-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19278
19279         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
19280         SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
19281         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
19282         (__fesetround): Remove define.
19283         * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
19284         rounding and exceptions handling.
19285         * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
19286         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
19287         (__fe_nomask_env): Likewise.
19288         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
19289         __fegetround instead of fegetround.
19290         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
19291         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
19292
19293 2013-11-21  Roland McGrath  <roland@hack.frob.com>
19294
19295         * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
19296         it's there.
19297
19298         * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
19299
19300 2013-11-21  Meador Inge  <meadori@codesourcery.com>
19301
19302         [BZ #11157]
19303         * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
19304         (encrypt_r): Likewise.
19305         * malloc/obstack.h (obstack_free): Likewise.
19306         * posix/unistd.h (encrypt): Likewise.
19307
19308 2013-11-21  Guy Martin  <gmsoft@tuxicoman.be>
19309
19310         * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
19311         DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
19312         DL_CALL_DT_FINI() that call the functions directly.
19313         * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
19314         * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
19315         * elf/dl-fini.c: Likewise.
19316
19317 2013-11-20  Ondřej Bílka  <neleai@seznam.cz>
19318
19319         * malloc/hooks.c (memalign_check): Add alignment rounding.
19320         * malloc/malloc.c (_mid_memalign): New function.
19321         (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
19322         Implement by calling _mid_memalign.
19323         * manual/probes.texi (Memory Allocation Probes): Remove
19324         memory_valloc_retry and memory_pvalloc_retry.
19325
19326 2013-11-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
19327
19328         * locale/programs/locarchive.c (open_archive): Add const
19329         qualifier to ARCHIVEFNAME and copy default fname to
19330         DEFAULT_FNAME.
19331
19332         [BZ #15601]
19333         * libio/tst-widetext.input: Rename Oriya to Odia.
19334         * locale/iso-639.def: Likewise.
19335
19336         * manual/probes.texi (Mathematical Function Probes): Add
19337         documentation for sin, cos, asin and acos probes.
19338         * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
19339         (__sin32): Add slowasin probe.
19340         (__cos32): Add slowacos probe.
19341         (__mpsin): Add slowsin probe.
19342         (__mpcos): Add slowcos probe.
19343
19344 2013-11-19  Joseph Myers  <joseph@codesourcery.com>
19345
19346         [BZ #15483]
19347         * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
19348         thread-local __sim_exceptions_thread and global
19349         __sim_exceptions_global.
19350         (__sim_disabled_exceptions): Change to thread-local
19351         __sim_disabled_exceptions_thread and global
19352         __sim_disabled_exceptions_global.
19353         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
19354         and global __sim_round_mode_global.
19355         (__simulate_exceptions): Use thread-local floating-point state and
19356         set global state from it as needed.
19357         * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
19358         __sim_exceptions_thread, __sim_disabled_exceptions_thread and
19359         __sim_round_mode_thread.
19360         * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
19361         (__sim_exceptions): Change to thread-local __sim_exceptions_thread
19362         and global __sim_exceptions_global.
19363         (__sim_disabled_exceptions): Change to thread-local
19364         __sim_disabled_exceptions_thread and global
19365         __sim_disabled_exceptions_global.
19366         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
19367         and global __sim_round_mode_global.
19368         [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
19369         (SIM_SET_GLOBAL): Likewise.
19370         * sysdeps/powerpc/soft-fp/sfp-machine.h
19371         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
19372         __sim_round_mode_thread.
19373         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
19374         __sim_disabled_exceptions_thread.
19375         (__sim_exceptions): Change to __sim_exceptions_thread.
19376         (__sim_disabled_exceptions): Change to
19377         __sim_disabled_exceptions_thread.
19378         (__sim_round_mode): Change to __sim_round_mode_thread.
19379         * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
19380         thread-local floating-point state and set global state from it as
19381         needed.
19382         * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
19383         * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
19384         (__sim_disabled_exceptions): Remove extern declaration.
19385         (feenableexcept): Use thread-local floating-point state and set
19386         global state from it as needed.
19387         * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
19388         extern declaration.
19389         (__sim_disabled_exceptions): Likewise.
19390         (__sim_round_mode): Likewise.
19391         (__fegetenv): Use thread-local floating-point state.
19392         * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
19393         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
19394         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
19395         floating-point state and set global state from it as needed.
19396         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
19397         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
19398         * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
19399         Likewise.
19400         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
19401         * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
19402         Likewise.
19403         sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
19404         * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
19405         Use __sim_round_mode_thread.
19406         * math/test-fenv-tls.c: New file.
19407         * math/Makefile (tests): Add test-fenv-tls.
19408         ($(objpfx)test-fenv-tls): Depend on
19409         $(common-objpfx)nptl/libpthread.so.
19410
19411 2013-11-19  Andreas Schwab  <schwab@suse.de>
19412
19413         * locale/programs/locale.c (show_info): Decode wordarray elements.
19414         * locale/categories.def (LC_MONETARY): Add element for
19415         _NL_MONETARY_CRNCYSTR.
19416         * locale/C-monetary.c (conversion_rate): New variable.
19417         (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
19418         element.
19419
19420 2013-11-18  Chris Metcalf  <cmetcalf@tilera.com>
19421
19422         * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
19423         Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
19424
19425 2013-11-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
19426
19427         * elf/Makefile (tst-auxv): New test.
19428         * elf/tst-auxv.c: New
19429         * elf/rtld.c (dl_main): Adjust AT_EXECFN
19430
19431 2013-11-18  Joseph Myers  <joseph@codesourcery.com>
19432
19433         * include/libc-symbols.h (__hidden_proto): Add argument "thread".
19434         (hidden_proto): Caller changed.
19435         (hidden_tls_proto): New macro.
19436         (libc_hidden_tls_proto): Likewise.
19437         (rtld_hidden_tls_proto): Likewise.
19438         (libm_hidden_tls_proto): Likewise.
19439         (libresolv_hidden_tls_proto): Likewise.
19440         (librt_hidden_tls_proto): Likewise.
19441         (libdl_hidden_tls_proto): Likewise.
19442         (libnss_files_hidden_tls_proto): Likewise.
19443         (libnsl_hidden_tls_proto): Likewise.
19444         (libnss_nisplus_hidden_tls_proto): Likewise.
19445         (libutil_hidden_tls_proto): Likewise.
19446
19447 2013-11-18  Ondřej Bílka  <neleai@seznam.cz>
19448
19449         [BZ #10253]
19450         * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
19451         (decompose_rpath): Defer expansion to fillin_rpath.
19452         (_dl_init_paths): Pass linkmap to fillin_rpath.
19453
19454 2013-11-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
19455
19456         * benchtests/Makefile: Add strsep.
19457         * benchtests/bench-strsep.c: New file: strsep benchtest.
19458         * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
19459
19460 2013-11-18  Andreas Schwab  <schwab@suse.de>
19461
19462         * locale/programs/locale.c (show_info) [case byte]: Check for
19463         '\377' instead of '\177'.
19464         * locale/C-monetary.c (not_available): Always use "\377".
19465         * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
19466         unspecified p_sign_posn and n_sign_posn.  Check for '\377' to
19467         detect unavailable sign_posn locale elements.
19468         * locale/localeconv.c (__localeconv): For grouping and
19469         mon_grouping handle "\177" and "\377" like no grouping.
19470         (INT_ELEM): New macro.  Use it to set all numeric members.
19471         * locale/programs/ld-monetary.c (monetary_read)
19472         <tok_mon_grouping>: Normalize single -1 to the empty string.
19473         * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
19474         Likewise.
19475
19476 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
19477
19478         [BZ #16055]
19479         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
19480         when we match (nil).
19481         * stdio-common/tst-sscanf.c (struct test): Add testcase.
19482
19483 2013-11-16  Joseph Myers  <joseph@codesourcery.com>
19484
19485         * math/libm-test.inc (TEST_NAN_SIGN): New macro.
19486         (NO_TEST_INLINE): Update value.
19487         (ERRNO_UNCHANGED): Likewise.
19488         (ERRNO_EDOM): Likewise.
19489         (ERRNO_ERANGE): Likewise.
19490         (IGNORE_RESULT): Likewise.
19491         (check_float_internal): Check signs of NaN results if
19492         TEST_NAN_SIGN used.
19493         (check_complex): Pass TEST_NAN_SIGN flag through to second
19494         check_float_internal call.
19495         (copysign_test_data): Add tests with quiet NaNs as second
19496         argument.  Use TEST_NAN_SIGN.
19497         (fabs_test_data): Add test of negative quiet NaN argument.  Use
19498         TEST_NAN_SIGN.
19499         (signbit_test_data): Add tests of quiet NaN argument.
19500         * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
19501
19502         * math/gen-libm-test.pl (show_exceptions): Take extra argument
19503         $ignore_result.
19504         (parse_args): Handle function results specified as IGNORE.
19505         * math/libm-test.inc (IGNORE_RESULT): New macro.
19506         (check_float_internal): Do not check numerical result if flag
19507         IGNORE_RESULT set.
19508         (check_complex): Pass through IGNORE_RESULT to second
19509         check_float_internal call.
19510         (check_int): Do not check numerical result if flag IGNORE_RESULT
19511         set.
19512         (check_long): Likewise.
19513         (check_bool): Likewise.
19514         (check_longlong): Likewise.
19515         (lrint_test_data): Add tests of infinite and NaN arguments.
19516         (lrint_tonearest_test_data): Likewise.
19517         (lrint_towardzero_test_data): Likewise.
19518         (lrint_downward_test_data): Likewise.
19519         (lrint_upward_test_data): Likewise.
19520         (llrint_test_data): Likewise.
19521         (llrint_tonearest_test_data): Likewise.
19522         (llrint_towardzero_test_data): Likewise.
19523         (llrint_downward_test_data): Likewise.
19524         (llrint_upward_test_data): Likewise.
19525         (lround_test_data): Likewise.
19526         (llround_test_data): Likewise.
19527
19528         * math/libm-test.inc (NO_TEST_INLINE): New macro.
19529         (ERRNO_UNCHANGED): Update value.
19530         (ERRNO_EDOM): Likewise.
19531         (ERRNO_ERANGE): Likewise.
19532         (NO_TEST_INLINE_FLOAT): New macro.
19533         (NO_TEST_INLINE_DOUBLE): Likewise.
19534         (enable_test): New function.
19535         (RUN_TEST_f_f): Check enable_test before running test.
19536         (RUN_TEST_2_f): Likewise.
19537         (RUN_TEST_fff_f): Likewise.
19538         (RUN_TEST_c_f): Likewise.
19539         (RUN_TEST_f_f1): Likewise.
19540         (RUN_TEST_fF_f1): Likewise.
19541         (RUN_TEST_fI_f1): Likewise.
19542         (RUN_TEST_ffI_f1): Likewise.
19543         (RUN_TEST_c_c): Likewise.
19544         (RUN_TEST_cc_c): Likewise.
19545         (RUN_TEST_f_i): Likewise.
19546         (RUN_TEST_f_i_tg): Likewise.
19547         (RUN_TEST_ff_i_tg): Likewise.
19548         (RUN_TEST_f_b): Likewise.
19549         (RUN_TEST_f_b_tg): Likewise.
19550         (RUN_TEST_f_l): Likewise.
19551         (RUN_TEST_f_L): Likewise.
19552         (RUN_TEST_fFF_11): Likewise.
19553         (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
19554         conditionals.
19555         (cosh_test_data): Likewise.
19556         (exp_test_data): Likewise.
19557         (expm1_test_data): Likewise.
19558         (hypot_test_data): Likewise.
19559         (pow_test_data): Likewise.
19560         (sinh_test_data): Likewise.
19561         (tanh_test_data): Likewise.
19562         * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
19563         flags argument.
19564
19565         * libm-test.inc (acos_test_data): Disallow inexact exceptions for
19566         tests with quiet NaN input and output.
19567         (acosh_test_data): Likewise.
19568         (asin_test_data): Likewise.
19569         (asinh_test_data): Likewise.
19570         (atan_test_data): Likewise.
19571         (atanh_test_data): Likewise.
19572         (atan2_test_data): Likewise.
19573         (cbrt_test_data): Likewise.
19574         (cos_test_data): Likewise.
19575         (cosh_test_data): Likewise.
19576         (erf_test_data): Likewise.
19577         (erfc_test_data): Likewise.
19578         (exp_test_data): Likewise.
19579         (exp10_test_data): Likewise.
19580         (exp2_test_data): Likewise.
19581         (expm1_test_data): Likewise.
19582         (hypot_test_data): Likewise.
19583         (j0_test_data): Likewise.
19584         (j1_test_data): Likewise.
19585         (jn_test_data): Likewise.
19586         (lgamma_test_data): Likewise.
19587         (log_test_data): Likewise.
19588         (log10_test_data): Likewise.
19589         (log1p_test_data): Likewise.
19590         (log2_test_data): Likewise.
19591         (pow_test_data): Likewise.
19592         (scalb_test_data): Likewise.
19593         (sin_test_data): Likewise.
19594         (sincos_test_data): Likewise.
19595         (sinh_test_data): Likewise.
19596         (tan_test_data): Likewise.
19597         (tanh_test_data): Likewise.
19598         (tgamma_test_data): Likewise.
19599         (y0_test_data): Likewise.
19600         (y1_test_data): Likewise.
19601         (yn_test_data): Likewise.
19602
19603         [BZ #16167]
19604         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
19605         argument being NaN and avoid computations with second argument in
19606         that case.
19607         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
19608         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
19609         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
19610
19611 2013-11-15  Arun Kumar Pyasi <arun@chitwanix.com>
19612
19613         * locale/iso-639.def: Add Chitwani Tharu (the).
19614
19615 2013-11-14  Andreas Schwab  <schwab@suse.de>
19616
19617         * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
19618         word instead of empty string.
19619
19620 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19621
19622         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
19623         (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
19624         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
19625         (__fe_nomask_env): Likewise.
19626
19627 2013-11-13  Steve Ellcey  <sellcey@mips.com>
19628
19629         * benchtests/bench-timing.h: Include time.h.
19630
19631 2013-11-13  H.J. Lu  <hongjiu.lu@intel.com>
19632
19633         [BZ #15997]
19634         * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
19635         to 3.4.0 for x32.
19636         * sysdeps/unix/sysv/linux/configure: Regenerated.
19637
19638 2013-11-13  Joseph Myers  <joseph@codesourcery.com>
19639
19640         [BZ #16151]
19641         * stdlib/strtod_l.c (round_and_return): Do not consider
19642         retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
19643         exponent one less than half the least subnormal exponent.
19644         * stdlib/test-strtod-round-data: Add more tests.
19645         * stdlib/tst-strtod-round.c (tests): Regenerated.
19646
19647 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19648
19649         [BZ #14143]
19650         * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
19651         (__fe_mask_env): Likewise.
19652         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
19653         libm_hidden_proto and add function prototype.
19654         (__fe_mask_env): Add function prototype.
19655         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
19656         (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
19657         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
19658         (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
19659         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
19660         (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
19661
19662 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
19663
19664         * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
19665         set reference_name to "" to avoid passing NULL to DSO_FILENAME.
19666
19667 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
19668
19669         * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
19670         of htab_find_slot().
19671
19672 2013-11-11  David S. Miller  <davem@davemloft.net>
19673
19674         [BZ #16150]
19675         * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
19676         symbol in the non-vis3 case in static builds.
19677         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
19678         * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
19679         * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
19680         * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
19681
19682 2013-11-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
19683
19684         [BZ #387]
19685         * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
19686         it is empty.
19687
19688 2013-11-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19689
19690         * benchtests/Makefile: Add bench-strtod.
19691         * benchtests/bench-strtod.c: New file: strtod benchtest
19692
19693 2013-11-11  Andreas Schwab  <schwab@suse.de>
19694
19695         [BZ #16153]
19696         * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
19697         terminating NUL in key length.
19698
19699 2013-11-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19700
19701         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
19702         Add artificial ODP entry for vDSO symbol for PPC64.
19703         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
19704         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
19705
19706 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
19707
19708         [BZ #15374]
19709         * nss/getent.c (services_keys): Recognize services starting with digit.
19710
19711 2013-11-06  David S. Miller  <davem@davemloft.net>
19712
19713         [BZ #15985]
19714         * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
19715         on pre-v9 cpus, use a fnegs+fmovs sequence instead.
19716
19717 2013-11-06  Will Newton  <will.newton@linaro.org>
19718
19719         * manual/memory.texi (Malloc Examples): Remove register
19720         keyword from examples.
19721
19722 2013-11-04  Chris Leonard  <cjl@sugarlabs.org>
19723
19724         * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
19725
19726 2013-11-04  Joseph Myers  <joseph@codesourcery.com>
19727
19728         [BZ #6981]
19729         * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
19730         depending on [__GCC_IEC_559 > 0].
19731         [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
19732         depending on [__GCC_IEC_559_COMPLEX > 0].
19733
19734 2013-11-03  Chris Leonard  <cjl@sugarlabs.org>
19735
19736         * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
19737         to iso-639.def.
19738
19739 2013-11-03  Ondřej Bílka  <neleai@seznam.cz>
19740
19741         * elf/rtld.c: Remove unused NONTLS_INIT_TP.
19742
19743 2013-11-01  Ondřej Bílka  <neleai@seznam.cz>
19744
19745         [BZ #16112]
19746         * malloc/malloc (malloc_info): Do not handle first bin as
19747         special case.
19748
19749 2013-11-01  Chris Leonard  <cjl@sugarlabs.org>
19750
19751         * locale/iso-639.def: Add Central Nahuatl (nhn).
19752
19753 2013-11-01  Bruno Haible  <bruno@clisp.org>
19754
19755         [BZ #7003]
19756         * manual/math.texi (BSD Random): Specify range upper bound as
19757         in POSIX.
19758
19759 2013-10-31  Chris Leonard  <cjl@sugarlabs.org>
19760
19761         * locale/iso-639.def: Add Meadow Mari (mhr).
19762
19763 2013-10-31  Ondřej Bílka  <neleai@seznam.cz>
19764
19765         [BZ #14752], [BZ #15763]
19766         * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
19767         Validate name.
19768         * rt/tst_shm.c: Add test for escaping directory.
19769
19770 2013-10-31  Andreas Schwab  <schwab@suse.de>
19771
19772         [BZ #15917]
19773         * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
19774         followed by 'x' as part of digit sequence.
19775         * stdio-common/tst-sscanf.c (double_tests2): New tests.
19776
19777 2013-10-31  Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
19778
19779         [BZ #16037]
19780         * configure.ac: allow GNU Make 4.0 and greater.
19781         * configure: Regenerated.
19782
19783 2013-10-30  Will Newton  <will.newton@linaro.org>
19784
19785         [BZ #16038]
19786         * malloc/hooks.c (memalign_check): Limit alignment to the
19787         maximum representable power of two.
19788         * malloc/malloc.c (__libc_memalign): Likewise.
19789         * malloc/tst-memalign.c (do_test): Add test for very
19790         large alignment values.
19791         * malloc/tst-posix_memalign.c (do_test): Likewise.
19792
19793 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
19794
19795         [BZ #11087]
19796         * malloc/malloc.c (sysmalloc): Compute statistics atomically.
19797         (munmap_chunk): Likewise.
19798         (mremap_chunk): Likewise.
19799
19800 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
19801
19802         [BZ #15799]
19803         * stdlib/div.c (div): Remove obsolete code.
19804         * stdlib/ldiv.c (ldiv): Likewise.
19805         * stdlib/lldiv.c (lldiv): Likewise.
19806
19807 2013-10-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
19808
19809         [BZ #16071]
19810         * nss/nss_files/files-XXX.c (get_contents_ret): New
19811         enumerator.
19812         (get_contents): New function.
19813         (internal_getent): Use it.  Expand size of LINEBUFLEN.
19814
19815 2013-10-30  Mike Frysinger  <vapier@gentoo.org>
19816
19817         * configure.in: Moved to ...
19818         * configure.ac: ... here. Change reference to configure.in
19819         to configure.ac.
19820         * sysdeps/arm/preconfigure.ac: ... here.
19821         configure.in to configure.ac.
19822         * sysdeps/gnu/configure.in: Moved to ...
19823         * sysdeps/gnu/configure.ac: ... here.
19824         * sysdeps/i386/configure.in: Moved to ...
19825         * sysdeps/i386/configure.ac: ... here.
19826         * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
19827         * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
19828         * sysdeps/mach/configure.in: Moved to ...
19829         * sysdeps/mach/configure.ac: ... here.
19830         * sysdeps/mach/hurd/configure.in: Moved to ...
19831         * sysdeps/mach/hurd/configure.ac: ... here.
19832         * sysdeps/powerpc/configure.in: Moved to ...
19833         * sysdeps/powerpc/configure.ac: ... here.
19834         * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
19835         * sysdeps/powerpc/powerpc32/configure.ac: ... here.
19836         * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
19837         * sysdeps/powerpc/powerpc64/configure.ac: ... here.
19838         * sysdeps/s390/s390-32/configure.in: Moved to ...
19839         * sysdeps/s390/s390-32/configure.ac: ... here.
19840         * sysdeps/s390/s390-64/configure.in: Moved to ...
19841         * sysdeps/s390/s390-64/configure.ac: ... here.
19842         * sysdeps/sh/configure.in: Moved to ...
19843         * sysdeps/sh/configure.ac: ... here.
19844         * sysdeps/sparc/configure.in: Moved to ...
19845         * sysdeps/sparc/configure.ac: ... here.
19846         * sysdeps/unix/sysv/linux/configure.in: Moved to ...
19847         * sysdeps/unix/sysv/linux/configure.ac: ... here.
19848         * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
19849         * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
19850         * sysdeps/x86_64/configure.in: Moved to ...
19851         * sysdeps/x86_64/configure.ac: ... here.
19852         * sysdeps/x86_64/preconfigure.in: Moved to ...
19853         * sysdeps/x86_64/preconfigure.ac: ... here.
19854         * aclocal.m4: Change reference to configure.in to configure.ac.
19855         * config.h.in: Likewise.
19856         * manual/install.texi: Likewise.
19857         * manual/maint.texi: Likewise.
19858         * Makefile: Likewise.
19859         * malloc/Makefile: Likewise.
19860         * nscd/Makefile: Likewise.
19861         * Makeconfig: Change reference to configure.in and
19862         preconfigure.in to configure.ac and preconfigure.ac
19863         respectively.
19864         * INSTALL: Regenerated.
19865         * configure: Likewise.
19866         * sysdeps/gnu/configure: Likewise.
19867         * sysdeps/i386/configure: Likewise.
19868         * sysdeps/ieee754/ldbl-opt/configure: Likewise.
19869         * sysdeps/mach/configure: Likewise.
19870         * sysdeps/mach/hurd/configure: Likewise.
19871         * sysdeps/powerpc/configure: Likewise.
19872         * sysdeps/powerpc/powerpc32/configure: Likewise.
19873         * sysdeps/powerpc/powerpc64/configure: Likewise.
19874         * sysdeps/s390/s390-32/configure: Likewise.
19875         * sysdeps/s390/s390-64/configure: Likewise.
19876         * sysdeps/sh/configure: Likewise.
19877         * sysdeps/sparc/configure: Likewise.
19878         * sysdeps/unix/sysv/linux/configure: Likewise.
19879         * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
19880         * sysdeps/x86_64/configure: Likewise.
19881         * sysdeps/x86_64/preconfigure: Likewise.
19882
19883 2013-10-29  Andreas Schwab  <schwab@suse.de>
19884
19885         * stdio-common/Makefile (tst-swscanf-ENV): Define.
19886
19887 2013-10-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
19888
19889         * benchtests/pow-inputs: Add new inputs.
19890
19891         * benchtests/exp-inputs: Add new inputs.
19892
19893         * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
19894         conditional check for return value.
19895         (__cos32): Likewise.
19896
19897 2013-10-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19898
19899         * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
19900         to provide a boost for large inputs with word alignment.
19901         * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
19902         implementation based on optimized PPC64 strcpy.
19903         * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
19904         strcpy for PPC64/POWER7 based on both doubleword and word load/store.
19905         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
19906         stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
19907
19908 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
19909
19910         [BZ #2801]
19911         * manual/socket.texi (Host Names): Fix gethostbyname_r example.
19912
19913 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
19914
19915         [BZ #14876]
19916         * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
19917         * time/tst-strptime.c (day_tests): Add testcase.
19918
19919 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
19920
19921         [BZ #14029]
19922         * manual/pattern.texi: Acknowledge that fnmatch can fail.
19923
19924 2013-10-25  Fabrice Bauzac  <fbauzac@debian71.nce.amadeus.net>
19925
19926         [BZ #16074]
19927         * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
19928         MAP_FAILED on error.
19929
19930 2013-10-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
19931
19932         [BZ #16072]
19933         * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
19934         heap for large requests.
19935
19936 2013-10-25  Aurelien Jarno  <aurelien@aurel32.net>
19937
19938         [BZ #9954]
19939         * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
19940         result if the result has no associated interface.
19941         * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
19942         interface for all 127.X.Y.Z addresses.
19943
19944 2013-10-24  Chris Leonard  <cjl@sugarlabs.org>
19945
19946         * locale/iso-639.def: Add Ligurian (lij)
19947
19948 2013-10-21  Ondřej Bílka  <neleai@seznam.cz>
19949
19950         [BZ #15825]
19951         * sunrpc/rpc_main.c: Document rpcgen -5.
19952
19953 2013-10-19  Michael Stahl  <mstahl@redhat.com>
19954
19955         * elf/rtld.c (do_preload): Print the reason why preloading failed.
19956
19957 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
19958
19959         [BZ #10278]
19960         * posix/glob.c: Match only directories when trailing slash is present.
19961         * posix/tst-gnuglob.c (my_opendir): Do not open files.
19962         (main): Add testcase.
19963
19964 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
19965
19966         [BZ #15670]
19967         * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
19968
19969 2013-10-18  Carlos O'Donell  <carlos@redhat.com>
19970
19971         * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
19972         AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
19973         AUTH_DES and cindex for FIPS 140-2.
19974         (DES Encryption): Add cindex FIPS 46-3.
19975
19976         * locale/locarchive.h (struct locarhandle): Add fname.
19977         * locale/programs/localedef.c (main): Pass ARGV[remaining]
19978         if an optional argument was specified to --list-archive,
19979         otherwise NULL.
19980         * locale/programs/locarchive.c (show_archive_content): Take new
19981         argument fname and pass it via ah.fname to open_archive.
19982         * locale/programs/localedef.h: Update decl.
19983         (open_archive): If AH->fname is non-null, open that file
19984         rather than the default file name, and don't ignore ENOENT.
19985         (create_archive): Set AH.fname to NULL.
19986         (delete_locales_from_archive): Likewise.
19987         (add_locales_to_archive): Likewise.
19988         * locale/programs/locfile.c (write_all_categories): Likewise.
19989
19990 2013-10-18  Joseph Myers  <joseph@codesourcery.com>
19991             Aldy Hernandez  <aldyh@redhat.com>
19992
19993         * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
19994         * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
19995         * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
19996         * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
19997         * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
19998         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
19999         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
20000         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
20001         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
20002         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
20003         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
20004         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
20005         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
20006         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
20007         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
20008         Likewise.
20009         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
20010         Likewise.
20011         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
20012         Likewise.
20013         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
20014         Likewise.
20015         * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
20016         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
20017         Likewise.
20018         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
20019         * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
20020         * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
20021         * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
20022         Likewise.
20023         * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
20024         * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
20025         * sysdeps/powerpc/preconfigure: Likewise.
20026         * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
20027         Likewise.
20028         * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
20029         Replace contents of file by #include of <fenv_libc.h>.
20030         * sysdeps/powerpc/soft-fp/sfp-machine.h
20031         [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
20032         and <sys/prctl.h>.
20033         [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
20034         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
20035         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
20036         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
20037         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
20038         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
20039         [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
20040         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
20041         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
20042         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
20043         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
20044         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
20045         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
20046         Allow copysignl PLT reference to be missing.
20047
20048 2013-10-18  Richard Sandiford  <richard@codesourcery.com>
20049             Joseph Myers  <joseph@codesourcery.com
20050
20051         [BZ #15948]
20052         * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
20053         single character.
20054         (add_to_tablewc): Assert sequence of wide characters is nonempty.
20055
20056 2013-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
20057
20058         * elf/tst-tls-dlinfo.c: Don't include tls.h.
20059         * elf/tst-tls1.c: Likewise.
20060         * elf/tst-tls10.h: Likewise.
20061         * elf/tst-tls14.c: Likewise.
20062         * elf/tst-tls2.c: Likewise.
20063         * elf/tst-tls3.c: Likewise.
20064         * elf/tst-tls4.c: Likewise.
20065         * elf/tst-tls5.c: Likewise.
20066         * elf/tst-tls6.c: Likewise.
20067         * elf/tst-tls7.c: Likewise.
20068         * elf/tst-tls8.c: Likewise.
20069         * elf/tst-tls9.c: Likewise.
20070         * elf/tst-tlsmod1.c: Likewise.
20071         * elf/tst-tlsmod13.c: Likewise.
20072         * elf/tst-tlsmod13a.c: Likewise.
20073         * elf/tst-tlsmod14a.c: Likewise.
20074         * elf/tst-tlsmod16a.c: Likewise.
20075         * elf/tst-tlsmod16b.c: Likewise.
20076         * elf/tst-tlsmod2.c: Likewise.
20077         * elf/tst-tlsmod3.c: Likewise.
20078         * elf/tst-tlsmod4.c: Likewise.
20079         * elf/tst-tlsmod5.c: Likewise.
20080         * elf/tst-tlsmod6.c: Likewise.
20081
20082 2013-10-18  Ondřej Bílka  <neleai@seznam.cz>
20083
20084         [BZ #12486]
20085         * malloc/malloc.c: remove checks for statistics.
20086
20087 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
20088
20089         [BZ #15277]
20090         * inet/inet_net.c (inet_network): Detect additional invalid strings.
20091         * inet/tst-network.c: Add testcase.
20092
20093 2013-10-17  Andreas Schwab  <schwab@suse.de>
20094
20095         [BZ #15218]
20096         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
20097         to determine canonical name.
20098
20099 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
20100
20101         * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
20102         * sysdeps/ieee754/dbl-64/dla.h: Likewise.
20103         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
20104         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
20105         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
20106         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
20107         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
20108         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
20109         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
20110         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
20111         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
20112         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
20113         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
20114         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
20115         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
20116         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
20117         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
20118         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
20119         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
20120         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
20121         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
20122         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
20123         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
20124         * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
20125         * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
20126         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
20127         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
20128         * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
20129         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
20130         * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
20131         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
20132         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
20133         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
20134         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
20135         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
20136         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
20137         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
20138         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
20139         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
20140         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
20141         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
20142         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
20143         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
20144         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
20145         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
20146         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
20147         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
20148         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
20149         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
20150         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
20151         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
20152         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
20153         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
20154         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
20155         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
20156         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
20157         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
20158         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
20159
20160 2013-10-17  Joseph Myers  <joseph@codesourcery.com>
20161
20162         [BZ #16041]
20163         * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
20164         make result into a quiet NaN.
20165
20166 2013-10-16  Joseph Myers  <joseph@codesourcery.com>
20167
20168         * soft-fp/adddf3.c: Fix horizontal whitespace.
20169         * soft-fp/addsf3.c: Likewise.
20170         * soft-fp/addtf3.c: Likewise.
20171         * soft-fp/divdf3.c: Likewise.
20172         * soft-fp/divsf3.c: Likewise.
20173         * soft-fp/divtf3.c: Likewise.
20174         * soft-fp/double.h: Likewise.
20175         * soft-fp/eqdf2.c: Likewise.
20176         * soft-fp/eqsf2.c: Likewise.
20177         * soft-fp/eqtf2.c: Likewise.
20178         * soft-fp/extenddftf2.c: Likewise.
20179         * soft-fp/extended.h: Likewise.
20180         * soft-fp/extendsfdf2.c: Likewise.
20181         * soft-fp/extendsftf2.c: Likewise.
20182         * soft-fp/extendxftf2.c: Likewise.
20183         * soft-fp/fixdfdi.c: Likewise.
20184         * soft-fp/fixdfsi.c: Likewise.
20185         * soft-fp/fixdfti.c: Likewise.
20186         * soft-fp/fixsfdi.c: Likewise.
20187         * soft-fp/fixsfsi.c: Likewise.
20188         * soft-fp/fixsfti.c: Likewise.
20189         * soft-fp/fixtfdi.c: Likewise.
20190         * soft-fp/fixtfsi.c: Likewise.
20191         * soft-fp/fixtfti.c: Likewise.
20192         * soft-fp/fixunsdfdi.c: Likewise.
20193         * soft-fp/fixunsdfsi.c: Likewise.
20194         * soft-fp/fixunsdfti.c: Likewise.
20195         * soft-fp/fixunssfdi.c: Likewise.
20196         * soft-fp/fixunssfsi.c: Likewise.
20197         * soft-fp/fixunssfti.c: Likewise.
20198         * soft-fp/fixunstfdi.c: Likewise.
20199         * soft-fp/fixunstfsi.c: Likewise.
20200         * soft-fp/fixunstfti.c: Likewise.
20201         * soft-fp/floatdidf.c: Likewise.
20202         * soft-fp/floatdisf.c: Likewise.
20203         * soft-fp/floatditf.c: Likewise.
20204         * soft-fp/floatsidf.c: Likewise.
20205         * soft-fp/floatsisf.c: Likewise.
20206         * soft-fp/floatsitf.c: Likewise.
20207         * soft-fp/floattidf.c: Likewise.
20208         * soft-fp/floattisf.c: Likewise.
20209         * soft-fp/floattitf.c: Likewise.
20210         * soft-fp/floatundidf.c: Likewise.
20211         * soft-fp/floatundisf.c: Likewise.
20212         * soft-fp/floatunditf.c: Likewise.
20213         * soft-fp/floatunsidf.c: Likewise.
20214         * soft-fp/floatunsisf.c: Likewise.
20215         * soft-fp/floatunsitf.c: Likewise.
20216         * soft-fp/floatuntidf.c: Likewise.
20217         * soft-fp/floatuntisf.c: Likewise.
20218         * soft-fp/floatuntitf.c: Likewise.
20219         * soft-fp/fmadf4.c: Likewise.
20220         * soft-fp/fmasf4.c: Likewise.
20221         * soft-fp/fmatf4.c: Likewise.
20222         * soft-fp/gedf2.c: Likewise.
20223         * soft-fp/gesf2.c: Likewise.
20224         * soft-fp/getf2.c: Likewise.
20225         * soft-fp/ledf2.c: Likewise.
20226         * soft-fp/lesf2.c: Likewise.
20227         * soft-fp/letf2.c: Likewise.
20228         * soft-fp/muldf3.c: Likewise.
20229         * soft-fp/mulsf3.c: Likewise.
20230         * soft-fp/multf3.c: Likewise.
20231         * soft-fp/negdf2.c: Likewise.
20232         * soft-fp/negsf2.c: Likewise.
20233         * soft-fp/negtf2.c: Likewise.
20234         * soft-fp/op-1.h: Likewise.
20235         * soft-fp/op-2.h: Likewise.
20236         * soft-fp/op-4.h: Likewise.
20237         * soft-fp/op-8.h: Likewise.
20238         * soft-fp/op-common.h: Likewise.
20239         * soft-fp/quad.h: Likewise.
20240         * soft-fp/single.h: Likewise.
20241         * soft-fp/soft-fp.h: Likewise.
20242         * soft-fp/sqrtdf2.c: Likewise.
20243         * soft-fp/sqrtsf2.c: Likewise.
20244         * soft-fp/sqrttf2.c: Likewise.
20245         * soft-fp/subdf3.c: Likewise.
20246         * soft-fp/subsf3.c: Likewise.
20247         * soft-fp/subtf3.c: Likewise.
20248         * soft-fp/truncdfsf2.c: Likewise.
20249         * soft-fp/trunctfdf2.c: Likewise.
20250         * soft-fp/trunctfsf2.c: Likewise.
20251         * soft-fp/trunctfxf2.c: Likewise.
20252         * soft-fp/unorddf2.c: Likewise.
20253         * soft-fp/unordsf2.c: Likewise.
20254         * soft-fp/unordtf2.c: Likewise.
20255
20256 2013-10-15  Joseph Myers  <joseph@codesourcery.com>
20257
20258         * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
20259         * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
20260
20261 2013-10-15   Ondřej Bílka  <neleai@seznam.cz>
20262
20263         * elf/dl-libc.c: Clear initfini list after freeing.
20264
20265 2013-10-14  Joseph Myers  <joseph@codesourcery.com>
20266
20267         * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
20268         * soft-fp/addsf3.c: Likewise.
20269         * soft-fp/addtf3.c: Likewise.
20270         * soft-fp/divdf3.c: Likewise.
20271         * soft-fp/divsf3.c: Likewise.
20272         * soft-fp/divtf3.c: Likewise.
20273         * soft-fp/double.h: Likewise.
20274         * soft-fp/eqdf2.c: Likewise.
20275         * soft-fp/eqsf2.c: Likewise.
20276         * soft-fp/eqtf2.c: Likewise.
20277         * soft-fp/extenddftf2.c: Likewise.
20278         * soft-fp/extended.h: Likewise.
20279         * soft-fp/extendsfdf2.c: Likewise.
20280         * soft-fp/extendsftf2.c: Likewise.
20281         * soft-fp/extendxftf2.c: Likewise.
20282         * soft-fp/fixdfdi.c: Likewise.
20283         * soft-fp/fixdfsi.c: Likewise.
20284         * soft-fp/fixdfti.c: Likewise.
20285         * soft-fp/fixsfdi.c: Likewise.
20286         * soft-fp/fixsfsi.c: Likewise.
20287         * soft-fp/fixsfti.c: Likewise.
20288         * soft-fp/fixtfdi.c: Likewise.
20289         * soft-fp/fixtfsi.c: Likewise.
20290         * soft-fp/fixtfti.c: Likewise.
20291         * soft-fp/fixunsdfdi.c: Likewise.
20292         * soft-fp/fixunsdfsi.c: Likewise.
20293         * soft-fp/fixunsdfti.c: Likewise.
20294         * soft-fp/fixunssfdi.c: Likewise.
20295         * soft-fp/fixunssfsi.c: Likewise.
20296         * soft-fp/fixunssfti.c: Likewise.
20297         * soft-fp/fixunstfdi.c: Likewise.
20298         * soft-fp/fixunstfsi.c: Likewise.
20299         * soft-fp/fixunstfti.c: Likewise.
20300         * soft-fp/floatdidf.c: Likewise.
20301         * soft-fp/floatdisf.c: Likewise.
20302         * soft-fp/floatditf.c: Likewise.
20303         * soft-fp/floatsidf.c: Likewise.
20304         * soft-fp/floatsisf.c: Likewise.
20305         * soft-fp/floatsitf.c: Likewise.
20306         * soft-fp/floattidf.c: Likewise.
20307         * soft-fp/floattisf.c: Likewise.
20308         * soft-fp/floattitf.c: Likewise.
20309         * soft-fp/floatundidf.c: Likewise.
20310         * soft-fp/floatundisf.c: Likewise.
20311         * soft-fp/floatunsidf.c: Likewise.
20312         * soft-fp/floatunsisf.c: Likewise.
20313         * soft-fp/floatuntidf.c: Likewise.
20314         * soft-fp/floatuntisf.c: Likewise.
20315         * soft-fp/floatuntitf.c: Likewise.
20316         * soft-fp/fmadf4.c: Likewise.
20317         * soft-fp/fmasf4.c: Likewise.
20318         * soft-fp/fmatf4.c: Likewise.
20319         * soft-fp/gedf2.c: Likewise.
20320         * soft-fp/gesf2.c: Likewise.
20321         * soft-fp/getf2.c: Likewise.
20322         * soft-fp/ledf2.c: Likewise.
20323         * soft-fp/lesf2.c: Likewise.
20324         * soft-fp/letf2.c: Likewise.
20325         * soft-fp/muldf3.c: Likewise.
20326         * soft-fp/mulsf3.c: Likewise.
20327         * soft-fp/multf3.c: Likewise.
20328         * soft-fp/negdf2.c: Likewise.
20329         * soft-fp/negsf2.c: Likewise.
20330         * soft-fp/negtf2.c: Likewise.
20331         * soft-fp/op-1.h: Likewise.
20332         * soft-fp/op-2.h: Likewise.
20333         * soft-fp/op-4.h: Likewise.
20334         * soft-fp/op-8.h: Likewise.
20335         * soft-fp/op-common.h: Likewise.
20336         * soft-fp/quad.h: Likewise.
20337         * soft-fp/single.h: Likewise.
20338         * soft-fp/soft-fp.h: Likewise.
20339         * soft-fp/sqrtdf2.c: Likewise.
20340         * soft-fp/sqrtsf2.c: Likewise.
20341         * soft-fp/sqrttf2.c: Likewise.
20342         * soft-fp/subdf3.c: Likewise.
20343         * soft-fp/subsf3.c: Likewise.
20344         * soft-fp/subtf3.c: Likewise.
20345         * soft-fp/truncdfsf2.c: Likewise.
20346         * soft-fp/trunctfdf2.c: Likewise.
20347         * soft-fp/trunctfsf2.c: Likewise.
20348         * soft-fp/trunctfxf2.c: Likewise.
20349         * soft-fp/unorddf2.c: Likewise.
20350         * soft-fp/unordsf2.c: Likewise.
20351         * soft-fp/unordtf2.c: Likewise.
20352
20353 2013-10-14   Ondřej Bílka  <neleai@seznam.cz>
20354
20355         [BZ #15672]
20356         * misc/error.c (error_tail): Fix possible buffer overflow.
20357
20358 2013-10-14  Aurelien Jarno  <aurelien@aurel32.net>
20359
20360         [BZ #13028]
20361         * res_send.c(__libc_res_nsend): Correctly copy the nameserver
20362         address.
20363
20364 2013-10-14  P. J. McDermott  <pj@pehjota.net>
20365
20366         [BZ #832]
20367         * elf/ldd.bash.in (try_trace): New function.  Delete previous code
20368         testing pipefail option.
20369
20370 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
20371
20372         * soft-fp/double.h: Indent preprocessor directives inside #if.
20373         * soft-fp/extended.h: Likewise.
20374         * soft-fp/op-2.h: Likewise.
20375         * soft-fp/op-4.h: Likewise.
20376         * soft-fp/op-common.h: Likewise.
20377         * soft-fp/quad.h: Likewise.
20378         * soft-fp/single.h: Likewise.
20379         * soft-fp/soft-fp.h: Likewise.
20380
20381 2013-10-12   Yuri Chornoivan <yurchor@ukr.net>
20382
20383         * iconv/iconv_prog.c: Fix typos.
20384         * stdio-common/psiginfo-data.h: Likewise.
20385
20386 2013-10-12   Reuben Thomas <rrt@sc3d.org>
20387
20388         [BZ #15764]
20389         * locale/setlocale.c: Fix typo.
20390
20391 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
20392
20393         [BZ #16036]
20394         * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
20395         signaling NaN arguments.
20396         * soft-fp/unordsf2.c (__unordsf2): Likewise.
20397         * soft-fp/unordtf2.c (__unordtf2): Likewise.
20398
20399         [BZ #14910]
20400         * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
20401         unordered operands.
20402         * soft-fp/gesf2.c (__gesf2): Likewise.
20403         * soft-fp/getf2.c (__getf2): Likewise.
20404         * soft-fp/ledf2.c (__ledf2): Likewise.
20405         * soft-fp/lesf2.c (__lesf2): Likewise.
20406         * soft-fp/letf2.c (__letf2): Likewise.
20407
20408         * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
20409         * soft-fp/eqsf2.c (__eqsf2): Likewise.
20410         * soft-fp/eqtf2.c (__eqtf2): Likewise.
20411         * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
20412         * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
20413         * soft-fp/fixdfti.c (__fixdfti): Likewise.
20414         * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
20415         * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
20416         * soft-fp/fixsfti.c (__fixsfti): Likewise.
20417         * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
20418         * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
20419         * soft-fp/fixtfti.c (__fixtfti): Likewise.
20420         * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
20421         * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
20422         * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
20423         * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
20424         * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
20425         * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
20426         * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
20427         * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
20428         * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
20429         * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
20430         * soft-fp/floatdisf.c (__floatdisf): Likewise.
20431         * soft-fp/floatsisf.c (__floatsisf): Likewise.
20432         * soft-fp/floattidf.c (__floattidf): Likewise.
20433         * soft-fp/floattisf.c (__floattisf): Likewise.
20434         * soft-fp/floattitf.c (__floattitf): Likewise.
20435         * soft-fp/floatundidf.c (__floatundidf): Likewise.
20436         * soft-fp/floatundisf.c (__floatundisf): Likewise.
20437         * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
20438         * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
20439         * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
20440         * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
20441         * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
20442         * soft-fp/gesf2.c (__gesf2): Likewise.
20443         * soft-fp/getf2.c (__getf2): Likewise.
20444         * soft-fp/ledf2.c (__ledf2): Likewise.
20445         * soft-fp/lesf2.c (__lesf2): Likewise.
20446         * soft-fp/letf2.c (__letf2): Likewise.
20447
20448         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
20449         Undefine and redefine.
20450         [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
20451         [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
20452         [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
20453         * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
20454         (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
20455         * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
20456         (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
20457         * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
20458         (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
20459         * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
20460         (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
20461         * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
20462         (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
20463         * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
20464         (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
20465
20466         [BZ #16032]
20467         * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
20468         without decrementing exponent if mantissa >= that for the
20469         denominator, not >.
20470         (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
20471         denominator, not >.  Decrement exponent in < case instead of
20472         incrementing in >= case.
20473         * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
20474         without decrementing exponent if mantissa >= that for the
20475         denominator, not >.
20476
20477         * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
20478         computing saturated result for unsigned overflow.
20479
20480 2013-10-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
20481             Jeff Law  <law@redhat.com>
20482
20483         * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
20484         (atan2Mp): Add systemtap probe marker.
20485         * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
20486         (__ieee754_log): Add systemtap probe marker.
20487         * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
20488         (atanMp): Add systemtap probe marker.
20489         * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
20490         (tanMp): Add systemtap probe marker.
20491         * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
20492         (__slowexp): Add systemtap probe marker.
20493         * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
20494         (__slowpow): Add systemtap probe marker.
20495         * manual/probes.texi: Document probes.
20496
20497 2013-10-11  Eric Biggers  <ebiggers3@gmail.com>
20498
20499         [BZ #15362]
20500         * libio/fileops.c (_IO_new_file_write): Return count of bytes
20501         written.
20502         (_IO_new_file_xsputn): Don't return EOF if nothing has been
20503         written.
20504         * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
20505         written to buffer but not flushed.
20506         * libio/iofwrite_u.c:  Likewise.
20507         * libio/iopadn.c:  Return bytes returned even if EOF was
20508         encountered.
20509         * libio/iowpadn.c:  Likewise.
20510         * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
20511         if _IO_padn does not write the whole buffer.
20512         [!COMPILE_WPRINTF] (PAD): Likewise.
20513
20514 2013-10-10  David S. Miller  <davem@davemloft.net>
20515
20516         * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
20517         directory block.
20518
20519 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
20520
20521         * soft-fp/extendxftf2.c: Use copyright year range.  Use URL
20522         instead of FSF address.
20523         * soft-fp/fixdfti.c: Likewise.
20524         * soft-fp/fixsfti.c: Likewise.
20525         * soft-fp/fixtfti.c: Likewise.
20526         * soft-fp/fixunsdfti.c: Likewise.
20527         * soft-fp/fixunssfti.c: Likewise.
20528         * soft-fp/fixunstfti.c: Likewise.
20529         * soft-fp/floattidf.c: Likewise.
20530         * soft-fp/floattisf.c: Likewise.
20531         * soft-fp/floattitf.c: Likewise.
20532         * soft-fp/floatuntidf.c: Likewise.
20533         * soft-fp/floatuntisf.c: Likewise.
20534         * soft-fp/floatuntitf.c: Likewise.
20535         * soft-fp/trunctfxf2.c: Likewise.
20536
20537         * soft-fp/extendxftf2.c: New file.  Copied from libgcc.
20538         * soft-fp/fixdfti.c: Likewise.
20539         * soft-fp/fixsfti.c: Likewise.
20540         * soft-fp/fixtfti.c: Likewise.
20541         * soft-fp/fixunsdfti.c: Likewise.
20542         * soft-fp/fixunssfti.c: Likewise.
20543         * soft-fp/fixunstfti.c: Likewise.
20544         * soft-fp/floattidf.c: Likewise.
20545         * soft-fp/floattisf.c: Likewise.
20546         * soft-fp/floattitf.c: Likewise.
20547         * soft-fp/floatuntidf.c: Likewise.
20548         * soft-fp/floatuntisf.c: Likewise.
20549         * soft-fp/floatuntitf.c: Likewise.
20550         * soft-fp/trunctfxf2.c: Likewise.
20551
20552 2013-10-10  David S. Miller  <davem@davemloft.net>
20553
20554         * sysdeps/sparc/fpu/libm-test-ulps: Update.
20555
20556 2013-10-10  Joseph Myers  <joseph@codsourcery.com>
20557
20558         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
20559         (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
20560         [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
20561         [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
20562         [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
20563         [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
20564         [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
20565
20566         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
20567         for NaNs before doing comparisons on argument.
20568         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
20569         Likewise.
20570
20571 2013-10-10  Will Newton  <will.newton@linaro.org>
20572
20573         * malloc/hooks.c (memalign_check): Ensure the value of bytes
20574         passed to _int_memalign does not overflow.
20575
20576 2013-10-10  Torvald Riegel  <triegel@redhat.com>
20577
20578         * scripts/bench.pl: Add include-sources directive.
20579         * benchtests/README: Update documentation.
20580
20581 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
20582
20583         * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
20584         * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
20585         instead of FP_INIT_ROUNDMODE.
20586         * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
20587         * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
20588
20589         [BZ #16034]
20590         * soft-fp/op-common.h (_FP_NEG): Document input as raw.  Do not
20591         copy class of input value.
20592         * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing.  Do
20593         not handle exceptions.
20594         * soft-fp/negsf2.c (__negsf2): Likewise.
20595         * soft-fp/negtf2.c (__negtf2): Likewise.
20596         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
20597
20598 2013-10-09  Joseph Myers  <joseph@codesourcery.com>
20599
20600         * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
20601         semicolon.  From Linux kernel.
20602
20603 2013-10-09  Adam Buchbinder  <adam.buchbinder@gmail.com>
20604
20605         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
20606
20607 2013-10-08  Yogesh Chaudhari  <mr.yogesh@gmail.com>
20608
20609         [BZ #156]
20610         * manual/socket.texi: Added statement about buffer
20611         for gethostbyname2_r.
20612
20613 2013-10-08  Ondřej Bílka  <neleai@seznam.cz>
20614
20615         * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
20616         Use .p2align directive instead, throughout.
20617         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
20618         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
20619         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
20620         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
20621         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
20622         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
20623         * sysdeps/x86_64/strchr.S: Likewise.
20624         * sysdeps/x86_64/strrchr.S: Likewise.
20625
20626 2013-10-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
20627
20628         * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
20629
20630         * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
20631
20632         * sysdeps/generic/math_private.h (__mpsin1): Remove
20633         declaration.
20634         (__mpcos1): Likewise.
20635         (__mpsin): New argument __range_reduce.
20636         (__mpcos): Likewise.
20637         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
20638         (slow): Use __mpsin and __mpcos.
20639         (slow1): Likewise.
20640         (slow2): Likewise.
20641         (sloww): Likewise.
20642         (sloww1): Likewise.
20643         (sloww2): Likewise.
20644         (bsloww): Likewise.
20645         (bsloww1): Likewise.
20646         (bsloww2): Likewise.
20647         (cslow2): Likewise.
20648         (csloww): Likewise.
20649         (csloww1): Likewise.
20650         (csloww2): Likewise.
20651         * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
20652         range_reduce.  Merge in __mpsin1.
20653         (__mpcos): Likewise.
20654         (__mpsin1): Remove.
20655         (__mpcos1): Likewise.
20656
20657 2013-10-07  Joseph Myers  <joseph@codesourcery.com>
20658
20659         * locale/loadlocale.c (_nl_intern_locale_data): Use
20660         LOCFILE_ALIGNED_P.
20661         * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
20662         LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
20663         * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
20664         obstack data is appropriately aligned.
20665         (obstack_int32_grow_fast): Likewise.
20666         * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
20667         * locale/programs/locfile.c (add_locale_uint32): Likewise.
20668         (add_locale_uint32_array): Likewise.
20669
20670 2013-10-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
20671
20672         * benchtests/Makefile: Remove ARGLIST and RET variables.
20673         ($(objpfx)bench-%.c): Pass only function name to the script.
20674         * benchtests/README: Update documentation.
20675         * benchtests/acos-inputs: Add new directives.
20676         * benchtests/acosh-inputs: Likewise.
20677         * benchtests/asin-inputs: Likewise.
20678         * benchtests/asinh-inputs: Likewise.
20679         * benchtests/atan-inputs: Likewise.
20680         * benchtests/atanh-inputs: Likewise.
20681         * benchtests/cos-inputs: Likewise.
20682         * benchtests/cosh-inputs: Likewise.
20683         * benchtests/exp-inputs: Likewise.
20684         * benchtests/log-inputs: Likewise.
20685         * benchtests/pow-inputs: Likewise.
20686         * benchtests/rint-inputs: Likewise.
20687         * benchtests/sin-inputs: Likewise.
20688         * benchtests/sinh-inputs: Likewise.
20689         * benchtests/tan-inputs: Likewise.
20690         * benchtests/tanh-inputs: Likewise.
20691         * scripts/bench.pl: Add support for new directives.
20692
20693 2013-10-07  Alan Modra  <amodra@gmail.com>
20694
20695         * README: Fix careless merge.
20696
20697 2013-10-05  Alan Modra  <amodra@gmail.com>
20698
20699         * NEWS: Mention powerpc64le support and bugs fixed.
20700         * README: Both big-endian and little-endian powerpc64 supported.
20701
20702 2013-10-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
20703
20704         * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
20705         (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
20706         (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
20707         _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
20708
20709 2013-10-04  Ryan S. Arnold  <ryan.arnold@linaro.org>
20710
20711         * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
20712         match prototype.
20713
20714 2013-10-04  Joseph Myers  <joseph@codesourcery.com>
20715
20716         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
20717         Move -mhard-float appending from
20718         ports/sysdeps/powerpc/powerpc32/Makefile.
20719         [$(with-fp) = yes] (ASFLAGS): Likewise.
20720         [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
20721         * sysdeps/powerpc/nofpu: Move directory from
20722         ports/sysdeps/powerpc/nofpu.
20723         * sysdeps/powerpc/soft-fp: Move directory from
20724         ports/sysdeps/powerpc/soft-fp.
20725         * sysdeps/powerpc/powerpc32/405: Move directory from
20726         ports/sysdeps/powerpc/powerpc32/405.
20727         * sysdeps/powerpc/powerpc32/440: Move directory from
20728         ports/sysdeps/powerpc/powerpc32/440.
20729         * sysdeps/powerpc/powerpc32/464: Move directory from
20730         ports/sysdeps/powerpc/powerpc32/464.
20731         * sysdeps/powerpc/powerpc32/476: Move directory from
20732         ports/sysdeps/powerpc/powerpc32/476.
20733         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
20734         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
20735         * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
20736         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
20737         * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
20738         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
20739         * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
20740         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
20741         * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
20742         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
20743         * README: Update for powerpc-*-linux-gnu software floating point
20744         support in libc.
20745
20746         * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
20747         case to powerpc/powerpc32*.
20748         * sysdeps/unix/sysv/linux/configure: Regenerated.
20749
20750         * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
20751         (_FPU_MASK_OM): Define as 0x04.
20752         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
20753         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
20754         0x00c10080.
20755         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
20756         0x0000003c.
20757         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
20758
20759         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
20760         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
20761         getcontext_e500.
20762         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
20763         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
20764         setcontext_e500.
20765         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
20766         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
20767         and setcontext_e500.
20768
20769 2013-10-04  Chris Leonard  <cjl@sugarlabs,.org>
20770
20771         * locale/iso-3166.def: Update iso-1366.def and related occurrences
20772
20773 2013-10-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
20774
20775         * manual/threads.texi (Default Thread Attributes): Fix typo.
20776
20777 2013-10-04  Will Newton  <will.newton@linaro.org>
20778
20779         * malloc/Makefile: Add tst-memalign.
20780         * malloc/tst-memalign.c: New file.
20781
20782         * malloc/tst-posix_memalign.c: Add comments.
20783         (do_test): Add comments and call free on all potentially
20784         allocated pointers. Add space after cast.
20785
20786         * malloc/tst-pvalloc.c: Add comments.
20787         (do_test): Add comments and call free on all potentially
20788         allocated pointers. Remove duplicate check for NULL pointer.
20789         Add space after cast.
20790
20791         * malloc/tst-valloc.c: Add comments.
20792         (do_test): Add comments and call free on all potentially
20793         allocated pointers. Remove duplicate check for NULL pointer.
20794         Add space after cast.
20795
20796 2013-10-04  Alan Modra  <amodra@gmail.com>
20797
20798         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
20799         Use stdint types in rather than __attribute__((mode())).
20800         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
20801
20802 2013-10-04  Alan Modra  <amodra@gmail.com>
20803
20804         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
20805         Correct handling of unaligned relocs for little-endian.
20806         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
20807
20808 2013-10-04  Alan Modra  <amodra@gmail.com>
20809
20810         * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
20811         * configure: Regenerate.
20812         * nptl/shlib-versions: Powerpc*le starts at 2.18.
20813         * shlib-versions: Likewise.
20814
20815 2013-10-04  Alan Modra  <amodra@gmail.com>
20816
20817         * string/tester.c (test_memrchr): Increment reported test cycle.
20818
20819 2013-10-04  Alan Modra  <amodra@gmail.com>
20820
20821         * string/test-memcpy.c (do_one_test): When reporting errors, print
20822         string address and don't overrun end of string.
20823
20824 2013-10-04  Alan Modra  <amodra@gmail.com>
20825
20826         * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
20827         insrdi.  Make better use of reg selection to speed exit slightly.
20828         Schedule entry path a little better.  Remove useless "are we done"
20829         checks on entry to main loop.  Handle wrapping around zero address.
20830         Correct main loop count.  Handle single left-over word from main
20831         loop inline rather than by using loop_small.  Remove extra word
20832         case in loop_small caused by wrong loop count.  Add little-endian
20833         support.
20834         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
20835         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.  Use proper
20836         cache hint.
20837         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
20838         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
20839         support.  Avoid rlwimi.
20840         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
20841
20842 2013-10-04  Alan Modra  <amodra@gmail.com>
20843
20844         * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
20845         insrdi.  Formatting.
20846         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
20847         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
20848         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
20849         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
20850         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
20851         * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
20852
20853 2013-10-04  Alan Modra  <amodra@gmail.com>
20854
20855         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
20856         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
20857         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
20858         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
20859         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
20860         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
20861         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
20862         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
20863         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.  Make better
20864         use of regs.  Use power7 mtocrf.  Tidy function tails.
20865
20866 2013-10-04  Alan Modra  <amodra@gmail.com>
20867
20868         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
20869         Formatting.  Consistently use rXXX register defines or rN defines.
20870         Use early exit labels that avoid restoring unused non-volatile regs.
20871         Make cr field use more consistent with rWORDn compares.  Rename
20872         regs used as shift registers for unaligned loop, using rN defines
20873         for short lifetime/multiple use regs.
20874         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
20875         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.  Exit with
20876         addi 1,1,64 to pop stack frame.  Simplify return value code.
20877         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
20878
20879 2013-10-04  Alan Modra  <amodra@gmail.com>
20880
20881         * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
20882         support.  Correct typos, formatting.  Optimize tail.  Use insrdi
20883         rather than rlwimi.
20884         * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
20885         * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
20886         little-endian support.  Correct typos.
20887         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise.  Use insrdi
20888         rather than rlwimi.
20889         * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define.  Use
20890         in loop and entry code to keep "and." results.
20891         (strchr): Add little-endian support.  Comment.  Move cntlzd
20892         earlier in tail.
20893         * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
20894
20895 2013-10-04  Alan Modra  <amodra@gmail.com>
20896
20897         * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
20898         * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
20899         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
20900         * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
20901
20902 2013-10-04  Alan Modra  <amodra@gmail.com>
20903
20904         * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
20905         (rTMP): Define as r11.
20906         (strcmp): Add little-endian support.  Optimise tail.
20907         * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
20908         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
20909         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
20910         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
20911         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
20912         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
20913         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
20914
20915 2013-10-04  Alan Modra  <amodra@gmail.com>
20916
20917         * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
20918         little-endian support.  Remove unnecessary "are we done" tests.
20919         Handle "s" wrapping around zero and extremely large "size".
20920         Correct main loop count.  Handle single left-over word from main
20921         loop inline rather than by using small_loop.  Correct comments.
20922         Delete "zero" tail, use "end_max" instead.
20923         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
20924
20925 2013-10-04  Alan Modra  <amodra@gmail.com>
20926
20927         * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
20928         support.  Don't branch over align.
20929         * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
20930         * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
20931         support.  Rearrange tmp reg use to suit.  Comment.
20932         * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
20933
20934 2013-10-04  Alan Modra  <amodra@gmail.com>
20935
20936         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
20937
20938 2013-10-04  Alan Modra  <amodra@gmail.com>
20939
20940         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
20941         conditional form of branch and link when obtaining pc.
20942         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
20943
20944 2013-10-04  Alan Modra  <amodra@gmail.com>
20945
20946         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
20947         HIWORD/LOWORD.
20948         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
20949         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
20950
20951 2013-10-04  Alan Modra  <amodra@gmail.com>
20952
20953         * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
20954         * sysdeps/powerpc/novmx-longjmp.c: Likewise.
20955         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
20956         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
20957         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
20958         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
20959         * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
20960         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
20961         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
20962         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
20963
20964 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
20965             Alistair Popple <alistair@ozlabs.au.ibm.com>
20966             Alan Modra <amodra@gmail.com>
20967
20968         [BZ #15723]
20969         * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
20970         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
20971         _dl_hwcap access for little-endian.
20972         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.  Don't
20973         destroy vmx regs when saving unaligned.
20974         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
20975         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save.  Don't
20976         destroy vmx regs when saving unaligned.
20977
20978 2013-10-04  Alan Modra  <amodra@gmail.com>
20979
20980         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
20981         Don't use a union to pack hi/low value.
20982
20983 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
20984
20985         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
20986         for little-endian.
20987         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
20988         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
20989         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
20990         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
20991         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
20992
20993 2013-10-04  Alan Modra  <amodra@gmail.com>
20994
20995         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
20996         constants to usual value for .cst8 section, and remove redundant
20997         high address load.
20998         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
20999         constant for 0x1p52.  Load little-endian words of double from
21000         correct stack offsets.
21001
21002 2013-10-04  Alan Modra  <amodra@gmail.com>
21003
21004         * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
21005         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
21006         words of double from correct stack offsets.
21007         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
21008         * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
21009         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
21010         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
21011         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
21012         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
21013         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
21014         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
21015         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
21016         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
21017         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
21018         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
21019         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
21020         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
21021         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
21022         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
21023         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
21024
21025 2013-10-04  Alan Modra  <amodra@gmail.com>
21026
21027         * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
21028         64-bit int/double union.
21029         (_FPU_SETCW): Likewise.
21030         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
21031         (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
21032
21033 2013-10-04  Alan Modra  <amodra@gmail.com>
21034
21035         * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
21036         * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
21037
21038 2013-10-04  Alan Modra  <amodra@gmail.com>
21039
21040         * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
21041         use vector int constants.
21042         (__float_and_test24, __float_and8, __float_get_exp): Likewise.
21043
21044 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
21045
21046         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
21047         array with long long.
21048         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
21049         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
21050         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
21051         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
21052         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
21053         * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
21054         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
21055         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
21056         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
21057         * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
21058         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
21059         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
21060         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
21061
21062 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
21063
21064         * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
21065         (__signbit): Likewise.  Correct for little-endian.
21066         (__signbitl): Call __signbit.
21067         (lrint): Correct for little-endian.
21068         (lrintf): Call lrint.
21069
21070 2013-10-04  Alan Modra  <amodra@gmail.com>
21071
21072         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
21073         union 32-bit int array member with 64-bit int array.
21074         (t515, tm256): Double rather than long double.
21075         (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
21076
21077 2013-10-04  Alan Modra  <amodra@gmail.com>
21078
21079         * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
21080         Delete.
21081         (IEEE854_LONG_DOUBLE_BIAS): Delete.
21082         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
21083         version of math_ldbl.h.
21084
21085 2013-10-04  Alan Modra  <amodra@gmail.com>
21086
21087         [BZ #15734], [BZ #15735]
21088         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
21089         all uses of ieee875 long double macros and unions.  Simplify test
21090         for 0.0L.  Correct |x|<|y| and |x|=|y| test.  Use
21091         ldbl_extract_mantissa value for ix,iy exponents.  Properly
21092         normalize after ldbl_extract_mantissa, and don't add hidden bit
21093         already handled.  Don't treat low word of ieee854 mantissa like
21094         low word of IBM long double and mask off bit when testing for
21095         zero.
21096         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
21097         all uses of ieee875 long double macros and unions.  Simplify tests
21098         for 0.0L and inf.  Correct double adjustment of k.  Delete dead code
21099         adjusting ha,hb.  Simplify code setting kld.  Delete two600 and
21100         two1022, instead use their values.  Recognise that tests for large
21101         "a" and small "b" are mutually exclusive.  Rename vars.  Comment.
21102         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
21103         Rewrite all uses of ieee875 long double macros and unions.  Simplify
21104         test for 0.0L and nan.  Correct negation.
21105         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
21106         ieee875 long double macros and unions.  Correct output for large
21107         magnitude x.  Correct absolute value calculation.
21108         (__erfcl): Likewise.
21109         * math/libm-test.inc: Add tests for errors discovered in IBM long
21110         double versions of fmodl, remainderl, erfl and erfcl.
21111
21112 2013-10-04  Alan Modra  <amodra@gmail.com>
21113
21114         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
21115         all uses of ieee854 long double macros and unions.  Simplify tests
21116         for long doubles that are fully specified by the high double.
21117         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
21118         Likewise.
21119         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
21120         Remove dead code too.
21121         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
21122         (__ieee754_ynl): Likewise.
21123         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
21124         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
21125         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
21126         Remove dead code too.
21127         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
21128         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
21129         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
21130         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
21131         Simplify.
21132         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
21133         Simplify.
21134         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
21135         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
21136         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
21137         Comment on variable precision.
21138         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
21139         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
21140         Likewise.
21141         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
21142         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
21143         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
21144         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
21145         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
21146
21147 2013-10-04  Alan Modra  <amodra@gmail.com>
21148
21149         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
21150         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
21151         all uses of ieee854 long double macros and unions.
21152         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
21153         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
21154         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
21155         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
21156         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
21157         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
21158         Likewise.
21159         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
21160         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
21161         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
21162         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
21163         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
21164         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
21165         Simplify sign and nan test too.
21166         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
21167         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
21168         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
21169         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
21170         Likewise.
21171         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
21172         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
21173         Likewise.
21174         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
21175         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
21176         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
21177         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
21178         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
21179         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
21180
21181 2013-10-04  Alan Modra  <amodra@gmail.com>
21182
21183         * stdio-common/printf_size.c (__printf_size): Don't use
21184         union ieee854_long_double in fpnum union.
21185         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.  Use
21186         signbit macro to retrieve sign from long double.
21187         * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
21188         retrieve sign from long double.
21189         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
21190         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
21191         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
21192         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
21193         * math/test-misc.c (main): Don't use union ieee854_long_double.
21194
21195 2013-10-04  Alan Modra  <amodra@gmail.com>
21196
21197         [BZ #15680]
21198         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
21199         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
21200         (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
21201         calculation.  Remove unnecessary test for denormal exponent.
21202         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
21203         Correct handling of denormals.  Avoid undefined shift behaviour.
21204         Correct normalisation of low mantissa when low double is denormal.
21205         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
21206         (ldbl_extract_mantissa): Likewise.  Comment.  Use uint64_t* for hi64.
21207         (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
21208         Correct normalisation of low mantissa.  Test for overflow of high
21209         mantissa and normalise.
21210         (ldbl_nearbyint): Use more readable constant for two52.
21211         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
21212         (__mpn_construct_long_double): Fix test for overflow of high
21213         mantissa and correct normalisation.  Avoid undefined shift.
21214
21215 2013-10-04  Alan Modra  <amodra@gmail.com>
21216
21217         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
21218         (union ibm_extended_long_double): Define as an array of ieee754_double.
21219         (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
21220         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
21221         to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
21222         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
21223         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
21224         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
21225         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
21226         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
21227         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
21228         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
21229         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
21230
21231 2013-10-03  Joseph Myers  <joseph@codesourcery.com>
21232
21233         * locale/programs/locarchive.c (add_locale): Use constant 4096 for
21234         page size instead of calling getpagesize.
21235
21236         * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
21237         (LOCFILE_ALIGN_MASK): Likewise.
21238         (LOCFILE_ALIGN_UP): Likewise.
21239         (LOCFILE_ALIGNED_P): Likewise.
21240         * locale/programs/ld-collate.c (collate_output): Use the new
21241         macros instead of __alignof__ (int32_t).
21242         * locale/weight.h (findidx): Likewise.
21243
21244 2013-10-03  Ondřej Bílka  <neleai@seznam.cz>
21245
21246         [BZ #431]
21247         * manual/string.texi: Fix strncat and wcsncat.
21248
21249 2013-10-03  Brooks Moses  <bmoses@google.com>
21250
21251         [BZ #15915]
21252         * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
21253         * Makerules: ...here, and adjust associated comments.
21254
21255 2013-10-02  Will Newton  <will.newton@linaro.org>
21256
21257         * malloc/Makefile: Add tst-pvalloc.
21258         * malloc/tst-pvalloc.c: New file.
21259
21260 2013-10-02  Will Newton  <will.newton@linaro.org>
21261
21262         * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
21263         improve test coverage.
21264
21265 2013-10-02  Will Newton  <will.newton@linaro.org>
21266
21267         * malloc/Makefile: Add tst-posix_memalign.
21268         * malloc/tst-posix_memalign.c: New file.
21269
21270 2013-10-01  Eric Blake  <eblake@redhat.com>
21271
21272         * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
21273         Use __THROWNL rather than __THROW on static functions.
21274
21275 2013-09-30  Petr Machata  <pmachata@redhat.com>
21276
21277         * elf/elf.h (R_AARCH64_ABS16): New macro.
21278         (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
21279         (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
21280         (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
21281         (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
21282         (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
21283         (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
21284         (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
21285         (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
21286         (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
21287         (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
21288         (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
21289         (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
21290         (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
21291         (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
21292         (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
21293         (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
21294         (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
21295         (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
21296         (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
21297         (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
21298         (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
21299         (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
21300         (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
21301         (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
21302         (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
21303         (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
21304         (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
21305         (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
21306         (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
21307         (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
21308         (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
21309         (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
21310         (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
21311         (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
21312         (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
21313         (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
21314         (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
21315         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
21316         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
21317         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
21318         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
21319         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
21320         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
21321         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
21322         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
21323         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
21324         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
21325         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
21326         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
21327         (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
21328         (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
21329         (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
21330         (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
21331         (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
21332         (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
21333         (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
21334         (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
21335         (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
21336         (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
21337         (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
21338         (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
21339         (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
21340         (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
21341         (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
21342         (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
21343         (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
21344         (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
21345         (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
21346         (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
21347         (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
21348         (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
21349         (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
21350         (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
21351         (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
21352         (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
21353         (R_AARCH64_TLSDESC_OFF_G1): Likewise.
21354         (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
21355         (R_AARCH64_TLSDESC_LDR): Likewise.
21356         (R_AARCH64_TLSDESC_ADD): Likewise.
21357         (R_AARCH64_TLSDESC_CALL): Likewise.
21358
21359 2013-09-30  Andreas Schwab  <schwab@suse.de>
21360
21361         [BZ #15048]
21362         * nscd/aicache.c (addhstaiX): Properly use the cache variable for
21363         the nss database lookup.
21364         * nscd/initgrcache.c (addinitgroupsX): Likewise.
21365         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
21366
21367 2013-09-28  Mike Frysinger  <vapier@gentoo.org>
21368
21369         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
21370
21371 2013-09-28  P. J. McDermott  <pj@pehjota.net>
21372
21373         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
21374         ${Bash-specific parameter/pattern/string} parameter expansion.
21375         * sysdeps/unix/make-syscalls.sh: Likewise.
21376
21377 2013-09-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
21378
21379         * sysdeps/sh/stackguard-macros.h: New file.
21380
21381 2013-09-26  Ondřej Bílka  <neleai@seznam.cz>
21382
21383         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
21384         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
21385         * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
21386         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
21387         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
21388         * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
21389
21390 2013-09-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21391
21392         * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
21393         Fix thread ID register.
21394
21395 2013-09-25  Joseph Myers  <joseph@codesourcery.com>
21396
21397         * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
21398         [POSIX || UNIX98]: Require rather than permitting all symbols from
21399         <time.h>.
21400         [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
21401         element of struct sched_param.
21402         [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
21403         [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
21404         [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
21405         [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
21406         constant.
21407
21408 2013-09-24  Olivier Langlois  <olivier@olivierlanglois.net>
21409
21410         * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
21411         argument calculation.
21412
21413 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
21414
21415         * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
21416         Expect macro.
21417         [POSIX] (pthread_attr_t): Do not require type.
21418         [POSIX] (pthread_cond_t): Likewise.
21419         [POSIX] (pthread_condattr_t): Likewise.
21420         [POSIX] (pthread_key_t): Likewise.
21421         [POSIX] (pthread_mutex_t): Likewise.
21422         [POSIX] (pthread_mutexattr_t): Likewise.
21423         [POSIX] (pthread_once_t): Likewise.
21424         [POSIX] (pthread_t): Likewise.
21425         [POSIX-based standards] (pthread_atfork): Expect function.
21426
21427 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
21428             Richard Sandiford  <richard@codesourcery.com>
21429
21430         * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
21431         (swap_endianness_p): New extern variable.
21432         (set_big_endian): New inline function.
21433         (maybe_swap_uint32): Likewise.
21434         (maybe_swap_uint32_array): Likewise.
21435         (maybe_swap_uint32_obstack): Likewise.
21436         * locale/programs/locfile.c: Include <stdbool.h>.
21437         (swap_endianness_p): New variable.
21438         (add_locale_uint32): Call maybe_swap_uint32.
21439         (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
21440         (write_locale_data): Call maybe_swap_uint32_array.
21441         * locale/programs/ld-collate.c (obstack_int32_grow): Call
21442         maybe_swap_uint32.
21443         (obstack_int32_grow_fast): Likewise.
21444         (output_weightwc): Call maybe_swap_uint32_obstack.
21445         (collate_output): Likewise.
21446         * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
21447         (OPT_LITTLE_ENDIAN): Likewise.
21448         (options): Add --little-endian and --big-endian options.
21449         (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
21450         * locale/programs/locarchive.c: Include "locfile.h".
21451         (GET): New macro.
21452         (SET): Likewise.
21453         (INC): Likewise.
21454         (create_archive): Use the new macros to access fields of
21455         structures directly mapped from or written to locale archives.
21456         (oldlocrecentcmp): Likewise.
21457         (enlarge_archive): Likewise.
21458         (insert_name): Likewise.
21459         (add_alias): Likewise.
21460         (add_locale): Likewise.
21461         (delete_locales_from_archive): Likewise.
21462         (show_archive_content): Likewise.
21463         (add_locale_to_archive): Likewise.  Use maybe_swap_uint32 on
21464         locale data.
21465
21466 2013-09-24  Roland McGrath  <roland@hack.frob.com>
21467
21468         * manual/freemanuals.texi: Updated from (newly) canonical copy at
21469         http://www.gnu.org/doc/freemanuals.texi.
21470         * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
21471
21472 2013-09-24  Will Newton  <will.newton@linaro.org>
21473
21474         * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
21475         macro.
21476
21477 2013-09-23  Joseph Myers  <joseph@codesourcery.com>
21478
21479         * locale/hashval.h (compute_hashval): Interpret bytes of key as
21480         unsigned char.
21481
21482 2013-09-23  Maciej W. Rozycki  <macro@codesourcery.com>
21483
21484         * manual/threads.texi (POSIX Threads): Fix a typo.
21485
21486 2013-09-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
21487
21488         [BZ #14547]
21489         * string/tst-strcoll-overflow.c: New test case.
21490         * string/Makefile (xtests): Add tst-strcoll-overflow.
21491         * string/strcoll_l.c (STRCOLL): Skip allocating memory for
21492         cache if string sizes may cause integer overflow.
21493
21494         [BZ #14547]
21495         * string/strcoll_l.c (coll_seq): New members rule, idx,
21496         save_idx and back_us.
21497         (get_next_seq_nocache): New function.
21498         (do_compare_nocache): New function.
21499         (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
21500         when malloc fails.
21501
21502 2013-09-23  Carlos O'Donell  <carlos@redhat.com>
21503
21504         [BZ #15754]
21505         * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
21506         __pointer_chk_guard_local, otherwise __pointer_chk_guard.
21507         * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
21508
21509         [BZ #15754]
21510         * elf/Makefile (tests): Add tst-ptrguard1.
21511         (tests-static): Add tst-ptrguard1-static.
21512         (tst-ptrguard1-ARGS): Define.
21513         (tst-ptrguard1-static-ARGS): Define.
21514         * elf/tst-ptrguard1.c: New file.
21515         * elf/tst-ptrguard1-static.c: New file.
21516         * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
21517         * sysdeps/i386/stackguard-macros.h: Likewise.
21518         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
21519         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
21520         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
21521         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
21522         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
21523         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
21524
21525 2013-09-23  Hector Marco  <hecmargi@upv.es>
21526             Ismael Ripoll  <iripoll@disca.upv.es>
21527             Carlos O'Donell  <carlos@redhat.com>
21528
21529         [BZ #15754]
21530         * sysdeps/generic/stackguard-macros.h: Define
21531         __pointer_chk_guard_local and POINTER_CHK_GUARD.
21532         * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
21533         Define __pointer_chk_guard_local.
21534         (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
21535         Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
21536
21537 2013-09-15  Vinitha Vijayan <vinitha.vijayann@gmail.com>
21538
21539         [BZ #15859]
21540         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
21541
21542 2013-09-20  Andreas Schwab  <schwab@linux-m68k.org>
21543
21544         * include/string.h (__ffs): Declare as hidden.
21545         * string/ffs.c (__ffs): Define as hidden.
21546         * sysdeps/i386/ffs.c (__ffs): Likewise.
21547         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
21548         * sysdeps/powerpc/ffs.c (__ffs): Likewise.
21549         * sysdeps/s390/ffs.c (__ffs): Likewise.
21550         * sysdeps/x86_64/ffs.c (__ffs): Likewise.
21551
21552 2013-09-20  Alexandre Oliva <aoliva@redhat.com>
21553
21554         * NEWS: Mention malloc probes.
21555
21556         * malloc/arena.c (new_heap): New memory_heap_new probe.
21557         (grow_heap): New memory_heap_more probe.
21558         (shrink_heap): New memory_heap_less probe.
21559         (heap_trim): New memory_heap_free probe.
21560         * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
21561         (systrim): New memory_sbrk_less probe.
21562         * manual/probes.texi: Document them.
21563
21564         * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
21565         * manual/probes.texi: Document it.
21566
21567         * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
21568         (__libc_realloc): Add memory_realloc_retry probe.
21569         (__libc_memalign): Add memory_memalign_retry probe.
21570         (__libc_valloc): Add memory_valloc_retry probe.
21571         (__libc_pvalloc): Add memory_pvalloc_retry probe.
21572         (__libc_calloc): Add memory_calloc_retry probe.
21573         * manual/probes.texi: Document them.
21574
21575         * malloc/arena.c (get_free_list): Add probe
21576         memory_arena_reuse_free_list.
21577         (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
21578         and memory_arena_reuse.
21579         (arena_get2) [!PER_THREAD]: Likewise.
21580         * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
21581         memory_arena_reuse_realloc.
21582         * manual/probes.texi: Document them.
21583
21584         * malloc/malloc.c (__libc_free): Add
21585         memory_mallopt_free_dyn_thresholds probe.
21586         (__libc_mallopt): Add multiple memory_mallopt probes.
21587         * manual/probes.texi: Document them.
21588
21589         * malloc/malloc.c: Include stap-probe.h.
21590         (__libc_mallopt): Add memory_mallopt probe.
21591         * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
21592         * manual/probes.texi: New.
21593         * manual/Makefile (chapters): Add probes.
21594         * manual/threads.texi: Set next node.
21595
21596 2013-09-19  Wei-Lun Chao  <bluebat@member.fsf.org>
21597
21598         [BZ #15963, #13985]
21599         * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
21600         czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
21601         Add `Chinese' to `nan' entry name.
21602
21603 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
21604
21605         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
21606         (POLYNOMIAL): Likewise.
21607         (TAYLOR_SINCOS): Likewise.
21608         (TAYLOR_SLOW): Likewise.
21609         (__sin): Use TAYLOR_SINCOS.
21610         (__cos): Likewise.
21611         (slow): Use TAYLOR_SLOW.
21612         (sloww): Likewise.
21613         (bsloww): Likewise.
21614         (csloww): Likewise.
21615
21616 2013-09-19  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
21617
21618         * stdlib/strtod_l.c: Fix buffer overrun.
21619
21620 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
21621
21622         * benchtests/Makefile (bench): Add sincos.
21623         * benchtests/bench-sincos.c: New file.
21624
21625         * math/libm-test.inc (cos_test_data): New test inputs.
21626         (sin_test_data): Likewise.
21627
21628         * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
21629         macro.
21630         (__sin): Use it.
21631         (__cos): Likewise.
21632         (slow1): Likewise.
21633         (slow2): Likewise.
21634         (sloww1): Likewise.
21635         (sloww2): Likewise.
21636         (bsloww1): Likewise.
21637         (bsloww2): Likewise.
21638         (cslow2): Likewise.
21639         (csloww1): Likewise.
21640         (csloww2): Likewise.
21641
21642         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
21643         function.
21644         (__sin): Use it.
21645         (__cos): Likewise.
21646
21647         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
21648         gotos.
21649         (__cos): Likewise.
21650
21651 2013-09-18  Maciej W. Rozycki  <macro@codesourcery.com>
21652
21653         * config.h.in (HAVE_MIPS_NAN2008): New macro.
21654         * elf/elf.h (EF_MIPS_NAN2008): Likewise.
21655         * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
21656         (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
21657         (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
21658         * elf/cache.c (print_entry): Handle the new cache flags.
21659
21660 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
21661             Aldy Hernandez  <aldyh@redhat.com>
21662
21663         * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
21664         Change condition to [_SOFT_FLOAT].
21665         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
21666         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
21667         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
21668         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
21669         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
21670         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
21671         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
21672         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
21673         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
21674         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
21675         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
21676         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
21677         [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
21678         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
21679         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
21680         [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
21681         declaration.
21682
21683 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
21684
21685         * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
21686         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
21687         (__longjmp): Use LOAD_GP to load saved GPRs.
21688         * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
21689         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
21690         (__sigsetjmp): Use SAVE_GP to save GPRs.
21691
21692         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
21693         Do not append -msoft-float.
21694         [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
21695
21696 2013-09-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
21697
21698         * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
21699
21700 2013-09-17  Joseph Myers  <joseph@codesourcery.com>
21701
21702         [BZ #15966]
21703         * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
21704         (_FPU_GETCW): Use initial "__" on variable and field names but not
21705         on macro parameter name.
21706         [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise.  Use
21707         parentheses around reference to macro parameter.
21708
21709 2013-09-13  Richard Sandiford  <richard@codesourcery.com>
21710
21711         * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
21712         prototype.
21713         (ctype_startup): Use uint32_t in cast and sizeof for
21714         ctype->charnames.
21715
21716 2013-09-11  Jia Liu  <proljc@gmail.com>
21717
21718         * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
21719         __daddr_t_defined.
21720         [__FreeBSD__]: Likewise.
21721
21722 2013-09-11  Ondřej Bílka  <neleai@seznam.cz>
21723
21724         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
21725         (__libc_ifunc_impl_list): Remove: __strchr_sse42.
21726         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
21727         (strchr): Remove __strchr_sse42 ifunc selection.
21728         * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
21729         * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
21730
21731 2013-09-11  Will Newton  <will.newton@linaro.org>
21732
21733         * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
21734         parameter to RES. Remove hardcoded 1000 value.
21735         * benchtests/bench-skeleton.c (main): Pass RES parameter
21736         to TIMING_INIT and multiply result by 1000.
21737
21738 2013-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21739
21740         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21741
21742 2013-09-11  Andreas Schwab  <schwab@suse.de>
21743
21744         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
21745         if not defined.
21746         (O_TMPFILE) [__USE_GNU]: Define.
21747         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
21748         Define.
21749
21750 2013-09-11  Will Newton  <will.newton@linaro.org>
21751
21752         [BZ #15857]
21753         * malloc/malloc.c (__libc_memalign): Check the value of bytes
21754         does not overflow.
21755
21756 2013-09-11  Will Newton  <will.newton@linaro.org>
21757
21758         [BZ #15856]
21759         * malloc/malloc.c (__libc_valloc): Check the value of bytes
21760         does not overflow.
21761
21762 2013-09-11  Will Newton  <will.newton@linaro.org>
21763
21764         [BZ #15855]
21765         * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
21766         does not overflow.
21767
21768 2013-09-10  Ondřej Bílka  <neleai@seznam.cz>
21769
21770         * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
21771         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
21772         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
21773         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
21774         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
21775
21776 2013-09-10  Allan McRae  <allan@archlinux.org>
21777
21778         [BZ #15748]
21779         * manual/arith.texi (Parsing of Floats): Clarify
21780         cross-reference.
21781
21782         [BZ #15849]
21783         * manual/install.texi (Running make install): Mention
21784         --enable-pt-chown.
21785         * INSTALL: Regenerated.
21786
21787 2013-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
21788
21789         * csu/init-first.c (_init): Remove the !SHARED condition around
21790         FPU control word initialization.
21791         * elf/dl-support.c (_dl_fpu_control): New variable.
21792         (_dl_aux_init) <AT_FPUCW>: Initialize it.
21793         * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
21794         (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
21795         * math/test-fpucw-static.c: New file.
21796         * math/test-fpucw-ieee.c: New file.
21797         * math/test-fpucw-ieee-static.c: New file.
21798         * math/Makefile (tests): Add `test-fpucw-ieee' and
21799         `$(tests-static)'.
21800         (tests-static): New variable.
21801         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
21802         dependency to...
21803         [($(build-shared),yes)]
21804         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
21805         ... this.
21806         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
21807         New dependency.
21808
21809 2013-09-09  Allan McRae  <allan@archlinux.org>
21810
21811         [BZ #15939]
21812         * manual/string.texi (Collation Functions): Fix typo in
21813         strcoll example.
21814         Reported by Suren Karapetyan <me@suren.karapetyan.name>.
21815
21816         [BZ #15893]
21817         * stdlib/isomac.c (get_null_defines): Fix memory leak.
21818
21819         [BZ #15892]
21820         * libio/memstream.c (open_memstream): Fix memory leak.
21821         * libio/wmemstream.c (open_wmemstream): Likewise.
21822
21823         [BZ #15895]
21824         * nscd/netgroupcache.c: Fix nesting of ifdefs.
21825
21826 2013-09-09  Will Newton  <will.newton@linaro.org>
21827
21828         * malloc/Makefile: Add tst-realloc to tests.
21829         * malloc/tst-realloc.c: New file.
21830
21831 2013-09-09  Allan McRae  <allan@archlinux.org>
21832
21833         [BZ #15844]
21834         * COPYING: Update from GNU website to fix FSF address.
21835         * COPYING.LIB: Likewise.
21836
21837 2013-09-06  David S. Miller  <davem@davemloft.net>
21838
21839         * po/zh_TW.po: Update Chinese (traditional) translation from
21840         translation project.
21841
21842 2013-09-06  Richard Sandiford  <richard@codesourcery.com>
21843             Joseph Myers  <joseph@codesourcery.com>
21844
21845         * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
21846         "localeinfo.h".
21847         (obstack_chunk_alloc): New macro.
21848         (obstack_chunk_free): Likewise.
21849         (record_offset): New function.
21850         (init_locale_data): Likewise.
21851         (align_locale_data): Likewise.
21852         (add_locale_empty): Likewise.
21853         (add_locale_raw_data): Likewise.
21854         (add_locale_raw_obstack): Likewise.
21855         (add_locale_string): Likewise.
21856         (add_locale_wstring): Likewise.
21857         (add_locale_uint32): Likewise.
21858         (add_locale_uint32_array): Likewise.
21859         (add_locale_char): Likewise.
21860         (start_locale_structure): Likewise.
21861         (end_locale_structure): Likewise.
21862         (start_locale_prelude): Likewise.
21863         (end_locale_prelude): Likewise.
21864         (write_locale_data): Take locale_file structure rather than an
21865         iovec.
21866         * locale/programs/locfile.h: Include "obstack.h".
21867         (struct locale_file): Change to store locale file contents instead
21868         of header.
21869         (init_locale_data): New prototype.
21870         (align_locale_data): Likewise.
21871         (add_locale_empty): Likewise.
21872         (add_locale_raw_data): Likewise.
21873         (add_locale_raw_obstack): Likewise.
21874         (add_locale_string): Likewise.
21875         (add_locale_wstring): Likewise.
21876         (add_locale_uint32): Likewise.
21877         (add_locale_uint32_array): Likewise.
21878         (add_locale_char): Likewise.
21879         (start_locale_structure): Likewise.
21880         (end_locale_structure): Likewise.
21881         (start_locale_prelude): Likewise.
21882         (end_locale_prelude): Likewise.
21883         (write_locale_data): Update prototype.
21884         * locale/programs/3level.h (struct TABLE): Remove result field.
21885         (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
21886         Use new locale_file interface.
21887         [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
21888         (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
21889         * locale/programs/ld-address.c (address_output): Use new
21890         locale_file interface.
21891         * locale/programs/ld-collate.c (NO_FINALIZE): Change to
21892         NO_ADD_LOCALE.
21893         (collate_finish): Don't call collseq_table_finalize.
21894         (collate_output): Use new locale_file interface.
21895         * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
21896         in file.
21897         (NO_FINALIZE): Change to NO_ADD_LOCALE.
21898         (TABLE): Move defines earlier in file.
21899         (ELEMENT): Likewise.
21900         (DEFAULT): Likewise.
21901         (wctrans_table_add): Move macro and inline function earlier in
21902         file.
21903         (struct wctype_table): Move type earlier in file.
21904         (add_locale_wctype_table): New static prototype.
21905         (struct locale_ctype_t): Use logical types instead of struct iovec
21906         pointers for members.
21907         (ctype_output): Use new locale_file interface.
21908         (wctype_table_finalize): Change to add_locale_wctype_table.  Use
21909         new locale_file interface.
21910         (allocate_arrays): Update for use of new locale_file interface.
21911         * locale/programs/ld-identification.c (identification_output): Use
21912         new locale_file interface.
21913         * locale/programs/ld-measurement.c (measurement_output): Likewise.
21914         * locale/programs/ld-messages.c (messages_output): Likewise.
21915         * locale/programs/ld-monetary.c (monetary_output): Likewise.
21916         * locale/programs/ld-name.c (name_output): Likewise.
21917         * locale/programs/ld-numeric.c (numeric_output): Likewise.
21918         * locale/programs/ld-paper.c (paper_output): Likewise.
21919         * locale/programs/ld-telephone.c (telephone_output): Likewise.
21920         * locale/programs/ld-time.c (time_output): Likewise.
21921
21922 2013-09-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21923
21924         * benchtests/Makefile: Add memrchr benchmark.
21925         * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
21926         benchmark as memrchr.
21927         * benchtests/bench-memrchr-ifunc.c: New file.
21928         * benchtests/bench-memrchr.c: New file.
21929
21930 2013-09-06   Will Newton  <will.newton@linaro.org>
21931
21932         * benchtests/Makefile (string-bench): Add memcpy.
21933
21934 2013-09-05  Carlos O'Donell  <carlos@redhat.com>
21935             Cong Wang  <amwang@redhat.com>
21936
21937         [BZ #15850]
21938         * sysdeps/unix/sysv/linux/bits/in.h
21939         [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
21940         * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
21941         before __USE_KERNEL_IPV6_DEFS uses.
21942         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
21943         IPPROTO_BEETPH.
21944         [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
21945         sockaddr_in6, or ipv6_mreq.
21946
21947 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21948
21949         * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
21950         memory access for final bytes in some large inputs.
21951         * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
21952
21953 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21954
21955         * string/test-memrchr.c: New file.
21956         * string/test-memrchr-ifunc.c: New file.
21957         * string/Makefile: Add new memrchr testcase.
21958
21959 2013-09-05  Mike Frysinger  <vapier@gentoo.org>
21960
21961         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
21962         fanotify_init returns EPERM.
21963
21964 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
21965
21966         * conform/conformtest.pl (newtoken): Treat tokens not allowed as
21967         errors.
21968         (top level): Treat second token from macro or constant entries for
21969         allowed headers as allowed.
21970         * include/complex.h: Condition internal declarations on
21971         [!_ISOMAC].
21972         * include/fenv.h: Condition include of <stdbool.h> and internal
21973         declarations on [!_ISOMAC].
21974
21975 2013-09-04  Chris Leonard  <cjl@sugarlabs,.org>
21976
21977         [BZ #15923]
21978         * locale/iso-4217.def: Update iso-1427.def and related occurrences.
21979
21980 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
21981
21982         * configure.in (--enable-versioning): Remove configure option.
21983         (libc_cv_asm_symver_directive): Remove configure test.
21984         (libc_cv_ld_version_script_option): Likewise.
21985         (VERSIONING): Remove variable and AC_SUBST.
21986         (DO_VERSIONING): Remove AC_DEFINE.
21987         * configure: Regenerated.
21988         * config.h.in (DO_VERSIONING): Remove macro.
21989         * Makerules [$(versioning) = yes]: Change conditionals to
21990         [$(build-shared) = yes].
21991         * config.make.in (versioning): Remove variable.
21992         * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
21993         [$(build-shared) = yes].
21994         * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
21995         * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
21996         * elf/Makefile [$(versioning) = yes]: Change conditionals to
21997         [$(build-shared) = yes].
21998         * extra-lib.mk [$(versioning) = yes]: Likewise.
21999         * hurd/Makefile [$(versioning) = yes]: Likewise.
22000         * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
22001         [SHARED].
22002         * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
22003         [SHARED].
22004         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
22005         [SHARED && !NO_HIDDEN].
22006         * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
22007         [SHARED].
22008         [SHARED && DO_VERSIONING]: Likewise..
22009         * libio/Makefile [$(versioning) = yes]: Change conditionals to
22010         [$(build-shared) = yes].
22011         * manual/install.texi (--disable-versioning): Remove
22012         documentation.
22013         * INSTALL: Regenerated.
22014         * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
22015         to [SHARED].
22016         * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
22017         [$(build-shared) = yes].
22018         * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
22019         * sysdeps/i386/i686/multiarch/strstr-c.c
22020         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
22021         [SHARED && !NO_HIDDEN].
22022         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
22023         [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
22024         * sysdeps/powerpc/powerpc32/dl-machine.c
22025         [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
22026         * sysdeps/powerpc/powerpc32/sysdep.h
22027         [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
22028         to [SHARED && PIC && !NO_HIDDEN].
22029         * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
22030         conditional to [SHARED].
22031
22032 2013-09-04   Will Newton  <will.newton@linaro.org>
22033
22034         * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
22035         * benchtests/bench-string.h: Include bench-timing.h instead
22036         of including hp-timing.h directly. (INNER_LOOP_ITERS): New
22037         define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
22038         call to HP_TIMING_DIFF_INIT.
22039         * benchtests/bench-memccpy.c: Use bench-timing.h macros
22040         instead of hp-timing.h macros.
22041         * benchtests/bench-memchr.c: Likewise.
22042         * benchtests/bench-memcmp.c: Likewise.
22043         * benchtests/bench-memcpy.c: Likewise.
22044         * benchtests/bench-memmem.c: Likewise.
22045         * benchtests/bench-memmove.c: Likewise.
22046         * benchtests/bench-memset.c: Likewise.
22047         * benchtests/bench-rawmemchr.c: Likewise.
22048         * benchtests/bench-strcasecmp.c: Likewise.
22049         * benchtests/bench-strcasestr.c: Likewise.
22050         * benchtests/bench-strcat.c: Likewise.
22051         * benchtests/bench-strchr.c: Likewise.
22052         * benchtests/bench-strcmp.c: Likewise.
22053         * benchtests/bench-strcpy.c: Likewise.
22054         * benchtests/bench-strcpy_chk.c: Likewise.
22055         * benchtests/bench-strlen.c: Likewise.
22056         * benchtests/bench-strncasecmp.c: Likewise.
22057         * benchtests/bench-strncat.c: Likewise.
22058         * benchtests/bench-strncmp.c: Likewise.
22059         * benchtests/bench-strncpy.c: Likewise.
22060         * benchtests/bench-strnlen.c: Likewise.
22061         * benchtests/bench-strpbrk.c: Likewise.
22062         * benchtests/bench-strrchr.c: Likewise.
22063         * benchtests/bench-strspn.c: Likewise.
22064         * benchtests/bench-strstr.c: Likewise.
22065
22066 2013-09-04  Will Newton  <will.newton@linaro.org>
22067
22068         * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
22069
22070 2013-09-03  Joseph Myers  <joseph@codesourcery.com>
22071
22072         [BZ #15427]
22073         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
22074         2**-30 instead of 2**-70 as threshold for returning -log(|x|).
22075         * math/libm-test.inc (lgamma_test_data): Add more tests.
22076         * sysdeps/i386/fpu/libm-test-ulps: Update.
22077         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22078
22079 2013-09-03   Ondřej Bílka  <neleai@seznam.cz>
22080
22081         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
22082         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
22083         Add ifunc.
22084         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
22085         Add strcmp-sse2-unaligned
22086         * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
22087
22088 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
22089
22090         * Versions.def (libc): Add GLIBC_2.19.
22091
22092 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
22093
22094         * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
22095         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
22096
22097 2013-09-02  Joseph Myers  <joseph@codesourcery.com>
22098
22099         [BZ #14155]
22100         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
22101         intermediate calculations in recurrence.
22102         (__ieee754_ynf): Likewise.
22103         * math/libm-test.inc (jn_test_data): Do not allow spurious
22104         underflow exception.  Add more tests.
22105         (yn_test_data): Add more tests.
22106         * sysdeps/i386/fpu/libm-test-ulps: Update.
22107         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22108
22109 2013-09-02   Ondřej Bílka  <neleai@seznam.cz>
22110
22111         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
22112
22113 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
22114
22115         * csu/init-first.c: Fix then/than typos.
22116         * locale/programs/ld-collate.c: Likewise.
22117         * locale/programs/linereader.h: Likewise.
22118         * manual/charset.texi: Likewise.
22119         * manual/filesys.texi: Likewise.
22120         * manual/stdio.texi: Likewise.
22121         * manual/string.texi: Likewise.
22122         * stdlib/fmtmsg.c: Likewise.
22123         * sysdeps/i386/stpncpy.S: Likewise.
22124         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
22125         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
22126         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
22127         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
22128
22129 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
22130
22131         * elf/dl-open.c: Fix typos.
22132         * iconvdata/gbbig5.c: Likewise.
22133         * iconvdata/iso-2022-jp.c: Likewise.
22134         * iconv/gconv_int.h: Likewise.
22135         * iconv/loop.c: Likewise.
22136         * nis/rpcsvc/nis.h: Likewise.
22137         * resolv/ns_name.c: Likewise.
22138         * stdio-common/vfscanf.c: Likewise.
22139         * streams/stropts.h: Likewise.
22140         * sunrpc/rpc_thread.c: Likewise.
22141         * sysdeps/i386/strpbrk.S: Likewise.
22142         * sysdeps/ieee754/k_standard.c: Likewise.
22143         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
22144         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
22145         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
22146         * sysdeps/mach/hurd/profil.c: Likewise.
22147         * sysdeps/s390/dl-procinfo.h: Likewise.
22148         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
22149         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
22150         * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
22151         * sysdeps/x86_64/dl-trampoline.S: Likewise.
22152         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
22153
22154 2013-08-30  Ondřej Bílka  <neleai@seznam.cz>
22155
22156         * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
22157         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
22158
22159 2013-08-29  Ondřej Bílka  <neleai@seznam.cz>
22160
22161         * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
22162         aix specific files.
22163         * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
22164         * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
22165         * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
22166         * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
22167         * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
22168         * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
22169         * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
22170         * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
22171
22172 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
22173             Roland McGrath  <roland@hack.frob.com>
22174
22175         * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
22176         * sysdeps/mach/hurd/bits/errno.h: Regenerate.
22177
22178 2013-08-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
22179
22180         * sysdeps/mach/hurd/i386/init-first.c (init1): Use
22181         __executable_start symbol instead of _start.
22182
22183 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
22184
22185         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
22186         (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
22187         Move macros to...
22188         * sysdeps/gnu/ldsodefs.h: ... this new file.
22189
22190         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
22191         (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
22192         instead of ELFOSABI_LINUX.
22193
22194         [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
22195         * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
22196         * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
22197         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
22198         Likewise.
22199         * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
22200         * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
22201         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
22202         Likewise.
22203         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
22204         (ibm_extended_long_double): Add ieee_nan member.
22205         * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
22206         (do_test): New function.
22207
22208         * math/basic-test.c (TEST_CONVERT): New macro, renamed from
22209         TEST_TRUNC.
22210         (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
22211         functions, renamed from truncdfsf_test, trunctfsf_test,
22212         trunctfdf_test.
22213         (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
22214         functions.
22215         (do_test): Run all these.
22216
22217 2013-08-29   Ondřej Bílka  <neleai@seznam.cz>
22218
22219         * argp/argp-help.c: Fix typos.
22220         * argp/argp-parse.c: Likewise.
22221         * debug/backtracesyms.c: Likewise.
22222         * elf/elf.h: Likewise.
22223         * malloc/malloc.c: Likewise.
22224         * nis/nis_print.c: Likewise.
22225         * resolv/res_comp.c: Likewise.
22226         * stdlib/stdlib.h: Likewise.
22227         * sunrpc/clnt_tcp.c: Likewise.
22228         * sunrpc/clnt_udp.c: Likewise.
22229         * sunrpc/clnt_unix.c: Likewise.
22230         * sysdeps/unix/bsd/ptsname.c: Likewise.
22231         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
22232         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
22233         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
22234         Likewise.
22235         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
22236         Likewise.
22237         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
22238         Likewise.
22239         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
22240
22241 2013-08-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
22242
22243         * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
22244         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
22245
22246 2013-08-27  Mike Frysinger  <vapier@gentoo.org>
22247
22248         [BZ #15897]
22249         * dlfcn/Makefile (tests): Add bug-dl-leaf.
22250         (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
22251         ($(objpfx)bug-dl-leaf): New rule.
22252         ($(objpfx)bug-dl-leaf.so): Likewise.
22253         ($(objpfx)bug-dl-leaf.out): Likewise.
22254         ($(objpfx)bug-dl-leaf-lib.so): Likewise.
22255         ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
22256         * dlfcn/bug-dl-leaf.c: New test.
22257         * dlfcn/bug-dl-leaf-lib.c: Likewise.
22258         * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
22259         * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
22260         (dlclose): Likewise.
22261         (dlmopen): Likewise.
22262
22263 2013-08-27  Roland McGrath  <roland@hack.frob.com>
22264
22265         * include/netdb.h [!_ISOMAC]:
22266         Don't include <tls.h>.
22267         (h_errno, __libc_h_errno): Move declaration and macros out of
22268         [_LIBC_REENTRANT].
22269
22270         * include/resolv.h [_RESOLV_H_]:
22271         Don't include <tls.h>.
22272         (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
22273         * resolv/res_libc.c: Don't include <tls.h>.
22274         (_res): Use __attribute__ ((nocommon)) in place of
22275         __attribute__ ((section (".bss"))).
22276
22277         * Makefile ($(common-objpfx)linkobj/libc_pic.a):
22278         If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
22279
22280         * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
22281
22282         * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
22283         only under [SIOCGIFCONF && SIOCGIFNETMASK].
22284
22285         * resolv/res_mkquery.c: Include <sys/time.h>.
22286
22287         * inet/ifreq.c: Moved to ...
22288         * sysdeps/unix/ifreq.c: ... here.
22289         * inet/ifreq.c: New file, true stub version.
22290
22291         * socket/sa_len.c: New file.
22292         * socket/Makefile (aux): Add it.
22293         * sysdeps/unix/sysv/linux/Makefile
22294         [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
22295         * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
22296         and #include <socket/sa_len.c>.
22297         * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
22298         HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
22299
22300         * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
22301         * bits/socket.h: ... here.
22302
22303         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
22304         Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
22305         (SOCK_MAX, SOCK_TYPE_MASK): New macros.
22306
22307 2013-08-27  Andreas Schwab  <schwab@suse.de>
22308
22309         [BZ #15736]
22310         * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
22311         * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
22312         (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
22313         * string/test-strcasecmp.c (test_main): Run tests in several
22314         locales.
22315         * string/test-strncasecmp.c (test_main): Likewise.
22316
22317         * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
22318         (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
22319         to __strcasecmp_nonascii and __strncasecmp_nonascii.
22320         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
22321         (__strncasecmp_ssse3) [PIC]: Likewise.
22322
22323 2013-08-26  Roland McGrath  <roland@hack.frob.com>
22324
22325         * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
22326
22327         * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
22328         instead of explicitly declaring xdecrypt.
22329         * nis/nss_nis/nis-publickey.c: Likewise.
22330
22331 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
22332
22333         [BZ #15890]
22334         * nscd/aicache.c: Include res_hconf.h.
22335         (addhstaiX): Initialize res_hconf.
22336
22337 2013-08-26  Andreas Schwab  <schwab@suse.de>
22338
22339         * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
22340         ($(objpfx)tst-tls-atexit): Add dependencies here instead.
22341
22342 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
22343
22344         * nscd/aicache.c (addhstaiX): Fix indentation.
22345
22346 2013-08-25  Mike Frysinger  <vapier@gentoo.org>
22347
22348         * configure.ac: Quote $build_pt_chown test.
22349         * configure: Regenerated.
22350
22351 2013-08-23  Joseph Myers  <joseph@codesourcery.com>
22352
22353         [BZ #15532]
22354         * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
22355         * math/s_cexpf.c (__cexpf): Likewise.
22356         * math/s_cexpl.c (__cexpl): Likewise.
22357         * math/libm-test.inc (cexp_test_data): Correct expected return
22358         value for NaN + i0.  Add another test.
22359
22360 2013-08-22  David S. Miller  <davem@davemloft.net>
22361
22362         * po/ca.po: Update Catalan translation from translation project.
22363         * po/uk.po: Add Ukrainian translations from translation project.
22364
22365 2013-08-21  Joseph Myers  <joseph@codesourcery.com>
22366
22367         [BZ #15797]
22368         * math/s_fdim.c (__fdim): Check for infinite arguments if result
22369         is infinite, not alongside NaN test.
22370         * math/s_fdimf.c (__fdimf): Likewise.
22371         * math/s_fdiml.c (__fdiml): Likewise.
22372         * math/libm-test.inc (fdim_test_data): Add more tests.  Test that
22373         errno is unchanged.
22374
22375 2013-08-21   Ondřej Bílka  <neleai@seznam.cz>
22376
22377         * argp/argp-help.c: Fix typos.
22378         * crypt/speeds.c: Likewise.
22379         * csu/check_fds.c: Likewise.
22380         * elf/dl-load.c: Likewise.
22381         * elf/dl-open.c: Likewise.
22382         * elf/reldep3.c: Likewise.
22383         * elf/reldep.c: Likewise.
22384         * elf/sprof.c: Likewise.
22385         * iconv/iconv_charmap.c: Likewise.
22386         * iconv/skeleton.c: Likewise.
22387         * iconv/strtab.c: Likewise.
22388         * io/lockf64.c: Likewise.
22389         * libio/libioP.h: Likewise.
22390         * resolv/gai_notify.c: Likewise.
22391         * resolv/ns_name.c: Likewise.
22392         * resolv/ns_samedomain.c: Likewise.
22393         * resolv/res_send.c: Likewise.
22394         * stdlib/random.c: Likewise.
22395         * sunrpc/rpc/xdr.h: Likewise.
22396         * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
22397         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
22398         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
22399         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
22400         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
22401         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
22402         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
22403         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
22404         * sysdeps/mach/hurd/check_fds.c: Likewise.
22405         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
22406         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
22407         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
22408         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
22409         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
22410         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
22411         * sysdeps/pthread/aio_notify.c: Likewise.
22412         * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
22413         * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
22414         * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
22415         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
22416         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
22417
22418 2013-08-21  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
22419
22420         * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
22421         version if bit_Slow_SSE4_2 is set.
22422         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
22423         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
22424
22425 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22426
22427         [BZ #15867]
22428         * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
22429         trampoline stack frame information.
22430         * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
22431         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
22432         (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
22433         (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
22434         (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
22435         * sysdeps/unix/sysv/linux/powerpc/init-first.c
22436         (_libc_vdso_platform_setup): Initialize the signal trampolines.
22437         * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
22438         sa_flags value.
22439         * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
22440         interrupting a syscall and set with option SA_SIGINFO.
22441
22442 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
22443
22444         [BZ #15531]
22445         * math/s_cproj.c (__cproj): Only return an infinity if one part of
22446         argument is infinite.
22447         * math/s_cprojf.c (__cprojf): Likewise.
22448         * math/s_cprojl.c (__cprojl): Likewise.
22449         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
22450         * math/libm-test.inc (cproj_test_data): Add more tests.
22451
22452         * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
22453
22454         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
22455         [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
22456         size.  Use __ffs to determine corresponding shift.
22457
22458 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
22459             Roland McGrath  <roland@hack.frob.com>
22460
22461         * Makefile (INSTALL): Remove trailing blank lines from output of
22462         makeinfo.
22463
22464 2013-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
22465
22466         * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
22467         Align 32 bit compat elf_greg to 8 bytes.
22468
22469 2013-08-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
22470
22471         * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
22472
22473 2013-08-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
22474
22475         * string/strcoll_l.c (coll_seq): New structure.
22476         (get_next_seq_cached): New function.
22477         (get_next_seq): New function.
22478         (do_compare): New function.
22479         (STRCOLL): Use GNU style definition.  Simplify implementation
22480         by using get_next_seq, get_next_seq_cached and do_compare.
22481
22482 2013-08-16  Florian Weimer  <fweimer@redhat.com>
22483
22484         [BZ #14699]
22485         CVE-2013-4237
22486         * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
22487         member.
22488         * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
22489         member.
22490         * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
22491         * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
22492         Return delayed error code.  Remove GETDENTS_64BIT_ALIGNED
22493         conditional.
22494         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
22495         GETDENTS_64BIT_ALIGNED.
22496         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
22497         * manual/filesys.texi (Reading/Closing Directory): Document
22498         ENAMETOOLONG return value of readdir_r.  Recommend readdir more
22499         strongly.
22500         * manual/conf.texi (Limits for Files): Add portability note to
22501         NAME_MAX, PATH_MAX.
22502         (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
22503
22504 2013-08-13  Andreas Schwab  <schwab@suse.de>
22505
22506         [BZ #15749]
22507         * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
22508         of fabs.
22509         * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
22510         LDBL_MAX_EXP >= 16384]: Add tests for it.
22511
22512 2013-08-12  David S. Miller  <davem@davemloft.net>
22513
22514         * version.h (RELEASE): Set to "development".
22515         (VERSION): Set to "2.18.90".
22516         * NEWS: Add 2.19 section.
22517
22518 2013-08-03  David S. Miller  <davem@davemloft.net>
22519
22520         * po/ko.po: Update Korean translation from translation project.
22521
22522 2013-08-01  David S. Miller  <davem@davemloft.net>
22523
22524         * manual/contrib.texi: Update entry for Siddhesh Poyarekar.  Add
22525         entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
22526         Bilka.
22527
22528 2013-07-30  David S. Miller  <davem@davemloft.net>
22529
22530         * po/fr.po: Update French translation from translation project.
22531
22532 2013-07-28  David S. Miller  <davem@davemloft.net>
22533
22534         * po/cs.po: Update Czech translation from translation project.
22535
22536         * po/sv.po: Update Swedish translation from translation project.
22537
22538 2013-07-27  David S. Miller  <davem@davemloft.net>
22539
22540         * po/eo.po: Update Esperanto translation from translation project.
22541
22542         * po/vi.po: Update Vietnamese translation from translation project.
22543
22544         * po/de.po: Update German translation from translation project.
22545
22546 2013-07-26  David S. Miller  <davem@davemloft.net>
22547
22548         * po/bg.po: Update Bulgarian translation from translation project.
22549
22550         * po/nl.po: Update Dutch translation from translation project.
22551         * po/pl.po: Update Polish translation from translation project.
22552         * po/ru.po: Update Russian translation from translation project.
22553
22554 2013-07-24  David S. Miller  <davem@davemloft.net>
22555
22556         * po/libc.pot: Update.
22557
22558 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22559
22560         * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
22561         variable page size.
22562         * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
22563         * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
22564         * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
22565
22566 2013-07-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
22567
22568         * sysdeps/s390/fpu/libm-test-ulps: Refresh.
22569
22570 2013-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
22571             Andreas Schwab  <schwab@suse.de>
22572             Roland McGrath  <roland@hack.frob.com>
22573             Joseph Myers  <joseph@codesourcery.com>
22574             Carlos O'Donell  <carlos@redhat.com>
22575
22576         [BZ #15755]
22577         * config.h.in: Define HAVE_PT_CHOWN.
22578         * config.make.in (build-pt-chown): New variable.
22579         * configure.in (--enable-pt_chown): New configure option.
22580         * configure: Regenerate.
22581         * login/Makefile: Include Makeconfig.  Build pt_chown only if
22582         build-pt-chown is enabled.
22583         * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
22584         pt_chown to fix pty ownership.
22585         * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
22586         CLOSE_ALL_FDS.
22587         * manual/install.texi (Configuring and compiling): Mention
22588         --enable-pt_chown. Add @findex for grantpt.
22589         * INSTALL: Regenerate.
22590
22591 2013-07-20  David S. Miller  <davem@davemloft.net>
22592
22593         * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
22594         difference between 32-bit and 64-bit.
22595
22596 2013-07-15  Carlos O'Donell  <carlos@redhat.com>
22597
22598         [BZ #15711]
22599         * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
22600         Avoid system header dependency with -ffreestanding.
22601         ($(objpfx)bits/syscall%d): Likewise.
22602
22603 2013-07-13  David S. Miller  <davem@davemloft.net>
22604
22605         * math/libm-test.inc (casin_test_data): Annotate more cases of missing
22606         underflows from atanl/atan2l due to bug 15319.
22607         (casinh_test_data): Likewise.
22608
22609 2013-07-07  David S. Miller  <davem@davemloft.net>
22610
22611         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
22612
22613 2013-07-05  Jeroen Albers  <_jeroen_@yahoo.com>
22614
22615         * sysdeps/i386/fpu/libm-test-ulps: Update.
22616         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22617
22618 2013-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
22619
22620         * configure.in (--enable-lock-elision): Fix message text.
22621         * INSTALL: Regenerate.
22622         * configure: Regenerate.
22623
22624 2013-07-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22625
22626         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22627
22628 2013-07-03  Andreas Jaeger  <aj@suse.de>
22629
22630         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
22631         define.
22632         (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
22633         (ptrace_peeksiginfo_args): Add.
22634         (__ptrace_peeksiginfo_flags): Add.
22635         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
22636         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
22637         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
22638
22639 2013-07-03  Allan McRae  <allan@archlinux.org>
22640
22641         * sysdeps/i386/fpu/libm-test-ulps: Update.
22642
22643 2013-07-02  David S. Miller  <davem@davemloft.net>
22644
22645         * sysdeps/sparc/fpu/libm-test-ulps: Update.
22646
22647 2013-07-02  Markus Trippelsdorf  <markus@trippelsdorf.de>
22648
22649         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
22650
22651 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
22652
22653         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
22654         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22655
22656 2013-07-02  Andi Kleen <ak@linux.intel.com>
22657
22658         * config.h.in (ENABLE_LOCK_ELISION): Add.
22659         * configure.in (--enable-lock-elision): Add option.
22660         * manual/install.texi: Document --enable lock elision.
22661         * configure: Regenerate
22662         * INSTALL: Regenerate.
22663
22664 2013-07-02  H.J. Lu  <hongjiu.lu@intel.com>
22665
22666         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
22667         SSE4.2 strcasecmp for libc.a.
22668         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
22669
22670 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
22671
22672         [BZ #13304]
22673         * soft-fp/op-common.h (_FP_FMA): New macro.
22674         * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
22675         (_FP_MUL_MEAT_DW_1_imm): Likewise.  Split out of ...
22676         (_FP_MUL_MEAT_1_imm): ... here.
22677         (_FP_MUL_MEAT_DW_1_wide): New macro.  Split out of ...
22678         (_FP_MUL_MEAT_1_wide): ... here.
22679         (_FP_MUL_MEAT_DW_1_hard): Likewise.  Split out of ...
22680         (_FP_MUL_MEAT_1_hard): ... here.
22681         * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
22682         (_FP_MUL_MEAT_DW_2_wide): Likewise.  Split out of ...
22683         (_FP_MUL_MEAT_2_wide): ... here.
22684         (_FP_MUL_MEAT_DW_2_wide_3mul): New macro.  Split out of ...
22685         (_FP_MUL_MEAT_2_wide_3mul): ... here.
22686         (_FP_MUL_MEAT_DW_2_gmp): New macro.  Split out of ...
22687         (_FP_MUL_MEAT_2_gmp): ... here.
22688         * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
22689         (_FP_MUL_MEAT_DW_4_wide): Likewise.  Split out of ...
22690         (_FP_MUL_MEAT_4_wide): ... here.
22691         (_FP_MUL_MEAT_DW_4_gmp): New macro.  Split out of ...
22692         (_FP_MUL_MEAT_4_gmp): ... here.
22693         * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
22694         (_FP_WFRACBITS_DW_S): Likewise.
22695         (_FP_WFRACXBITS_DW_S): Likewise.
22696         (_FP_HIGHBIT_DW_S): Likewise.
22697         (FP_FMA_S): Likewise.
22698         (_FP_FRAC_HIGH_DW_S): Likewise.
22699         * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
22700         (_FP_WFRACBITS_DW_D): Likewise.
22701         (_FP_WFRACXBITS_DW_D): Likewise.
22702         (_FP_HIGHBIT_DW_D): Likewise.
22703         (FP_FMA_D): Likewise.
22704         (_FP_FRAC_HIGH_DW_D): Likewise.
22705         * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
22706         (_FP_WFRACBITS_DW_E): Likewise.
22707         (_FP_WFRACXBITS_DW_E): Likewise.
22708         (_FP_HIGHBIT_DW_E): Likewise.
22709         (FP_FMA_E): Likewise.
22710         (_FP_FRAC_HIGH_DW_E): Likewise.
22711         * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
22712         (_FP_WFRACBITS_DW_Q): Likewise.
22713         (_FP_WFRACXBITS_DW_Q): Likewise.
22714         (_FP_HIGHBIT_DW_Q): Likewise.
22715         (FP_FMA_Q): Likewise.
22716         (_FP_FRAC_HIGH_DW_Q): Likewise.
22717         * soft-fp/fmasf4.c: New file.
22718         * soft-fp/fmadf4.c: Likewise.
22719         * soft-fp/fmatf4.c: Likewise.
22720
22721 2013-06-28  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
22722
22723         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
22724         bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
22725         Silvermont.
22726         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
22727         macro.
22728         (index_Slow_SSE4_2): Likewise.
22729         (index_Prefer_PMINUB_for_stringop): Likewise.
22730         * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
22731         bit_Slow_SSE4_2 is set.
22732         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
22733         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
22734
22735 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
22736
22737         * sysdeps/powerpc/Makefile: Add comment about generating an offset to
22738         rtld_global._dl_hwcap2.
22739         * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
22740         POWER8.
22741         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
22742         POWER8 feature descriptions defined in _dl_hwcap2.
22743         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
22744         string handling for POWER8 feature bits.
22745         (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
22746         (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
22747         _dl_powerpc_cap_flags.
22748         (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
22749         * sysdeps/powerpc/rtld-global-offsets.sym
22750         (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
22751         _dl_hwcap2 in the rtld_global_ro structure.
22752
22753 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
22754
22755         * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
22756         hardware capabilities in support of AT_HWCAP2.
22757         (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
22758         * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
22759         GLRO(dl_hwcap2).
22760         (_dl_show_auxv): Add support for calling _dl_procinfo to display
22761         AT_HWCAP2.  If a platform doesn't chose to handle displaying AT_HWCAP2
22762         explicitly the unknown a_type display mechanism is used.
22763         * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
22764         * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
22765         struct member.
22766         * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
22767         to macro prototype for AT_HWCAP2 support.
22768         * sysdeps/i386/dl-procinfo.h: Likewise.
22769         * sysdeps/s390/dl-procinfo.h: Likewise.
22770         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
22771         macro prototype for AT_HWCAP2 support.  Make WORD unsigned long int
22772         rather than signed int.  Stub in handler for TYPE == AT_HWCAP2 to
22773         return -1 for unknown a_type display fallback.
22774         * sysdeps/sparc/dl-procinfo.h: Likewise.
22775         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
22776         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
22777
22778 2013-06-28  Joseph Myers  <joseph@codesourcery.com>
22779
22780         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
22781         instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
22782
22783 2013-06-28  Pierre Ynard  <linkfanel@yahoo.fr>
22784
22785         [BZ #12492]
22786         * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
22787         mprotect making __stack_prot writable.
22788
22789 2013-06-28  Nathan Froyd  <froydnj@codesourcery.com>
22790             Joseph Myers  <joseph@codesourcery.com>
22791
22792         * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
22793         as being properly aligned.
22794
22795 2013-06-28  Maciej W. Rozycki  <macro@codesourcery.com>
22796
22797         * dlfcn/modstatic5.c: New file.
22798         * dlfcn/tststatic5.c: New file.
22799         * dlfcn/Makefile (tests): Add tststatic5.
22800         (tests-static): Likewise.
22801         (modules-names): Add modstatic5.
22802         (tststatic5-ENV): New variable.
22803         ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
22804
22805         [BZ #15022]
22806         * elf/dl-support.c (_dl_main_map): New variable.
22807         (_dl_ns): Use it to initialize [LM_ID_BASE] element.
22808         (_dl_nns, _dl_load_adds): Set to 1.
22809         (_dl_initial_searchlist): Refer to _dl_main_map.
22810         (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
22811         * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
22812         call to _dl_get_origin.
22813         * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
22814         around call_map.
22815         (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
22816         * dlfcn/modstatic3.c: New file.
22817         * dlfcn/tststatic3.c: New file.
22818         * dlfcn/tststatic4.c: New file.
22819         * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
22820         (tests-static): Likewise.
22821         (modules-names): Add modstatic3.
22822         (tststatic3-ENV, tststatic4-ENV): New variables.
22823         ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
22824         ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
22825
22826 2013-06-26  Joseph Myers  <joseph@codesourcery.com>
22827
22828         * configure.in (CC): Require GCC version 4.4 or later.
22829         * configure: Regenerated.
22830         * manual/install.texi (Tools for Compilation): Update GCC version
22831         requirement.
22832         * INSTALL: Regenerated.
22833
22834 2013-06-26  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
22835
22836         [BZ #15674]
22837         * string/test-memcmp.c (check2): New.
22838         (main): Call check2.
22839
22840         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
22841
22842 2013-06-26  Maciej W. Rozycki  <macro@codesourcery.com>
22843
22844         [BZ #15022]
22845         * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
22846         over to...
22847         (dl_open_worker) [!SHARED]: ... here.
22848
22849 2013-06-26  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
22850
22851         * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
22852
22853 2013-06-25  Richard Henderson  <rth@redhat.com>
22854
22855         * locale/programs/locarchive.c: Include <libc-internal.h>
22856
22857 2013-06-25  Joseph Myers  <joseph@codesourcery.com>
22858
22859         * manual/texinfo.tex: Update to version 2013-06-21.17, with
22860         trailing whitespace removed.
22861
22862 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
22863
22864         [BZ #10283]
22865         * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
22866         * locale/programs/locarchive.c: Include libc-mmap.h.
22867         (prepare_address_space): Take two new outputs (the mmap base and len).
22868         Align p to MAP_FIXED_ALIGNMENT.  Set mmap base and len to the right
22869         values.
22870         (create_archive): Declare new mmap base and len values for
22871         prepare_address_space, and store the result in ah.
22872         (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
22873         (enlarge_archive): If ah->mmap_base is not NULL, use that and
22874         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
22875         Declare new mmap base and len values for
22876         prepare_address_space, and store the result in new_ah.
22877         (open_archive): Declare new mmap base and len values for
22878         prepare_address_space, and store the result in ah.
22879         (close_archive): If ah->mmap_base is not NULL, use that and
22880         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
22881         * sysdeps/generic/libc-mmap.h: New file.
22882
22883 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
22884
22885         * include/libc-internal.h (ALIGN_DOWN): New helper macro.
22886         (ALIGN_UP): Likewise.
22887         (PTR_ALIGN_DOWN): Likewise.
22888         (PTR_ALIGN_UP): Likewise.
22889
22890 2013-06-24  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
22891
22892         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
22893         entry mapped to PPC_PLATFORM_POWER8.
22894         * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
22895         POWER8.
22896         (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
22897         (_dl_string_platform): Add case for exporting platform position for
22898         POWER8.
22899         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
22900         search path to sysdeps/powerpc/powerpc32/power8 directory.
22901         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
22902         search path to sysdeps/powerpc/powerpc64/power8 directory.
22903         * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
22904         power7 directories.
22905         * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
22906         power7 directories.
22907
22908 2013-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
22909
22910         * INSTALL: Regenerate.
22911
22912         * nscd/connections.c (nscd_init): Fix comment.
22913
22914 2013-06-22  Joseph Myers  <joseph@codesourcery.com>
22915
22916         * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
22917
22918         [BZ #15667]
22919         * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
22920         to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
22921
22922 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
22923
22924         * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
22925         DL_DST_REQ_STATIC.
22926         (DL_DST_REQ_STATIC): Remove macro.
22927
22928 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
22929
22930         [BZ #7006]
22931         * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
22932         with a shift of 0 bits.
22933
22934 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
22935
22936         * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
22937         $(tststatic-ENV).
22938
22939 2013-06-21  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
22940
22941         [BZ #15655]
22942         * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
22943
22944 2013-06-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22945
22946         * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
22947         * configure.in (libc_cv_cc_loop_to_function): Check if compiler
22948         accepts -fno-tree-loop-distribute-patterns.
22949         * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
22950         * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
22951         recursive call.
22952         * string/memset.c (memset): Likewise.
22953         * string/test-memmove.c (simple_memmove): Disable loop transformation
22954         to library calls.
22955         * string/test-memset.c (simple_memset): Likewise.
22956         * benchtests/bench-memmove.c (simple_memmove): Likewise.
22957         * benchtests/bench-memset.c (simple_memset): Likewise.
22958         * configure: Regenerated.
22959
22960 2013-06-20  Joseph Myers  <joseph@codesourcery.com>
22961
22962         * math/test-misc.c (main): Ignore fesetround failure when failures
22963         of subsequent rounding tests would be ignored.
22964
22965         [BZ #15654]
22966         * math/fedisblxcpt.c (fedisableexcept): Return 0.
22967         * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
22968         * math/fegetenv.c (__fegetenv): Return 0.
22969         * math/fegetexcept.c (fegetexcept): Return 0.
22970         * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
22971         FE_TONEAREST.
22972         * math/feholdexcpt.c (feholdexcept): Return 0.
22973         * math/fesetenv.c (__fesetenv): Return 0.
22974         * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
22975         argument FE_TONEAREST.
22976         * math/feupdateenv.c (__feupdateenv): Return 0.
22977         * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
22978
22979 2013-06-18  Roland McGrath  <roland@hack.frob.com>
22980
22981         * elf/rtld-Rules (rtld-compile-command.S): New variable.
22982         (rtld-compile-command.s, rtld-compile-command.c): New variables.
22983         ($(objpfx)rtld-%.os rules): Use them.
22984
22985 2013-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22986
22987         * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
22988         fields.
22989
22990 2013-06-17  Roland McGrath  <roland@hack.frob.com>
22991
22992         * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
22993         length of target pattern, then descending length of dependency pattern.
22994         * configure.in (AWK): Require gawk 3.1.2 or newer.
22995         * manual/install.texi (Tools for Compilation): Say that we do.
22996         * configure: Regenerated.
22997
22998         * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
22999         ($(common-objpfx)sysd-rules): Replace shell logic with running ...
23000         * scripts/sysd-rules.awk: ... this new script.
23001         * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
23002         than a glob-style pattern.
23003
23004 2013-06-17  Joseph Myers  <joseph@codesourcery.com>
23005
23006         * math/test-misc.c (main): Do not treat incorrectly rounded
23007         conversions as failure unless ROUNDING_TESTS passes.
23008
23009 2013-06-15  Joseph Myers  <joseph@codesourcery.com>
23010
23011         [BZ #15631]
23012         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
23013         restore exception state around main square root computation, then
23014         check for inexactness explicitly.
23015
23016         * math/libm-test.inc (fma_test_data): Add another test.
23017
23018 2013-06-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
23019
23020         * manual/threads.texi (Non-POSIX Extensions): New document
23021         node.  Document pthread_getattr_default_np and
23022         pthread_setattr_default_np.
23023
23024         * Versions.def (libpthread): Add GLIBC_2.18.
23025         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
23026         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
23027         Likewise.
23028         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
23029         Likewise.
23030         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
23031         Likewise.
23032         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
23033         Likewise.
23034         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
23035         Likewise.
23036         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
23037         Likewise.
23038         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
23039         Likewise.
23040         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
23041         Likewise.
23042         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
23043         Likewise.
23044
23045 2013-06-14  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
23046
23047         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
23048         Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
23049
23050 2013-06-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
23051             H.J. Lu  <hjl.tools@gmail.com>
23052
23053         [BZ #15627]
23054         * sysdeps/x86_64/rtld-memset.c: Remove file.
23055         * sysdeps/x86_64/rtld-memset.S: New file.
23056
23057 2013-06-14  Joseph Myers  <joseph@codesourcery.com>
23058
23059         * stdlib/tst-strtod-round.c: Include <math-tests.h>.
23060         (test_in_one_mode): Take arguments for whether the rounding mode
23061         is supported for each floating-point type.
23062         (do_test): Pass new arguments to test_in_one_mode using
23063         ROUNDING_TESTS.
23064
23065 2013-06-13  Roland McGrath  <roland@hack.frob.com>
23066
23067         * posix/tst-waitid.c (do_test): Distinguish different instances of
23068         stopped/continued in CHECK_SIGCHLD uses.  Insert a delay between
23069         sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
23070         before entering the kernel for waitpid.
23071
23072 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
23073
23074         * NEWS: Fix note on clock function precision.  Text by Roland
23075         McGrath.
23076
23077 2013-06-13  Roland McGrath  <roland@hack.frob.com>
23078
23079         * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
23080         it into place only when and if the sanity check passes.
23081
23082 2013-06-13  Joseph Myers  <joseph@codesourcery.com>
23083
23084         * stdlib/gen-tst-strtod-round.c (round_str): Always generate
23085         output for whether conversion result is exact.  Take argument
23086         indicating whether type is IBM long double.
23087         (round_for_all): Change need_exact field to ibm_ld.
23088         * stdlib/tst-strtod-round.c (struct exactness): New type.
23089         (struct test): Change bool ld_ok field to struct exactness exact.
23090         (TEST): Update all definitions for change to field.
23091         (tests): Regenerate array contents.
23092         (test_in_one_mode): Take pointer to new field instead of old ld_ok
23093         field value.  Check for IBM long double here.
23094         (do_test): Update calls to test_in_one_mode.
23095
23096 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
23097
23098         [BZ #12515]
23099         * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
23100         CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
23101
23102 2013-06-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23103
23104         [BZ #15605]
23105         * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
23106         generated by the compiler on loop optimizations.
23107         * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
23108         general definitions.
23109
23110 2013-06-12  Joseph Myers  <joseph@codesourcery.com>
23111
23112         * math/bug-nextafter.c: Include <math-tests.h>.
23113         (main): Only test for exceptions if EXCEPTION_TESTS is true for
23114         the relevant type.
23115         * math/bug-nexttoward.c: Include <math-tests.h>.
23116         (main): Only test for exceptions if EXCEPTION_TESTS is true for
23117         the relevant type.
23118         * math/test-misc.c: Include <math-tests.h>.
23119         (main): Only test for exceptions if EXCEPTION_TESTS is true for
23120         the relevant type.
23121
23122 2013-06-12  Andreas Jaeger  <aj@suse.de>
23123
23124         * po/ia.po: Update Interlingua translation from translation
23125         project.
23126
23127 2013-06-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
23128
23129         * include/fenv.h: Include stdbool.h.
23130         (struct rm_ctx): New structure.
23131         * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
23132         Define macro.
23133         (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
23134         (SET_RESTORE_ROUNDF): Likewise.
23135         (SET_RESTORE_ROUNDL): Likewise.
23136         (SET_RESTORE_ROUND_NOEX): Likewise.
23137         (SET_RESTORE_ROUND_NOEXF): Likewise.
23138         (SET_RESTORE_ROUND_NOEXL): Likewise.
23139         (SET_RESTORE_ROUND_53BIT): Likewise.
23140         [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
23141         (libc_feresetround_noexf_ctx): Likewise.
23142         (libc_feresetround_noexl_ctx): Likewise.
23143         (libc_feholdsetround_53bit_ctx): Likewise.
23144         (libc_feresetround_53bit_ctx): Likewise.
23145         * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
23146         (libc_feholdexcept_setround_sse_ctx): New function.
23147         (libc_fesetenv_sse_ctx): Likewise.
23148         (libc_feupdateenv_sse_ctx): Likewise.
23149         (libc_feholdexcept_setround_387_prec_ctx): Likewise.
23150         (libc_feholdexcept_setround_387_ctx): Likewise.
23151         (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
23152         (libc_feholdsetround_387_prec_ctx): Likewise.
23153         (libc_feholdsetround_387_ctx): Likewise.
23154         (libc_feholdsetround_387_53bit_ctx): Likewise.
23155         (libc_feholdsetround_sse_ctx): Likewise.
23156         (libc_feresetround_sse_ctx): Likewise.
23157         (libc_feresetround_387_ctx): Likewise.
23158         (libc_feupdateenv_387_ctx): Likewise.
23159         (libc_feholdexcept_setroundf_ctx): Define macro.
23160         (libc_fesetenvf_ctx): Likewise.
23161         (libc_feupdateenvf_ctx): Likewise.
23162         (libc_feholdsetroundf_ctx): Likewise.
23163         (libc_feresetroundf_ctx): Likewise.
23164         (libc_feholdexcept_setround_ctx): Likewise.
23165         (libc_fesetenv_ctx): Likewise.
23166         (libc_feupdateenv_ctx): Likewise.
23167         (libc_feholdsetround_ctx): Likewise.
23168         (libc_feresetround_ctx): Likewise.
23169         (libc_feholdexcept_setroundl_ctx): Likewise.
23170         (libc_feupdateenvl_ctx): Likewise.
23171         (libc_feholdsetroundl_ctx): Likewise.
23172         (libc_feresetroundl_ctx): Likewise.
23173         [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
23174         (libc_feresetround_53bit_ctx): Likewise.
23175
23176 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
23177
23178         * locale/iso-639.def: Convert to UTF-8.
23179
23180 2013-06-11  Joseph Myers  <joseph@codesourcery.com>
23181
23182         * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
23183         (EXCEPTION_TESTS_double): Likewise.
23184         (EXCEPTION_TESTS_long_double): Likewise.
23185         (EXCEPTION_TESTS): Likewise.
23186         * math/libm-test.inc (test_exceptions): Only test exceptions if
23187         EXCEPTION_TESTS (FLOAT).
23188
23189 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
23190
23191         * benchtests/Makefile (string-bench): Add strcpy_chk and
23192         stpcpy_chk.
23193         * benchtests/bench-stpcpy_chk-ifunc.c: New file.
23194         * benchtests/bench-stpcpy_chk.c: New file.
23195         * benchtests/bench-strcpy_chk-ifunc.c: New file.
23196         * benchtests/bench-strcpy_chk.c: New file.
23197         * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
23198         code.
23199         (do_test): Likewise.
23200
23201 2013-06-11  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
23202
23203         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
23204         ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
23205         * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
23206         with tabs where appropriate.
23207         [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
23208         dl-procinfo.h.
23209         [PPC_PLATFORM_PPC440]: Likewise.
23210         [PPC_PLATFORM_PPC464]: Likewise.
23211         [PPC_PLATFORM_PPC476]: Likewise.
23212         (_dl_string_platform): Add support for detecting ppc405, ppc440,
23213         ppc464, and ppc476 platform strings merging from ports/
23214         dl-procinfo.h.
23215
23216 2013-06-11  Andreas Schwab  <schwab@suse.de>
23217
23218         [BZ #14991]
23219         * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
23220         (from_ucs4_idx): Regenerate.
23221         (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
23222         (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
23223         (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
23224         (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
23225         (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
23226         (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
23227         (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
23228         (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
23229         from FROM_LOOP and TO_LOOP specific macros.
23230         (BODY): Handle combining characters.
23231         * iconvdata/BIG5HKSCS.irreversible: Update.
23232         * iconvdata/BIG5HKSCS.precomposed: New file.
23233         * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
23234         characters.
23235         * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
23236
23237 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
23238
23239         * include/sys/time.h: Fix indentation and add copyright header.
23240
23241         * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
23242         (do_test): Likewise.
23243         * string/test-memchr.c (do_one_test): Likewise.
23244         (do_test): Likewise.
23245         * string/test-memcmp.c (do_one_test): Likewise.
23246         (do_test): Likewise.
23247         * string/test-memcpy.c (do_one_test): Likewise.
23248         (do_test): Likewise.
23249         * string/test-memmem.c (do_one_test): Likewise.
23250         (do_test): Likewise.
23251         (do_random_tests): Likewise.
23252         * string/test-memmove.c (do_one_test): Likewise.
23253         (do_test): Likewise.
23254         * string/test-memset.c (do_one_test): Likewise.
23255         (do_test): Likewise.
23256         * string/test-rawmemchr.c (do_one_test): Likewise.
23257         (do_test): Likewise.
23258         * string/test-strcasecmp.c (do_one_test): Likewise.
23259         (do_test): Likewise.
23260         * string/test-strcasestr.c (do_one_test): Likewise.
23261         (do_test): Likewise.
23262         * string/test-strcat.c (do_one_test): Likewise.
23263         (do_test): Likewise.
23264         * string/test-strchr.c (do_one_test): Likewise.
23265         (do_test): Likewise.
23266         * string/test-strcmp.c (do_one_test): Likewise.
23267         (do_test): Likewise.
23268         * string/test-strcpy.c (do_one_test): Likewise.
23269         (do_test): Likewise.
23270         * string/test-string.h: Likewise.
23271         (test_init): Likewise.
23272         * string/test-strlen.c (do_one_test): Likewise.
23273         (do_test): Likewise.
23274         * string/test-strncasecmp.c (do_one_test): Likewise.
23275         (do_test): Likewise.
23276         * string/test-strncat.c (do_one_test): Likewise.
23277         (do_test): Likewise.
23278         * string/test-strncmp.c (do_one_test): Likewise.
23279         (do_test_limit): Likewise.
23280         (do_test): Likewise.
23281         * string/test-strncpy.c (do_one_test): Likewise.
23282         (do_test): Likewise.
23283         * string/test-strnlen.c (do_one_test): Likewise.
23284         (do_test): Likewise.
23285         * string/test-strpbrk.c (do_one_test): Likewise.
23286         (do_test): Likewise.
23287         * string/test-strrchr.c (do_one_test): Likewise.
23288         (do_test): Likewise.
23289         * string/test-strspn.c (do_one_test): Likewise.
23290         (do_test): Likewise.
23291         * string/test-strstr.c (do_one_test): Likewise.
23292         (do_test): Likewise.
23293
23294         * benchtests/Makefile (string-bench): Add string benchmarks.
23295         * benchtests/bench-bcopy-ifunc.c: New file.
23296         * benchtests/bench-bcopy.c: New file.
23297         * benchtests/bench-bzero-ifunc.c: New file.
23298         * benchtests/bench-bzero.c: New file.
23299         * benchtests/bench-memccpy-ifunc.c: New file.
23300         * benchtests/bench-memccpy.c: New file.
23301         * benchtests/bench-memchr-ifunc.c: New file.
23302         * benchtests/bench-memchr.c: New file.
23303         * benchtests/bench-memcmp-ifunc.c: New file.
23304         * benchtests/bench-memcmp.c: New file.
23305         * benchtests/bench-memmem-ifunc.c: New file.
23306         * benchtests/bench-memmem.c: New file.
23307         * benchtests/bench-memmove-ifunc.c: New file.
23308         * benchtests/bench-memmove.c: New file.
23309         * benchtests/bench-mempcpy-ifunc.c: New file.
23310         * benchtests/bench-mempcpy.c: New file.
23311         * benchtests/bench-memset-ifunc.c: New file.
23312         * benchtests/bench-memset.c: New file.
23313         * benchtests/bench-rawmemchr-ifunc.c: New file.
23314         * benchtests/bench-rawmemchr.c: New file.
23315         * benchtests/bench-stpcpy-ifunc.c: New file.
23316         * benchtests/bench-stpcpy.c: New file.
23317         * benchtests/bench-stpncpy-ifunc.c: New file.
23318         * benchtests/bench-stpncpy.c: New file.
23319         * benchtests/bench-strcasecmp-ifunc.c: New file.
23320         * benchtests/bench-strcasecmp.c: New file.
23321         * benchtests/bench-strcasestr-ifunc.c: New file.
23322         * benchtests/bench-strcasestr.c: New file.
23323         * benchtests/bench-strcat-ifunc.c: New file.
23324         * benchtests/bench-strcat.c: New file.
23325         * benchtests/bench-strchr-ifunc.c: New file.
23326         * benchtests/bench-strchr.c: New file.
23327         * benchtests/bench-strchrnul-ifunc.c: New file.
23328         * benchtests/bench-strchrnul.c: New file.
23329         * benchtests/bench-strcmp-ifunc.c: New file.
23330         * benchtests/bench-strcmp.c: New file.
23331         * benchtests/bench-strcpy-ifunc.c: New file.
23332         * benchtests/bench-strcpy.c: New file.
23333         * benchtests/bench-strcspn-ifunc.c: New file.
23334         * benchtests/bench-strcspn.c: New file.
23335         * benchtests/bench-strlen-ifunc.c: New file.
23336         * benchtests/bench-strlen.c: New file.
23337         * benchtests/bench-strncasecmp-ifunc.c: New file.
23338         * benchtests/bench-strncasecmp.c: New file.
23339         * benchtests/bench-strncat-ifunc.c: New file.
23340         * benchtests/bench-strncat.c: New file.
23341         * benchtests/bench-strncmp-ifunc.c: New file.
23342         * benchtests/bench-strncmp.c: New file.
23343         * benchtests/bench-strncpy-ifunc.c: New file.
23344         * benchtests/bench-strncpy.c: New file.
23345         * benchtests/bench-strnlen-ifunc.c: New file.
23346         * benchtests/bench-strnlen.c: New file.
23347         * benchtests/bench-strpbrk-ifunc.c: New file.
23348         * benchtests/bench-strpbrk.c: New file.
23349         * benchtests/bench-strrchr-ifunc.c: New file.
23350         * benchtests/bench-strrchr.c: New file.
23351         * benchtests/bench-strspn-ifunc.c: New file.
23352         * benchtests/bench-strspn.c: New file.
23353         * benchtests/bench-strstr-ifunc.c: New file.
23354         * benchtests/bench-strstr.c: New file.
23355
23356         * benchtests/Makefile: Disable parallel execution of targets.
23357         (string-bench): Add memcpy.
23358         (benchset): New variable to store a list of benchmark sets.
23359         (bench-func): Renamed from bench.
23360         (bench-set): New target.
23361         (bench): Depend on bench-func and bench-set.
23362         * benchtests/README: Add section on benchmark sets.
23363         * benchtests/bench-memcpy-ifunc.c: New file.
23364         * benchtests/bench-memcpy.c: New file.
23365         * benchtests/bench-string.h: New file.
23366
23367 2013-06-11  Andreas Schwab  <schwab@suse.de>
23368
23369         [BZ #15577]
23370         * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
23371         * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
23372         values in the triple.
23373         * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
23374         terminator in the group key.
23375
23376 2013-06-11  Andreas Jaeger  <aj@suse.de>
23377
23378         * po/zh_TW.po: Update Chinese (traditional) translation from
23379         translation project.
23380
23381 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
23382
23383         * include/time.h (__clock_gettime): Add libc_hidden_proto.
23384         * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
23385         __clock_getcpuclockid.  Add weak_alias and libc_hidden_def.
23386         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
23387         (clock_getcpuclockid): Likewise.
23388         * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
23389         Add weak_alias and libc_hidden_def.
23390         * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
23391         * rt/clock_gettime.c (clock_gettime): Rename to
23392         __clock_gettime.  Add weak_alias and libc_hidden_def.
23393         * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
23394         * rt/clock_nanosleep.c (clock_nanosleep): Rename to
23395         __clock_nanosleep.  Add weak_alias and libc_hidden_def.
23396         * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
23397         * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
23398         Likewise.
23399         * rt/clock_settime.c (clock_settime): Rename to
23400         __clock_settime.  Add weak_alias and libc_hidden_def.
23401         * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
23402
23403 2013-06-10  Joseph Myers  <joseph@codesourcery.com>
23404
23405         * mach/err_boot.sub: Remove trailing whitespace.
23406         * mach/err_ipc.sub: Likewise.
23407         * mach/err_mach.sub: Likewise.
23408
23409         * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
23410         (ROUNDING_TESTS_double): Likewise.
23411         (ROUNDING_TESTS_long_double): Likewise.
23412         (ROUNDING_TESTS): Likewise.
23413         * math/libm-test.inc: Include <math-tests.h>.
23414         (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
23415         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
23416         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
23417         (IF_ROUND_INIT_FE_UPWARD): Likewise.
23418
23419 2013-06-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
23420
23421         * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
23422         of assigning.
23423
23424 2013-06-08  Joseph Myers  <joseph@codesourcery.com>
23425
23426         * sysdeps/gnu/errlist.awk: Do not generate space at end of
23427         otherwise empty TRANS lines.
23428         * sysdeps/gnu/errlist.c: Regenerated.
23429
23430         * catgets/gencat.c (error_print): Use (void) in function
23431         definition.
23432         * crypt/crypt_util.c (__init_des): Likewise.
23433         * crypt/speeds.c (Stop): Likewise.
23434         (main): Likewise.
23435         * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
23436         * inet/ruserpass.c (token): Likewise.
23437         * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
23438         * intl/localealias.c (extend_alias_table): Likewise.
23439         * intl/plural-exp.c (init_germanic_plural): Likewise.
23440         * libio/fcloseall.c (__fcloseall): Likewise.
23441         * libio/genops.c (_IO_flush_all): Likewise.
23442         (_IO_flush_all_linebuffered): Likewise.
23443         (_IO_cleanup): Likewise.
23444         (_IO_iter_begin): Likewise.
23445         (_IO_iter_end): Likewise.
23446         (_IO_list_lock): Likewise.
23447         (_IO_list_unlock): Likewise.
23448         (_IO_list_resetlock): Likewise.
23449         * libio/getchar.c (getchar): Likewise.
23450         * libio/getchar_u.c (getchar_unlocked): Likewise.
23451         * libio/getwchar.c (getwchar): Likewise.
23452         * libio/getwchar_u.c (getwchar_unlocked): Likewise.
23453         * libio/oldstdfiles.c (_IO_check_libio): Likewise.
23454         * login/getpt.c (__getpt): Likewise.
23455         * login/tst-utmp.c (main): Likewise.
23456         * malloc/hooks.c (__malloc_check_init): Likewise.
23457         * malloc/malloc.c (__malloc_stats): Likewise.
23458         * malloc/mtrace.c (tr_break): Likewise.
23459         (mtrace): Likewise.
23460         (muntrace): Likewise.
23461         * misc/fstab.c (endfsent): Likewise.
23462         * misc/getclktck.c (__getclktck): Likewise.
23463         * misc/getdtsz.c (__getdtablesize): Likewise.
23464         * misc/gethostid.c (gethostid): Likewise.
23465         * misc/getpagesize.c (__getpagesize): Likewise.
23466         * misc/getsysstats.c (__get_nprocs_conf): Likewise.
23467         (__get_nprocs): Likewise.
23468         (__get_phys_pages): Likewise.
23469         (__get_avphys_pages): Likewise.
23470         * misc/getttyent.c (getttyent): Likewise.
23471         (setttyent): Likewise.
23472         (endttyent): Likewise.
23473         * misc/getusershell.c (getusershell): Likewise.
23474         (endusershell): Likewise.
23475         (setusershell): Likewise.
23476         (initshells): Likewise.
23477         * misc/hsearch.c (__hdestroy): Likewise.
23478         * misc/sync.c (sync): Likewise.
23479         * misc/syslog.c (closelog_internal): Likewise.
23480         (closelog): Likewise.
23481         * misc/ttyslot.c (ttyslot): Likewise.
23482         * misc/vhangup.c (vhangup): Likewise.
23483         * posix/fork.c (__fork): Likewise.
23484         * posix/getegid.c (__getegid): Likewise.
23485         * posix/geteuid.c (__geteuid): Likewise.
23486         * posix/getgid.c (__getgid): Likewise.
23487         * posix/getpid.c (__getpid): Likewise.
23488         * posix/getppid.c (__getppid): Likewise.
23489         * posix/getuid.c (__getuid): Likewise.
23490         * posix/pause.c (pause): Likewise.
23491         * posix/setpgrp.c (setpgrp): Likewise.
23492         * posix/setsid.c (__setsid): Likewise.
23493         * posix/test-vfork.c (noop): Likewise.
23494         * resolv/gethnamaddr.c (_endhtent): Likewise.
23495         (_gethtent): Likewise.
23496         (ht_endhostent): Likewise.
23497         (gethostent): Likewise.
23498         (dns_service): Likewise.
23499         * stdlib/drand48.c (drand48): Likewise.
23500         * stdlib/lrand48.c (lrand48): Likewise.
23501         * stdlib/mrand48.c (mrand48): Likewise.
23502         * stdlib/rand.c (rand): Likewise.
23503         * stdlib/random.c (__random): Likewise.
23504         * stdlib/setenv.c (clearenv): Likewise.
23505         * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
23506         * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
23507         * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
23508         * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
23509         (__get_nprocs): Likewise.
23510         (__get_phys_pages): Likewise.
23511         (__get_avphys_pages): Likewise.
23512         * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
23513         * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
23514         * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
23515         * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
23516         * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
23517         * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
23518         * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
23519         * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
23520         * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
23521         * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
23522         * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
23523         * sysdeps/mach/hurd/sync.c (sync): Likewise.
23524         * sysdeps/posix/clock.c (clock): Likewise.
23525         * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
23526         * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
23527         * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
23528         * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
23529         * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
23530         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
23531         (__get_nprocs_conf): Likewise.
23532         (__get_phys_pages): Likewise.
23533         (__get_avphys_pages): Likewise.
23534         * time/clock.c (clock): Likewise.
23535         * time/tzset.c (__tzname_max): Likewise.
23536
23537 2013-06-07  Joseph Myers  <joseph@codesourcery.com>
23538
23539         * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
23540         (__bswap_32): Do not use "register".
23541         * crypt/crypt.c (_ufc_doit_r): Likewise.
23542         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
23543         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
23544         * gmon/gmon.c (__monstartup): Likewise.
23545         * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
23546         * hurd/hurdmalloc.c (more_memory): Likewise.
23547         (malloc): Likewise.
23548         (free): Likewise.
23549         (realloc): Likewise.
23550         (malloc_fork_prepare): Likewise.
23551         (malloc_fork_parent): Likewise.
23552         (malloc_fork_child): Likewise.
23553         * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
23554         (_svcauth_des): Likewise.
23555         * inet/inet_lnaof.c (inet_lnaof): Likewise.
23556         * inet/inet_net.c (inet_network): Likewise.
23557         * inet/inet_netof.c (inet_netof): Likewise.
23558         * inet/rcmd.c (__validuser2_sa): Likewise.
23559         * io/fts.c (fts_open): Likewise.
23560         (fts_load): Likewise.
23561         (fts_close): Likewise.
23562         (fts_read): Likewise.
23563         (fts_children): Likewise.
23564         (fts_build): Likewise.
23565         (fts_stat): Likewise.
23566         (fts_sort): Likewise.
23567         (fts_alloc): Likewise.
23568         (fts_lfree): Likewise.
23569         * libio/fileops.c (_IO_new_file_xsputn): Likewise.
23570         (_IO_file_xsgetn): Likewise.
23571         (_IO_file_xsgetn_mmap): Likewise.
23572         * libio/iofopncook.c (_IO_cookie_read): Likewise.
23573         (_IO_cookie_write): Likewise.
23574         * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
23575         * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
23576         * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
23577         * malloc/obstack.c (_obstack_begin): Likewise.
23578         (_obstack_begin_1): Likewise.
23579         (_obstack_newchunk): Likewise.
23580         (_obstack_allocated_p): Likewise.
23581         (obstack_free): Likewise.
23582         (_obstack_memory_used): Likewise.
23583         * misc/getttyent.c (getttynam): Likewise.
23584         (getttyent): Likewise.
23585         (skip): Likewise.
23586         (value): Likewise.
23587         * misc/getusershell.c (initshells): Likewise.
23588         * misc/syslog.c (__vsyslog_chk): Likewise.
23589         * misc/ttyslot.c (ttyslot): Likewise.
23590         * nis/nis_hash.c (__nis_hash): Likewise.
23591         * posix/fnmatch_loop.c (FCT): Likewise.
23592         * posix/getconf.c (print_all): Likewise.
23593         (main): Likewise.
23594         * posix/getopt.c (exchange): Likewise.
23595         * posix/glob.c (globfree): Likewise.
23596         (prefix_array): Likewise.
23597         (__glob_pattern_type): Likewise.
23598         * resolv/arpa/nameser.h (NS_GET16): Likewise.
23599         (NS_GET32): Likewise.
23600         (NS_PUT16): Likewise.
23601         (NS_PUT32): Likewise.
23602         * resolv/gethnamaddr.c (getanswer): Likewise.
23603         (gethostbyname2): Likewise.
23604         (gethostbyaddr): Likewise.
23605         (_gethtent): Likewise.
23606         (_gethtbyname2): Likewise.
23607         (_gethtbyaddr): Likewise.
23608         * resolv/ns_print.c (dst_s_get_int16): Likewise.
23609         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
23610         * resolv/res_init.c (__res_vinit): Likewise.
23611         (net_mask): Likewise.
23612         * resolv/res_mkquery.c (outchar): Likewise.
23613         (PRINT): Likewise.
23614         * stdio-common/printf_fp.c (outchar): Likewise.
23615         (PRINT): Likewise.
23616         * stdio-common/printf_fphex.c (outchar): Likewise.
23617         (PRINT): Likewise.
23618         * stdio-common/printf_size.c (outchar): Likewise.
23619         (PRINT): Likewise.
23620         * stdio-common/test_rdwr.c (main): Likewise.
23621         * stdio-common/tfformat.c (matches): Likewise.
23622         * stdio-common/vfprintf.c (outchar): Likewise.
23623         (printf_unknown): Likewise.
23624         (buffered_vfprintf): Likewise.
23625         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
23626         * stdio-common/xbug.c (AppendToBuffer): Likewise.
23627         (ReadFile): Likewise.
23628         * stdlib/qsort.c (SWAP): Likewise.
23629         (_quicksort): Likewise.
23630         * stdlib/setenv.c (__add_to_environ): Likewise.
23631         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
23632         * stdlib/strtol_l.c (__strtol_l): Likewise.
23633         * stdlib/tst-strtod.c (main): Likewise.
23634         * stdlib/tst-strtol.c (main): Likewise.
23635         * stdlib/tst-strtoll.c (main): Likewise.
23636         * string/bits/string2.h (__strcmp_cc): Likewise.
23637         (__strcmp_cg): Likewise.
23638         (__strcspn_c1): Likewise.
23639         (__strcspn_c2): Likewise.
23640         (__strcspn_c3): Likewise.
23641         (__strspn_c1): Likewise.
23642         (__strspn_c2): Likewise.
23643         (__strspn_c3): Likewise.
23644         (__strsep_1c): Likewise.
23645         (__strsep_2c): Likewise.
23646         (__strsep_3c): Likewise.
23647         * string/memccpy.c (__memccpy): Likewise.
23648         * string/stpcpy.c (__stpcpy): Likewise.
23649         * string/strcmp.c (strcmp): Likewise.
23650         * string/strrchr.c (strrchr): Likewise.
23651         * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
23652         Likewise.
23653         * sysdeps/mach/hurd/getcwd.c
23654         (_hurd_canonicalize_directory_name_internal): Likewise.
23655         * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
23656         * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
23657         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
23658         * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
23659         Likewise, in both definitions.
23660         * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
23661         definitions.
23662         [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
23663         64] (__bswap_64): Likewise.
23664         * time/test_time.c (main): Likewise.
23665         * time/tzfile.c (__tzfile_read): Likewise.
23666         (__tzfile_compute): Likewise.
23667         * time/tzset.c (__tzset_parse_tz): Likewise.
23668         (tzset_internal): Likewise.
23669         (compute_change): Likewise.
23670         * wcsmbs/wcscat.c (__wcscat): Likewise.
23671         * wcsmbs/wcschr.c (wcschr): Likewise.
23672         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
23673         * wcsmbs/wcscspn.c (wcscspn): Likewise.
23674         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
23675         * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
23676         * wcsmbs/wcsspn.c (wcsspn): Likewise.
23677         * wcsmbs/wcsstr.c (wcsstr): Likewise.
23678         * wcsmbs/wmemchr.c (wmemchr): Likewise.
23679         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
23680         * wcsmbs/wmemset.c (wmemset): Likewise.
23681
23682 2013-06-06  Joseph Myers  <joseph@codesourcery.com>
23683
23684         * scripts/config.guess: Update to version 2013-05-16.
23685         * scripts/config.sub: Update to version 2013-04-24.
23686         * scripts/install-sh: Update to version 2011-11-20.07.
23687         * scripts/mkinstalldirs: Update to version 2009-04-28.21.
23688         * scripts/move-if-change: Update to version 2012-01-06 07:23.
23689
23690 2013-06-06   Ondřej Bílka  <neleai@seznam.cz>
23691
23692         * debug/fgetws_u_chk.c: Fix leading whitespaces.
23693         * elf/sln.c: Likewise.
23694         * hurd/hurd/ioctl.h: Likewise.
23695         * hurd/hurdmalloc.c: Likewise.
23696         * hurd/xattr.c: Likewise.
23697         * include/shlib-compat.h: Likewise.
23698         * inet/ruserpass.c: Likewise.
23699         * libio/iofgets_u.c: Likewise.
23700         * libio/iofgetws_u.c: Likewise.
23701         * locale/programs/ld-identification.c: Likewise.
23702         * locale/programs/ld-time.c: Likewise.
23703         * mach/msg-destroy.c: Likewise.
23704         * nss/nss_files/files-netgrp.c: Likewise.
23705         * resolv/res_data.c: Likewise.
23706         * soft-fp/op-1.h: Likewise.
23707         * soft-fp/op-2.h: Likewise.
23708         * soft-fp/op-4.h: Likewise.
23709         * soft-fp/op-common.h: Likewise.
23710         * stdio-common/printf_fphex.c: Likewise.
23711         * stdlib/strtod_l.c: Likewise.
23712         * sunrpc/rpc/clnt.h: Likewise.
23713         * sysdeps/generic/framestate.c: Likewise.
23714         * sysdeps/i386/bsd-_setjmp.S: Likewise.
23715         * sysdeps/i386/bsd-setjmp.S: Likewise.
23716         * sysdeps/i386/__longjmp.S: Likewise.
23717         * sysdeps/i386/setjmp.S: Likewise.
23718         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
23719         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
23720         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
23721         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
23722         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
23723         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
23724         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
23725         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
23726         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
23727         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
23728         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
23729         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
23730         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
23731         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
23732         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
23733         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
23734         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
23735         * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
23736         * sysdeps/ieee754/support.c: Likewise.
23737         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
23738         * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
23739         * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
23740         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
23741         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
23742         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
23743         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
23744         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
23745         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
23746         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
23747         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
23748         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
23749         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
23750         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
23751         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
23752         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
23753         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
23754         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
23755
23756 2013-06-05  Ondřej Bílka  <neleai@seznam.cz>
23757
23758         * posix/transbug.c: Remove executable mode.
23759
23760 2013-06-05  Joseph Myers  <joseph@codesourcery.com>
23761
23762         * crypt/speeds.c: Remove trailing whitespace.
23763         * dlfcn/default.c: Likewise.
23764         * elf/ifuncdep2.c: Likewise.
23765         * elf/ifuncmain1.c: Likewise.
23766         * elf/ifuncmain1vis.c: Likewise.
23767         * elf/testobj.h: Likewise.
23768         * elf/tst-stackguard1.c: Likewise.
23769         * gmon/sys/gmon.h: Likewise.
23770         * hurd/hurdmsg.c: Likewise.
23771         * hurd/new-fd.c: Likewise.
23772         * hurd/ports-get.c: Likewise.
23773         * iconvdata/ibm1008_420.c: Likewise.
23774         * inet/tst-getni1.c: Likewise.
23775         * inet/tst-getni2.c: Likewise.
23776         * libio/ioungetc.c: Likewise.
23777         * libio/wfiledoalloc.c: Likewise.
23778         * manual/libm-err-tab.pl: Likewise.
23779         * math/w_dremf.c: Likewise.
23780         * misc/ftruncate.c: Likewise.
23781         * posix/bug-glob2.c: Likewise.
23782         * posix/tst-pcre.c: Likewise.
23783         * posix/wait4.c: Likewise.
23784         * resolv/README: Likewise.
23785         * resolv/res_debug.h: Likewise.
23786         * resolv/tst-inet_ntop.c: Likewise.
23787         * setjmp/bug269-setjmp.c: Likewise.
23788         * soft-fp/extended.h: Likewise.
23789         * soft-fp/op-1.h: Likewise.
23790         * soft-fp/op-2.h: Likewise.
23791         * soft-fp/op-4.h: Likewise.
23792         * soft-fp/op-8.h: Likewise.
23793         * soft-fp/testit.c: Likewise.
23794         * stdio-common/bug16.c: Likewise.
23795         * stdlib/random.c: Likewise.
23796         * sunrpc/rpcsvc/rquota.x: Likewise.
23797         * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
23798         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
23799         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
23800         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
23801         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
23802         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
23803         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
23804         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
23805         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
23806         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
23807         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
23808         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
23809         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
23810         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
23811         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
23812         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
23813         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
23814         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
23815         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
23816         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
23817         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
23818         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
23819         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
23820         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
23821         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
23822         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
23823         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
23824         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
23825         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
23826         * sysdeps/ieee754/s_lib_version.c: Likewise.
23827         * sysdeps/mach/hurd/check_fds.c: Likewise.
23828         * sysdeps/mach/hurd/getsockname.c: Likewise.
23829         * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
23830         * sysdeps/mach/hurd/recvfrom.c: Likewise.
23831         * sysdeps/powerpc/bits/link.h: Likewise.
23832         * sysdeps/powerpc/dl-procinfo.c: Likewise.
23833         * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
23834         * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
23835         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
23836         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
23837         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
23838         * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
23839         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
23840         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
23841         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
23842         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
23843         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
23844         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
23845         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
23846         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
23847         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
23848         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
23849         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
23850         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
23851         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
23852         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
23853         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
23854         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
23855         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
23856         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
23857         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
23858         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
23859         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
23860         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
23861         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
23862         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
23863         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
23864         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
23865         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
23866         * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
23867         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
23868         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
23869         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
23870         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
23871         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
23872         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
23873         * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
23874         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
23875         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
23876         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
23877         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
23878         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
23879         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
23880         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
23881         * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
23882         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
23883         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
23884         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
23885         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
23886         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
23887         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
23888         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
23889         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
23890         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
23891         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
23892         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
23893         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
23894         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
23895         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
23896         * sysdeps/powerpc/sysdep.h: Likewise.
23897         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
23898         * sysdeps/s390/s390-64/sub_n.S: Likewise.
23899         * sysdeps/sh/dl-trampoline.S: Likewise.
23900         * sysdeps/sh/memset.S: Likewise.
23901         * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
23902         * sysdeps/sh/strlen.S: Likewise.
23903         * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
23904         * sysdeps/sparc/sparc32/dotmul.S: Likewise.
23905         * sysdeps/sparc/sparc32/memcpy.S: Likewise.
23906         * sysdeps/sparc/sparc32/rem.S: Likewise.
23907         * sysdeps/sparc/sparc32/sdiv.S: Likewise.
23908         * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
23909         * sysdeps/sparc/sparc32/strchr.S: Likewise.
23910         * sysdeps/sparc/sparc32/udiv.S: Likewise.
23911         * sysdeps/sparc/sparc32/urem.S: Likewise.
23912         * sysdeps/sparc/sparc64/add_n.S: Likewise.
23913         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
23914         * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
23915         * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
23916         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
23917         * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
23918         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
23919         * sysdeps/sparc/sparc64/strncpy.S: Likewise.
23920         * sysdeps/unix/bsd/times.c: Likewise.
23921         * sysdeps/unix/sysv/linux/a.out.h: Likewise.
23922         * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
23923         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
23924         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
23925         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
23926         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
23927         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
23928         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
23929         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
23930         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
23931         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
23932         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
23933         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
23934         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
23935         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
23936         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
23937         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
23938         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
23939         * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
23940         * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
23941         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
23942         * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
23943         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
23944         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
23945         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
23946         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
23947         * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
23948         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
23949         * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
23950         * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
23951         * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
23952         * sysdeps/x86_64/strcspn.S: Likewise.
23953
23954 2013-06-05  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
23955
23956         * locale/C-translit.h: Revert #include <stdint.h> because this is a
23957         generated file.  Regenerate properly from gen-translit.pl.
23958         * locale/gen-translit.pl: Add #include <stdint.h>.  This generates
23959         locale/C-translit.h.
23960
23961 2013-06-05  Andreas Schwab  <schwab@suse.de>
23962
23963         [BZ #15100]
23964         * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
23965         week as 6 instead of -1.
23966         * time/tst-strptime.c (day_tests): Add test case.
23967
23968 2013-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
23969
23970         * sysdeps/generic/math_private.h
23971         (libc_feholdexcept_setround_53bit): Replace with
23972         libc_feholdsetround_53bit.
23973         (libc_feupdateenv_53bit): Replace with
23974         libc_feresetround_53bit.
23975         (SET_RESTORE_ROUND_53BIT): Adjust.
23976
23977 2013-06-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
23978
23979         * string/test-strchrnul.c: Add copyright header.
23980
23981         * posix/tst-getaddrinfo4.c: Increase test timeout.
23982
23983 2013-06-03  Carlos O'Donell  <carlos@redhat.com>
23984
23985         [BZ #15536]
23986         * math/libm-test.inc (MAX_EXP): Remove
23987         (MIN_EXP): Define.
23988         (ulp): Use MIN_EXP - MANT_DIG.
23989         (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
23990
23991 2013-05-31  Carlos O'Donell  <carlos@redhat.com>
23992
23993         * po/be.po: Revert last change.
23994         * po/zh_CN.po: Likewise.
23995         * po/header.pot: Likewise.
23996
23997 2013-05-31  Joseph Myers  <joseph@codesourcery.com>
23998
23999         * Makefile ($(common-objpfx)linkobj/libc.so): Define
24000         link-libc-deps to empty as target-specific variable.
24001         * Makerules (link-libc-args): New variable.
24002         (libc-for-link): Likewise.
24003         (link-libc-deps): Likewise.
24004         (lib%.so): Depend on $(link-libc-deps).  Link with
24005         $(link-libc-args).
24006         (build-module): Link with $(link-libc-args).
24007         (build-module-asneeded): Likewise.
24008         (build-module-helper-objlist): Filter out $(link-libc-deps) from
24009         list of objects.
24010         ($(common-objpfx)libc.so): Define link-libc-deps to empty as
24011         target-specific variable.
24012         ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
24013         $(link-libc-deps) instead of libc.so and libc_nonshared.a.
24014         * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
24015         libc.
24016         * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
24017         libc and ld.so.
24018         ($(objpfx)libpcprofile.so): Likewise.
24019         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
24020         libc_nonshared.a.
24021         ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
24022         * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
24023         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
24024         $(link-libc-deps).
24025         ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
24026         * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
24027         * login/Makefile ($(objpfx)libutil.so): Likewise.
24028         * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
24029         * math/Makefile ($(objpfx)libm.so): Likewise.
24030         * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
24031         $(objpfx)libnsl.so): Define libc-for-link as target-specific
24032         variable instead of depending directly on libc.
24033         * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
24034         ($(objpfx)/libnss_test1.so): Change dependencies on libc to
24035         $(link-libc-deps).
24036         * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
24037         libc.
24038         [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
24039         ($(objpfx)libnss_dns.so): Remove dependencies on libc.
24040         ($(objpfx)libanl.so): Likewise.
24041         * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
24042         ld.so.
24043         * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
24044         $(link-libc-deps).
24045         * sysdeps/i386/fpu/Makefile: Remove file.
24046         * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
24047         ($(objpfx)libm.so): Remove dependency on ld.so.
24048
24049 2013-05-30  Patsy Franklin  <pfrankli@redhat.com>
24050
24051         [BZ # 15553]
24052         * nis/yp_xdr.c (XDRMAXNAME): Define.
24053         (XDRMAXRECORD): Define.
24054         (xdr_domainname): Use XDRMAXNAME.
24055         (xdr_mapname): Likewise.
24056         (xdr_peername): Likewise.
24057         (xdr_keydat): Use XDRMAXRECORD.
24058         (xdr_valdat): Likewise.
24059
24060 2013-05-30  Jeff Law  <law@redhat.com>
24061
24062         [BZ #14256]
24063         * manual/errno.texi (ESTALE): Update to account for more than
24064         just NFS file systems.
24065         * sysdeps/gnu/errlist.c: Regenerated.
24066
24067 2013-05-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
24068
24069         [BZ #15465]
24070         * elf/Makefile (tests): Add tst-null-argv.
24071         (modules-names):  Add tst-null-argv-lib.
24072         ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
24073         (tst-null-argv-ENV): Set environment for tst-null-argv.
24074         * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
24075         (RTLD_PROGNAME): New macro.
24076         * elf/tst-null-argv.c: New test case.
24077         * elf/tst-null-argv-lib.c: Library for test case.
24078         * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
24079         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
24080         * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
24081         * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
24082         * elf/dl-init.c (call_init): Likewise.
24083         (_dl_init): Likewise.
24084         * elf/dl-load.c (print_search_path): Likewise.
24085         (_dl_map_object): Likewise.
24086         * elf/dl-lookup.c (do_lookup_x): Likewise.
24087         (add_dependency): Likewise.
24088         (_dl_lookup_symbol_x): Likewise.
24089         (_dl_debug_bindings): Likewise.
24090         * elf/dl-open.c (_dl_show_scope): Likewise.
24091         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
24092         * elf/dl-version.c (match_symbol): Likewise.
24093         (_dl_check_map_versions): Likewise.
24094         * elf/rtld.c (dl_main): Likewise.
24095         (print_unresolved): Use RTLD_PROGNAME.
24096         (print_missing_version): Likewise.
24097         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
24098         (elf_machine_rela): Likewise.
24099         * sysdeps/powerpc/powerpc32/dl-machine.c
24100         (__process_machine_rela): Likewise.
24101         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
24102         Likewise.
24103         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
24104         Likewise.
24105         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
24106         Likewise.
24107         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
24108         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
24109         Likewise.
24110         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
24111         Likewise.
24112         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
24113
24114 2013-05-28  Carlos O'Donell  <carlos@redhat.com>
24115
24116         * po/be.po: Add descriptive title.
24117         * po/zh_CN.po: Likewise.
24118         * po/header.pot: Likewise.
24119
24120 2013-05-28  Mike Frysinger  <vapier@gentoo.org>
24121
24122         * locale/programs/locarchive.c (create_archive): Inlucde fname in
24123         error message.
24124         (enlarge_archive): Likewise.
24125
24126 2013-05-28  Ben North  <ben@redfrontdoor.org>
24127
24128         * manual/arith.texi (frexp): It is the magnitude of the return
24129         value which lies in [0.5, 1), not the return value itself.
24130
24131 2013-05-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24132
24133         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24134
24135 2013-05-26  Thomas Schwinge  <thomas@codesourcery.com>
24136
24137         * stdio-common/bug26.c (main): Correct fscanf template.
24138
24139         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
24140         declare _dl_skip_args.
24141
24142         * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
24143         Don't declare.
24144
24145         * manual/platform.texi: Add missing @end deftypefun.
24146
24147 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
24148
24149         [BZ #15529]
24150         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
24151         bit of mantissa of 2^16382.
24152         * math/libm-test.inc (hypot_test_data): Add more tests.
24153
24154         * math/libm-test.inc: Add drem and pow10 to list of tested
24155         functions.
24156         (pow10_test): New function.
24157         (drem_test): Likewise.
24158         (drem_test_tonearest): Likewise.
24159         (drem_test_towardzero): Likewise.
24160         (drem_test_downward): Likewise.
24161         (drem_test_upward): Likewise.
24162         (main): Call the new functions.
24163
24164         * math/libm-test.inc (finite_test_data): Remove.
24165         (finite_test): Run tests from isfinite_test_data.
24166         (gamma_test_data): Remove.
24167         (gamma_test): Run tests from lgamma_test_data.
24168         * sysdeps/i386/fpu/libm-test-ulps: Update.
24169         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24170
24171 2013-05-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24172
24173         * manual/platform.texi: Add PowerPC PPR function set documentation.
24174         * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
24175         implementation.
24176
24177 2013-05-24  Carlos O'Donell  <carlos@redhat.com>
24178
24179         * math/libm-test.inc (MAX_EXP): Define.
24180         (ULPDIFF): Define.
24181         (ulp): New function.
24182         (check_float_internal): Use ULPDIFF.
24183         (cpow_test): Disable failing test.
24184         (check_ulp): Test ulp() implemetnation.
24185         (main): Call check_ulp before starting tests.
24186
24187 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
24188
24189         * math/gen-libm-test.pl (generate_testfile): Do not handle
24190         START_DATA and END_DATA.
24191         * math/libm-test.inc (acos_test_data): Do not use START_DATA and
24192         END_DATA.
24193         (acos_tonearest_test_data): Likewise.
24194         (acos_towardzero_test_data): Likewise.
24195         (acos_downward_test_data): Likewise.
24196         (acos_upward_test_data): Likewise.
24197         (acosh_test_data): Likewise.
24198         (asin_test_data): Likewise.
24199         (asin_tonearest_test_data): Likewise.
24200         (asin_towardzero_test_data): Likewise.
24201         (asin_downward_test_data): Likewise.
24202         (asin_upward_test_data): Likewise.
24203         (asinh_test_data): Likewise.
24204         (atan_test_data): Likewise.
24205         (atanh_test_data): Likewise.
24206         (atan2_test_data): Likewise.
24207         (cabs_test_data): Likewise.
24208         (cacos_test_data): Likewise.
24209         (cacosh_test_data): Likewise.
24210         (carg_test_data): Likewise.
24211         (casin_test_data): Likewise.
24212         (casinh_test_data): Likewise.
24213         (catan_test_data): Likewise.
24214         (catanh_test_data): Likewise.
24215         (cbrt_test_data): Likewise.
24216         (ccos_test_data): Likewise.
24217         (ccosh_test_data): Likewise.
24218         (ceil_test_data): Likewise.
24219         (cexp_test_data): Likewise.
24220         (cimag_test_data): Likewise.
24221         (clog_test_data): Likewise.
24222         (clog10_test_data): Likewise.
24223         (conj_test_data): Likewise.
24224         (copysign_test_data): Likewise.
24225         (cos_test_data): Likewise.
24226         (cos_tonearest_test_data): Likewise.
24227         (cos_towardzero_test_data): Likewise.
24228         (cos_downward_test_data): Likewise.
24229         (cos_upward_test_data): Likewise.
24230         (cosh_test_data): Likewise.
24231         (cosh_tonearest_test_data): Likewise.
24232         (cosh_towardzero_test_data): Likewise.
24233         (cosh_downward_test_data): Likewise.
24234         (cosh_upward_test_data): Likewise.
24235         (cpow_test_data): Likewise.
24236         (cproj_test_data): Likewise.
24237         (creal_test_data): Likewise.
24238         (csin_test_data): Likewise.
24239         (csinh_test_data): Likewise.
24240         (csqrt_test_data): Likewise.
24241         (ctan_test_data): Likewise.
24242         (ctan_tonearest_test_data): Likewise.
24243         (ctan_towardzero_test_data): Likewise.
24244         (ctan_downward_test_data): Likewise.
24245         (ctan_upward_test_data): Likewise.
24246         (ctanh_test_data): Likewise.
24247         (ctanh_tonearest_test_data): Likewise.
24248         (ctanh_towardzero_test_data): Likewise.
24249         (ctanh_downward_test_data): Likewise.
24250         (ctanh_upward_test_data): Likewise.
24251         (erf_test_data): Likewise.
24252         (erfc_test_data): Likewise.
24253         (exp_test_data): Likewise.
24254         (exp_tonearest_test_data): Likewise.
24255         (exp_towardzero_test_data): Likewise.
24256         (exp_downward_test_data): Likewise.
24257         (exp_upward_test_data): Likewise.
24258         (exp10_test_data): Likewise.
24259         (exp2_test_data): Likewise.
24260         (expm1_test_data): Likewise.
24261         (fabs_test_data): Likewise.
24262         (fdim_test_data): Likewise.
24263         (finite_test_data): Likewise.
24264         (floor_test_data): Likewise.
24265         (fma_test_data): Likewise.
24266         (fma_towardzero_test_data): Likewise.
24267         (fma_downward_test_data): Likewise.
24268         (fma_upward_test_data): Likewise.
24269         (fmax_test_data): Likewise.
24270         (fmin_test_data): Likewise.
24271         (fmod_test_data): Likewise.
24272         (fpclassify_test_data): Likewise.
24273         (frexp_test_data): Likewise.
24274         (gamma_test_data): Likewise.
24275         (hypot_test_data): Likewise.
24276         (ilogb_test_data): Likewise.
24277         (isfinite_test_data): Likewise.
24278         (isgreater_test_data): Likewise.
24279         (isgreaterequal_test_data): Likewise.
24280         (isinf_test_data): Likewise.
24281         (isless_test_data): Likewise.
24282         (islessequal_test_data): Likewise.
24283         (islessgreater_test_data): Likewise.
24284         (isnan_test_data): Likewise.
24285         (isnormal_test_data): Likewise.
24286         (issignaling_test_data): Likewise.
24287         (isunordered_test_data): Likewise.
24288         (j0_test_data): Likewise.
24289         (j1_test_data): Likewise.
24290         (jn_test_data): Likewise.
24291         (ldexp_test_data): Likewise.
24292         (lgamma_test_data): Likewise.
24293         (lrint_test_data): Likewise.
24294         (lrint_tonearest_test_data): Likewise.
24295         (lrint_towardzero_test_data): Likewise.
24296         (lrint_downward_test_data): Likewise.
24297         (lrint_upward_test_data): Likewise.
24298         (llrint_test_data): Likewise.
24299         (llrint_tonearest_test_data): Likewise.
24300         (llrint_towardzero_test_data): Likewise.
24301         (llrint_downward_test_data): Likewise.
24302         (llrint_upward_test_data): Likewise.
24303         (log_test_data): Likewise.
24304         (log10_test_data): Likewise.
24305         (log1p_test_data): Likewise.
24306         (log2_test_data): Likewise.
24307         (logb_test_data): Likewise.
24308         (logb_downward_test_data): Likewise.
24309         (lround_test_data): Likewise.
24310         (llround_test_data): Likewise.
24311         (modf_test_data): Likewise.
24312         (nearbyint_test_data): Likewise.
24313         (nextafter_test_data): Likewise.
24314         (nexttoward_test_data): Likewise.
24315         (pow_test_data): Likewise.
24316         (pow_tonearest_test_data): Likewise.
24317         (pow_towardzero_test_data): Likewise.
24318         (pow_downward_test_data): Likewise.
24319         (pow_upward_test_data): Likewise.
24320         (remainder_test_data): Likewise.
24321         (remainder_tonearest_test_data): Likewise.
24322         (remainder_towardzero_test_data): Likewise.
24323         (remainder_downward_test_data): Likewise.
24324         (remainder_upward_test_data): Likewise.
24325         (remquo_test_data): Likewise.
24326         (rint_test_data): Likewise.
24327         (rint_tonearest_test_data): Likewise.
24328         (rint_towardzero_test_data): Likewise.
24329         (rint_downward_test_data): Likewise.
24330         (rint_upward_test_data): Likewise.
24331         (round_test_data): Likewise.
24332         (scalb_test_data): Likewise.
24333         (scalbn_test_data): Likewise.
24334         (scalbln_test_data): Likewise.
24335         (signbit_test_data): Likewise.
24336         (sin_test_data): Likewise.
24337         (sin_tonearest_test_data): Likewise.
24338         (sin_towardzero_test_data): Likewise.
24339         (sin_downward_test_data): Likewise.
24340         (sin_upward_test_data): Likewise.
24341         (sincos_test_data): Likewise.
24342         (sinh_test_data): Likewise.
24343         (sinh_tonearest_test_data): Likewise.
24344         (sinh_towardzero_test_data): Likewise.
24345         (sinh_downward_test_data): Likewise.
24346         (sinh_upward_test_data): Likewise.
24347         (sqrt_test_data): Likewise.
24348         (tan_test_data): Likewise.
24349         (tan_tonearest_test_data): Likewise.
24350         (tan_towardzero_test_data): Likewise.
24351         (tan_downward_test_data): Likewise.
24352         (tan_upward_test_data): Likewise.
24353         (tanh_test_data): Likewise.
24354         (tgamma_test_data): Likewise.
24355         (trunc_test_data): Likewise.
24356         (y0_test_data): Likewise.
24357         (y1_test_data): Likewise.
24358         (yn_test_data): Likewise.
24359         (significand_test_data): Likewise.
24360
24361         * math/gen-libm-test.pl (@functions): Remove variable.
24362         (generate_testfile): Don't handle START and END lines.
24363         * math/libm-test.inc (START): New macro.
24364         (END): Likewise.
24365         (END_COMPLEX): Likewise.
24366         (acos_test): Use END macro without arguments.
24367         (acos_test_tonearest): Likewise.
24368         (acos_test_towardzero): Likewise.
24369         (acos_test_downward): Likewise.
24370         (acos_test_upward): Likewise.
24371         (acosh_test): Likewise.
24372         (asin_test): Likewise.
24373         (asin_test_tonearest): Likewise.
24374         (asin_test_towardzero): Likewise.
24375         (asin_test_downward): Likewise.
24376         (asin_test_upward): Likewise.
24377         (asinh_test): Likewise.
24378         (atan_test): Likewise.
24379         (atanh_test): Likewise.
24380         (atan2_test): Likewise.
24381         (cabs_test): Likewise.
24382         (cacos_test): Use END_COMPLEX macro without arguments.
24383         (cacosh_test): Likewise.
24384         (carg_test): Use END macro without arguments.
24385         (casin_test): Use END_COMPLEX macro without arguments.
24386         (casinh_test): Likewise.
24387         (catan_test): Likewise.
24388         (catanh_test): Likewise.
24389         (cbrt_test): Use END macro without arguments.
24390         (ccos_test): Use END_COMPLEX macro without arguments.
24391         (ccosh_test): Likewise.
24392         (ceil_test): Use END macro without arguments.
24393         (cexp_test): Use END_COMPLEX macro without arguments.
24394         (cimag_test): Use END macro without arguments.
24395         (clog_test): Use END_COMPLEX macro without arguments.
24396         (clog10_test): Likewise.
24397         (conj_test): Likewise.
24398         (copysign_test): Use END macro without arguments.
24399         (cos_test): Likewise.
24400         (cos_test_tonearest): Likewise.
24401         (cos_test_towardzero): Likewise.
24402         (cos_test_downward): Likewise.
24403         (cos_test_upward): Likewise.
24404         (cosh_test): Likewise.
24405         (cosh_test_tonearest): Likewise.
24406         (cosh_test_towardzero): Likewise.
24407         (cosh_test_downward): Likewise.
24408         (cosh_test_upward): Likewise.
24409         (cpow_test): Use END_COMPLEX macro without arguments.
24410         (cproj_test): Likewise.
24411         (creal_test): Use END macro without arguments.
24412         (csin_test): Use END_COMPLEX macro without arguments.
24413         (csinh_test): Likewise.
24414         (csqrt_test): Likewise.
24415         (ctan_test): Likewise.
24416         (ctan_test_tonearest): Likewise.
24417         (ctan_test_towardzero): Likewise.
24418         (ctan_test_downward): Likewise.
24419         (ctan_test_upward): Likewise.
24420         (ctanh_test): Likewise.
24421         (ctanh_test_tonearest): Likewise.
24422         (ctanh_test_towardzero): Likewise.
24423         (ctanh_test_downward): Likewise.
24424         (ctanh_test_upward): Likewise.
24425         (erf_test): Use END macro without arguments.
24426         (erfc_test): Likewise.
24427         (exp_test): Likewise.
24428         (exp_test_tonearest): Likewise.
24429         (exp_test_towardzero): Likewise.
24430         (exp_test_downward): Likewise.
24431         (exp_test_upward): Likewise.
24432         (exp10_test): Likewise.
24433         (exp2_test): Likewise.
24434         (expm1_test): Likewise.
24435         (fabs_test): Likewise.
24436         (fdim_test): Likewise.
24437         (finite_test): Likewise.
24438         (floor_test): Likewise.
24439         (fma_test): Likewise.
24440         (fma_test_towardzero): Likewise.
24441         (fma_test_downward): Likewise.
24442         (fma_test_upward): Likewise.
24443         (fmax_test): Likewise.
24444         (fmin_test): Likewise.
24445         (fmod_test): Likewise.
24446         (fpclassify_test): Likewise.
24447         (frexp_test): Likewise.
24448         (gamma_test): Likewise.
24449         (hypot_test): Likewise.
24450         (ilogb_test): Likewise.
24451         (isfinite_test): Likewise.
24452         (isgreater_test): Likewise.
24453         (isgreaterequal_test): Likewise.
24454         (isinf_test): Likewise.
24455         (isless_test): Likewise.
24456         (islessequal_test): Likewise.
24457         (islessgreater_test): Likewise.
24458         (isnan_test): Likewise.
24459         (isnormal_test): Likewise.
24460         (issignaling_test): Likewise.
24461         (isunordered_test): Likewise.
24462         (j0_test): Likewise.
24463         (j1_test): Likewise.
24464         (jn_test): Likewise.
24465         (ldexp_test): Likewise.
24466         (lgamma_test): Likewise.
24467         (lrint_test): Likewise.
24468         (lrint_test_tonearest): Likewise.
24469         (lrint_test_towardzero): Likewise.
24470         (lrint_test_downward): Likewise.
24471         (lrint_test_upward): Likewise.
24472         (llrint_test): Likewise.
24473         (llrint_test_tonearest): Likewise.
24474         (llrint_test_towardzero): Likewise.
24475         (llrint_test_downward): Likewise.
24476         (llrint_test_upward): Likewise.
24477         (log_test): Likewise.
24478         (log10_test): Likewise.
24479         (log1p_test): Likewise.
24480         (log2_test): Likewise.
24481         (logb_test): Likewise.
24482         (logb_test_downward): Likewise.
24483         (lround_test): Likewise.
24484         (llround_test): Likewise.
24485         (modf_test): Likewise.
24486         (nearbyint_test): Likewise.
24487         (nextafter_test): Likewise.
24488         (nexttoward_test): Likewise.
24489         (pow_test): Likewise.
24490         (pow_test_tonearest): Likewise.
24491         (pow_test_towardzero): Likewise.
24492         (pow_test_downward): Likewise.
24493         (pow_test_upward): Likewise.
24494         (remainder_test): Likewise.
24495         (remainder_test_tonearest): Likewise.
24496         (remainder_test_towardzero): Likewise.
24497         (remainder_test_downward): Likewise.
24498         (remainder_test_upward): Likewise.
24499         (remquo_test): Likewise.
24500         (rint_test): Likewise.
24501         (rint_test_tonearest): Likewise.
24502         (rint_test_towardzero): Likewise.
24503         (rint_test_downward): Likewise.
24504         (rint_test_upward): Likewise.
24505         (round_test): Likewise.
24506         (scalb_test): Likewise.
24507         (scalbn_test): Likewise.
24508         (scalbln_test): Likewise.
24509         (signbit_test): Likewise.
24510         (sin_test): Likewise.
24511         (sin_test_tonearest): Likewise.
24512         (sin_test_towardzero): Likewise.
24513         (sin_test_downward): Likewise.
24514         (sin_test_upward): Likewise.
24515         (sincos_test): Likewise.
24516         (sinh_test): Likewise.
24517         (sinh_test_tonearest): Likewise.
24518         (sinh_test_towardzero): Likewise.
24519         (sinh_test_downward): Likewise.
24520         (sinh_test_upward): Likewise.
24521         (sqrt_test): Likewise.
24522         (tan_test): Likewise.
24523         (tan_test_tonearest): Likewise.
24524         (tan_test_towardzero): Likewise.
24525         (tan_test_downward): Likewise.
24526         (tan_test_upward): Likewise.
24527         (tanh_test): Likewise.
24528         (tgamma_test): Likewise.
24529         (trunc_test): Likewise.
24530         (y0_test): Likewise.
24531         (y1_test): Likewise.
24532         (yn_test): Likewise.
24533         (significand_test): Likewise.
24534
24535 2013-05-24  Ondřej Bílka  <neleai@seznam.cz>
24536
24537         [BZ #15381]
24538         * libio/genops.c (_IO_no_init): Initialize wide struct info.
24539
24540 2013-05-23  Edjunior Machado  <emachado@linux.vnet.ibm.com>
24541
24542         [BZ #14894]
24543         * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
24544         __ppc_mdoio and __ppc_mdoom.
24545         * manual/platform.texi: Document new functions __ppc_yield,
24546         __ppc_mdoio and __ppc_mdoom.
24547
24548 2013-05-22  Carlos O'Donell  <carlos@redhat.com>
24549
24550         * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
24551         (main): Mention "tls" pseudo-hwcap is legacy.
24552         * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
24553
24554 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
24555
24556         * math/gen-libm-test.pl (parse_args): Output only string of
24557         arguments as text for test name, not full call or descriptions of
24558         tests for extra outputs.
24559         (generate_testfile): Do not pass function name to parse_args.
24560         Generate this_func variable from START.
24561         * math/libm-test.inc (struct test_f_f_data): Rename test_name
24562         field to arg_str.
24563         (struct test_ff_f_data): Likewise.
24564         (test_ff_f_data_nexttoward): Likewise.
24565         (struct test_fi_f_data): Likewise.
24566         (struct test_fl_f_data): Likewise.
24567         (struct test_if_f_data): Likewise.
24568         (struct test_fff_f_data): Likewise.
24569         (struct test_c_f_data): Likewise.
24570         (struct test_f_f1_data): Likewise.  Remove field extra_name.
24571         (struct test_fF_f1_data): Likewise.
24572         (struct test_ffI_f1_data): Likewise.
24573         (struct test_c_c_data): Rename test_name field to arg_str.
24574         (struct test_cc_c_data): Likewise.
24575         (struct test_f_i_data): Likewise.
24576         (struct test_ff_i_data): Likewise.
24577         (struct test_f_l_data): Likewise.
24578         (struct test_f_L_data): Likewise.
24579         (struct test_fFF_11_data): Likewise.  Remove fields extra1_name
24580         and extra2_name.
24581         (COMMON_TEST_SETUP): New macro.
24582         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
24583         (COMMON_TEST_CLEANUP): Likewise.
24584         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
24585         (RUN_TEST_f_f): Take argument string.  Call new setup and cleanup
24586         macros.
24587         (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
24588         (RUN_TEST_2_f): Take argument string.  Call new setup and cleanup
24589         macros.
24590         (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
24591         (RUN_TEST_fff_f): Take argument string.  Call new setup and
24592         cleanup macros.
24593         (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
24594         (RUN_TEST_c_f): Take argument string.  Call new setup and cleanup
24595         macros.
24596         (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
24597         (RUN_TEST_f_f1): Take argument string.  Call new setup and cleanup
24598         macros.
24599         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
24600         (RUN_TEST_fF_f1): Take argument string.  Call new setup and
24601         cleanup macros.
24602         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
24603         (RUN_TEST_fI_f1): Take argument string.  Call new setup and
24604         cleanup macros.
24605         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
24606         (RUN_TEST_ffI_f1): Take argument string.  Call new setup and
24607         cleanup macros.
24608         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
24609         (RUN_TEST_c_c): Take argument string.  Call new setup and cleanup
24610         macros.
24611         (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
24612         (RUN_TEST_cc_c): Take argument string.  Call new setup and cleanup
24613         macros.
24614         (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
24615         (RUN_TEST_f_i): Take argument string.  Call new setup and cleanup
24616         macros.
24617         (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
24618         (RUN_TEST_f_i_tg): Take argument string.  Call new setup and
24619         cleanup macros.
24620         (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
24621         (RUN_TEST_ff_i_tg): Take argument string.  Call new setup and
24622         cleanup macros.
24623         (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
24624         (RUN_TEST_f_b): Take argument string.  Call new setup and cleanup
24625         macros.
24626         (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
24627         (RUN_TEST_f_b_tg): Take argument string.  Call new setup and
24628         cleanup macros.
24629         (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
24630         (RUN_TEST_f_l): Take argument string.  Call new setup and cleanup
24631         macros.
24632         (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
24633         (RUN_TEST_f_L): Take argument string.  Call new setup and cleanup
24634         macros.
24635         (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
24636         (RUN_TEST_fFF_11): Take argument string.  Call new setup and
24637         cleanup macros.
24638         (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
24639
24640 2013-05-22  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
24641
24642         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
24643         to _sifields.sigfault.
24644         (si_addr_lsb): Define new macro.
24645         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
24646         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
24647         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
24648
24649 2013-05-03  Carlos O'Donell  <carlos at redhat.com>
24650
24651         [BZ #15441]
24652         * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
24653         returns -1.
24654         (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
24655         null return -1.
24656         * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
24657         loading the domain.
24658
24659 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
24660
24661         * math/gen-libm-test.pl (parse_args): Do not include expected
24662         result in test name.
24663         * sysdeps/i386/fpu/libm-test-ulps: Update test names.
24664         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
24665         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
24666         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
24667         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
24668         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24669
24670 2013-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
24671
24672         * benchtests/Makefile: Sort function entries.
24673
24674         * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
24675         tanh, asinh, acosh, atanh.
24676         * benchtests/acos-inputs: New file.
24677         * benchtests/acosh-inputs: New file.
24678         * benchtests/asin-inputs: New file.
24679         * benchtests/asinh-inputs: New file.
24680         * benchtests/atanh-inputs: New file.
24681         * benchtests/cosh-inputs: New file.
24682         * benchtests/log-inputs: New file.
24683         * benchtests/sinh-inputs: New file.
24684         * benchtests/tanh-inputs: New file.
24685
24686 2013-05-21  Dmitry V. Levin  <ldv@altlinux.org>
24687
24688         [BZ #15339]
24689         * posix/tst-getaddrinfo4.c: New test.
24690         * posix/Makefile (tests): Add it.
24691
24692 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
24693
24694         [BZ #15339]
24695         * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
24696         when no services were used.
24697         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
24698         Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
24699
24700 2013-05-21  Andreas Schwab  <schwab@suse.de>
24701
24702         [BZ #15014]
24703         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
24704         [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
24705         successful.
24706         * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
24707         redundant variable declarations and reallocation of buffer when
24708         parsing as IPv6 address.  Always set NSS status when called from
24709         reentrant functions.  Use NETDB_INTERNAL instead of TRY_AGAIN when
24710         buffer too small.  Correct computation of needed size.
24711         * nss/Makefile (tests): Add test-digits-dots.
24712         * nss/test-digits-dots.c: New test.
24713
24714 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
24715
24716         * benchtests/Makefile: Remove instructions for adding
24717         benchmark tests.
24718         * benchtests/README: New file to explain how to execute and
24719         enhance the benchmark tests.
24720
24721 2013-05-21  Andreas Schwab  <schwab@suse.de>
24722
24723         [BZ #15493]
24724         * setjmp/Makefile (tests): Add tst-sigsetjmp.
24725         * setjmp/tst-sigsetjmp.c: New test.
24726
24727 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
24728
24729         * sysdeps/x86_64/memset.S (memset): New implementation.
24730         (__bzero): Likewise.
24731         (__memset_tail): New function.
24732
24733 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
24734
24735         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
24736         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
24737         __memcpy_sse2_unaligned ifunc selection.
24738         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
24739         Add memcpy-sse2-unaligned.S.
24740         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
24741         Add: __memcpy_sse2_unaligned.
24742
24743 2013-05-19  Joseph Myers  <joseph@codesourcery.com>
24744
24745         [BZ #15490]
24746         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
24747         math_force_eval before restoring floating-point envrionment.
24748         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
24749         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
24750         Likewise.
24751         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
24752         <math_private.h>.
24753         (__nearbyintl): Use math_force_eval before restoring
24754         floating-point environment.
24755         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
24756
24757         * math/gen-libm-test.pl (special_functions): Remove.
24758         (parse_args): Don't handle TEST_extra.  Handle functions with no
24759         return value.
24760         * math/libm-test.inc (struct test_sincos_data): Replace with
24761         struct test_fFF_11_data.
24762         (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
24763         (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
24764         (sincos_test_data): Change element type to struct
24765         test_fFF_11_data.  Use TEST_fFF_11 instead of TEST_extra.
24766         (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
24767         RUN_TEST_LOOP_sincos.
24768         * math/README.libm-test: Don't mention special handling of
24769         individual functions.
24770         * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
24771         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
24772         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
24773         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
24774         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
24775         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24776
24777         * math/gen-libm-test.pl (get_variable): Remove function.
24778         (parse_args): Don't show pointer parameters to call in test
24779         names.  Use "extra output N" in test names for extra outputs
24780         rather than naming variables.
24781
24782 2013-05-18  Joseph Myers  <joseph@codesourcery.com>
24783
24784         [BZ #15488]
24785         * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
24786         __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
24787         * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
24788         double tests.
24789         * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
24790         disable.
24791         (do_test) [NO_LONG_DOUBLE]: Do not disable call to
24792         check_long_double.
24793
24794         * math/gen-libm-test.pl (@tests): Remove variable.
24795         ($count): Likewise.
24796         (new_test): Remove function.
24797         (show_exceptions): New function.
24798         (special_functions): Use show_exceptions instead of new_test.
24799         (parse_args): Likewise.
24800         (generate_testfile): Pass only function name in generated call to
24801         print_max_error or print_complex_max_error.
24802         (get_ulps): Do not handle complex tests specially.
24803         (output_test): Rename to ...
24804         (get_all_ulps_for_test): ... this.  Return a string rather than
24805         printing to a file.  Require ulps to be present.
24806         (output_ulps): Generate arrays rather than #defines.
24807         * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
24808         (struct ulp_data): New type.
24809         (BUILD_COMPLEX_ULP): Remove macro.
24810         (compare_ulp_data): New function.
24811         (find_ulps): Likewise.
24812         (find_test_ulps): Likewise.
24813         (find_function_ulps): Likewise.
24814         (find_complex_function_ulps): Likewise.
24815         (print_max_error): Determine allowed ulps using
24816         find_function_ulps.
24817         (print_complex_max_error): Determine allowed ulps using
24818         find_complex_function_ulps.
24819         (check_float_internal): Determine max ulps using find_test_ulps.
24820         (check_float): Do not take max_ulp parameter.  Update call to
24821         check_float_internal.
24822         (check_complex): Likewise.
24823         (check_int): Do not take max_ulp parameter.
24824         (check_long): Likewise.
24825         (check_bool): Likewise.
24826         (check_longlong): Likewise.
24827         (struct test_f_f_data): Remove max_ulp field.
24828         (struct test_ff_f_data): Likewise.
24829         (struct test_ff_f_data_nexttoward): Likewise.
24830         (struct test_fi_f_data): Likewise.
24831         (struct test_fl_f_data): Likewise.
24832         (struct test_if_f_data): Likewise.
24833         (struct test_fff_f_data): Likewise.
24834         (struct test_c_f_data): Likewise.
24835         (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
24836         (struct test_fF_f1_data): Likewise.
24837         (struct test_ffI_f1_data): Likewise.
24838         (struct test_c_c_data): Remove max_ulp field.
24839         (struct test_cc_c_data): Likewise.
24840         (struct test_f_i_data): Likewise.
24841         (struct test_ff_i_data): Likewise.
24842         (struct test_f_l_data): Likewise.
24843         (struct test_f_L_data): Likewise.
24844         (struct test_sincos_data): Likewise.
24845         (RUN_TEST_f_f): Do not handle ulps.
24846         (RUN_TEST_LOOP_f_f): Likewise.
24847         (RUN_TEST_2_f): Likewise.
24848         (RUN_TEST_LOOP_2_f): Likewise.
24849         (RUN_TEST_fff_f): Likewise.
24850         (RUN_TEST_LOOP_fff_f): Likewise.
24851         (RUN_TEST_c_f): Likewise.
24852         (RUN_TEST_LOOP_c_f): Likewise.
24853         (RUN_TEST_f_f1): Likewise.
24854         (RUN_TEST_LOOP_f_f1): Likewise.
24855         (RUN_TEST_fF_f1): Likewise.
24856         (RUN_TEST_LOOP_fF_f1): Likewise.
24857         (RUN_TEST_fI_f1): Likewise.
24858         (RUN_TEST_LOOP_fI_f1): Likewise.
24859         (RUN_TEST_ffI_f1): Likewise.
24860         (RUN_TEST_LOOP_ffI_f1): Likewise.
24861         (RUN_TEST_c_c): Likewise.
24862         (RUN_TEST_LOOP_c_c): Likewise.
24863         (RUN_TEST_cc_c): Likewise.
24864         (RUN_TEST_LOOP_cc_c): Likewise.
24865         (RUN_TEST_f_i): Likewise.
24866         (RUN_TEST_LOOP_f_i): Likewise.
24867         (RUN_TEST_f_i_tg): Likewise.
24868         (RUN_TEST_LOOP_f_i_tg): Likewise.
24869         (RUN_TEST_ff_i_tg): Likewise.
24870         (RUN_TEST_LOOP_ff_i_tg): Likewise.
24871         (RUN_TEST_f_b): Likewise.
24872         (RUN_TEST_LOOP_f_b): Likewise.
24873         (RUN_TEST_f_b_tg): Likewise.
24874         (RUN_TEST_LOOP_f_b_tg): Likewise.
24875         (RUN_TEST_f_l): Likewise.
24876         (RUN_TEST_LOOP_f_l): Likewise.
24877         (RUN_TEST_f_L): Likewise.
24878         (RUN_TEST_LOOP_f_L): Likewise.
24879         (RUN_TEST_sincos): Likewise.
24880         (RUN_TEST_LOOP_sincos): Likewise.
24881
24882 2013-05-17  Joseph Myers  <joseph@codesourcery.com>
24883
24884         [BZ #15480]
24885         [BZ #15485]
24886         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
24887         main case of finite arguments, set rounding mode to FE_TONEAREST
24888         and discard exceptions.
24889         * math/libm-test.inc (remainder_test_data): Disallow "inexact"
24890         exceptions.
24891         (remainder_tonearest_test_data): New variable.
24892         (remainder_test_tonearest): New function.
24893         (remainder_towardzero_test_data): New variable.
24894         (remainder_test_towardzero): New function.
24895         (remainder_downward_test_data): New variable.
24896         (remainder_test_downward): New function.
24897         (remainder_upward_test_data): New variable.
24898         (remainder_test_upward): New function.
24899         (main): Call the new test functions.
24900
24901         * math/libm-test.inc (struct test_f_f1_data): Remove field
24902         extra_init.
24903         (struct test_fF_f1_data): Likewise.
24904         (struct test_ffI_f1_data): Likewise.
24905         (RUN_TEST_f_f1): Remove argument EXTRA_INIT.  Initialize EXTRA_VAR
24906         based on value of EXTRA_EXPECTED.
24907         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
24908         (RUN_TEST_fF_f1): Remove argument EXTRA_INIT.  Initialize
24909         EXTRA_VAR based on value of EXTRA_EXPECTED.
24910         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
24911         (RUN_TEST_fI_f1): Remove argument EXTRA_INIT.  Initialize
24912         EXTRA_VAR based on value of EXTRA_EXPECTED.
24913         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
24914         (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT.  Initialize
24915         EXTRA_VAR based on value of EXTRA_EXPECTED.
24916         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
24917         * math/gen-libm-test.pl (parse_args): Don't output initializers
24918         for extra output values.
24919
24920         * math/libm-test.inc (check_int): Expect result to be exactly
24921         equal to expected value and do not handle ulps.
24922         (check_long): Likewise.
24923         (check_longlong): Likewise.
24924
24925         * math/libm-test.inc (ceil_test_data): Test for "inexact"
24926         exceptions.
24927         (cimag_test_data): Likewise.
24928         (conj_test_data): Likewise.
24929         (copysign_test_data): Likewise.
24930         (cproj_test_data): Likewise.
24931         (creal_test_data): Likewise.
24932         (fabs_test_data): Likewise.
24933         (fdim_test_data): Likewise.
24934         (finite_test_data): Likewise.
24935         (floor_test_data): Likewise.
24936         (fmax_test_data): Likewise.
24937         (fmin_test_data): Likewise.
24938         (fmod_test_data): Likewise.
24939         (fpclassify_test_data): Likewise.
24940         (frexp_test_data): Likewise.
24941         (ilogb_test_data): Likewise.
24942         (isfinite_test_data): Likewise.
24943         (isgreater_test_data): Likewise.
24944         (isgreaterequal_test_data): Likewise.
24945         (isinf_test_data): Likewise.
24946         (isless_test_data): Likewise.
24947         (islessequal_test_data): Likewise.
24948         (islessgreater_test_data): Likewise.
24949         (isnan_test_data): Likewise.
24950         (isnormal_test_data): Likewise.
24951         (issignaling_test_data): Likewise.
24952         (isunordered_test_data): Likewise.
24953         (ldexp_test_data): Likewise.
24954         (lrint_test_data): Likewise.
24955         (lrint_test_data) [TEST_FLOAT]: Disable one test.
24956         (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
24957         (lrint_tonearest_test_data): Test for "inexact" exceptions.
24958         (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
24959         (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
24960         (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
24961         test input.
24962         (lrint_towardzero_test_data): Test for "inexact" exceptions.
24963         (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
24964         (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
24965         (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
24966         that test input.
24967         (lrint_downward_test_data): Test for "inexact" exceptions.
24968         (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
24969         (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
24970         (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
24971         test input.
24972         (lrint_upward_test_data): Test for "inexact" exceptions.
24973         (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
24974         test input.
24975         (llrint_test_data): Test for "inexact" exceptions.
24976         (llrint_test_data) [TEST_FLOAT]: Disable one test.
24977         (llrint_tonearest_test_data): Test for "inexact" exceptions.
24978         (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
24979         (llrint_towardzero_test_data): Test for "inexact" exceptions.
24980         (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
24981         (llrint_downward_test_data): Test for "inexact" exceptions.
24982         (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
24983         (llrint_upward_test_data): Test for "inexact" exceptions.
24984         (logb_test_data): Likewise.
24985         (logb_downward_test_data): Likewise.
24986         (nextafter_test_data): Likewise.
24987         (nexttoward_test_data): Likewise.
24988         (remainder_test_data): Likewise.
24989         (remquo_test_data): Likewise.
24990         (scalbn_test_data): Likewise.
24991         (scalbln_test_data): Likewise.
24992         (signbit_test_data): Likewise.
24993         (sqrt_test_data): Likewise.
24994         (significand_test_data): Likewise.
24995
24996 2013-05-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
24997
24998         [BZ #15424]
24999         * benchtests/bench-modf.c (struct args): Mark arg0 as
25000         volatile.
25001         * scripts/bench.pl: Mark members of struct args as volatile.
25002
25003 2013-05-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25004
25005         [BZ # 15497]
25006         * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
25007         negative infinity on POWER6 or lower.
25008         * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
25009
25010 2013-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
25011
25012         [BZ #15442]
25013         * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
25014         (_FP_FRAC_SNANP_SEMIRAW): Likewise.
25015         (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
25016         (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
25017         (_FP_SETQNAN): New macro.
25018         (_FP_SETQNAN_SEMIRAW): Likewise.
25019         (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
25020         (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
25021         (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
25022         (FP_EXTEND): Use _FP_FRAC_SNANP.
25023         (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
25024         * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
25025         into account.
25026         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
25027         New macro.
25028         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
25029         Likewise.
25030
25031 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
25032
25033         * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
25034         with DIVIDE_BY_ZERO_EXCEPTION.
25035         (gamma_test_data): Likewise.
25036         (lgamma_test_data): Likewise.
25037         (log_test_data): Likewise.
25038         (log10_test_data): Likewise.
25039         (log2_test_data): Likewise.
25040         (tgamma_test_data): Likewise.
25041
25042         * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
25043         (acos_test_tonearest): Likewise.
25044         (acos_test_towardzero): Likewise.
25045         (acos_test_downward): Likewise.
25046         (acos_test_upward): Likewise.
25047         (acosh_test): Likewise.
25048         (asin_test): Likewise.
25049         (asin_test_tonearest): Likewise.
25050         (asin_test_towardzero): Likewise.
25051         (asin_test_downward): Likewise.
25052         (asin_test_upward): Likewise.
25053         (asinh_test): Likewise.
25054         (atan_test): Likewise.
25055         (atanh_test): Likewise.
25056         (atan2_test): Likewise.
25057         (cabs_test): Likewise.
25058         (cacos_test): Likewise.
25059         (cacosh_test): Likewise.
25060         (casin_test): Likewise.
25061         (casinh_test): Likewise.
25062         (catan_test): Likewise.
25063         (catanh_test): Likewise.
25064         (cbrt_test): Likewise.
25065         (ccos_test): Likewise.
25066         (ccosh_test): Likewise.
25067         (cexp_test): Likewise.
25068         (clog_test): Likewise.
25069         (clog10_test): Likewise.
25070         (cos_test): Likewise.
25071         (cos_test_tonearest): Likewise.
25072         (cos_test_towardzero): Likewise.
25073         (cos_test_downward): Likewise.
25074         (cos_test_upward): Likewise.
25075         (cosh_test): Likewise.
25076         (cosh_test_tonearest): Likewise.
25077         (cosh_test_towardzero): Likewise.
25078         (cosh_test_downward): Likewise.
25079         (cosh_test_upward): Likewise.
25080         (cpow_test): Likewise.
25081         (csin_test): Likewise.
25082         (csinh_test): Likewise.
25083         (csqrt_test): Likewise.
25084         (ctan_test): Likewise.
25085         (ctan_test_tonearest): Likewise.
25086         (ctan_test_towardzero): Likewise.
25087         (ctan_test_downward): Likewise.
25088         (ctan_test_upward): Likewise.
25089         (ctanh_test): Likewise.
25090         (ctanh_test_tonearest): Likewise.
25091         (ctanh_test_towardzero): Likewise.
25092         (ctanh_test_downward): Likewise.
25093         (ctanh_test_upward): Likewise.
25094         (erf_test): Likewise.
25095         (erfc_test): Likewise.
25096         (exp_test): Likewise.
25097         (exp_test_tonearest): Likewise.
25098         (exp_test_towardzero): Likewise.
25099         (exp_test_downward): Likewise.
25100         (exp_test_upward): Likewise.
25101         (exp10_test): Likewise.
25102         (exp2_test): Likewise.
25103         (expm1_test): Likewise.
25104         (fmod_test): Likewise.
25105         (gamma_test): Likewise.
25106         (hypot_test): Likewise.
25107         (j0_test): Likewise.
25108         (j1_test): Likewise.
25109         (jn_test): Likewise.
25110         (lgamma_test): Likewise.
25111         (log_test): Likewise.
25112         (log10_test): Likewise.
25113         (log1p_test): Likewise.
25114         (log2_test): Likewise.
25115         (logb_test_downward): Likewise.
25116         (pow_test): Likewise.
25117         (pow_test_tonearest): Likewise.
25118         (pow_test_towardzero): Likewise.
25119         (pow_test_downward): Likewise.
25120         (pow_test_upward): Likewise.
25121         (remainder_test): Likewise.
25122         (remquo_test): Likewise.
25123         (sin_test): Likewise.
25124         (sin_test_tonearest): Likewise.
25125         (sin_test_towardzero): Likewise.
25126         (sin_test_downward): Likewise.
25127         (sin_test_upward): Likewise.
25128         (sincos_test): Likewise.
25129         (sinh_test): Likewise.
25130         (sinh_test_tonearest): Likewise.
25131         (sinh_test_towardzero): Likewise.
25132         (sinh_test_downward): Likewise.
25133         (sinh_test_upward): Likewise.
25134         (sqrt_test): Likewise.
25135         (tan_test): Likewise.
25136         (tan_test_tonearest): Likewise.
25137         (tan_test_towardzero): Likewise.
25138         (tan_test_downward): Likewise.
25139         (tan_test_upward): Likewise.
25140         (tanh_test): Likewise.
25141         (tgamma_test): Likewise.
25142         (y0_test): Likewise.
25143         (y1_test): Likewise.
25144         (yn_test): Likewise.
25145
25146         * math/gen-libm-test.pl (adjust_arg): Remove function.
25147         (special_function): Remove argument $in_func.  Only handle
25148         generating output for tables of tests, not inside functions.
25149         (parse_args): Likewise.
25150         (generate_testfile): Remove variable $in_func.  Update call to
25151         parse_args.
25152         * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
25153         (MINUS_ZERO_INIT): Rename macro to minus_zero.
25154         (PLUS_INFTY_INIT): Rename macro to plus_infty.
25155         (MINUS_INFTY_INIT): Rename macro to minus_infty.
25156         (QNAN_VALUE_INIT): Rename macro to qnan_value.
25157         (MAX_VALUE_INIT): Rename macro to max_value.
25158         (MIN_VALUE_INIT): Rename macro to min_value.
25159         (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
25160         (plus_zero): Remove variable.
25161         (minus_zero): Likewise.
25162         (plus_infty): Likewise.
25163         (minus_infty): Likewise.
25164         (qnan_value): Likewise.
25165         (max_value): Likewise.
25166         (min_value): Likewise.
25167         (min_subnorm_value): Likewise.
25168
25169 2013-05-16  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
25170
25171         * crypt/sha512-block.c: Add missing #include <stdint.h> due to
25172         uint64_t or uint32_t usage.
25173         * crypt/sha256-block.c: Likewise.
25174         * crypt/sha256-crypt.c: Likewise.
25175         * crypt/sha256.c: Likewise.
25176         * crypt/sha512-block.c: Likewise.
25177         * crypt/sha512-crypt.c: Likewise.
25178         * crypt/sha512.c: Likewise.
25179         * debug/backtrace-tst.c: Likewise.
25180         * debug/pcprofiledump.c: Likewise.
25181         * elf/cache.c: Likewise.
25182         * elf/dl-cache.c: Likewise.
25183         * elf/dl-misc.c: Likewise.
25184         * elf/dl-profile.c: Likewise.
25185         * elf/dl-support.c: Likewise.
25186         * elf/ldconfig.c: Likewise.
25187         * elf/sprof.c: Likewise.
25188         * iconv/dummy-repertoire.c: Likewise.
25189         * iconv/iconv_charmap.c: Likewise.
25190         * iconv/skeleton.c: Likewise.
25191         * iconvdata/8bit-generic.c: Likewise.
25192         * iconvdata/cp737.h: Likewise.
25193         * iconvdata/cp775.h: Likewise.
25194         * iconvdata/ibm1008.h: Likewise.
25195         * iconvdata/ibm1025.h: Likewise.
25196         * iconvdata/ibm1046.h: Likewise.
25197         * iconvdata/ibm1097.h: Likewise.
25198         * iconvdata/ibm1112.h: Likewise.
25199         * iconvdata/ibm1122.h: Likewise.
25200         * iconvdata/ibm1123.h: Likewise.
25201         * iconvdata/ibm1124.h: Likewise.
25202         * iconvdata/ibm1129.h: Likewise.
25203         * iconvdata/ibm1130.h: Likewise.
25204         * iconvdata/ibm1132.h: Likewise.
25205         * iconvdata/ibm1133.h: Likewise.
25206         * iconvdata/ibm1137.h: Likewise.
25207         * iconvdata/ibm1140.h: Likewise.
25208         * iconvdata/ibm1141.h: Likewise.
25209         * iconvdata/ibm1142.h: Likewise.
25210         * iconvdata/ibm1143.h: Likewise.
25211         * iconvdata/ibm1144.h: Likewise.
25212         * iconvdata/ibm1145.h: Likewise.
25213         * iconvdata/ibm1146.h: Likewise.
25214         * iconvdata/ibm1147.h: Likewise.
25215         * iconvdata/ibm1148.h: Likewise.
25216         * iconvdata/ibm1149.h: Likewise.
25217         * iconvdata/ibm1153.h: Likewise.
25218         * iconvdata/ibm1154.h: Likewise.
25219         * iconvdata/ibm1155.h: Likewise.
25220         * iconvdata/ibm1156.h: Likewise.
25221         * iconvdata/ibm1157.h: Likewise.
25222         * iconvdata/ibm1158.h: Likewise.
25223         * iconvdata/ibm1160.h: Likewise.
25224         * iconvdata/ibm1161.h: Likewise.
25225         * iconvdata/ibm1162.h: Likewise.
25226         * iconvdata/ibm1163.h: Likewise.
25227         * iconvdata/ibm1164.h: Likewise.
25228         * iconvdata/ibm1166.h: Likewise.
25229         * iconvdata/ibm1167.h: Likewise.
25230         * iconvdata/ibm12712.h: Likewise.
25231         * iconvdata/ibm1390.h: Likewise.
25232         * iconvdata/ibm1399.h: Likewise.
25233         * iconvdata/ibm16804.h: Likewise.
25234         * iconvdata/ibm4517.h: Likewise.
25235         * iconvdata/ibm4899.h: Likewise.
25236         * iconvdata/ibm4909.h: Likewise.
25237         * iconvdata/ibm4971.h: Likewise.
25238         * iconvdata/ibm5347.h: Likewise.
25239         * iconvdata/ibm803.h: Likewise.
25240         * iconvdata/ibm856.h: Likewise.
25241         * iconvdata/ibm901.h: Likewise.
25242         * iconvdata/ibm902.h: Likewise.
25243         * iconvdata/ibm9030.h: Likewise.
25244         * iconvdata/ibm9066.h: Likewise.
25245         * iconvdata/ibm921.h: Likewise.
25246         * iconvdata/ibm922.h: Likewise.
25247         * iconvdata/ibm9448.h: Likewise.
25248         * iconvdata/isiri-3342.h: Likewise.
25249         * iconvdata/jis0201.h: Likewise.
25250         * include/link.h: Likewise.
25251         * include/netdb.h: Likewise.
25252         * inet/check_native.c: Likewise.
25253         * inet/check_pf.c: Likewise.
25254         * inet/getipv4sourcefilter.c: Likewise.
25255         * inet/getnameinfo.c: Likewise.
25256         * inet/getsourcefilter.c: Likewise.
25257         * inet/htonl.c: Likewise.
25258         * inet/setipv4sourcefilter.c: Likewise.
25259         * inet/setsourcefilter.c: Likewise.
25260         * inet/test-inet6_opt.c: Likewise.
25261         * inet/tst-network.c: Likewise.
25262         * locale/C-collate.c: Likewise.
25263         * locale/C-ctype.c: Likewise.
25264         * locale/C-time.c: Likewise.
25265         * locale/C-translit.h: Likewise.
25266         * locale/loadarchive.c: Likewise.
25267         * locale/programs/3level.h: Likewise.
25268         * locale/programs/charmap.c: Likewise.
25269         * locale/programs/charmap.h: Likewise.
25270         * locale/programs/ld-address.c: Likewise.
25271         * locale/programs/ld-collate.c: Likewise.
25272         * locale/programs/ld-ctype.c: Likewise.
25273         * locale/programs/ld-identification.c: Likewise.
25274         * locale/programs/ld-measurement.c: Likewise.
25275         * locale/programs/ld-messages.c: Likewise.
25276         * locale/programs/ld-monetary.c: Likewise.
25277         * locale/programs/ld-name.c: Likewise.
25278         * locale/programs/ld-numeric.c: Likewise.
25279         * locale/programs/ld-paper.c: Likewise.
25280         * locale/programs/ld-telephone.c: Likewise.
25281         * locale/programs/ld-time.c: Likewise.
25282         * locale/programs/linereader.c: Likewise.
25283         * locale/programs/locale.c: Likewise.
25284         * locale/programs/locarchive.c: Likewise.
25285         * locale/programs/locfile.h: Likewise.
25286         * locale/programs/repertoire.c: Likewise.
25287         * locale/programs/simple-hash.c: Likewise.
25288         * locale/programs/simple-hash.h: Likewise.
25289         * malloc/memusage.c: Likewise.
25290         * malloc/memusagestat.c: Likewise.
25291         * nis/nis_defaults.c: Likewise.
25292         * nis/nis_hash.c: Likewise.
25293         * nis/nis_print.c: Likewise.
25294         * nis/nis_xdr.c: Likewise.
25295         * nscd/connections.c: Likewise.
25296         * nscd/hstcache.c: Likewise.
25297         * nscd/nscd_gethst_r.c: Likewise.
25298         * nscd/nscd_getserv_r.c: Likewise.
25299         * nscd/nscd_helper.c: Likewise.
25300         * nscd/servicescache.c: Likewise.
25301         * nss/makedb.c: Likewise.
25302         * nss/nss_db/db-XXX.c: Likewise.
25303         * nss/nss_db/db-initgroups.c: Likewise.
25304         * nss/nss_db/db-netgrp.c: Likewise.
25305         * nss/nss_files/files-network.c: Likewise.
25306         * nss/nss_files/files-parse.c: Likewise.
25307         * posix/bug-regex5.c: Likewise.
25308         * posix/fnmatch_loop.c: Likewise.
25309         * posix/regcomp.c: Likewise.
25310         * posix/regexec.c: Likewise.
25311         * posix/tst-rfc3484-2.c: Likewise.
25312         * posix/tst-rfc3484-3.c: Likewise.
25313         * posix/tst-rfc3484.c: Likewise.
25314         * resolv/nss_dns/dns-canon.c: Likewise.
25315         * resolv/nss_dns/dns-network.c: Likewise.
25316         * resolv/res_init.c: Likewise.
25317         * resolv/res_mkquery.c: Likewise.
25318         * resolv/tst-aton.c: Likewise.
25319         * stdlib/cxa_atexit.c: Likewise.
25320         * stdlib/cxa_finalize.c: Likewise.
25321         * stdlib/gen-fpioconst.c: Likewise.
25322         * stdlib/strtol_l.c: Likewise.
25323         * string/tst-endian.c: Likewise.
25324         * sunrpc/auth_des.c: Likewise.
25325         * sunrpc/clnt_udp.c: Likewise.
25326         * sunrpc/rtime.c: Likewise.
25327         * sunrpc/svcauth_des.c: Likewise.
25328         * sunrpc/xdr.c: Likewise.
25329         * sunrpc/xdr_intXX_t.c: Likewise.
25330         * sunrpc/xdr_rec.c: Likewise.
25331         * sysdeps/generic/ldconfig.h: Likewise.
25332         * sysdeps/generic/ldsodefs.h: Likewise.
25333         * sysdeps/generic/memusage.h: Likewise.
25334         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
25335         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
25336         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
25337         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
25338         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
25339         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
25340         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
25341         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
25342         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
25343         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
25344         * sysdeps/posix/getaddrinfo.c: Likewise.
25345         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
25346         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
25347         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
25348         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
25349         * sysdeps/powerpc/test-gettimebase.c: Likewise.
25350         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
25351         * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
25352         * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
25353         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
25354         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
25355         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
25356         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
25357         * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
25358         * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
25359         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
25360         * sysdeps/x86_64/dl-tls.h: Likewise.
25361         * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
25362         * time/alt_digit.c: Likewise.
25363         * time/era.c: Likewise.
25364         * wcsmbs/tst-c16c32-1.c: Likewise.
25365
25366 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
25367
25368         * math/libm-test.inc (struct test_sincos_data): New type.
25369         (RUN_TEST_LOOP_sincos): New macro.
25370         (sincos_test_data): New variable.
25371         (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
25372
25373 2013-05-16  Richard Henderson  <rth@redhat.com>
25374
25375         * math/atest-exp2.c (LIMB64): New macro.
25376         (CONSTSZ): New macro.
25377         (mp_exp1, mp_exp_m1, mp_log2): New variables.
25378         (hexdig): Move ...
25379         (print_mpn_fp): ... to function scope.
25380         (read_mpn_hex): Remove.
25381         (get_log2): Remove.
25382         (exp2_mpn): Use mp_log2.
25383         (main): Use mp_exp1.
25384
25385 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
25386
25387         * math/libm-test.inc: Remove comment about not testing "inexact"
25388         exceptions.
25389         (INEXACT_EXCEPTION): New macro.
25390         (NO_INEXACT_EXCEPTION): Likewise.
25391         (INVALID_EXCEPTION_OK): Update value.
25392         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
25393         (OVERFLOW_EXCEPTION_OK): Likewise.
25394         (UNDERFLOW_EXCEPTION_OK): Likewise.
25395         (IGNORE_ZERO_INF_SIGN): Likewise.
25396         (ERRNO_UNCHANGED): Likewise.
25397         (ERRNO_EDOM): Likewise.
25398         (ERRNO_ERANGE): Likewise.
25399         (test_exceptions): Handle testing "inexact" exceptions.
25400         (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
25401         (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
25402         (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
25403         (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
25404         INEXACT_EXCEPTION.
25405         (rint_towardzero_test_data): Likewise.
25406         (rint_downward_test_data): Likewise.
25407         (rint_upward_test_data): Likewise.
25408
25409         * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
25410         with OVERFLOW_EXCEPTION.
25411         (exp10_test_data): Likewise.
25412         (exp2_test_data): Likewise.
25413         (expm1_test_data): Likewise.
25414         (lgamma_test_data): Likewise.
25415         (pow_test_data): Likewise.
25416         (tgamma_test_data): Likewise.
25417         (yn_test_data): Remove duplicate test of overflow.
25418
25419         * math/libm-test.inc (struct test_cc_c_data): New type.
25420         (RUN_TEST_LOOP_cc_c): New macro.
25421         (cpow_test_data): New variable.
25422         (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
25423
25424         * math/libm-test.inc (struct test_f_L_data): New type.
25425         (RUN_TEST_LOOP_f_L): New macro.
25426         (llrint_test_data): New variable.
25427         (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
25428         (llrint_tonearest_test_data): New variable.
25429         (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
25430         (llrint_towardzero_test_data): New variable.
25431         (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
25432         (llrint_downward_test_data): New variable.
25433         (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
25434         (llrint_upward_test_data): New variable.
25435         (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
25436         (llround_test_data): New variable.
25437         (llround_test): Run tests with RUN_TEST_LOOP_f_L.
25438
25439 2013-05-13  Peter Collingbourne  <pcc@google.com>
25440
25441         * math/atest-exp2.c (get_log2): Remove const attribute.
25442
25443 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
25444
25445         * math/libm-test.inc (struct test_f_l_data): New type.
25446         (RUN_TEST_LOOP_f_l): New macro.
25447         (lrint_test_data): New variable.
25448         (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
25449         (lrint_tonearest_test_data): New variable.
25450         (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
25451         (lrint_towardzero_test_data): New variable.
25452         (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
25453         (lrint_downward_test_data): New variable.
25454         (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
25455         (lrint_upward_test_data): New variable.
25456         (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
25457         (lround_test_data): New variable.
25458         (lround_test): Run tests with RUN_TEST_LOOP_f_l.
25459
25460 2013-05-15  Peter Collingbourne  <pcc@google.com>
25461
25462         * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
25463         (EXTRACT_WORDS64) Use where appropriate.
25464         (INSERT_WORDS64) Likewise.
25465
25466         * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
25467         constraints with x constraints.
25468         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
25469
25470         * malloc/obstack.c (_obstack_compat): Add initializer.
25471
25472 2013-05-15  Edjunior Machado  <emachado@linux.vnet.ibm.com>
25473
25474         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
25475         si_trapno and add si_addr_lsb to _sifields.sigfault.
25476         (si_trapno): Remove macro.
25477         (si_addr_lsb): Define new macro.
25478         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
25479
25480 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
25481
25482         * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
25483         instead of TEST_f_l.
25484         (llrint_test_tonearest): Likewise.
25485         (llrint_test_towardzero): Likewise.
25486         (llrint_test_downward): Likewise.
25487         (llrint_test_upward): Likewise.
25488         (llround_test): Likewise.
25489
25490         * math/libm-test.inc (struct test_f_i_data): Add comment.
25491         (RUN_TEST_LOOP_f_b): New macro.
25492         (RUN_TEST_LOOP_f_b_tg): Likewise.
25493         (finite_test_data): New variable.
25494         (finite_test): Run tests with RUN_TEST_LOOP_f_b.
25495         (isfinite_test_data): New variable.
25496         (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
25497         (isinf_test_data): New variable.
25498         (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
25499         (isnan_test_data): New variable.
25500         (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
25501         (isnormal_test_data): New variable.
25502         (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
25503         (issignaling_test_data): New variable.
25504         (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
25505         (signbit_test_data): New variable.
25506         (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
25507
25508         * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
25509         with INVALID_EXCEPTION.
25510         (acosh_test_data): Likewise.
25511         (asin_test_data): Likewise.
25512         (atanh_test_data): Likewise.
25513         (fmod_test_data): Likewise.
25514         (log_test_data): Likewise.
25515         (log10_test_data): Likewise.
25516         (log2_test_data): Likewise.
25517         (pow_test_data): Likewise.
25518         (sqrt_test_data): Likewise.
25519         (y0_test_data): Likewise.
25520         (y1_test_data): Likewise.
25521         (yn_test_data): Likewise.
25522
25523         * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
25524         function contents.
25525
25526         * math/libm-test.inc (struct test_ff_i_data): New type.
25527         (RUN_TEST_LOOP_ff_i_tg): New macro.
25528         (isgreater_test_data): New variable.
25529         (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
25530         (isgreaterequal_test_data): New variable.
25531         (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
25532         (isless_test_data): New variable.
25533         (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
25534         (islessequal_test_data): New variable.
25535         (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
25536         (islessgreater_test_data): New variable.
25537         (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
25538         (isunordered_test_data): New variable.
25539         (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
25540
25541 2013-05-14  David S. Miller  <davem@davemloft.net>
25542
25543         * sysdeps/sparc/fpu/libm-test-ulps: Update.
25544
25545 2013-05-14  Joseph Myers  <joseph@codesourcery.com>
25546
25547         * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
25548
25549         * math/libm-test.inc (struct test_fF_f1_data): Change type of
25550         extra_test to int.
25551         (struct test_f_i_data): Change type of max_ulp to int.
25552
25553         * math/libm-test.inc (test_ffI_f1_data): New type.
25554         (RUN_TEST_LOOP_ffI_f1): New macro.
25555         (remquo_test_data): New variable.
25556         (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
25557
25558         * setjmp/tst-setjmp-fp.c: New file.
25559         * setjmp/Makefile (tests): Add tst-setjmp-fp.
25560         (link-libm): New variable.
25561         ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
25562
25563         * math/libm-test.inc (struct test_f_i_data): New type.
25564         (RUN_TEST_LOOP_f_i): New macro.
25565         (RUN_TEST_LOOP_f_i_tg): Likewise.
25566         (fpclassify_test_data): New variable.
25567         (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
25568         (ilogb_test_data): New variable.
25569         (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
25570
25571         * math/libm-test.inc (scalbln_test): Correct function name in END
25572         call.
25573
25574         * math/libm-test.inc (struct test_f_f1_data): Add comment.
25575         (RUN_TEST_LOOP_fI_f1): New macro.
25576         (frexp_test_data): New variable.
25577         (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
25578
25579         * math/libm-test.inc (struct test_fF_f1_data): New type.
25580         (RUN_TEST_LOOP_fF_f1): New macro.
25581         (modf_test_data): New variable.
25582         (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
25583
25584         * math/libm-test.inc (struct test_f_f1_data): New type.
25585         (RUN_TEST_LOOP_f_f1): New macro.
25586         (gamma_test_data): New variable.
25587         (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
25588         (lgamma_test_data): New variable.
25589         (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
25590
25591 2013-05-13  Carlos O'Donell  <carlos@redhat.com>
25592
25593         * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
25594         * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
25595         (main): Comment "tls" pseudo-hwcap.
25596
25597 2013-05-13  Joseph Myers  <joseph@codesourcery.com>
25598
25599         * math/libm-test.inc (struct test_fl_f_data): New type.
25600         (RUN_TEST_LOOP_fl_f): New variable.
25601         (scalbln_test_data): New variable.
25602         (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
25603
25604         * math/libm-test.inc (struct test_fi_f_data): New type.
25605         (RUN_TEST_LOOP_fi_f): New macro.
25606         (ldexp_test_data): New variable.
25607         (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
25608         (scalbn_test_data): New variable.
25609         (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
25610
25611         * math/libm-test.inc (struct test_c_f_data): New type.
25612         (RUN_TEST_LOOP_c_f): New macro.
25613         (cabs_test_data): New variable.
25614         (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
25615         (carg_test_data): New variable.
25616         (carg_test): Run tests with RUN_TEST_LOOP_c_f.
25617         (cimag_test_data): New variable.
25618         (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
25619         (creal_test_data): New variable.
25620         (creal_test): Run tests with RUN_TEST_LOOP_c_f.
25621
25622         * math/libm-test.inc (struct test_if_f_data): New type.
25623         (RUN_TEST_LOOP_if_f): New macro.
25624         (jn_test_data): New variable.
25625         (jn_test): Run tests with RUN_TEST_LOOP_if_f.
25626         (yn_test_data): New variable.
25627         (yn_test): Run tests with RUN_TEST_LOOP_if_f.
25628
25629         * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
25630
25631 2013-05-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25632
25633         * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
25634         (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
25635
25636 2013-05-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
25637
25638         * benchtests/Makefile (CPPFLAGS-nonlib): Add
25639         -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
25640         (bench-deps): Add bench-timing.h.
25641         * benchtests-bench-skeleton.c: Include bench-timing.h.
25642         (main): Use TIMING_* macros instead of clock_gettime.
25643         * benchtests/bench-timing.h: New file.
25644
25645         [BZ #14582]
25646         * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
25647         Renamed from _LIB_VERSION.
25648         (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
25649
25650 2013-05-12  Joseph Myers  <joseph@codesourcery.com>
25651
25652         * math/libm-test.inc (struct test_fff_f_data): New type.
25653         (RUN_TEST_LOOP_fff_f): New macro.
25654         (fma_test_data): New variable.
25655         (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
25656         (fma_towardzero_test_data): New variable.
25657         (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
25658         (fma_downward_test_data): New variable.
25659         (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
25660         (fma_upward_test_data): New variable.
25661         (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
25662
25663         * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
25664         (struct test_c_c_data): New type.
25665         (RUN_TEST_LOOP_c_c): New macro.
25666         (cacos_test_data): New variable.
25667         (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
25668         (cacosh_test_data): New variable.
25669         (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
25670         (casin_test_data): New variable.
25671         (casin_test): Run tests with RUN_TEST_LOOP_c_c.
25672         (casinh_test_data): New variable.
25673         (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
25674         (catan_test_data): New variable.
25675         (catan_test): Run tests with RUN_TEST_LOOP_c_c.
25676         (catanh_test_data): New variable.
25677         (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
25678         (ccos_test_data): New variable.
25679         (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
25680         (ccosh_test_data): New variable.
25681         (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
25682         (cexp_test_data): New variable.
25683         (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
25684         (clog_test_data): New variable.
25685         (clog_test): Run tests with RUN_TEST_LOOP_c_c.
25686         (clog10_test_data): New variable.
25687         (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
25688         (conj_test_data): New variable.
25689         (conj_test): Run tests with RUN_TEST_LOOP_c_c.
25690         (cproj_test_data): New variable.
25691         (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
25692         (csin_test_data): New variable.
25693         (csin_test): Run tests with RUN_TEST_LOOP_c_c.
25694         (csinh_test_data): New variable.
25695         (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
25696         (csqrt_test_data): New variable.
25697         (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
25698         (ctan_test_data): New variable.
25699         (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
25700         (ctan_tonearest_test_data): New variable.
25701         (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
25702         (ctan_towardzero_test_data): New variable.
25703         (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
25704         (ctan_downward_test_data): New variable.
25705         (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
25706         (ctan_upward_test_data): New variable.
25707         (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
25708         (ctanh_test_data): New variable.
25709         (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
25710         (ctanh_tonearest_test_data): New variable.
25711         (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
25712         (ctanh_towardzero_test_data): New variable.
25713         (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
25714         (ctanh_downward_test_data): New variable.
25715         (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
25716         (ctanh_upward_test_data): New variable.
25717         (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
25718         * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
25719         of BUILD_COMPLEX.
25720
25721         * math/libm-test.inc (struct test_ff_f_data): New type.
25722         (struct test_ff_f_data_nexttoward): Likewise.
25723         (RUN_TEST_LOOP_2_f): New macro.
25724         (RUN_TEST_LOOP_ff_f): Likewise.
25725         (atan2_test_data): New variable.
25726         (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
25727         (copysign_test_data): New variable.
25728         (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
25729         (fdim_test_data): New variable.
25730         (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
25731         (fmax_test_data): New variable.
25732         (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
25733         (fmin_test_data): New variable.
25734         (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
25735         (fmod_test_data): New variable.
25736         (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
25737         (hypot_test_data): New variable.
25738         (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
25739         (nextafter_test_data): New variable.
25740         (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
25741         (nexttoward_test_data): New variable.
25742         (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
25743         (pow_test_data): New variable.
25744         (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
25745         (pow_tonearest_test_data): New variable.
25746         (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
25747         (pow_towardzero_test_data): New variable.
25748         (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
25749         (pow_downward_test_data): New variable.
25750         (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
25751         (pow_upward_test_data): New variable.
25752         (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
25753         (remainder_test_data): New variable.
25754         (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
25755         (scalb_test_data): New variable.
25756         (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
25757         * sysdeps/i386/fpu/libm-test-ulps: Update.
25758
25759 2013-05-11  Joseph Myers  <joseph@codesourcery.com>
25760
25761         * math/libm-test.inc (fma_test): Use max_value instead of local
25762         variable fltmax.
25763         (nextafter_test): Likewise.
25764
25765         * math/libm-test.inc (acos_towardzero_test_data): New variable.
25766         (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
25767         (acos_downward_test_data): New variable.
25768         (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
25769         (acos_upward_test_data): New variable.
25770         (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
25771         (acosh_test_data): New variable.
25772         (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
25773         (asin_test_data): New variable.
25774         (asin_test): Run tests with RUN_TEST_LOOP_f_f.
25775         (asin_tonearest_test_data): New variable.
25776         (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
25777         (asin_towardzero_test_data): New variable.
25778         (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
25779         (asin_downward_test_data): New variable.
25780         (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
25781         (asin_upward_test_data): New variable.
25782         (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
25783         (asinh_test_data): New variable.
25784         (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
25785         (atan_test_data): New variable.
25786         (atan_test): Run tests with RUN_TEST_LOOP_f_f.
25787         (atanh_test_data): New variable.
25788         (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
25789         (cbrt_test_data): New variable.
25790         (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
25791         (ceil_test_data): New variable.
25792         (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
25793         (cos_test_data): New variable.
25794         (cos_test): Run tests with RUN_TEST_LOOP_f_f.
25795         (cos_tonearest_test_data): New variable.
25796         (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
25797         (cos_towardzero_test_data): New variable.
25798         (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
25799         (cos_downward_test_data): New variable.
25800         (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
25801         (cos_upward_test_data): New variable.
25802         (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
25803         (cosh_test_data): New variable.
25804         (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
25805         (cosh_tonearest_test_data): New variable.
25806         (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
25807         (cosh_towardzero_test_data): New variable.
25808         (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
25809         (cosh_downward_test_data): New variable.
25810         (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
25811         (cosh_upward_test_data): New variable.
25812         (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
25813         (erf_test_data): New variable.
25814         (erf_test): Run tests with RUN_TEST_LOOP_f_f.
25815         (erfc_test_data): New variable.
25816         (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
25817         (exp_test_data): New variable.
25818         (exp_test): Run tests with RUN_TEST_LOOP_f_f.
25819         (exp_tonearest_test_data): New variable.
25820         (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
25821         (exp_towardzero_test_data): New variable.
25822         (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
25823         (exp_downward_test_data): New variable.
25824         (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
25825         (exp_upward_test_data): New variable.
25826         (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
25827         (exp10_test_data): New variable.
25828         (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
25829         (exp2_test_data): New variable.
25830         (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
25831         (expm1_test_data): New variable.
25832         (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
25833         (fabs_test_data): New variable.
25834         (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
25835         (floor_test_data): New variable.
25836         (floor_test): Run tests with RUN_TEST_LOOP_f_f.
25837         (j0_test_data): New variable.
25838         (j0_test): Run tests with RUN_TEST_LOOP_f_f.
25839         (j1_test_data): New variable.
25840         (j1_test): Run tests with RUN_TEST_LOOP_f_f.
25841         (log_test_data): New variable.
25842         (log_test): Run tests with RUN_TEST_LOOP_f_f.
25843         (log10_test_data): New variable.
25844         (log10_test): Run tests with RUN_TEST_LOOP_f_f.
25845         (log1p_test_data): New variable.
25846         (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
25847         (log2_test_data): New variable.
25848         (log2_test): Run tests with RUN_TEST_LOOP_f_f.
25849         (logb_test_data): New variable.
25850         (logb_test): Run tests with RUN_TEST_LOOP_f_f.
25851         (logb_downward_test_data): New variable.
25852         (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
25853         (nearbyint_test_data): New variable.
25854         (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
25855         (rint_test_data): New variable.
25856         (rint_test): Run tests with RUN_TEST_LOOP_f_f.
25857         (rint_tonearest_test_data): New variable.
25858         (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
25859         (rint_towardzero_test_data): New variable.
25860         (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
25861         (rint_downward_test_data): New variable.
25862         (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
25863         (rint_upward_test_data): New variable.
25864         (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
25865         (round_test_data): New variable.
25866         (round_test): Run tests with RUN_TEST_LOOP_f_f.
25867         (sin_test_data): New variable.
25868         (sin_test): Run tests with RUN_TEST_LOOP_f_f.
25869         (sin_tonearest_test_data): New variable.
25870         (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
25871         (sin_towardzero_test_data): New variable.
25872         (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
25873         (sin_downward_test_data): New variable.
25874         (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
25875         (sin_upward_test_data): New variable.
25876         (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
25877         (sinh_test_data): New variable.
25878         (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
25879         (sinh_tonearest_test_data): New variable.
25880         (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
25881         (sinh_towardzero_test_data): New variable.
25882         (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
25883         (sinh_downward_test_data): New variable.
25884         (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
25885         (sinh_upward_test_data): New variable.
25886         (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
25887         (sqrt_test_data): New variable.
25888         (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
25889         (tan_test_data): New variable.
25890         (tan_test): Run tests with RUN_TEST_LOOP_f_f.
25891         (tan_tonearest_test_data): New variable.
25892         (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
25893         (tan_towardzero_test_data): New variable.
25894         (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
25895         (tan_downward_test_data): New variable.
25896         (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
25897         (tan_upward_test_data): New variable.
25898         (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
25899         (tanh_test_data): New variable.
25900         (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
25901         (tgamma_test_data): New variable.
25902         (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
25903         (trunc_test_data): New variable.
25904         (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
25905         (y0_test_data): New variable.
25906         (y0_test): Run tests with RUN_TEST_LOOP_f_f.
25907         (y1_test_data): New variable.
25908         (y1_test): Run tests with RUN_TEST_LOOP_f_f.
25909         (significand_test_data): New variable.
25910         (significand_test): Run tests with RUN_TEST_LOOP_f_f.
25911
25912 2013-05-10  Christian Grönke  <cgr_bugs@sysgo.com>
25913
25914         [BZ #12387]
25915         * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
25916
25917 2013-05-10  Pino Toscano  <toscano.pino@tiscali.it>
25918
25919         * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
25920
25921 2013-05-10  Andreas Jaeger  <aj@suse.de>
25922
25923         [BZ #15448]
25924         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
25925         (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
25926
25927 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
25928
25929         * math/gen-libm-test.pl (adjust_arg): New function.
25930         (special_functions): Handle generating output in both functions
25931         and arrays.
25932         (parse_args): Likewise.
25933         (generate_testfile): Handle START_DATA and END_DATA.  Pass extra
25934         $in_func argument to parse_args.
25935         * math/libm-test.inc (struct test_f_f_data): New type.
25936         (IF_ROUND_INIT_): New macro.
25937         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
25938         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
25939         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
25940         (IF_ROUND_INIT_FE_UPWARD): Likewise.
25941         (ROUND_RESTORE_): Likewise.
25942         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
25943         (ROUND_RESTORE_FE_TONEAREST): Likewise.
25944         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
25945         (ROUND_RESTORE_FE_UPWARD): Likewise.
25946         (RUN_TEST_LOOP_f_f): New macro.
25947         (acos_test_data): New variable.
25948         (acos_test): Run tests with RUN_TEST_LOOP_f_f.
25949         (acos_tonearest_test_data): New variable.
25950         (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
25951
25952 2013-05-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
25953
25954         * benchtests/bench-skeleton.c (startup): Fix coding style.
25955
25956 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
25957
25958         [BZ #6809]
25959         * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
25960         negative infinity argument.
25961         * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
25962         negative infinity argument.
25963         * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
25964         negative infinity argument.
25965         * math/libm-test.inc (tgamma_test): Expect errno to be set for
25966         domain errors.
25967
25968 2013-05-10  Florian Weimer  <fweimer@redhat.com>
25969
25970         * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
25971         * iconv/iconv_charmap.c (charmap_conversion): Likewise.
25972         * iconv/iconv_prog.c (main): Likewise.
25973         * locale/programs/charmap-dir.c (charmap_readdir)
25974         (fopen_uncompressed): Likewise.
25975         * locale/programs/locfile.c (siblings_uncached)
25976         (write_locale_data): Use lstat64 instead of lstat.
25977         * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
25978         stat.
25979
25980 2013-05-10  Andreas Jaeger  <aj@suse.de>
25981
25982         [BZ #15395]
25983         * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
25984         localization.
25985         Include <locale.h>.
25986
25987 2013-05-09  Carlos O'Donell  <carlos@redhat.com>
25988
25989         * elf/dl-close.c (_dl_close_worker): Add comments.
25990
25991 2013-05-09  Joseph Myers  <joseph@codesourcery.com>
25992
25993         [BZ #15359]
25994         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
25995         high part of pi/2.
25996         (__ieee754_rem_pio2l): Update comments.
25997
25998         [BZ #15429]
25999         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
26000         high part of pi/2.
26001         (__ieee754_rem_pio2l): Update comments.
26002
26003         * math/libm-test.inc (M_SQRT_2_2): Remove macro.
26004         (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
26005
26006         * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
26007         M_PI_4l.
26008
26009         * math/libm-test.inc (M_PI_34l): Define using decimal constant.
26010         (M_PI_34_LOG10El): Likewise.
26011         (M_PI2_LOG10El): Likewise.
26012         (M_PI4_LOG10El): Likewise.
26013         (M_PI_LOG10El): Likewise.
26014
26015 2013-05-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26016
26017         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26018
26019 2013-05-08  Joseph Myers  <joseph@codesourcery.com>
26020
26021         * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
26022         (MINUS_ZERO_INIT): Likewise.
26023         (PLUS_INFTY_INIT): Likewise.
26024         (MINUS_INFTY_INIT): Likewise.
26025         (QNAN_VALUE_INIT): Likewise.
26026         (MAX_VALUE_INIT): Likewise.
26027         (MIN_VALUE_INIT): Likewise.
26028         (MIN_SUBNORM_VALUE_INIT): Likewise.
26029         (plus_zero): Initialize with PLUS_ZERO_INIT.
26030         (minus_zero): Initialize with MINUS_ZERO_INIT.
26031         (plus_infty): Initialize with PLUS_INFTY_INIT.
26032         (minus_infty): Initialize with MINUS_INFTY_INIT.
26033         (qnan_value): Initialize with QNAN_VALUE_INIT.
26034         (max_value): Initialize with MAX_VALUE_INIT.
26035         (min_value): Initialize with MIN_VALUE_INIT.
26036         (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
26037
26038         * math/libm-test.inc (RUN_TEST_if_f): New macro.
26039         (jn_test): Use TEST_if_f instead of TEST_ff_f.
26040         (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
26041         (yn_test): Use TEST_if_f instead of TEST_ff_f.
26042
26043         * math/libm-test.inc (RUN_TEST_f_f): New macro.
26044         (RUN_TEST_2_f): Likewise.
26045         (RUN_TEST_ff_f): Likewise.
26046         (RUN_TEST_fi_f): Likewise.
26047         (RUN_TEST_fl_f): Likewise.
26048         (RUN_TEST_fff_f): Likewise.
26049         (RUN_TEST_c_f): Likewise.
26050         (RUN_TEST_f_f1): Likewise.
26051         (RUN_TEST_fF_f1): Likewise.
26052         (RUN_TEST_fI_f1): Likewise.
26053         (RUN_TEST_ffI_f1): Likewise.
26054         (RUN_TEST_c_c): Likewise.
26055         (RUN_TEST_cc_c): Likewise.
26056         (RUN_TEST_f_i): Likewise.
26057         (RUN_TEST_f_i_tg): Likewise.
26058         (RUN_TEST_ff_i_tg): Likewise.
26059         (RUN_TEST_f_b): Likewise.
26060         (RUN_TEST_f_b_tg): Likewise.
26061         (RUN_TEST_f_l): Likewise.
26062         (RUN_TEST_f_L): Likewise.
26063         (RUN_TEST_sincos): Likewise.
26064         * math/gen-libm-test.pl (new_test): Take new argument to indicate
26065         whether to show exceptions.  Do not include ");\n" in return
26066         value.
26067         (special_functions): Output call to RUN_TEST_sincos instead of
26068         check_float calls.  Update calls to new_test.
26069         (parse_args): Output call to single RUN_TEST_* macro instead of
26070         check_* calls and other assignments.  Update calls to new_test.
26071
26072         [BZ #2546]
26073         [BZ #2560]
26074         [BZ #5159]
26075         [BZ #15426]
26076         * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
26077         input to result for tgamma overflow.
26078         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
26079         (gamma_coeff): New variable.
26080         (NCOEFF): New macro.
26081         (gamma_positive): New function.
26082         (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
26083         underflow here.  Use gamma_positive instead of exp (lgamma) for
26084         other arguments.
26085         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
26086         (gamma_coeff): New variable.
26087         (NCOEFF): New macro.
26088         (gammaf_positive): New function.
26089         (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
26090         underflow here.  Use gamma_positive instead of exp (lgamma) for
26091         other arguments.
26092         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
26093         (gamma_coeff): New variable.
26094         (NCOEFF): New macro.
26095         (gammal_positive): New function.
26096         (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
26097         underflow here.  Use gamma_positive instead of exp (lgamma) for
26098         other arguments.
26099         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
26100         (gamma_coeff): New variable.
26101         (NCOEFF): New macro.
26102         (gammal_positive): New function.
26103         (__ieee754_gammal_r): Handle positive infinity, overflow and
26104         underflow here.  Handle NaN the same as positive infinity.  Remove
26105         check x < 0xffffffff for negative integers.  Use gamma_positive
26106         instead of exp (lgamma) for other arguments.
26107         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
26108         (gamma_coeff): New variable.
26109         (NCOEFF): New macro.
26110         (gammal_positive): New function.
26111         * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
26112         * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
26113         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
26114         * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
26115         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
26116         * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
26117         * sysdeps/generic/math_private.h (__gamma_productf): New
26118         prototype.
26119         (__gamma_product): Likewise.
26120         (__gamma_productl): Likewise.
26121         * math/Makefile (libm-calls): Add gamma_product.
26122         * math/libm-test.inc (tgamma_test): Add more tests.
26123         * sysdeps/i386/fpu/libm-test-ulps: Update.
26124         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26125
26126 2013-05-08  Ondřej Bílka  <neleai@seznam.cz>
26127
26128         * benchtests/bench-skeleton.c (main): Preheat CPU.
26129
26130 2013-05-07  Aurelien Jarno <aurelien@aurel32.net>
26131
26132         * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
26133
26134 2013-05-07  Roland McGrath  <roland@hack.frob.com>
26135
26136         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
26137         and _dl_skip_args_internal.
26138
26139 2013-05-07  Carlos O'Donell  <carlos@redhat.com>
26140
26141         * manual/message.texi (Message Translation): Talk about users.
26142         Message to key mapping impacts design.
26143
26144 2013-05-06  Roland McGrath  <roland@hack.frob.com>
26145
26146         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
26147
26148         * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
26149
26150         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
26151         * sysdeps/wordsize-64/glob64.c: ... here.
26152
26153         * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
26154         (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
26155         New macros.
26156
26157         * debug/getlogin_r_chk.c: Moved to ...
26158         * login/getlogin_r_chk.c: ... here.
26159         * debug/Makefile (routines): Move getlogin_r_chk to ...
26160         * login/Makefile (routines): ... here.
26161         * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
26162         * login/Versions (libc: GLIBC_2.4): ... here.
26163
26164         * io/poll.c (__poll): Renamed from poll.
26165         Add libc_hidden_def.
26166         (poll): Define as weak alias.
26167
26168         * debug/ptsname_r_chk.c: Moved to ...
26169         * login/ptsname_r_chk.c: ... here.
26170         * debug/Makefile (routines): Move ptsname_r_chk to ...
26171         * login/Makefile (routines): ... here.
26172         * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
26173         * login/Versions (libc: GLIBC_2.4): ... here.
26174
26175         * posix/getlogin.c: Moved to ...
26176         * login/getlogin.c: ... here.
26177         * posix/getlogin_r.c: Moved to ...
26178         * login/getlogin_r.c: ... here.
26179         * posix/getlogin_r.c: Moved to ...
26180         * login/getlogin_r.c: ... here.
26181         * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
26182         * login/Makefile (routines): ... here.
26183         * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
26184         * login/Versions (libc: GLIBC_2.0): ... here.
26185
26186         * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
26187         (setrlimit): Define as weak alias.
26188
26189         * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
26190         Call __ names for open, ftruncate, and close.
26191         For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
26192         (truncate): Define as weak alias.
26193
26194 2013-05-06  Joseph Myers  <joseph@codesourcery.com>
26195
26196         * math/gen-libm-test.pl (parse_args): Initialize x before each
26197         test of frexp, modf and remquo.
26198
26199         * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
26200         test signgam value.
26201
26202 2013-05-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26203
26204         [BZ #15418]
26205         [BZ #15419]
26206         * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
26207         internal tests.
26208         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
26209
26210 2013-05-06  Roland McGrath  <roland@hack.frob.com>
26211
26212         * elf/dl-writev.h: New file.
26213         * elf/dl-misc.c: Include it.
26214         (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
26215         * sysdeps/unix/sysv/linux/dl-writev.h: New file.
26216
26217 2013-05-04  Joseph Myers  <joseph@codesourcery.com>
26218
26219         * math/libm-test.inc (noXFails): Remove variable.
26220         (noXPasses): Likewise.
26221         (BUILD_COMPLEX_INT): Remove macro.
26222         (print_screen): Remove xfail argument.
26223         (print_screen_max_error): Likewise.
26224         (update_stats): Likewise.
26225         (print_max_error): Likewise.  Update calls to other affected
26226         functions.
26227         (print_complex_max_error): Likewise.
26228         (test_single_exception): Update calls to print_screen.
26229         (test_single_errno): Likewise.
26230         (check_float_internal): Remove xfail argument.  Update calls to
26231         other affected functions.
26232         (check_float): Likewise.
26233         (check_complex): Likewise.
26234         (check_int): Likewise.
26235         (check_long): Likewise.
26236         (check_bool): Likewise.
26237         (check_longlong): Likewise.
26238         (main): Don't print noXFails and noXPasses.
26239         * math/gen-libm-test.pl (top level): Don't mention expected
26240         failure handling in comment.
26241         (new_test): Don't handle expected failures.
26242         (parse_args): Don't mention expected failure handling in comment.
26243         (generate_testfile): Don't handle expected failures.
26244         (parse_ulps): Likewise.
26245         (print_ulps_file): Likewise.
26246         (get_failure): Remove function.
26247         (output_test): Don't handle expected failures.
26248         * make/README.libm-test: Don't mention expected failure handling.
26249
26250         * math/libm-test.inc (plus_zero): Make const.  Add initializer.
26251         (minus_zero): Likewise.
26252         (plus_infty): Likewise.
26253         (minus_infty): Likewise.
26254         (qnan_value): Likewise.
26255         (max_value): Likewise.
26256         (min_value): Likewise.
26257         (min_subnorm_value): Likewise.
26258         (initialize): Do not initialize those variables dynamically.
26259
26260 2013-05-03  Roland McGrath  <roland@hack.frob.com>
26261
26262         * io/open.c (__open_2): Moved to ...
26263         * io/open_2.c: ... this new file.
26264         * io/open64.c (__open64_2): Moved to ...
26265         * io/open64_2.c: ... this new file.
26266         * io/openat.c (__openat_2): Moved to ...
26267         * io/openat_2.c: ... this new file.
26268         * io/openat64.c (__openat64_2): Moved to ...
26269         * io/openat64_2.c: ... this new file.
26270         * io/Makefile (routines): Add them.
26271         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
26272         * sysdeps/unix/sysv/linux/open_2.c: File removed.
26273         * sysdeps/unix/sysv/linux/open64_2.c: File removed.
26274         * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
26275         * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
26276         * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
26277         (__openat64): Add hidden_ver.
26278         * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
26279         * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
26280
26281         * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
26282         Separately conditionalize setting of GLRO(dl_sysinfo) so
26283         that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
26284         as well, but the actual setting is only under [NEED_DL_SYSINFO].
26285
26286 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26287
26288         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
26289         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
26290         definition.
26291         (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
26292         * sysdeps/unix/sysv/linux/powerpc/init-first.c
26293         (_libc_vdso_platform_setup): Add __vdso_time initialization.
26294         * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
26295         for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
26296
26297 2013-05-03  Joseph Myers  <joseph@codesourcery.com>
26298
26299         * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
26300         test signgam value.
26301
26302         * math/libm-test.inc (hypot_test): Do not use
26303         IGNORE_ZERO_INF_SIGN.
26304
26305 2013-05-03  Andreas Jaeger  <aj@suse.de>
26306
26307         * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
26308         Linux 3.9.
26309         * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
26310         (PF_MAX): Adjust for VSOCK change.
26311
26312 2013-05-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26313
26314         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26315
26316 2013-05-02  Carlos O'Donell  <carlos@redhat.com>
26317
26318         [BZ #15264]
26319         * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
26320         * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
26321         * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
26322
26323 2013-05-02  David S. Miller  <davem@davemloft.net>
26324
26325         * sysdeps/sparc/fpu/libm-test-ulps: Update.
26326
26327 2013-05-01  Ondřej Bílka  <neleai@seznam.cz>
26328
26329         * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
26330
26331 2013-05-01  Roland McGrath  <roland@hack.frob.com>
26332
26333         * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
26334
26335 2013-05-01  Richard Smith  <richard@metafoo.co.uk>
26336
26337         [BZ #14952]
26338         * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
26339         [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
26340         Use __attribute__ ((__gnu_inline__)).
26341         [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
26342         Don't use __attribute__ ((__gnu_inline__)).
26343
26344 2013-05-01  Joseph Myers  <joseph@codesourcery.com>
26345
26346         [BZ #15423]
26347         * math/s_catan.c (__catan): Handle small real or imaginary part of
26348         input specially to avoid spurious underflow.
26349         * math/s_catanf.c (__catanf): Likewise.
26350         * math/s_catanh.c (__catanh): Likewise.
26351         * math/s_catanhf.c (__catanhf): Likewise.
26352         * math/s_catanhl.c (__catanhl): Likewise.
26353         * math/s_catanl.c (__catanl): Likewise.
26354         * math/libm-test.inc (catan_test): Add more tests.
26355         (catanh_test): Likewise.
26356         * sysdeps/i386/fpu/libm-test-ulps: Update.
26357         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26358
26359 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26360
26361         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26362
26363 2013-04-30  Joseph Myers  <joseph@codesourcery.com>
26364
26365         [BZ #15416]
26366         * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
26367         accurately for denominator in atan2.
26368         * math/s_catanf.c (__catanf): Likewise.
26369         * math/s_catanh.c (__catanh): Likewise.
26370         * math/s_catanhf.c (__catanhf): Likewise.
26371         * math/s_catanhl.c (__catanhl): Likewise.
26372         * math/s_catanl.c (__catanl): Likewise.
26373         * math/libm-test.inc (catan_test): Add more tests.
26374         (catanh_test): Likewise.
26375         * sysdeps/i386/fpu/libm-test-ulps: Update.
26376         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26377
26378 2013-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
26379
26380         * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
26381
26382         * benchtests/Makefile (bench): Remove slow benchmarks.
26383         * benchtests/atan-inputs: Add slow benchmark inputs.
26384         * benchtests/bench-modf.c (NUM_VARIANTS): Define.
26385         (BENCH_FUNC): Accept variant offset.
26386         (VARIANT): Define.
26387         * benchtests/bench-skeleton.c (main): Run benchmark for each
26388         variant.
26389         * benchtests/cos-inputs: Add slow benchmark inputs.
26390         * benchtests/exp-inputs: Likewise.
26391         * benchtests/pow-inputs: Likewise.
26392         * benchtests/sin-inputs: Likewise.
26393         * benchtests/slowatan-inputs: Remove.
26394         * benchtests/slowatan.c: Remove.
26395         * benchtests/slowcos-inputs: Remove.
26396         * benchtests/slowcos.c: Remove.
26397         * benchtests/slowexp-inputs: Remove.
26398         * benchtests/slowexp.c: Remove.
26399         * benchtests/slowpow-inputs: Remove.
26400         * benchtests/slowpow.c: Remove.
26401         * benchtests/slowsin-inputs: Remove.
26402         * benchtests/slowsin.c: Remove.
26403         * benchtests/slowtan-inputs: Remove.
26404         * benchtests/slowtan.c: Remove.
26405         * benchtests/tan-inputs: Add slow benchmark inputs.
26406         * scripts/bench.pl: Parse comments and directives.
26407
26408         * benchtests/Makefile: Remove *-ITER.  Define BENCH_DURATION
26409         in CPPFLAGS.
26410         ($(objpfx)bench-%.c): Remove *-ITER.
26411         * benchtests/bench-modf.c: Remove definition of ITER.
26412         * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
26413         (main): Loop for DURATION seconds instead of fixed number of
26414         iterations.
26415         * scripts/bench.pl: Don't expect iterations in parameters.
26416
26417 2013-04-29  Roland McGrath  <roland@hack.frob.com>
26418
26419         * io/fchdir.c (__fchdir): Renamed from fchdir.
26420         (fchdir): Define as weak alias.
26421
26422 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
26423
26424         * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
26425         (ERRNO_EDOM): Likewise.
26426         (ERRNO_ERANGE): Likewise.
26427         (noErrnoTests): New variable.
26428         (init_max_error): Set errno to 0.
26429         (test_single_errno): New function.
26430         (test_errno): Likewise.
26431         (check_float_internal): Call test_errno.  Set errno to 0.
26432         (check_complex): Refer to errno tests in comment.
26433         (check_int): Call test_errno.  Set errno to 0.
26434         (check_long): Likewise.
26435         (check_bool): Likewise.
26436         (check_longlong): Likewise.
26437         (cos_test): Use ERRNO_* flags for errno tests instead of
26438         check_int.
26439         (expm1_test): Likewise.
26440         (fmod_test): Likewise.
26441         (ilogb_test): Likewise.
26442         (lgamma_test): Likewise.
26443         (pow_test): Likewise.
26444         (remainder_test): Likewise.
26445         (sin_test): Likewise.
26446         (tan_test): Likewise.
26447         (yn_test): Likewise.
26448         (initialize): Set errno to 0.
26449         (main): Print number of errno tests.
26450         * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
26451
26452 2013-04-29  Andreas Jaeger  <aj@suse.de>
26453
26454         [BZ #15084]
26455         * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
26456         and RES_USEVC.
26457
26458         [BZ #15085]
26459         * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
26460         * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
26461         unimplemented.
26462
26463         [BZ #15380]
26464         * stdlib/random.c (__initstate): Return NULL if
26465         __initstate fails.
26466
26467         [BZ #15086]
26468         * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
26469         RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
26470         RES_SNGLKUPREOP.
26471
26472 2013-04-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26473
26474         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26475
26476 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
26477
26478         * math/libm-test.inc (cacos_test): Add missing semicolons at ends
26479         of individual tests.
26480         (casin_test): Likewise.
26481         (casinh_test): Likewise.
26482
26483 2013-04-27  Joseph Myers  <joseph@codesourcery.com>
26484
26485         [BZ #15409]
26486         * math/s_catan.c (__catan): Handle arguments with large real or
26487         imaginary part separately without squaring.
26488         * math/s_catanf.c (__catanf): Likewise.
26489         * math/s_catanh.c (__catanh): Likewise.
26490         * math/s_catanhf.c (__catanhf): Likewise.
26491         * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
26492         and redefine.
26493         (__catanhl): Handle arguments with large real or imaginary part
26494         separately without squaring.
26495         * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
26496         and redefine.
26497         (__catanl): Handle arguments with large real or imaginary part
26498         separately without squaring.
26499         * math/libm-test.inc (catan_test): Add more tests.
26500         (catanh_test): Likewise.
26501         * sysdeps/i386/fpu/libm-test-ulps: Update.
26502         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26503
26504 2013-04-27  Andreas Jaeger  <aj@suse.de>
26505
26506         [BZ #15007]
26507         * stdlib/stdlib.h: Update guards for qecvt.
26508         * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
26509         <stdlib.h>.
26510
26511 2013-04-27  Allan McRae  <allan@archlinux.org>
26512
26513         * sysdeps/i386/fpu/libm-test-ulps: Update.
26514
26515 2013-04-26  Joseph Myers  <joseph@codesourcery.com>
26516
26517         [BZ #15406]
26518         * math/s_catan.c: Include <float.h>.
26519         (__catan): Ensure underflow exception occurs for underflowed
26520         result.
26521         * math/s_catanf.c: Include <float.h>.
26522         (__catanf): Ensure underflow exception occurs for underflowed
26523         result.
26524         * math/s_catanh.c: Include <float.h>.
26525         (__catanh): Ensure underflow exception occurs for underflowed
26526         result.
26527         * math/s_catanhf.c: Include <float.h>.
26528         (__catanhf): Ensure underflow exception occurs for underflowed
26529         result.
26530         * math/s_catanhl.c: Include <float.h>.
26531         (__catanhl): Ensure underflow exception occurs for underflowed
26532         result.
26533         * math/s_catanl.c: Include <float.h>.
26534         (__catanl): Ensure underflow exception occurs for underflowed
26535         result.
26536         * math/libm-test.inc (catan_test): Add more tests.
26537         (catanh_test): Likewise.
26538
26539         [BZ #15405]
26540         * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
26541         underflowed result.
26542         * math/s_ccoshf.c (__ccoshf): Likewise.
26543         * math/s_ccoshl.c (__ccoshl): Likewise.
26544         * math/s_csin.c (__csin): Likewise.
26545         * math/s_csinf.c (__csinf): Likewise.
26546         * math/s_csinh.c (__csinh): Likewise.
26547         * math/s_csinhf.c (__csinhf): Likewise.
26548         * math/s_csinhl.c (__csinhl): Likewise.
26549         * math/s_csinl.c (__csinl): Likewise.
26550         * math/libm-test.inc (ccos_test): Add more tests.
26551         (ccosh_test): Likewise.
26552         (csin_test): Likewise.
26553         (csinh_test): Likewise.
26554
26555 2013-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26556
26557         * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
26558         * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
26559         * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
26560         * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
26561         * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
26562         powerpc/power5+/fpu folders.
26563         * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
26564
26565
26566 2013-04-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
26567
26568         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26569
26570 2013-04-25  Joseph Myers  <joseph@codesourcery.com>
26571
26572         * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
26573         additions to variable.
26574         [$(config-machine) = x86_64] (modules-names): Likewise.
26575         ($(objpfx)tst-audit3): Remove dependency.
26576         ($(objpfx)tst-audit3.out): Likewise.
26577         ($(objpfx)tst-audit4): Likewise.
26578         ($(objpfx)tst-audit4.out): Likewise.
26579         ($(objpfx)tst-audit5): Likewise.
26580         ($(objpfx)tst-audit5.out): Likewise.
26581         ($(objpfx)tst-audit6): Likewise.
26582         ($(objpfx)tst-audit6.out): Likewise.
26583         ($(objpfx)tst-audit7): Likewise.
26584         ($(objpfx)tst-audit7.out): Likewise.
26585         (tst-audit3-ENV): Remove variable.
26586         (tst-audit4-ENV): Likewise.
26587         (tst-audit5-ENV): Likewise.
26588         (tst-audit6-ENV): Likewise.
26589         (tst-audit7-ENV): Likewise.
26590         [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
26591         [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
26592         addition to variable.
26593         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
26594         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
26595         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
26596         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
26597         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
26598         * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
26599         tst-audit3, tst-audit4 and tst-audit5.
26600         [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
26601         tst-audit6 and tst-audit7.
26602         [$(subdir) = elf] (modules-names): Add audit modules for those
26603         tests.
26604         [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
26605         [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
26606         [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
26607         [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
26608         [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
26609         [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
26610         [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
26611         [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
26612         [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
26613         [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
26614         [$(subdir) = elf] (tst-audit3-ENV): New variable.
26615         [$(subdir) = elf] (tst-audit4-ENV): Likewise.
26616         [$(subdir) = elf] (tst-audit5-ENV): Likewise.
26617         [$(subdir) = elf] (tst-audit6-ENV): Likewise.
26618         [$(subdir) = elf] (tst-audit7-ENV): Likewise.
26619         [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
26620         Likewise.
26621         [$(subdir) = elf && $(config-cflags-avx) = yes]
26622         (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
26623         [$(subdir) = elf && $(config-cflags-avx) = yes]
26624         (CFLAGS-tst-auditmod4a.c): Likewise.
26625         [$(subdir) = elf && $(config-cflags-avx) = yes]
26626         (CFLAGS-tst-auditmod4b.c): Likewise.
26627         [$(subdir) = elf && $(config-cflags-avx) = yes]
26628         (CFLAGS-tst-auditmod6b.c): Likewise.
26629         [$(subdir) = elf && $(config-cflags-avx) = yes]
26630         (CFLAGS-tst-auditmod6c.c): Likewise.
26631         [$(subdir) = elf && $(config-cflags-avx) = yes]
26632         (CFLAGS-tst-auditmod7b.c): Likewise.
26633         * elf/tst-audit3.c: Move to ...
26634         * sysdeps/x86_64/tst-audit3.c: ... here.
26635         * elf/tst-audit4.c: Move to ...
26636         * sysdeps/x86_64/tst-audit4.c: ... here.
26637         * elf/tst-audit5.c: Move to ...
26638         * sysdeps/x86_64/tst-audit5.c: ... here.
26639         * elf/tst-audit6.c: Move to ...
26640         * sysdeps/x86_64/tst-audit6.c: ... here.
26641         * elf/tst-audit7.c: Move to ...
26642         * sysdeps/x86_64/tst-audit7.c: ... here.
26643         * elf/tst-auditmod3a.c: Move to ...
26644         * sysdeps/x86_64/tst-auditmod3a.c: ... here.
26645         * elf/tst-auditmod3b.c: Move to ...
26646         * sysdeps/x86_64/tst-auditmod3b.c: ... here.
26647         * elf/tst-auditmod4a.c: Move to ...
26648         * sysdeps/x86_64/tst-auditmod4a.c: ... here.
26649         * elf/tst-auditmod4b.c: Move to ...
26650         * sysdeps/x86_64/tst-auditmod4b.c: ... here.
26651         * elf/tst-auditmod5a.c: Move to ...
26652         * sysdeps/x86_64/tst-auditmod5a.c: ... here.
26653         * elf/tst-auditmod5b.c: Move to ...
26654         * sysdeps/x86_64/tst-auditmod5b.c: ... here.
26655         * elf/tst-auditmod6a.c: Move to ...
26656         * sysdeps/x86_64/tst-auditmod6a.c: ... here.
26657         * elf/tst-auditmod6b.c: Move to ...
26658         * sysdeps/x86_64/tst-auditmod6b.c: ... here.
26659         * elf/tst-auditmod6c.c: Move to ...
26660         * sysdeps/x86_64/tst-auditmod6c.c: ... here.
26661         * elf/tst-auditmod7a.c: Move to ...
26662         * sysdeps/x86_64/tst-auditmod7a.c: ... here.
26663         * elf/tst-auditmod7b.c: Move to ...
26664         * sysdeps/x86_64/tst-auditmod7b.c: ... here.
26665
26666 2013-04-25  Paul Pluzhnikov  <ppluzhnikov@google.com>
26667
26668         [BZ #15366]
26669         * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
26670         define unconditionally.
26671         * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
26672         define unconditionally.
26673         (INT8_C, INT16_C, etc.): Likewise.
26674
26675 2013-04-25  Maciej W. Rozycki  <macro@codesourcery.com>
26676
26677         * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
26678         __ehdr_start with hidden visibility.
26679
26680         * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
26681
26682 2013-04-24  Carlos O'Donell  <carlos@redhat.com>
26683
26684         * math/libm-test.inc (cos_test): Use accurate hex constants.
26685         (sincost_test): Likewise.
26686
26687 2013-04-24  Joseph Myers  <joseph@codesourcery.com>
26688
26689         * math/libm-test.inc (catan_test): Add more tests.
26690         (catanh_test): Likewise.
26691
26692         * math/s_catanf.c (__catanf): Use suffixed floating-point
26693         constants.
26694         * math/s_catanhf.c (__catanhf): Likewise.
26695         * math/s_catanhl.c (__catanhl): Likewise.
26696         * math/s_catanl.c (__catanl): Likewise.
26697
26698         [BZ #15394]
26699         * math/s_catan.c (__catan): Calculate imaginary part of result
26700         with log1p not log unless computing log of number close to 0.
26701         * math/s_catanf.c (__catanf): Likewise.
26702         * math/s_catanl.c (__catanl): Likewise.
26703         * math/s_catanh.c (__catanh): Calculate real part of result with
26704         log1p not log unless computing log of number close to 0.
26705         * math/s_catanhf.c (__catanhf): Likewise.
26706         * math/s_catanhl.c (__catanhl): Likewise.
26707         * math/libm-test.inc (catan_test): Add more tests.
26708         (catanh_test): Likewise.
26709         * sysdeps/i386/fpu/libm-test-ulps: Update.
26710         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26711
26712 2013-04-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
26713
26714         * benchtests/Makefile: Mention files in which fast and slow
26715         paths of math functions are implemented.
26716
26717 2013-04-23  Roland McGrath  <roland@hack.frob.com>
26718
26719         * sysdeps/posix/timespec_get.c: New file.
26720
26721 2013-04-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26722
26723         * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
26724         POWER.
26725         * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
26726         for POWER.
26727         * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
26728         powerpc/power5/fpu folders.
26729         * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
26730         * benchtests/Makefile: Add modf testcase.
26731         * benchtests/bench-modf.c: New file: Benchmark test for mo
26732
26733 2013-04-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
26734
26735         [BZ #14888]
26736         * time/Makefile (tests): Add tst-strptime-whitespace.
26737         * time/strptime_l.c (get_number): Use ISSPACE.
26738         (__strptime_internal): Likewise.
26739         * time/tst-strptime-whitespace.c: New test case.
26740
26741 2013-04-23  Andreas Schwab  <schwab@linux-m68k.org>
26742
26743         * nss/nss_files/files-init.c (TF): Don't initialize flexible array
26744         member.
26745         (_nss_files_init): Set it here.
26746
26747 2013-04-23  Heiko Carstens  <heiko.carstens@de.ibm.com>
26748
26749         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
26750         f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
26751         unsigned.
26752
26753 2013-04-22  Jan-Benedict Glaw  <jbglaw@getslash.de>
26754
26755         * nss/getent.c (shadow_keys): Call endspent, not endpwent.
26756
26757 2013-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
26758
26759         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
26760         size just once.
26761
26762 2013-04-21  David S. Miller  <davem@davemloft.net>
26763
26764         * po/ru.po: Update Russion translation from translation project.
26765
26766 2013-04-17  Adam Conrad  <adconrad@0c3.net>
26767
26768         * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
26769         and setfsgid.
26770
26771 2013-04-17  Carlos O'Donell  <carlos@redhat.com>
26772
26773         * configure.in: Remove i386 configure warning. Remove i386 case.
26774         * configure: Regenerate.
26775         * sysdeps/i386/configure.in: Raise error if config_machine is i386.
26776         Add example to error message.
26777         * sysdeps/i386/configure: Regenerate.
26778
26779 2013-04-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
26780
26781         * benchtests/Makefile (bench): Add cos, tan, slowcos and
26782         slowtan.
26783         * benchtests/cos-inputs: New file.
26784         * benchtests/slowcos-inputs: New file.
26785         * benchtests/slowcos.c: New file.
26786         * benchtests/slowtan-inputs: New file.
26787         * benchtests/slowtan.c: New file.
26788         * benchtests/tan-inputs: New file.
26789
26790 2013-04-16  Roland McGrath  <roland@hack.frob.com>
26791
26792         * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
26793         considered kosher.
26794
26795 2013-04-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
26796
26797         * benchtests/Makefile: Include cppflags-iterator.mk to add
26798         -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
26799
26800         * Makefile.in (bench-clean): New target.
26801         * benchtests/Makefile (bench-clean): Likewise.
26802
26803 2013-04-16  David Holsgrove  <david.holsgrove@xilinx.com>
26804
26805         * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
26806
26807 2013-04-15  Thomas Schwinge  <thomas@codesourcery.com>
26808
26809         * stdio-common/tstdiomisc.c: Fix coding-style violation.
26810
26811 2013-04-15  Andreas Schwab  <schwab@suse.de>
26812
26813         * nscd/grpcache.c (cache_addgr): Properly check for short write.
26814         * nscd/initgrcache.c (addinitgroupsX): Likewise.
26815         * nscd/pwdcache.c (cache_addpw): Likewise.
26816         * nscd/servicescache.c (cache_addserv): Likewise.  Don't write
26817         more than recsize.
26818
26819 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
26820
26821         * benchtests/Makefile (bench): Write all output to
26822         bench-out.tmp together.
26823
26824 2013-04-15  Andreas Schwab  <schwab@suse.de>
26825
26826         * nscd/nscd.c (main): Don't fork again after closing files.
26827
26828 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
26829
26830         * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
26831
26832         * benchtests/Rules (bench-deps): Collect dependencies into a
26833         single variable.  Add Makefile to dependencies.
26834         ($(objpfx)bench-%.c): Depend on bench-deps.
26835
26836 2013-04-12  Roland McGrath  <roland@hack.frob.com>
26837             Xavier Roche  <roche+kml2@exalead.com>
26838
26839         [BZ #15361]
26840         * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
26841         just that it's a file descriptor.
26842         * manual/llio.texi (Synchronizing AIO Operations): Update description
26843         for EBADF error from aio_fsync.
26844
26845 2013-04-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
26846
26847         * Rules (bench): Move target definition...
26848         * benchtests/Makefile: ... here.
26849
26850 2013-04-11  Carlos O'Donell  <carlos@redhat.com>
26851
26852         * math/libm-test.inc (cos_test): Fix PI/2 test.
26853         (sincos_test): Likewise.
26854         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
26855         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
26856
26857 2013-04-11  Andreas Schwab  <schwab@suse.de>
26858
26859         [BZ #13988]
26860         * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
26861         accept exponent character only when digits were seen.
26862         * stdio-common/Makefile (tests): Add bug26.
26863         * stdio-common/bug26.c: New file.
26864
26865         [BZ #14293]
26866         * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
26867         non-freeable.
26868
26869 2013-04-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
26870
26871         * Makeconfig (rtld-prefix): Define built linker prefix.
26872         * Rules (run-bench): Use it.
26873         * math/Makefile (run-regen-ulps): Likewise.
26874
26875         * Rules (bench): Remove eval.
26876
26877 2013-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
26878             Roland McGrath  <roland@hack.frob.com>
26879             Ondrej Bilka  <neleai@seznam.cz>
26880
26881         [BZ #15346]
26882         * time/getdate.c: Include ctype.h and alloca.h.
26883         (__getdate_r): Trim leading and trailing spaces of input.
26884         * time/tst-getdate.c (tests): Add tests with leading and
26885         trailing spaces.
26886
26887 2013-04-08  Roland McGrath  <roland@hack.frob.com>
26888
26889         [BZ #14280]
26890         * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
26891         when computing value.
26892
26893 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
26894
26895         * math/README.libm-test (How can I generate "libm-test-ulps"?):
26896         Use testrun.sh to run libm tests.
26897
26898         [BZ #15309]
26899         * elf/dl-open.c (dl_open_worker): memset all of seen array.
26900
26901 2013-04-06  Marko Myllynen  <myllynen@redhat.com>
26902
26903         [BZ #15264]
26904         * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
26905
26906 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
26907
26908         * Makefile.in (regen-ulps): New target.
26909         * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
26910         [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
26911         [ifneq (no,$(PERL)] (regen-ulps): New target.
26912         [ifeq (no,$(PERL)] (regen-ulps): New target.
26913         * math/libm-test.inc (ulps_file_name): Define.
26914         (output_dir): New variable.
26915         (options): Add "output-dir" option.
26916         (parse_opt): Handle 'o' case.
26917         (main): If output_dir is non-NULL use it as a prefix
26918         otherwise use "".
26919         * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
26920
26921 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
26922
26923         [BZ #10060, #10062]
26924         * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
26925         * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
26926         fail configure if __sync_val_compare_and_swap is not inlined.
26927         * sysdeps/i386/configure: Regenerate.
26928         * configure.in: Build for i686 when configured for i386.
26929         * configure: Regenerate.
26930         * README: Remove i386 reference.
26931
26932 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
26933
26934         * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
26935         * sysdeps/s390/s390-64/sysdep.h: Likewise.
26936
26937 2013-04-05  Thomas Schwinge  <thomas@codesourcery.com>
26938
26939         * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
26940         (lmsnanval): New variables.
26941         (F): Add conversion tests.
26942         * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
26943         * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
26944
26945         * stdio-common/tstdiomisc.c (F): Properly collect individual
26946         tests' results.
26947
26948         [BZ #14686, #15336]
26949         * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
26950         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
26951         Instead, use input NaN values or generate a qNaN by arithmetic
26952         operation.  Also fix bugs to comply with the standard.
26953         * math/libm-test.inc (remainder_test): Add more tests.
26954
26955         [BZ #15335, #15342]
26956         * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
26957         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
26958         input NaN values or generate a qNaN by arithmetic operation.
26959
26960         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
26961         unreachable code.
26962
26963         * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
26964         definitions.
26965
26966 2013-04-03  Joseph Myers  <joseph@codesourcery.com>
26967
26968         [BZ #14478]
26969         * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
26970         underflowed result.
26971         * math/s_cexpf.c (__cexpf): Likewise.
26972         * math/s_cexpl.c (__cexpl): Likewise.
26973         * math/libm-test.inc (cexp_test): Add more tests.
26974
26975 2013-04-03  Andreas Schwab  <schwab@suse.de>
26976
26977         [BZ #15330]
26978         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
26979         order arrays from heap if bigger than alloca cutoff.
26980
26981 2013-04-03  Thomas Schwinge  <thomas@codesourcery.com>
26982
26983         * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
26984         (SNAN_TESTS_double): Refer to GCC PR56831.
26985         * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
26986         GCC PR56828.
26987
26988 2013-04-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
26989
26990         * Rules (bench): Move bench.out after the run is complete.
26991
26992         * Rules (bench): Echo currently running benchmark.
26993
26994         * benchtests/Makefile (bench): Add atan and slowatan.
26995         * benchtests/atan-inputs: New file.
26996         * benchtests/slowatan-inputs: New file.
26997         * benchtests/slowatan.c: New file.
26998
26999         * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
27000         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
27001         its value.
27002
27003         [BZ #15305]
27004         * sysdeps/unix/sysv/linux/kernel-features.h
27005         [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
27006         __ASSUME_XFS_RESTRICTED_CHOWN.
27007         * sysdeps/unix/sysv/linux/pathconf.c
27008         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
27009         Save and restore errno.
27010
27011 2013-04-02  Joseph Myers  <joseph@codesourcery.com>
27012
27013         [BZ #15327]
27014         * math/s_cacosh.c (__cacosh): Implement for finite nonzero
27015         arguments using __kernel_casinh.
27016         * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
27017         arguments using __kernel_casinhf.
27018         * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
27019         arguments using __kernel_casinhl.
27020         * math/libm-test.inc (cacosh_test): Add more tests.
27021         * sysdeps/i386/fpu/libm-test-ulps: Update.
27022         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27023
27024 2013-04-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
27025
27026         * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
27027         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
27028
27029         * bench/Makefile (bench): Add sin and slowsin.
27030         * benchtests/sin-inputs: New file.
27031         * benchtests/slowsin-inputs: New file.
27032         * benchtests/slowsin.c: New file.
27033
27034         * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
27035         (bench): Add slowexp and slowpow.
27036         (exp-ITER): Increase iterations.
27037         (pow-ITER): Likewise.
27038         * benchtests/exp-inputs: Change input.
27039         * benchtests/pow-inputs: Likewise.
27040         * benchtests/slowexp-inputs: New file.
27041         * benchtests/slowexp.c: New file.
27042         * benchtests/slowpow-inputs: New file.
27043         * benchtests/slowpow.c: New file.
27044
27045 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27046
27047         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
27048         instructions.
27049         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
27050         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
27051         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
27052         * benchtests/Makefile: Add rint benchtest.
27053         * benchtests/rint-inputs: Input for rint benchtest.
27054
27055 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
27056
27057         * Versions.def (libm): Add GLIBC_2.18.
27058         * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
27059         hidden libm prototypes.
27060         [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
27061         * math/Makefile (libm-calls): Add s_issignaling.
27062         * math/Versions (libm: GLIBC_2.18): Add __issignaling,
27063         __issignalingf, __issignalingl.  Adjust all libm.abilist files.
27064         * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
27065         declaration.
27066         * math/math.h [__USE_GNU] (issignaling): New macro.
27067         * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
27068         * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
27069         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
27070         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
27071         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
27072         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
27073         * manual/arith.texi (issignaling): New section.
27074         * manual/libm-err-tab.pl (@all_functions): Update comment.
27075         * math/gen-libm-test.pl (parse_args): Apply special handling for
27076         issignaling.
27077         * math/libm-test.inc (print_float, issignaling_test): New
27078         functions.
27079         (check_float_internal): Add issignaling checks.
27080         * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
27081         default definition.
27082         * sysdeps/powerpc/math-tests.h: New file.
27083         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
27084         tests.
27085         * math/test-snan.c (TEST_FUNC): Likewise.
27086
27087 2013-03-30  David S. Miller  <davem@davemloft.net>
27088
27089         * po/de.po: Update from translation team.
27090
27091 2013-03-30  Joseph Myers  <joseph@codesourcery.com>
27092
27093         [BZ #10357]
27094         * math/k_casinh.c (__kernel_casinh): Handle arguments with
27095         imaginary part less than 1.0 and real part less than 0.5
27096         specially.
27097         * math/k_casinhf.c (__kernel_casinhf): Likewise.
27098         * math/k_casinhl.c (__kernel_casinhl): Likewise.
27099         * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
27100         (cacos_test): Add more tests.
27101         (casin_test): Likewise.
27102         (casinh_test): Likewise.
27103         * sysdeps/i386/fpu/libm-test-ulps: Update.
27104         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27105
27106 2013-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
27107
27108         * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
27109         ONE with its value.
27110
27111         * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
27112         (__pow_mp): Replace ONE and MONE with their values.
27113         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
27114         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
27115         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
27116         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
27117         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
27118         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
27119
27120         * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
27121
27122         * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
27123         (__pow_mp): Replace ZERO and MZERO with their values.
27124         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
27125         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
27126         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
27127         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
27128         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
27129         * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
27130         (__sqr): Likewise.
27131
27132         * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
27133
27134         * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
27135
27136 2013-03-28  Roland McGrath  <roland@hack.frob.com>
27137
27138         * include/stdlib.h [!SHARED] (__call_tls_dtors):
27139         Declare with __attribute__ ((weak)).
27140         * stdlib/exit.c (__libc_atexit) [!SHARED]:
27141         Call __call_tls_dtors only if it's not NULL.
27142
27143 2013-03-28  Roland McGrath  <roland@hack.frob.com>
27144
27145         * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
27146         didn't do it already, then set _dl_phdr and _dl_phnum based on the
27147         magic __ehdr_start linker symbol if it's defined.
27148         * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
27149         them up here if it was already done.
27150
27151         * elf/dl-support.c (_dl_phdr): Make pointer to const.
27152         (_dl_aux_init): Use const in cast when setting it.
27153         * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
27154         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
27155         * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
27156
27157         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
27158         Declare them here.
27159         * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
27160         * csu/libc-tls.c: Nor here.
27161         * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
27162
27163         * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
27164         (__libc_message): Never call vsyslog.
27165
27166 2013-03-28  Alan Modra  <amodra@gmail.com>
27167
27168         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
27169         Define as empty.
27170         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
27171         Likewise.
27172
27173 2013-03-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27174
27175         [BZ #15214]
27176         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
27177         underflow.
27178         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27179
27180 2013-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
27181
27182         [BZ #15304]
27183         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
27184         Don't add gid passed as argument.
27185
27186         * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
27187
27188 2013-03-27  Joseph Myers  <joseph@codesourcery.com>
27189
27190         [BZ #15307]
27191         * math/k_casinh.c (__kernel_casinh): Handle arguments with
27192         imaginary part between 1.0 and 1.5 and real part less than 0.5
27193         specially.
27194         * math/k_casinhf.c (__kernel_casinhf): Likewise.
27195         * math/k_casinhl.c (__kernel_casinhl): Likewise.
27196         * math/libm-test.inc (cacos_test): Add more tests.
27197         (casin_test): Likewise.
27198         (casinh_test): Likewise.
27199         * sysdeps/i386/fpu/libm-test-ulps: Update.
27200         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27201
27202 2013-03-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
27203
27204         * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
27205         constants.
27206         (norm): Likewise.
27207         (denorm): Likewise.
27208         (__dbl_mp): Likewise.
27209         (add_magnitudes): Likewise.
27210         (sub_magnitudes): Likewise.
27211         (__add): Likewise.
27212         (__sub): Likewise.
27213         (__mul): Likewise.
27214         (__sqr): Likewise.
27215         (__inv): Likewise.
27216         (__dvd): Likewise.
27217
27218         * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
27219         commented code.
27220         * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
27221         (__dubcos): Likewise.
27222         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
27223         (__ieee754_acos): Likewise.
27224         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
27225         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
27226         (__exp1): Likewise.
27227         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
27228         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
27229         (log1): Likewise.
27230         (my_log2): Likewise.
27231         (checkint): Likewise.
27232         * sysdeps/ieee754/dbl-64/e_remainder.c
27233         (__ieee754_remainder): Likewise.
27234         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
27235         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
27236         (bsloww): Likewise.
27237         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
27238
27239         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
27240         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
27241         MANTISSA_STORE_T to store computations on mantissa.  Use
27242         macros for rounding and division.
27243         (denorm): Likewise.
27244         (__dbl_mp): Likewise.
27245         (add_magnitudes): Likewise.
27246         (sub_magnitudes): Likewise.
27247         (__mul): Likewise.
27248         (__sqr): Likewise.
27249         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
27250         powers of two in terms of TWOPOW macro.
27251         (mp_no): Make type of mantissa as MANTISSA_T.
27252         [!RADIXI]: Define RADIXI.
27253         [!TWO52]: Define TWO52.
27254         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
27255
27256 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27257
27258         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
27259         llroundl symbol when building for PPC32.
27260
27261 2013-03-24  Mark H Weaver  <mhw@netris.org>
27262
27263         * manual/arith.texi (Normalization Functions): Fix prototypes for
27264         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
27265
27266 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27267
27268         [BZ #13889]
27269         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
27270         high value to check if expl overflow.
27271         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
27272         to check for underflow and overflow.
27273         * math/libm-test.inc: Add exp test.
27274
27275 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
27276
27277         [BZ #11120]
27278         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
27279         with NOT_IN_libc.
27280
27281 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27282
27283         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
27284         symbol.
27285
27286 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
27287
27288         * math/gen-libm-test.pl (parse_args, special_functions): Properly
27289         wrap blocks consisting of several statements.
27290
27291         * sysdeps/generic/math-tests.h: New file.
27292         * sysdeps/i386/fpu/math-tests.h: Likewise.
27293         * math/test-snan.c: Include it.
27294         (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
27295
27296 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
27297
27298         [BZ #15285]
27299         * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
27300         (__ieee754_j0l): Do not improve calculations using cos of twice
27301         input for inputs above LDBL_MAX / 2.0L.
27302         (__ieee754_y0l): Likewise.
27303         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
27304         (__ieee754_j1l): Do not improve calculations using cos of twice
27305         input for inputs above LDBL_MAX / 2.0L.
27306         (__ieee754_y1l): Likewise.
27307         * math/libm-test.inc (j0_test): Add another test.
27308         (j1_test): Likewise.
27309         (y0_test): Likewise.
27310         (y1_test): Likewise.
27311         * sysdeps/i386/fpu/libm-test-ulps: Update.
27312
27313 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
27314
27315         * Rules ($(objpfx)bench-%.c): Include code from a C source
27316         file.
27317
27318 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
27319
27320         [BZ #15287]
27321         * math/k_casinh.c (__kernel_casinh): Handle arguments with
27322         imaginary part 1.0 and real part less than 0.5 specially.
27323         * math/k_casinhf.c (__kernel_casinhf): Likewise.
27324         * math/k_casinhl.c (__kernel_casinhl): Likewise.
27325         * math/libm-test.inc (cacos_test): Add more tests.
27326         (casin_test): Likewise.
27327         (casinh_test): Likewise.
27328         * sysdeps/i386/fpu/libm-test-ulps: Update.
27329         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27330
27331 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
27332
27333         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
27334         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
27335
27336 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
27337
27338         * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
27339         * config.make.in (config-cflags-sse4): Remove variable.
27340         (config-cflags-avx): Likewise.
27341         (config-cflags-sse2avx): Likewise.
27342         (config-cflags-novzeroupper): Likewise.
27343         (config-asflags-i686): Likewise.
27344         (have-mfma4): Likewise.
27345         (have-as-vis3): Likewise.
27346         (MIG): Likewise.
27347         * configure.in (MIG): Do not AC_SUBST.
27348         (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
27349         (libc_cv_cc_sse4): Do not AC_SUBST.
27350         (libc_cv_cc_avx): Likewise.
27351         (libc_cv_cc_sse2avx): Likewise.
27352         (libc_cv_cc_novzeroupper): Likewise.
27353         (libc_cv_cc_fma4): Likewise.
27354         (libc_cv_as_i686): Likewise.
27355         (libc_cv_sparc_as_vis3): Likewise.
27356         * sysdeps/i386/configure.in (config-cflags-sse4): Set using
27357         LIBC_CONFIG_VAR.
27358         (config-asflags-i686): Likewise.
27359         (config-cflags-avx): Likewise.
27360         (config-cflags-sse2avx): Likewise.
27361         (have-mfma4): Likewise.
27362         (config-cflags-novzeroupper): Likewise.
27363         * sysdeps/mach/configure.in (MIG): Likewise.
27364         * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
27365         * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
27366         LIBC_CONFIG_VAR.
27367         (config-cflags-avx): Likewise.
27368         (config-cflags-sse2avx): Likewise.
27369         (have-mfma4): Likewise.
27370         (config-cflags-novzeroupper): Likewise.
27371         * configure: Regenerated.
27372         * sysdeps/i386/configure: Likewise.
27373         * sysdeps/mach/configure: Likewise.
27374         * sysdeps/sparc/configure: Likewise.
27375         * sysdeps/x86_64/configure: Likewise.
27376
27377 2013-03-20  Roland McGrath  <roland@hack.frob.com>
27378
27379         [BZ #14812]
27380         * locale/programs/localedef.c (options): Put N_ translation marker
27381         on argument names, not just descriptions.
27382
27383 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
27384
27385         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
27386
27387 2013-03-20  Ondřej Bílka  <neleai@seznam.cz>
27388
27389         [BZ #14176]
27390         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
27391
27392 2013-03-19  Roland McGrath  <roland@hack.frob.com>
27393
27394         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
27395         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
27396         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
27397         [!BEFORE_ABORT] (before_abort): New function.
27398         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
27399         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
27400         (writev_for_fatal): New function.
27401         (WRITEV_FOR_FATAL): New macro; call that.
27402         (backtrace_and_maps): New function.
27403         (BEFORE_ABORT): New macro; call that.
27404         (struct str_list): Type removed.
27405         (__libc_message, __libc_fatal): Functions removed.
27406         Include <sysdeps/posix/libc_fatal.c> instead.
27407
27408 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
27409
27410         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
27411         constants.
27412         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
27413         double constants.
27414
27415 2013-03-19  Andreas Schwab  <schwab@suse.de>
27416
27417         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
27418         * sysdeps/gnu/configure: Regenerate.
27419
27420         * configure.in: Substitute libc_cv_rtlddir.
27421         * configure: Regenerate.
27422         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
27423         * Makeconfig (rtlddir, inst_rtlddir): New variables.
27424         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
27425         * elf/Makefile (install-others, CFLAGS-interp.c)
27426         (ldso_install, common-ldd-rewrite): Likewise.
27427         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
27428         $(inst_slibdir)/$(rtld-installed-name).
27429         * scripts/rellns-sh: Add -p option.
27430         * Makerules (make-shlib-link): Use rellns-sh to get relative name
27431         for source.
27432
27433 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
27434
27435         * manual/nptl.texi: Renamed to ...
27436         * manual/threads.texi: ... this.
27437         * manual/Makefile (chapters): Update.
27438
27439 2013-03-18  Roland McGrath  <roland@hack.frob.com>
27440
27441         [BZ #14812]
27442         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
27443         on argument names, not just descriptions.
27444         * malloc/memusagestat.c (options): Likewise.
27445         * nss/getent.c (options): Likewise.
27446
27447 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
27448
27449         [BZ #14812]
27450         * iconv/iconv_prog.c (options): Put N_ translation marker
27451         on argument names, not just descriptions.
27452         * iconv/iconvconfig.c (options): Likewise.
27453
27454 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
27455
27456         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
27457         implementation which is faster on all x86_64 architectures.
27458         Tested on AMD, Intel Nehalem, SNB, IVB.
27459         * sysdeps/x86_64/strnlen.S: Likewise.
27460
27461         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
27462         Remove all multiarch strlen and strnlen versions.
27463         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
27464         Remove strlen and strnlen related parts.
27465
27466         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
27467         Inline strlen part.
27468         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
27469
27470         * sysdeps/x86_64/multiarch/strlen.S: Remove.
27471         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
27472         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
27473         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
27474         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
27475         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
27476
27477 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
27478
27479         * manual/memory.texi (Malloc Tunable Parameters):
27480         Sort parameters alphabetically. Add comments for missing entries.
27481
27482 2013-03-17  David S. Miller  <davem@davemloft.net>
27483
27484         * sysdeps/sparc/fpu/libm-test-ulps: Update.
27485
27486 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
27487
27488         [BZ #15283]
27489         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
27490         for arguments at most half maximum finite value.
27491         * math/libm-test.inc (j0_test): Add more tests.
27492         (j1_test): Likewise.
27493         (y0_test): Likewise.
27494         (y1_test): Likewise.
27495         * sysdeps/i386/fpu/libm-test-ulps: Update.
27496         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27497
27498         [BZ #14155]
27499         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
27500         1 / x and functions P and Q for arguments above 0x1p256L.
27501         (__ieee754_y0l): Likewise.
27502         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
27503         (__ieee754_y1l): Likewise.
27504         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
27505         (j1_test): Likewise.
27506         (y0_test): Likewise.
27507         (y1_test): Likewise.
27508
27509 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
27510
27511         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
27512         variable.
27513
27514 2013-03-15  Roland McGrath  <roland@hack.frob.com>
27515
27516         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
27517         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
27518         zero since it's initialized to EXEC_PAGESIZE.
27519
27520         * sysdeps/unix/sysv/linux/ldsodefs.h
27521         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
27522         * sysdeps/generic/ldsodefs.h: ... here.
27523
27524 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
27525
27526         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
27527
27528         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
27529         math/test-snan.c.
27530         * math/test-snan.c: Renamed from
27531         sysdeps/powerpc/fpu/test-powerpc-snan.c.
27532         * math/Makefile (tests): Add test-snan.
27533         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
27534         test-powerpc-snan.
27535
27536         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
27537         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
27538         functions.
27539         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
27540         __builtin_nan family of functions.
27541         * math/libm-test.inc (initialize): Initialize qnan_value with
27542         __builtin_nan family of functions.
27543         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
27544         Remove variables.
27545         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
27546         Remove functions.
27547         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
27548         storage class.  Initialize qNaN_var and sNaN_var with
27549         __builtin_nan and __builtin_nans families of functions,
27550         respectively.
27551
27552         * math/libm-test.inc (acosh_test): Also test with qNaN input.
27553         (sqrt_test): Remove duplicate test with qNaN input.
27554         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
27555         (round_test, signbit_test, significand_test): Note missing +/-Inf
27556         as well as qNaN tests.
27557
27558         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
27559         qNaN_var.  Fix a few strings, too.
27560         * math/libm-test.inc (nan_value): Rename to qnan_value.
27561         * math/gen-libm-test.pl (%beautify): Adjust to that.
27562         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
27563         * math/test-misc.c (main): Likewise.
27564         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
27565         to __qnan_bytes, and __qnan_union, respectively.
27566         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
27567         Likewise.
27568         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
27569         and lqnanval, respectively.
27570         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
27571         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
27572         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
27573         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
27574
27575         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
27576         * math/test-misc.c (main) [__x86_64__]: Enable test for long
27577         doubles.
27578
27579         * math/test-misc.c (main): Fix copy'n'pastos.
27580         * misc/tst-efgcvt.c (special): Likewise.
27581
27582         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
27583         Remove declarations.
27584
27585 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
27586
27587         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
27588         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
27589         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
27590         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
27591
27592 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27593
27594         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
27595         macro to return vdso values correctly in IFUNC implementations.
27596         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
27597         Optimization by using IFUNC.
27598
27599 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
27600             Richard Henderson  <rth@redhat.com>
27601             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
27602
27603         * Makefile.in (bench): New target.
27604         * NEWS: Mention the benchmark framework.
27605         * Rules (bench): Likewise.
27606         (binaries-bench): Generate binaries for functions to
27607         benchmark.
27608         * benchtests/Makefile: New makefile for benchmark tests.
27609         * benchtests/bench-skeleton.c: New skeleton file for benchmark
27610         programs.
27611         * benchtests/exp-inputs: New input file for EXP function.
27612         * benchtests/pow-inputs: New input file for POW function.
27613         * scripts/bench.pl: New script to generate source files for
27614         benchmark programs.
27615
27616 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
27617
27618         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
27619         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
27620         computations on mantissa.  Use macros for rounding and
27621         division.
27622         (denorm): Likewise.
27623         (__dbl_mp): Likewise.
27624         (add_magnitudes): Likewise.
27625         (sub_magnitudes): Likewise.
27626         (__mul): Likewise.
27627         (__sqr): Likewise.
27628         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
27629         powers of two in terms of TWOPOW macro.
27630         (mp_no): Make type of mantissa as MANTISSA_T.
27631         [!RADIXI]: Define RADIXI.
27632         [!TWO52]: Define TWO52.
27633         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
27634
27635         * manual/nptl.texi (cindex): Modify threads to pthreads.
27636
27637 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
27638
27639         * sysdeps/x86_64/preconfigure: Regenerated.
27640
27641 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
27642
27643         [BZ #14155]
27644         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
27645         0x1p28 and above.
27646         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
27647         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
27648         0x1p28 and above.
27649         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
27650         * math/libm-test.inc (j0_test): Do not allow one spurious
27651         underflow exception.
27652         (y1_test): Likewise.
27653
27654 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
27655
27656         * manual/Makefile (chapters): Add nptl.
27657         * manual/debug.texi (Debugging Support): Add link to Threads
27658         chapter.
27659         * manual/nptl.texi: New file.
27660
27661         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
27662
27663 2013-03-14  Petr Baudis  <pasky@ucw.cz>
27664
27665         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
27666         for non-NULL pointer before the memory validity test. Pointed
27667         out by Holger Brunck <holger.brunck@keymile.com>.
27668
27669 2013-03-13  Andreas Schwab  <schwab@suse.de>
27670
27671         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
27672         instead of .os.
27673
27674 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
27675
27676         * timezone/zic.c: Update from tzcode 2013b.
27677
27678 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
27679
27680         * manual/install.texi (Configuring and compiling):
27681         Mention i686 and i586.
27682         * INSTALL: Regenerate.
27683
27684 2013-03-12  Roland McGrath  <roland@hack.frob.com>
27685
27686         * sysdeps/init_array/elf-init.c: New file.
27687         * csu/elf-init.c
27688         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
27689         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
27690
27691         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
27692         __gmon_start__ as global, but as static with a .preinit_array pointer.
27693         * sysdeps/init_array/gmon-start.c: New file.  Use that.
27694         * sysdeps/init_array/crti.S: New file, empty except for comments.
27695         * sysdeps/init_array/crtn.S: Likewise.
27696
27697 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
27698
27699         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
27700         definining bcopy.
27701         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
27702         Remove Prefer_SSE_for_memop.
27703         * sysdeps/x86_64/multiarch/init-arch.h: Remove
27704         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
27705         HAS_PREFER_SSE_FOR_MEMOP.
27706         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
27707         memset-x86-64.
27708         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
27709         Remove bzero, memset ifunc support.
27710         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
27711         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
27712         * sysdeps/x86_64/multiarch/memset.S: Likewise.
27713         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
27714
27715 2013-03-11  Andreas Schwab  <schwab@suse.de>
27716
27717         [BZ #15234]
27718         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
27719         by SHLIB_COMPAT.
27720         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
27721         (GLIBC_2.16): Remove pthread_atfork.
27722
27723 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
27724
27725         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
27726         (ptestcases.h): Likewise.
27727
27728 2013-03-08  Roland McGrath  <roland@hack.frob.com>
27729
27730         * Makeconfig ($(common-objpfx)config.status): Depend on
27731         sysdeps/*/preconfigure{,.in} too.
27732
27733 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
27734
27735         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
27736         (__free_hook): Use void * instead of __malloc_ptr_t.
27737         (__malloc_hook): Likewise.
27738         (__realloc_hook): Likewise.
27739         (__memalign_hook): Likewise.
27740         (__after_morecore_hook): Likewise.
27741         * malloc/arena.c (save_malloc_hook): Likewise.
27742         (save_free_hook): Likewise.
27743         * malloc/hooks.c (malloc_hook_ini): Likewise.
27744         (realloc_hook_ini): Likewise.
27745         (memalign_hook_ini): Likewise.
27746         * malloc/malloc.c (malloc_hook_ini): Likewise.
27747         (realloc_hook_ini): Likewise.
27748         (memalign_hook_ini): Likewise.
27749         (__free_hook): Likewise.
27750         (__malloc_hook): Likewise.
27751         (__realloc_hook): Likewise.
27752         (__memalign_hook): Likewise.
27753         (__libc_malloc): Likewise.
27754         (__libc_free): Likewise.
27755         (__libc_realloc): Likewise.
27756         (__libc_memalign): Likewise.
27757         (__libc_valloc): Likewise.
27758         (__libc_pvalloc): Likewise.
27759         (__libc_calloc): Likewise.
27760         (__posix_memalign): Likewise.
27761         * malloc/morecore.c (__sbrk): Likewise.
27762         (__default_morecore): Likewise.
27763
27764         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
27765
27766         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
27767         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
27768         __malloc_ptrdiff_t.
27769
27770         * malloc/malloc.h (__malloc_size_t): Remove macro.
27771         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
27772         __malloc_size_t.
27773         (old_memalign_hook): Likewise.
27774         (old_realloc_hook): Likewise.
27775         (struct hdr): Likewise.
27776         (flood): Likewise.
27777         (mallochook): Likewise.
27778         (memalignhook): Likewise.
27779         (reallochook): Likewise.
27780         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
27781         (tr_old_realloc_hook): Likewise.
27782         (tr_old_memalign_hook): Likewise.
27783         (tr_mallochook): Likewise.
27784         (tr_reallochook): Likewise.
27785         (tr_memalignhook): Likewise.
27786
27787 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27788
27789         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
27790         default_ldbl_pack and using as default implementation.
27791         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
27792         implementation.
27793         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
27794         redundant definition.
27795         (ldbl_insert_mantissa): Likewise.
27796         (ldbl_canonicalize): Likewise.
27797         (ldbl_nearbyint): Likewise.
27798         (ldbl_pack): Rename to ldbl_pack_ppc.
27799         (ldbl_unpack): Rename to ldbl_unpack_ppc.
27800         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
27801         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
27802
27803 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
27804
27805         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
27806         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
27807         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
27808         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
27809         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
27810         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
27811         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
27812         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
27813
27814 2013-03-07  Andreas Jaeger  <aj@suse.de>
27815
27816         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
27817         bits/mman-linux.h.
27818
27819 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
27820
27821         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
27822         Include mpa.h and declare __MPEXP.
27823         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
27824         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
27825         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
27826         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
27827         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
27828         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
27829         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
27830
27831         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
27832         (__slowpow): Use long double EXPL and LOGL functions to
27833         compute POW.
27834         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
27835         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
27836         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
27837         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
27838         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
27839         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
27840
27841         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
27842         intermediate variable to calculate exponent.
27843         (__sqr): Likewise.
27844         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
27845         Likewise.
27846         (__sqr): Likewise.
27847
27848         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
27849         [!NO__SQR]: Define __sqr.
27850         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
27851         and NO__SQR.  Remove all code except __mul and __sqr.  Include
27852         sysdeps/ieee754/dbl-64/mpa.c.
27853         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
27854
27855         [BZ #12723]
27856         * posix/Makefile (tests): Add tst-pathconf.
27857         * posix/tst-pathconf.c: New test case.
27858         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
27859         _PC_PIPE_BUF.
27860         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
27861
27862 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
27863
27864         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
27865
27866 2013-03-06  Andreas Jaeger  <aj@suse.de>
27867
27868         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
27869         definition via __MAP_ANONYMOUS.
27870
27871         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
27872         it's not part of Linux headers.
27873
27874         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
27875         (MAP_HUGE_MASK): Define.
27876
27877         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
27878         Define.
27879         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
27880         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
27881         Define.
27882         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
27883         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
27884         Define.
27885         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
27886         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
27887         Define.
27888         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
27889
27890         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
27891         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
27892         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
27893         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
27894         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
27895         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
27896
27897         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
27898         Handle f2fs.
27899
27900         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
27901         Handle f2fs and efivarfs.
27902
27903         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
27904         f2fs.
27905
27906         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
27907         (EFIVARFS_MAGIC): Add.
27908         (F2FS_LINK_MAX): Add.
27909
27910 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
27911
27912         * stdio-common/vfprintf.c: Replace __builtin_expect with
27913         __glibc_unlikely.
27914
27915 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
27916
27917         [BZ #13550]
27918         * sysdeps/generic/bp-sym.h: Remove file.
27919         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
27920         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
27921         <bp-sym.h> and <bp-asm.h>.
27922         (__longjmp): Don't use BP_SYM.
27923         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
27924         and <bp-asm.h>.
27925         (memcpy): Don't use BP_SYM.
27926         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
27927         <bp-sym.h> and <bp-asm.h>.
27928         (memcpy): Don't use BP_SYM.
27929         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
27930         <bp-asm.h>.
27931         (memcpy): Don't use BP_SYM.
27932         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
27933         <bp-asm.h>.
27934         (memset): Don't use BP_SYM.
27935         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
27936         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
27937         (__bzero): Don't use BP_SYM.
27938         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
27939         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
27940         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
27941         <bp-sym.h> and <bp-asm.h>.
27942         (memcmp): Don't use BP_SYM.  Remove comment about bounded
27943         pointers.
27944         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
27945         <bp-sym.h> and <bp-asm.h>.
27946         (memcpy): Don't use BP_SYM.
27947         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
27948         <bp-sym.h> and <bp-asm.h>.
27949         (memset): Don't use BP_SYM.
27950         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
27951         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
27952         (__bzero): Don't use BP_SYM.
27953         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
27954         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
27955         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
27956         <bp-sym.h> and <bp-asm.h>.
27957         (strncmp): Don't use BP_SYM.  Remove comment about bounded
27958         pointers.
27959         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
27960         <bp-sym.h> and <bp-asm.h>.
27961         (memcpy): Don't use BP_SYM.
27962         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
27963         <bp-sym.h> and <bp-asm.h>.
27964         (memset): Don't use BP_SYM.
27965         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
27966         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
27967         (__bzero): Don't use BP_SYM.
27968         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
27969         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
27970         * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
27971         <bp-sym.h> and <bp-asm.h>.
27972         (__memchr): Don't use BP_SYM.
27973         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
27974         <bp-sym.h> and <bp-asm.h>.
27975         (memcmp): Don't use BP_SYM.  Remove comment about bounded
27976         pointers.
27977         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
27978         <bp-sym.h> and <bp-asm.h>.
27979         (memcpy): Don't use BP_SYM.
27980         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
27981         <bp-sym.h> and <bp-asm.h>.
27982         (__mempcpy): Don't use BP_SYM.
27983         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
27984         <bp-sym.h> and <bp-asm.h>.
27985         (__memrchr): Don't use BP_SYM.
27986         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
27987         <bp-sym.h> and <bp-asm.h>.
27988         (memset): Don't use BP_SYM.
27989         (__bzero): Likewise.
27990         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
27991         <bp-sym.h> and <bp-asm.h>.
27992         (__rawmemchr): Don't use BP_SYM.
27993         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
27994         <bp-sym.h> and <bp-asm.h>.
27995         (__STRCMP): Don't use BP_SYM.
27996         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
27997         <bp-sym.h> and <bp-asm.h>.
27998         (strchr): Don't use BP_SYM.
27999         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
28000         <bp-sym.h> and <bp-asm.h>.
28001         (__strchrnul): Don't use BP_SYM.
28002         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
28003         <bp-sym.h> and <bp-asm.h>.
28004         (strlen): Don't use BP_SYM.
28005         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
28006         <bp-sym.h> and <bp-asm.h>.
28007         (strncmp): Don't use BP_SYM.  Remove comment about bounded
28008         pointers.
28009         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
28010         <bp-sym.h> and <bp-asm.h>.
28011         (__strnlen): Don't use BP_SYM.
28012         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
28013         <bp-sym.h> and <bp-asm.h>.
28014         (__GI__setjmp): Don't use BP_SYM.
28015         (_setjmp): Likewise.
28016         (__sigsetjmp): Likewise.
28017         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
28018         (L(start_addresses)): Don't use BP_SYM.
28019         (_start): Likewise.
28020         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
28021         <bp-asm.h>.
28022         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
28023         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
28024         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
28025         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
28026         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
28027         <bp-asm.h>.
28028         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
28029         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
28030         about bounded pointers.
28031         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
28032         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
28033         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
28034         <bp-asm.h>.
28035         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
28036         about bounded pointers.  Remove GKM FIXME comments.
28037         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
28038         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
28039         <bp-asm.h>.
28040         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
28041         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
28042         Remove GKM FIXME comments.
28043         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
28044         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
28045         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
28046         <bp-asm.h>.
28047         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
28048         about bounded pointers.  Remove GKM FIXME comment.
28049         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
28050         and <bp-asm.h>.
28051         (strncmp): Don't use BP_SYM.  Remove comment about bounded
28052         pointers.
28053         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
28054         <bp-sym.h> and <bp-asm.h>.
28055         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
28056         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
28057         <bp-sym.h> and <bp-asm.h>.
28058         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
28059         comment.
28060
28061 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
28062
28063         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
28064         call free(NULL).
28065
28066 2013-03-05  David S. Miller  <davem@davemloft.net>
28067
28068         * po/es.po: Update from translation team.
28069
28070 2013-03-05  Andreas Jaeger  <aj@suse.de>
28071
28072         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
28073         <bits/mman-linux.h>.
28074         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
28075         is fine.
28076         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
28077         <bits/mman-linux.h> to end of file.
28078         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
28079         is fine.
28080         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
28081         <bits/mman-linux.h> to end of file.
28082         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
28083         is fine.
28084         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
28085         <bits/mman-linux.h> to end of file.
28086
28087         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
28088         (MCL_CURRENT, MCL_FUTURE): Define here.
28089
28090 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
28091
28092         [BZ #15232]
28093         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
28094         attribute_hidden.
28095         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
28096
28097 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
28098
28099         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
28100         fourth parameter needed for rt_sigprocmask syscall.
28101         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
28102         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
28103         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
28104         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
28105         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
28106         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
28107
28108 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
28109
28110         [BZ #13550]
28111         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
28112         comment about bounded pointers.
28113         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
28114         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
28115
28116 2013-03-04  Andreas Jaeger  <aj@suse.de>
28117
28118         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
28119         common definitions.
28120
28121         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
28122         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
28123         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
28124         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
28125         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
28126         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
28127
28128 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28129
28130         [BZ #15055]
28131         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
28132         __ieee754_sqrl instead of __sqrl.
28133
28134 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
28135
28136         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
28137         * sysdeps/powerpc/fpu_control.h: ... here.
28138         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
28139         * sysdeps/powerpc/bits/fenvinline.h: ... here.
28140         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
28141         * sysdeps/powerpc/bits/mathinline.h: ... here.
28142
28143 2013-03-01  Roland McGrath  <roland@hack.frob.com>
28144
28145         * elf/dl-hwcaps.c (_dl_important_hwcaps):
28146         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
28147         to just [NEED_DL_SYSINFO_DSO].
28148         * elf/dl-support.c: Likewise.
28149         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
28150         * elf/rtld.c (dl_main): Likewise.
28151         * elf/setup-vdso.h (setup_vdso): Likewise.
28152         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
28153         * sysdeps/unix/sysv/linux/dl-sysdep.c
28154         (_dl_discover_osversion): Likewise.
28155
28156 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
28157
28158         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
28159         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
28160
28161 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
28162
28163         * NEWS: Mention libm performance improvements and non-x86 PI
28164         futex support.
28165
28166         * csu/libc-start.c (__pthread_initialize_minimal): Change
28167         function arguments.
28168         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
28169
28170 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
28171
28172         [BZ #13550]
28173         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
28174         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
28175         <bp-sym.h> and <bp-asm.h>.
28176         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
28177         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
28178         and <bp-asm.h>.
28179         (memcpy): Don't use BP_SYM.
28180         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
28181         <bp-asm.h>.
28182         (__mpn_add_n): Don't use BP_SYM.
28183         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
28184         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
28185         and <bp-asm.h>.
28186         (__mpn_addmul_1): Don't use BP_SYM.
28187         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
28188         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
28189         <bp-sym.h>.
28190         (_setjmp): Don't use BP_SYM.
28191         (__novmx_setjmp): Likewise.
28192         (__GI__setjmp): Likewise.
28193         (__vmx_setjmp): Likewise.
28194         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
28195         <bp-sym.h>.
28196         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
28197         (__bzero): Don't use BP_SYM.
28198         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
28199         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
28200         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
28201         <bp-sym.h> and <bp-asm.h>.
28202         (memcpy): Don't use BP_SYM.
28203         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
28204         <bp-sym.h> and <bp-asm.h>.
28205         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
28206         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
28207         <bp-sym.h> and <bp-asm.h>.
28208         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
28209         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
28210         <bp-asm.h>.
28211         (__mpn_lshift): Don't use BP_SYM.
28212         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
28213         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
28214         <bp-asm.h>.
28215         (memset): Don't use BP_SYM.
28216         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
28217         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
28218         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
28219         <bp-asm.h>.
28220         (__mpn_mul_1): Don't use BP_SYM.
28221         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
28222         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
28223         <bp-sym.h> and <bp-asm.h>.
28224         (memcmp): Don't use BP_SYM.
28225         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
28226         <bp-sym.h> and <bp-asm.h>.
28227         (memcpy): Don't use BP_SYM.
28228         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
28229         <bp-sym.h> and <bp-asm.h>.
28230         (memset): Don't use BP_SYM.
28231         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
28232         <bp-sym.h> and <bp-asm.h>.
28233         (strncmp): Don't use BP_SYM.
28234         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
28235         <bp-sym.h> and <bp-asm.h>.
28236         (memcpy): Don't use BP_SYM.
28237         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
28238         <bp-sym.h> and <bp-asm.h>.
28239         (memset): Don't use BP_SYM.
28240         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
28241         <bp-sym.h> and <bp-asm.h>.
28242         (__memchr): Don't use BP_SYM.
28243         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
28244         <bp-sym.h> and <bp-asm.h>.
28245         (memcmp): Don't use BP_SYM.
28246         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
28247         <bp-sym.h> and <bp-asm.h>.
28248         (memcpy): Don't use BP_SYM.
28249         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
28250         <bp-sym.h> and <bp-asm.h>.
28251         (__mempcpy): Don't use BP_SYM.
28252         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
28253         <bp-sym.h> and <bp-asm.h>.
28254         (__memrchr): Don't use BP_SYM.
28255         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
28256         <bp-sym.h> and <bp-asm.h>.
28257         (memset): Don't use BP_SYM.
28258         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
28259         <bp-sym.h> and <bp-asm.h>.
28260         (__rawmemchr): Don't use BP_SYM.
28261         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
28262         <bp-sym.h> and <bp-asm.h>.
28263         (__STRCMP): Don't use BP_SYM.
28264         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
28265         <bp-sym.h> and <bp-asm.h>.
28266         (strchr): Don't use BP_SYM.
28267         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
28268         <bp-sym.h> and <bp-asm.h>.
28269         (__strchrnul): Don't use BP_SYM.
28270         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
28271         <bp-sym.h> and <bp-asm.h>.
28272         (strlen): Don't use BP_SYM.
28273         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
28274         <bp-sym.h> and <bp-asm.h>.
28275         (strncmp): Don't use BP_SYM.
28276         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
28277         <bp-sym.h> and <bp-asm.h>.
28278         (__strnlen): Don't use BP_SYM.
28279         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
28280         <bp-asm.h>.
28281         (__mpn_rshift): Don't use BP_SYM.
28282         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
28283         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
28284         <bp-sym.h> and <bp-asm.h>.
28285         (__sigsetjmp): Don't use BP_SYM.
28286         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
28287         (L(start_addresses)): Don't use BP_SYM.
28288         (_start): Likewise.
28289         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
28290         <bp-asm.h>.
28291         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
28292         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
28293         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
28294         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
28295         <bp-asm.h>.
28296         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
28297         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
28298         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
28299         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
28300         <bp-asm.h>.
28301         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
28302         comments.
28303         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
28304         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
28305         <bp-asm.h>.
28306         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
28307         FIXME comments.
28308         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
28309         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
28310         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
28311         <bp-asm.h>.
28312         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
28313         comment.
28314         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
28315         and <bp-asm.h>.
28316         (strncmp): Don't use BP_SYM,
28317         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
28318         <bp-asm.h>.
28319         (__mpn_sub_n): Don't use BP_SYM.
28320         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
28321         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
28322         and <bp-asm.h>.
28323         (__mpn_submul_1): Don't use BP_SYM.
28324         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
28325         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
28326         <bp-sym.h> and <bp-asm.h>.
28327         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
28328         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
28329         <bp-sym.h> and <bp-asm.h>.
28330         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
28331         comment.
28332
28333 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
28334
28335         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
28336         Use ZK to minimize writes to Z.
28337         (sub_magnitudes): Simplify code a bit.
28338         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
28339         Use ZK to minimize writes to Z.
28340         (sub_magnitudes): Simplify code a bit.
28341
28342 2013-02-27  Roland McGrath  <roland@hack.frob.com>
28343
28344         * csu/gmon-start.c: Add special exception to license text.
28345
28346 2013-02-27  Richard Henderson  <rth@redhat.com>
28347
28348         * scripts/config.guess: Update from config.git.
28349         * scripts/config.sub: Likewise.
28350
28351 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
28352
28353         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
28354
28355         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
28356
28357         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
28358
28359         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
28360
28361         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
28362
28363 2013-02-26  Roland McGrath  <roland@hack.frob.com>
28364
28365         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
28366         [$(build-shared = yes].
28367
28368 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
28369
28370         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
28371         (__mul): Reduce iterations for calculating mantissa.
28372
28373         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
28374         MPTWO.
28375         (__mpranred): Likewise.
28376
28377         [BZ #15160]
28378         * malloc/memusagestat.c (main): Draw graphs for heap and stack
28379         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
28380
28381 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
28382
28383         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
28384         Define __attribute__.
28385
28386 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
28387
28388         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
28389         unused.
28390         * posix/regex_internal.h (__attribute): Remove.
28391         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
28392         (re_string_context_at): Likewise.
28393         (bitset_not): Use __attribute__ and mark function as possibly
28394         unused.
28395         (bitset_merge): Likewise.
28396         (bitset_mask): Likewise.
28397         (re_string_char_size_at): Likewise.
28398         (re_string_wchar_at): Likewise.
28399         (re_string_elem_size_at): Likewise.
28400
28401 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
28402
28403         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
28404         code.
28405         (cc32): Likewise.
28406
28407         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
28408         (__acr): Likewise.
28409         (__cpy): Likewise.
28410         (norm): Likewise.
28411         (denorm): Likewise.
28412         (__dbl_mp): Likewise.
28413         (add_magnitudes): Likewise.
28414         (sub_magnitudes): Likewise.
28415         (__mul): Likewise.
28416         (__inv): Likewise.
28417
28418         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
28419         style.
28420
28421         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
28422         style.
28423
28424         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
28425         code.
28426
28427         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
28428         up changes with default code.
28429         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
28430         Likewise.
28431
28432 2013-02-24  Allan McRae  <allan@archlinux.org>
28433
28434         * manual/socket.texi (The Internet Namespace): Order menu items
28435         to match that in the file.
28436
28437         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
28438         node listing of the info page menu.
28439
28440 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
28441
28442         [BZ #13550]
28443         * sysdeps/i386/bp-asm.h: Remove file.
28444         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
28445         (PARMS): Do not use macros from bp-asm.h.
28446         (S1): Likewise.
28447         (S2): Likewise.
28448         (SIZE): Likewise.
28449         (__mpn_add_n): Do not use BP_SYM
28450         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
28451         "bp-asm.h".
28452         (PARMS): Do not use macros from bp-asm.h.
28453         (S1): Likewise.
28454         (SIZE): Likewise.
28455         (__mpn_addmul_1): Do not use BP_SYM
28456         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
28457         "bp-asm.h".
28458         (PARMS): Do not use macros from bp-asm.h.
28459         (SIGMSK): Likewise.
28460         (_setjmp): Likewise.  Do not use BP_SYM.
28461         * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
28462         "bp-asm.h".
28463         (PARMS): Do not use macros from bp-asm.h.
28464         (SIGMSK): Likewise.
28465         (setjmp): Likewise.  Do not use BP_SYM.
28466         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
28467         "bp-asm.h".
28468         (PARMS): Do not use macros from bp-asm.h.
28469         (__frexp): Do not use BP_SYM.
28470         (frexp): Likewise.
28471         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
28472         "bp-asm.h".
28473         (PARMS): Do not use macros from bp-asm.h.
28474         (__frexpf): Do not use BP_SYM.
28475         (frexpf): Likewise.
28476         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
28477         "bp-asm.h".
28478         (PARMS): Do not use macros from bp-asm.h.
28479         (__frexpl): Do not use BP_SYM.
28480         (frexpl): Likewise.
28481         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
28482         "bp-asm.h".
28483         (PARMS): Do not use macros from bp-asm.h.
28484         (__remquo): Do not use BP_SYM.
28485         (remquo): Likewise.
28486         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
28487         "bp-asm.h".
28488         (PARMS): Do not use macros from bp-asm.h.
28489         (__remquof): Do not use BP_SYM.
28490         (remquof): Likewise.
28491         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
28492         "bp-asm.h".
28493         (PARMS): Do not use macros from bp-asm.h.
28494         (__remquol): Do not use BP_SYM.
28495         (remquol): Likewise.
28496         * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
28497         "bp-asm.h".
28498         (PARMS): Do not use macros from bp-asm.h.
28499         (DEST): Likewise.
28500         (SRC): Likewise.
28501         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
28502         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
28503         "bp-asm.h".
28504         (PARMS): Do not use macros from bp-asm.h.
28505         (strlen): Do not use BP_SYM.
28506         * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
28507         "bp-asm.h".
28508         (PARMS): Do not use macros from bp-asm.h.
28509         (S1): Likewise.
28510         (S2): Likewise.
28511         (SIZE): Likewise.
28512         (__mpn_add_n): Do not use BP_SYM.
28513         * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
28514         "bp-asm.h".
28515         (PARMS): Do not use macros from bp-asm.h.
28516         (S1): Likewise.
28517         (SIZE): Likewise.
28518         (__mpn_addmul_1): Do not use BP_SYM.
28519         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
28520         weak_alias.
28521         (bzero): Likewise.
28522         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
28523         "bp-asm.h".
28524         (PARMS): Do not use macros from bp-asm.h.
28525         (S): Likewise.
28526         (SIZE): Likewise.
28527         (__mpn_lshift): Do not use BP_SYM.
28528         * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
28529         "bp-asm.h".
28530         (PARMS): Do not use macros from bp-asm.h.
28531         (DEST): Likewise.
28532         (SRC): Likewise.
28533         (LEN): Likewise.
28534         (memcpy): Likewise.  Do not use BP_SYM.
28535         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
28536         libc_hidden_def and weak_alias.
28537         (mempcpy): Do not use BP_SYM in weak_alias.
28538         * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
28539         "bp-asm.h".
28540         (PARMS): Do not use macros from bp-asm.h.
28541         (DEST): Likewise.
28542         (LEN): Likewise.
28543         [!BZERO_P] (CHR): Likewise.
28544         (memset): Likewise.  Do not use BP_SYM.
28545         * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
28546         "bp-asm.h".
28547         (PARMS): Do not use macros from bp-asm.h.
28548         (S1): Likewise.
28549         (SIZE): Likewise.
28550         (__mpn_mul_1): Do not use BP_SYM.
28551         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
28552         "bp-asm.h".
28553         (PARMS): Do not use macros from bp-asm.h.
28554         (S): Likewise.
28555         (SIZE): Likewise.
28556         (__mpn_rshift): Do not use BP_SYM.
28557         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
28558         "bp-asm.h".
28559         (PARMS): Do not use macros from bp-asm.h.
28560         (STR): Likewise.
28561         (CHR): Likewise.
28562         (strchr): Likewise.  Do not use BP_SYM.
28563         (index): Do not use BP_SYM in weak_alias.
28564         * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
28565         "bp-asm.h".
28566         (PARMS): Do not use macros from bp-asm.h.
28567         (DEST): Likewise.
28568         (SRC): Likewise.
28569         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
28570         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
28571         "bp-asm.h".
28572         (PARMS): Do not use macros from bp-asm.h.
28573         (strlen): Do not use BP_SYM.
28574         * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
28575         "bp-asm.h".
28576         (PARMS): Do not use macros from bp-asm.h.
28577         (S1): Likewise.
28578         (S2): Likewise.
28579         (SIZE): Likewise.
28580         (__mpn_sub_n): Do not use BP_SYM.
28581         * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
28582         "bp-asm.h".
28583         (PARMS): Do not use macros from bp-asm.h.
28584         (S1): Likewise.
28585         (SIZE): Likewise.
28586         (__mpn_submul_1): Do not use BP_SYM.
28587         * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
28588         "bp-asm.h".
28589         (PARMS): Do not use macros from bp-asm.h.
28590         (S1): Likewise.
28591         (S2): Likewise.
28592         (SIZE): Likewise.
28593         (__mpn_add_n): Do not use BP_SYM.
28594         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
28595         weak_alias.
28596         (bzero): Likewise.
28597         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
28598         "bp-asm.h".
28599         (PARMS): Do not use macros from bp-asm.h.
28600         (BLK2): Likewise.
28601         (LEN): Likewise.
28602         (memcmp): Do not use BP_SYM.
28603         (bcmp): Do not use BP_SYM in weak_alias.
28604         * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
28605         "bp-asm.h".
28606         (PARMS): Do not use macros from bp-asm.h.
28607         (DEST): Likewise.
28608         (SRC): Likewise.
28609         (LEN): Likewise.
28610         (memcpy): Likewise.  Do not use BP_SYM.
28611         * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
28612         "bp-asm.h".
28613         (PARMS): Do not use macros from bp-asm.h.
28614         (DEST): Likewise.
28615         (SRC): Likewise.
28616         (LEN): Likewise.
28617         (memmove): Likewise.  Do not use BP_SYM.
28618         * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
28619         "bp-asm.h".
28620         (PARMS): Do not use macros from bp-asm.h.
28621         (DEST): Likewise.
28622         (SRC): Likewise.
28623         (LEN): Likewise.
28624         (__mempcpy): Likewise.  Do not use BP_SYM.
28625         (mempcpy): Do not use BP_SYM in weak_alias.
28626         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
28627         "bp-asm.h".
28628         (PARMS): Do not use macros from bp-asm.h.
28629         (DEST): Likewise.
28630         (LEN): Likewise.
28631         [!BZERO_P] (CHR): Likewise.
28632         (memset): Likewise.  Do not use BP_SYM.
28633         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
28634         "bp-asm.h".
28635         (PARMS): Do not use macros from bp-asm.h.
28636         (STR2): Likewise.
28637         (strcmp): Do not use BP_SYM.
28638         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
28639         "bp-asm.h".
28640         (PARMS): Do not use macros from bp-asm.h.
28641         (STR): Likewise.
28642         (DELIM): Likewise.
28643         [USE_AS_STRTOK_R] (SAVE): Likewise.
28644         (FUNCTION): Likewise.  Do not use BP_SYM.
28645         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
28646         aliases.
28647         (strtok_r): Likewise.
28648         (__GI___strtok_r): Likewise.
28649         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
28650         (PARMS): Do not use macros from bp-asm.h.
28651         (S): Likewise.
28652         (SIZE): Likewise.
28653         (__mpn_lshift): Do not use BP_SYM.
28654         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
28655         (PARMS): Do not use macros from bp-asm.h.
28656         (STR): Likewise.
28657         (CHR): Likewise.
28658         (__memchr): Do not use BP_SYM.
28659         (memchr): Do not use BP_SYM in weak_alias.
28660         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
28661         (PARMS): Do not use macros from bp-asm.h.
28662         (BLK2): Likewise.
28663         (LEN): Likewise.
28664         (memcmp): Do not use BP_SYM.
28665         (bcmp): Do not use BP_SYM in weak_alias.
28666         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
28667         (PARMS): Do not use macros from bp-asm.h.
28668         (S1): Likewise.
28669         (SIZE): Likewise.
28670         (__mpn_mul_1): Do not use BP_SYM.
28671         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
28672         "bp-asm.h".
28673         (PARMS): Do not use macros from bp-asm.h.
28674         (STR): Likewise.
28675         (CHR): Likewise.
28676         (__rawmemchr): Do not use BP_SYM.
28677         (rawmemchr): Do not use BP_SYM in weak_alias.
28678         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
28679         (PARMS): Do not use macros from bp-asm.h.
28680         (S): Likewise.
28681         (SIZE): Likewise.
28682         (__mpn_rshift): Do not use BP_SYM.
28683         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
28684         (PARMS): Do not use macros from bp-asm.h.
28685         (SIGMSK): Likewise.
28686         (__sigsetjmp): Likewise.  Do not use BP_SYM.
28687         * sysdeps/i386/start.S: Do not include "bp-sym.h".
28688         (_start): Do not use BP_SYM.
28689         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
28690         (PARMS): Do not use macros from bp-asm.h.
28691         (DEST): Likewise.
28692         (SRC): Likewise.
28693         (__stpcpy): Likewise.  Do not use BP_SYM.
28694         (stpcpy): Do not use BP_SYM in weak_alias.
28695         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
28696         "bp-asm.h".
28697         (PARMS): Do not use macros from bp-asm.h.
28698         (DEST): Likewise.
28699         (SRC): Likewise.
28700         (LEN): Likewise.
28701         (__stpncpy): Likewise.  Do not use BP_SYM.
28702         (stpncpy): Do not use BP_SYM in weak_alias.
28703         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
28704         (PARMS): Do not use macros from bp-asm.h.
28705         (STR): Likewise.
28706         (CHR): Likewise.
28707         (strchr): Likewise.  Do not use BP_SYM.
28708         * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
28709         "bp-asm.h".
28710         (PARMS): Do not use macros from bp-asm.h.
28711         (STR): Likewise.
28712         (CHR): Likewise.
28713         (__strchrnul): Likewise.  Do not use BP_SYM.
28714         (strchrnul): Do not use BP_SYM in weak_alias.
28715         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
28716         "bp-asm.h".
28717         (PARMS): Do not use macros from bp-asm.h.
28718         (STOP): Likewise.
28719         (strcspn): Do not use BP_SYM.
28720         * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
28721         "bp-asm.h".
28722         (PARMS): Do not use macros from bp-asm.h.
28723         (STR): Likewise.
28724         (STOP): Likewise.
28725         (strpbrk): Likewise.  Do not use BP_SYM.
28726         * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
28727         "bp-asm.h".
28728         (PARMS): Do not use macros from bp-asm.h.
28729         (STR): Likewise.
28730         (CHR): Likewise.
28731         (strrchr): Likewise.  Do not use BP_SYM.
28732         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
28733         (PARMS): Do not use macros from bp-asm.h.
28734         (SKIP): Likewise.
28735         (strspn): Do not use BP_SYM.
28736         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
28737         (PARMS): Do not use macros from bp-asm.h.
28738         (STR): Likewise.
28739         (DELIM): Likewise.
28740         (SAVE): Likewise.
28741         (FUNCTION): Likewise.  Do not use BP_SYM.
28742         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
28743         aliases.
28744         (strtok_r): Likewise.
28745         (__GI___strtok_r): Likewise.
28746         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
28747         (PARMS): Do not use macros from bp-asm.h.
28748         (S1): Likewise.
28749         (S2): Likewise.
28750         (SIZE): Likewise.
28751         (__mpn_sub_n): Do not use BP_SYM.
28752         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
28753         "bp-asm.h".
28754         (PARMS): Do not use macros from bp-asm.h.
28755         (S1): Likewise.
28756         (SIZE): Likewise.
28757         (__mpn_submul_1): Do not use BP_SYM.
28758         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
28759         <bp-sym.h>.
28760         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
28761         and <bp-asm.h>.
28762         (PARMS): Do not use macros from bp-asm.h.
28763         (FLAGS): Likewise.
28764         (PTID): Likewise.
28765         (TLS): Likewise.
28766         (CTID): Likewise.
28767         (__clone): Do not use BP_SYM.
28768         (clone): Do not use BP_SYM in weak_alias.
28769         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
28770         and <bp-asm.h>.
28771         (PARMS): Do not use macros from bp-asm.h.
28772         (LEN): Likewise.
28773         (__mmap64): Do not use BP_SYM.
28774         (mmap64): Do not use BP_SYM in weak_alias.
28775         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
28776         <bp-sym.h> and <bp-asm.h>.
28777         (PARMS): Do not use macros from bp-asm.h.
28778         (__posix_fadvise64_l64): Do not use BP_SYM.
28779         * sysdeps/unix/sysv/linux/i386/semtimedop.S
28780         (PARMS): Do not use macros from bp-asm.h.
28781         (NSOPS): Likewise.
28782         (semtimedop): Do not use BP_SYM.
28783         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
28784         and <bp-asm.h>.
28785
28786 2013-02-21  Allan McRae  <allan@archlinux.org>
28787
28788         * manual/message.texi (Charset conversion in gettext):
28789         Move @end statement to beginning of line.
28790
28791 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
28792
28793         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
28794         static.
28795         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
28796         Likewise.
28797
28798         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
28799         (denorm): Likewise.
28800         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
28801         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
28802
28803 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
28804
28805         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
28806         tail-call to the resolved function if pltexit isn't needed.
28807
28808 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
28809
28810         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
28811         or Y being zero as being unlikely.
28812         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
28813         Likewise.
28814
28815 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
28816
28817         * manual/nss.texi (System Databases and Name Service Switch):
28818         Remove frobnicate @pxref.
28819
28820 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
28821
28822         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
28823         __attribute__ ((unused)) to __attribute__ ((__unused__)).
28824
28825 2013-02-20  Petr Machata  <pmachata@redhat.com>
28826
28827         * elf/elf.h (R_ARM_TARGET1): New macro.
28828         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
28829         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
28830         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
28831         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
28832         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
28833         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
28834         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
28835         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
28836         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
28837         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
28838         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
28839         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
28840         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
28841         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
28842         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
28843         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
28844         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
28845         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
28846         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
28847         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
28848         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
28849         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
28850         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
28851         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
28852         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
28853         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
28854         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
28855         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
28856         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
28857         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
28858         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
28859         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
28860         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
28861         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
28862         (R_ARM_THM_GOT_BREL12): Likewise.
28863         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
28864         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
28865         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
28866         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
28867         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
28868         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
28869         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
28870         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
28871         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
28872
28873 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
28874
28875         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
28876         __attribute_used__ to __attribute__ ((unused)).
28877
28878 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
28879
28880         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
28881         powerpc mpa.c.
28882         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
28883         comment formatting.
28884         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
28885
28886 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
28887
28888         [BZ #13550]
28889         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
28890         Remove macro.
28891         (ENTER): Remove both macro definitions.
28892         (LEAVE): Likewise.
28893         (CHECK_BOUNDS_LOW): Likewise.
28894         (CHECK_BOUNDS_HIGH): Likewise.
28895         (CHECK_BOUNDS_BOTH): Likewise.
28896         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
28897         (RETURN_BOUNDED_POINTER): Likewise.
28898         (RETURN_NULL_BOUNDED_POINTER): Likewise.
28899         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
28900         (POP_ERRNO_LOCATION_RETURN): Likewise.
28901         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
28902         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
28903         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
28904         macros.
28905         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
28906         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
28907         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
28908         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
28909         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
28910         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
28911         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
28912         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
28913         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
28914         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
28915         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
28916         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
28917         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
28918         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
28919         removed macros.
28920         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
28921         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
28922         macros.
28923         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
28924         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
28925         * sysdeps/i386/i586/memset.S (memset): Likewise.
28926         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
28927         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
28928         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
28929         macros.
28930         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
28931         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
28932         Change uses of L(2) to L(out).
28933         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
28934         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
28935         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
28936         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
28937         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
28938         removed macros.
28939         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
28940         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
28941         macros.
28942         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
28943         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
28944         (RETURN): Do not use macro LEAVE.
28945         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
28946         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
28947         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
28948         * sysdeps/i386/i686/memset.S (memset): Likewise.
28949         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
28950         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
28951         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
28952         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
28953         Likewise.
28954         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
28955         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
28956         L(1_2) and L(1_3) into L(1).
28957         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
28958         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
28959         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
28960         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
28961         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
28962         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
28963         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
28964         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
28965         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
28966         macros.
28967         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
28968         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
28969         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
28970         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
28971         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
28972         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
28973         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
28974         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
28975         * sysdeps/i386/strcspn.S (strcspn): Likewise.
28976         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
28977         * sysdeps/i386/strrchr.S (strrchr): Likewise.
28978         * sysdeps/i386/strspn.S (strspn): Likewise.
28979         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
28980         conditional code.
28981         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
28982         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
28983         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
28984         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
28985         L(1_3) into L(1_1).
28986         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
28987         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
28988         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
28989         macros.
28990         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
28991
28992 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
28993
28994         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
28995         macro.
28996
28997 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
28998
28999         * math/atest-exp.c (exp_mpn): Remove ROUND.
29000         * math/atest-exp2.c (exp_mpn): Likewise.
29001         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
29002
29003         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
29004         * stdlib/tst-tls-atexit-lib.c: Likewise.
29005         * stdlib/tst-tls-atexit.c: Likewise.
29006
29007 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
29008
29009         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
29010         and __attribute_alloc_size__.
29011
29012 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
29013
29014         * include/programs/xmalloc.h: Change __attribute_alloc_size to
29015         __attribute_alloc_size__.
29016         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
29017         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
29018
29019 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
29020
29021         * include/programs/xmalloc.h: New file.
29022         * catgets/gencat.c: Include it.
29023         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
29024         * elf/pldd.c: Likewise.
29025         * iconv/iconv_charmap.c: Likewise.
29026         * iconv/iconvconfig.c: Likewise.
29027         * iconv/strtab.c: Likewise.
29028         * locale/programs/locale.c: Likewise.
29029         * locale/programs/localedef.h: Likewise.
29030         * locale/programs/simple-hash.c: Likewise.
29031         * nscd/nscd.h: Likewise.
29032         * nss/makedb.c: Likewise.
29033         * sysdeps/generic/ldconfig.h: Likewise.
29034
29035 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
29036
29037         * Versions.def: Add GLIBC_2.18.
29038         * include/link.h (struct link_map): New member l_tls_dtor_count.
29039         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
29040         (__call_tls_dtors): Likewise.
29041         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
29042         __cxa_thread_atexit_impl.
29043         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
29044         Likewise.
29045         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
29046         Likewise.
29047         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
29048         Likewise.
29049         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
29050         Likewise.
29051         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
29052         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
29053         Likewise.
29054         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
29055         Likewise.
29056         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
29057         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
29058         Likewise.
29059         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
29060         (tests): Add test case tst-tls-atexit.
29061         (modules-names): Add shared library for tst-tls-atexit.
29062         * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
29063         (GLIBC_PRIVATE): Add __call_tls_dtors.
29064         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
29065         for libstdc++.
29066         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
29067         * stdlib/tst-tls-atexit.c: New test case.
29068         * stdlib/tst-tls-atexit-lib.c: New test case.
29069
29070         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
29071
29072         * elf/Versions (ld): Add _dl_find_dso_for_object.
29073         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
29074         * elf/dl-open.c (_dl_find_dso_for_object): New function.
29075         (dl_open_worker): Use _dl_find_dso_for_object.
29076         * elf/dl-sym.c (do_sym): Likewise.
29077         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
29078
29079 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
29080
29081         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
29082         Syntactic changes only.
29083         (_dl_runtime_profile): Do a tail-call to the resolved function.
29084
29085 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
29086
29087         [BZ #13550]
29088         * sysdeps/x86_64/bp-asm.h: Remove file.
29089         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
29090         <bp-sym.h> and <bp-asm.h>.
29091         (__clone): Do not use BP_SYM.
29092         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
29093         <bp-sym.h> and <bp-asm.h>.
29094         * sysdeps/unix/x86_64/sysdep.S: Likewise.
29095         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
29096         "bp-asm.h".
29097         (_setjmp): Do not use BP_SYM.
29098         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
29099         "bp-asm.h".
29100         (setjmp): Do not use BP_SYM.
29101         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
29102         libc_hidden_def.
29103         (mempcpy): Do not use BP_SYM in weak_alias.
29104         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
29105         "bp-asm.h".
29106         (strchr): Do not use BP_SYM.
29107         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
29108         "bp-asm.h".
29109         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
29110         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
29111         (_start): Do not use BP_SYM.
29112         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
29113         "bp-asm.h".
29114         (strcat): Do not use BP_SYM.
29115         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
29116         "bp-asm.h".
29117         (STRCMP): Do not use BP_SYM.
29118         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
29119         "bp-asm.h".
29120         (STRCPY): Do not use BP_SYM.
29121         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
29122         "bp-asm.h".
29123         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
29124         "bp-asm.h".
29125         (FUNCTION): Do not use BP_SYM.
29126         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
29127         weak_alias.
29128         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
29129
29130 2013-02-17  Andreas Jaeger  <aj@suse.de>
29131
29132         * time/Versions: Sort entries.
29133         * string/Versions: Likewise.
29134         * resolv/Versions: Likewise.
29135         * posix/Versions: Likewise.
29136         * iconv/Versions: Likewise.
29137         * elf/Versions: Likewise.
29138         * wcsmbs/Versions: Likewise.
29139
29140 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
29141
29142         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
29143         loop termination condition.
29144
29145         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
29146         variable to calculate EZ.
29147         (__sqr): Likewise.
29148
29149         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
29150         the lower precision input.
29151
29152 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
29153
29154         [BZ #13550]
29155         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
29156         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
29157         (run-via-rtld-prefix): Do not handle %-bp tests.
29158         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
29159         (all-object-suffixes): Remove .ob.
29160         (bppfx): Remove variable.
29161         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
29162         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
29163         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
29164         [$(build-bounded) = yes] (libtype.ob): Likewise.
29165         * Makerules (elide-routines.ob): Remove variable.
29166         (do-tests-clean): Do not handle *-bp.out.
29167         (common-mostlyclean): Do not handle *-bp and *-bp.out.
29168         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
29169         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
29170         (tests): Do not include $(tests-bp.out).
29171         (xtests): Do not include $(xtests-bp.out).
29172         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
29173         [$(build-bounded) = yes] ($(addprefix
29174         $(objpfx),$(binaries-bounded))): Remove rule.
29175         ($(objpfx)%-bp.out): Remove rule.
29176         * config.make.in (build-bounded): Remove variable.
29177         * crypt/Makefile [$(build-bounded) = yes]
29178         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
29179         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
29180         append to variable.
29181         [$(build-bounded) = yes] (install-lib): Likewise.
29182         [$(build-bounded) = yes] (generated): Likewise.
29183         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
29184         Remove rule.
29185         * intl/Makefile [$(build-bounded) = yes]
29186         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
29187         * math/Makefile [$(build-bounded) = yes]
29188         ($(tests:%=$(objpfx)%-bp): Likewise.
29189         * misc/Makefile [$(build-bounded) = yes]
29190         ($(objpfx)tst-tsearch-bp): Likewise.
29191         * nptl/Makeconfig (bounded-thread-library): Remove variable.
29192         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
29193         Remove dependency.
29194         * string/Makefile (o-objects.ob): Remove variable.
29195         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
29196         (CFLAGS-.ob): Remove variable.
29197         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
29198         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
29199         both definitions of variable.
29200         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
29201         (ASFLAGS-.ob): Remove variable.
29202
29203 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
29204
29205         [BZ #13550]
29206         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
29207         Remove __BOUNDED_POINTERS__ from condition.
29208         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
29209         * string/bits/string2.h [!__NO_STRING_INLINES &&
29210         !__BOUNDED_POINTERS__]: Likewise.
29211         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
29212         Likewise.
29213         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
29214         Remove conditional code.
29215         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
29216         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
29217         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
29218         condition.
29219
29220         [BZ #13550]
29221         * csu/libc-start.c: Do not include <bp-sym.h>.
29222         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
29223         * elf/dl-open.c: Do not include <bp-sym.h>.
29224         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
29225         * math/fegetenv.c: Do not include <bp-sym.h>.
29226         (fegetenv): Do not use BP_SYM in versioned symbols.
29227         * nptl/sysdeps/pthread/bits/libc-lockP.h
29228         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
29229         <bp-sym.h>.
29230         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
29231         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
29232         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
29233         (__pthread_mutex_destroy): Likewise.
29234         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
29235         (__pthread_mutex_lock): Likewise.
29236         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
29237         (__pthread_mutex_trylock): Likewise.
29238         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
29239         (__pthread_mutex_unlock): Likewise.
29240         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
29241         (__pthread_mutexattr_init): Likewise.
29242         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
29243         (__pthread_mutexattr_destroy): Likewise.
29244         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
29245         (__pthread_mutexattr_settype): Likewise.
29246         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
29247         (__pthread_rwlock_init): Likewise.
29248         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
29249         (__pthread_rwlock_destroy): Likewise.
29250         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
29251         (__pthread_rwlock_rdlock): Likewise.
29252         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
29253         (__pthread_rwlock_tryrdlock): Likewise.
29254         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
29255         (__pthread_rwlock_wrlock): Likewise.
29256         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
29257         (__pthread_rwlock_trywrlock): Likewise.
29258         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
29259         (__pthread_rwlock_unlock): Likewise.
29260         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
29261         (__pthread_key_create): Likewise.
29262         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
29263         (__pthread_setspecific): Likewise.
29264         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
29265         (__pthread_getspecific): Likewise.
29266         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
29267         Likewise.
29268         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
29269         (_pthread_cleanup_push_defer): Likewise.
29270         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
29271         (_pthread_cleanup_pop_restore): Likewise.
29272         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
29273         (pthread_setcancelstate): Likewise.
29274         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
29275         <bp-sym.h>.
29276         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
29277         (memchr): Do not use BP_SYM in weak_alias.
29278         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
29279         (fegetenv): Do not use BP_SYM in versioned symbols.
29280         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
29281         (fesetenv): Do not use BP_SYM in versioned symbols.
29282         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
29283         (feupdateenv): Do not use BP_SYM in versioned symbols.
29284         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
29285         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
29286         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
29287         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
29288         (open64): Do not use BP_SYM in weak_alias.
29289         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
29290         (fegetenv): Do not use BP_SYM in versioned symbols.
29291         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
29292         (fesetenv): Do not use BP_SYM in versioned symbols.
29293         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
29294         (feupdateenv): Do not use BP_SYM in versioned symbols.
29295         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
29296         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
29297         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
29298         (feraiseexcept): Do not use BP_SYM in versioned symbols.
29299         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
29300         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
29301         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
29302         <bp-sym.h>.
29303         (__libc_start_main): Do not use BP_SYM.
29304
29305 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
29306
29307         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
29308         redundant return line.
29309         (norm): Likewise.
29310         (denorm): Likewise.
29311         (dbl_mp): Likewise.
29312         (sub_magnitudes): Likewise.
29313         (__add): Likewise.
29314         (__sub): Likewise.
29315         (__mul): Likewise.
29316         (__inv): Likewise.
29317         (__dvd): Likewise.
29318         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
29319         (norm): Likewise.
29320         (denorm): Likewise.
29321         (dbl_mp): Likewise.
29322         (sub_magnitudes): Likewise.
29323         (__add): Likewise.
29324         (__sub): Likewise.
29325         (__mul): Likewise.
29326         (__inv): Likewise.
29327         (__dvd): Likewise.
29328
29329         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
29330         instead of __mul.
29331         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
29332         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
29333         (cc32): Likewise.
29334
29335         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
29336         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
29337         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
29338         of __mul for squares.
29339         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
29340         function
29341         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
29342         Likewise.
29343         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
29344         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
29345
29346 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
29347
29348         [BZ #13550]
29349         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
29350         code.
29351         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
29352         prototype or function definition.  Rename ubp_* variables and
29353         parameters.  Remove argv definitions conditional on
29354         [__BOUNDED_POINTERS__].
29355         * debug/backtrace.c (__backtrace): Do not use __unbounded.
29356         * elf/dl-runtime.c (_dl_fixup): Likewise.
29357         * include/set-hooks.h (RUN_HOOK): Likewise.
29358         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
29359         definition.
29360         * string/strcpy.c (strcpy): Do not use __unbounded.
29361         * sysdeps/generic/frame.h (struct layout): Likewise.
29362         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
29363         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
29364         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
29365         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
29366         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
29367         (__backtrace): Likewise.
29368         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
29369         use __ptrvalue.
29370         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
29371         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
29372         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
29373         Likewise.
29374         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
29375         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
29376         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
29377         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
29378         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
29379         Do not use __unbounded.
29380         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
29381         Rename __unboundedrlimits parameter to rlimits in prototype.
29382         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
29383         Do not use __unbounded.
29384         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
29385         not use __ptrvalue.
29386         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
29387         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
29388         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
29389         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
29390         __ptrvalue or __unbounded.
29391         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
29392         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
29393         use __unbounded.
29394         (__new_msgctl): Do not use __ptrvalue.
29395         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
29396         __unbounded.
29397         (__libc_msgrcv): Do not use __ptrvalue.
29398         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
29399         startup_info): Do not use __unbounded.
29400         (__libc_start_main): Likewise.  Rename ubp_* variables and
29401         parameters.  Remove argv definitions conditional on
29402         [__BOUNDED_POINTERS__].
29403         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
29404         __ptrvalue.
29405         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
29406         use __unbounded.
29407         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
29408         or __ptrvalue.
29409         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
29410         use __unbounded.
29411         (__new_shmctl): Do not use __ptrvalue.
29412         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
29413         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
29414         Likewise.
29415         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
29416         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
29417         (__libc_sigaction): Likewise.
29418         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
29419         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
29420         Likewise.
29421         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
29422
29423 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
29424
29425         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
29426
29427         * string/mempcpy.c: Implement by calling memcpy.
29428
29429 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
29430
29431         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
29432
29433         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
29434         evaluation.
29435
29436         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
29437         values in the mantissa.
29438
29439         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
29440         minimize writes to Z.
29441         (sub_magnitudes): Simplify code a bit.
29442
29443 2013-02-12  Roland McGrath  <roland@hack.frob.com>
29444
29445         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
29446         from the message.  The linker prefixes all warnings with that already.
29447
29448 2013-02-12  Andreas Schwab  <schwab@suse.de>
29449
29450         [BZ #15078]
29451         * posix/regexec.c (extend_buffers): Add parameter min_len.
29452         (check_matching): Pass minimum needed length.
29453         (clean_state_log_if_needed): Likewise.
29454         (get_subexp): Likewise.
29455         * posix/Makefile (tests): Add bug-regex34.
29456         (bug-regex34-ENV): Define.
29457         * posix/bug-regex34.c: New file.
29458
29459         [BZ #11561]
29460         * posix/regcomp.c (parse_bracket_exp): When looking up collating
29461         elements compare against the byte sequence of it, not its name.
29462         * posix/Makefile (tests): Add bug-regex35.
29463         (bug-regex35-ENV): Define.
29464         * posix/bug-regex35.c: New file.
29465
29466 2013-02-11  Tom de Vries  <tom@codesourcery.com>
29467
29468         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
29469         comment.
29470         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
29471         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
29472         (CHECK_EOL): Add undef.
29473
29474 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
29475
29476         * bits/stdlib-bsearch.h: New file.
29477         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
29478         * stdlib/stdlib.h: Likewise.
29479
29480 2013-02-11  Roland McGrath  <roland@hack.frob.com>
29481
29482         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
29483         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
29484         declaration.
29485         * manual/search.texi (Array Search Function): Add missing const in
29486         lfind prototype.
29487         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
29488         declaration to use rlim_t.
29489         (Basic Scheduling Functions): Remove erroneous const from
29490         sched_getparam prototype.  Remove erroneous * from
29491         sched_get_priority_max and sched_get_priority_min prototypes.
29492         (Resource Usage): Fix summary @comment on vtimes to refer to
29493         sys/vtimes.h rather than vtimes.h.
29494         Add missing *s in vtimes prototype.
29495         (Limits on Resources): Fix ulimit prototype to return long int.
29496         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
29497         prototypes to use long int rather than double.
29498         (BSD Random): Fix initstate and setstate to use char *, not void *.
29499         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
29500         prototype to make second argument 'struct aiocb64 *const[]'.
29501         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
29502         (Status of AIO Operations): Remove erroneous const in aio_return and
29503         aio_return64 prototypes.
29504         (Synchronizing I/O): Fix sync prototype to return void.
29505         * manual/startup.texi (Suboptions): Remove an erroneous const in
29506         getsubopt prototype.
29507         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
29508         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
29509         use size_t rather than int.
29510         (Scanning All Users): Likewise for getpwent_r.
29511         (Setting Groups): Add missing const to setgroups prototype.
29512         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
29513         * manual/socket.texi (Host Names): Fix gethostbyaddr and
29514         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
29515         'const void *' rather than 'const char *'.
29516         (Host Address Functions): Likewise for inet_ntop.
29517         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
29518         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
29519         ssize_t for return value.
29520         (Sending Data): Likewise for send, sendto, sendmsg.
29521         (Socket Option Functions): Add a missing const in setsockopt prototype.
29522         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
29523         use wchar_t for the argument.
29524         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
29525         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
29526         take no arguments.
29527         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
29528         double/float/long double for second argument.
29529         Fix return types of significand, significandf, significandl.
29530         * manual/filesys.texi (Setting Permissions): Use mode_t for second
29531         argument in fchmod prototype.
29532         (File Owner): Use uid_t and gid_t in fchown prototype.
29533         (File Times): Add const to utimes, futimes, and lutimes prototypes.
29534         (Making Special Files): Use mode_t and dev_t in mknod prototype.
29535         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
29536         use 'const struct dirent **' as argument types to CMP function pointer
29537         argument.
29538         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
29539         (File Times): Fix summary magic @comment for struct utimbuf and utime
29540         to refer to utime.h, not time.h.
29541         * manual/string.texi (Argz Functions): Add missing const in
29542         argz_extract and argz_next prototypes.
29543         (Finding Tokens in a String): Likewise for basename.
29544         (String/Array Comparison): Fix typo in wcscasecmp prototype.
29545         (Copying and Concatenation): Fix typo in wmemmove prototype.
29546         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
29547         (Signal Stack): Remove erroneous const in sigstack prototype.
29548         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
29549         prototype.
29550         (Simple Calendar Time): Likewise for stime.
29551         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
29552         prototype.
29553         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
29554         say sys/sysctl.h instead.
29555         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
29556         and vsyslog prototypes.
29557
29558 2013-02-11  Tom de Vries  <tom@codesourcery.com>
29559
29560         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
29561         Remove.
29562
29563 2013-02-11  Roland McGrath  <roland@hack.frob.com>
29564
29565         * misc/sys/mman.h: Fix typo in mremap comment.
29566
29567 2013-02-08  Roland McGrath  <roland@hack.frob.com>
29568
29569         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
29570         the '\0' terminator.
29571
29572 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
29573
29574         [BZ #13550]
29575         * debug/segfault.c: Don't include <bp-checks.h>.
29576         * sysdeps/generic/bp-checks.h: Remove file.
29577         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
29578         (__GETDENTS): Don't use CHECK_N.
29579         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
29580         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
29581         (__getgroups): Don't use CHECK_N.
29582         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
29583         (setgroups): Don't use CHECK_N.
29584         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
29585         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
29586         (__libc_msgrcv): Don't use CHECK_N.
29587         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
29588         (__libc_msgsnd): Don't use CHECK_N.
29589         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
29590         <bp-checks.h>.
29591         (__libc_pread): Don't use CHECK_N.
29592         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
29593         include <bp-checks.h>.
29594         (__libc_pread64): Don't use CHECK_N.
29595         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
29596         include <bp-checks.h>.
29597         (__libc_pwrite): Don't use CHECK_N.
29598         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
29599         include <bp-checks.h>.
29600         (__libc_pwrite64): Don't use CHECK_N.
29601         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
29602         <bp-checks.h>.
29603         (__libc_pread): Don't use CHECK_N.
29604         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
29605         include <bp-checks.h>.
29606         (__libc_pread64): Don't use CHECK_N.
29607         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
29608         include <bp-checks.h>.
29609         (__libc_pwrite): Don't use CHECK_N.
29610         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
29611         include <bp-checks.h>.
29612         (__libc_pwrite64): Don't use CHECK_N.
29613         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
29614         (do_pread): Don't use CHECK_N.
29615         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
29616         (do_pread64): Don't use CHECK_N.
29617         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
29618         (do_pwrite): Don't use CHECK_N.
29619         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
29620         (do_pwrite64): Don't use CHECK_N.
29621         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
29622         (__libc_readv): Don't use CHECK_N.
29623         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
29624         (semop): Don't use CHECK_N.
29625         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
29626         <bp-checks.h>.
29627         (semtimedop): Don't use CHECK_N.
29628         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
29629         (__libc_pread): Don't use CHECK_N.
29630         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
29631         <bp-checks.h>.
29632         (__libc_pread64): Don't use CHECK_N.
29633         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
29634         <bp-checks.h>.
29635         (__libc_pwrite): Don't use CHECK_N.
29636         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
29637         <bp-checks.h>.
29638         (__libc_pwrite64): Don't use CHECK_N.
29639         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
29640         <bp-checks.h>.
29641         (__libc_msgrcv): Don't use CHECK_N.
29642         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
29643         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
29644         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
29645         (__libc_writev): Don't use CHECK_N.
29646
29647 2013-02-08  Roland McGrath  <roland@hack.frob.com>
29648
29649         * string/strcpy.c: Removed unused variable.
29650
29651         * Makeconfig (+sysdep-includes): Define with := rather than =.
29652         Use an existing include/ subdir of each sysdeps dir before it.
29653
29654 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
29655
29656         * nscd/connection.c (register_traced_file): Comment function.
29657         [HAVE_INOTIFY] (union __inev): Define.
29658         [HAVE_INOTIFY] (inotify_check_files): New function.
29659         [HAVE_INOTIFY] (clear_db_cache): Likewise.
29660         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
29661         clear_db_cache.
29662         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
29663
29664 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
29665
29666         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
29667         loaded if not already and that a failure is permanent.
29668
29669 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
29670
29671         [BZ #15006]
29672         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
29673         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
29674
29675 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
29676
29677         [BZ #13550]
29678         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
29679         (CHECK_1_NULL_OK): Likewise.
29680         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
29681         (__fxstat): Do not use CHECK_1.
29682         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
29683         <bp-checks.h>.
29684         (___fxstat64): Do not use CHECK_1.
29685         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
29686         <bp-checks.h>.
29687         (__fxstatat): Do not use CHECK_1.
29688         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
29689         <bp-checks.h>.
29690         (__fxstatat64): Do not use CHECK_1.
29691         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
29692         <bp-checks.h>.
29693         (__fxstat): Do not use CHECK_1.
29694         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
29695         <bp-checks.h>.
29696         (__fxstatat): Do not use CHECK_1.
29697         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
29698         <bp-checks.h>.
29699         (__getresgid): Do not use CHECK_1.
29700         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
29701         <bp-checks.h>.
29702         (__getresuid): Do not use CHECK_1.
29703         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
29704         <bp-checks.h>.
29705         (__lxstat): Do not use CHECK_1.
29706         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
29707         <bp-checks.h>.
29708         (__old_msgctl): Do not use CHECK_1.
29709         (__new_msgctl): Likewise.
29710         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
29711         <bp-checks.h>.
29712         (__new_setrlimit): Do not use CHECK_1.
29713         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
29714         <bp-checks.h>.
29715         (__old_shmctl): Do not use CHECK_1.
29716         (__new_shmctl): Likewise.
29717         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
29718         <bp-checks.h>.
29719         (__xstat): Do not use CHECK_1.
29720         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
29721         (__lxstat): Do not use CHECK_1.
29722         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
29723         <bp-checks.h>.
29724         (___lxstat64): Do not use CHECK_1.
29725         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
29726         (__old_msgctl): Do not use CHECK_1.
29727         (__new_msgctl): Likewise.
29728         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
29729         <bp-checks.h>.
29730         (__gettimeofday): Do not use CHECK_1.
29731         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
29732         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
29733         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
29734         <bp-checks.h>.
29735         (__gettimeofday): Do not use CHECK_1.
29736         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
29737         (__old_shmctl): Do not use CHECK_1_NULL_OK.
29738         (__new_shmctl): Do not use CHECK_1.
29739         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
29740         <bp-checks.h>.
29741         (do_sigtimedwait): Do not use CHECK_1.
29742         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
29743         <bp-checks.h>.
29744         (do_sigwaitinfo): Do not use CHECK_1.
29745         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
29746         <bp-checks.h>.
29747         (msgctl): Do not use CHECK_1.
29748         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
29749         <bp-checks.h>.
29750         (shmctl): Do not use CHECK_1.
29751         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
29752         (ustat): Do not use CHECK_1.
29753         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
29754         <bp-checks.h>.
29755         (__fxstat): Do not use CHECK_1.
29756         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
29757         <bp-checks.h>.
29758         (__fxstatat): Do not use CHECK_1.
29759         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
29760         <bp-checks.h>.
29761         (__lxstat): Do not use CHECK_1.
29762         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
29763         <bp-checks.h>.
29764         (__xstat): Do not use CHECK_1.
29765         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
29766         (__xstat): Do not use CHECK_1.
29767         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
29768         (___xstat64): Do not use CHECK_1.
29769
29770         [BZ #13550]
29771         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
29772         definitions.
29773         (CHECK_BOUNDS_HIGH): Likewise.
29774         * string/strcpy.c: Do not include <bp-checks.h>.
29775         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
29776
29777 2013-02-07  Roland McGrath  <roland@hack.frob.com>
29778
29779         * nscd/nscd-client.h (__nscd_drop_map_ref):
29780         Add __attribute__ ((unused)).
29781         * nis/nss-nisplus.h (niserr2nss): Likewise.
29782
29783         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
29784         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
29785
29786         * csu/libc-tls.c (init_static_tls, init_slotinfo):
29787         Remove inline keyword.
29788         * include/rounding-mode.h (round_away): Likewise.
29789         * libio/wfileops.c (adjust_wide_data): Likewise.
29790         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
29791         (__m128i_strloadu_tolower): Likewise.
29792         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
29793         (__m128i_strloadu_tolower): Likewise.
29794         * time/mktime.c (ydhms_diff): Likewise.
29795         * locale/elem-hash.h (elem_hash): Likewise.
29796         * locale/setlocale.c (setdata): Likewise.
29797         * posix/regex_internal.h (re_string_char_size_at): Likewise.
29798         (re_string_wchar_at): Likewise.
29799         (bitset_not, bitset_merge, bitset_mask): Likewise.
29800         [!(__GNUC__ > 3)] (inline): Remove macro.
29801         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
29802         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
29803         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
29804         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
29805         * string/memcmp.c (memcmp_bytes): Likewise.
29806         * locale/programs/locarchive.c (compute_hashval): Likewise.
29807         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
29808         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
29809         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
29810         * nss/getent.c (print_rpc, print_protocols): Likewise.
29811         (print_passwd, print_group, print_aliases): Likewise.
29812         * nis/nss-nisplus.h (niserr2nss): Likewise.
29813         * nscd/connections.c (restart_p): Likewise.
29814         Change return type to bool.
29815
29816 2013-02-05  Roland McGrath  <roland@hack.frob.com>
29817
29818         * Makeconfig (all-Depend-files): Add existing
29819         $(sorted-subdirs:=/Depend) files.
29820         (all-subdirs): Remove nss.
29821         * sysdeps/unix/inet/Subdirs: Add it here instead.
29822         * hesiod/Depend: New file.
29823
29824         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
29825         instead of calling alloca.
29826
29827         * io/lseek.c (__lseek): Rename to __libc_lseek.
29828         Define __lseek as an alias.
29829
29830         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
29831
29832 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
29833
29834         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
29835         else clause and remove check for non-standard endianness.
29836
29837 2013-02-04  David S. Miller  <davem@davemloft.net>
29838
29839         * sysdeps/sparc/fpu/libm-test-ulps: Update.
29840
29841 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
29842
29843         [BZ #13550]
29844         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
29845         (__ubp_memchr): Remove prototype.
29846         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
29847         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
29848         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
29849         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
29850         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
29851         Remove alias.
29852         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
29853         (__ubp_memchr): Likewise.
29854         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
29855         (__ubp_memchr): Likewise.
29856         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
29857         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
29858         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
29859         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
29860         CHECK_STRING.
29861         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
29862         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
29863         (__getcwd): Do not use CHECK_STRING.
29864         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
29865         <bp-checks.h>.
29866         (__real_chown): Do not use CHECK_STRING.
29867         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
29868         <bp-checks.h>.
29869         (fchownat): Do not use CHECK_STRING.
29870         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
29871         CHECK_STRING.
29872         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
29873         <bp-checks.h>.
29874         (__lchown): Do not use CHECK_STRING.
29875         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
29876         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
29877         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
29878         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
29879         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
29880         include <bp-checks.h>.
29881         (truncate64): Do not use CHECK_STRING.
29882         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
29883         <bp-checks.h>.
29884         (__real_chown): Do not use CHECK_STRING.
29885         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
29886         <bp-checks.h>.
29887         (__lchown): Do not use CHECK_STRING.
29888         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
29889         <bp-checks.h>.
29890         (__chown): Do not use CHECK_STRING.
29891         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
29892         <bp-checks.h>.
29893         (truncate64): Do not use CHECK_STRING.
29894         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
29895         Likewise.
29896         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
29897         (__xmknod): Do not use CHECK_STRING.
29898         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
29899         <bp-checks.h>.
29900         (__xmknodat): Do not use CHECK_STRING.
29901         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
29902         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
29903
29904 2013-02-04  Andreas Schwab  <schwab@suse.de>
29905
29906         [BZ #14142]
29907         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
29908         * include/netdb.h: Likewise for h_errno.
29909         * elf/tst-stackguard1.c: Include <tls.h>.
29910
29911 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
29912
29913         * elf/link.h (struct link_map): Extend the l_addr comment.
29914         * include/link.h (struct link_map): Likewise.
29915
29916 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
29917
29918         [BZ #13550]
29919         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
29920         (BOUNDED_1): Remove macro.
29921         * debug/backtrace.c: Don't include <bp-checks.h>.
29922         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
29923         (__backtrace): Likewise.
29924         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
29925         <bp-checks.h>.
29926         (__backtrace): Don't use BOUNDED_1.
29927         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
29928         <bp-checks.h>.
29929         (__backtrace): Don't use BOUNDED_1.
29930         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
29931         (__backtrace): Don't use BOUNDED_1.
29932         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
29933         (shmat): Don't use BOUNDED_N.
29934
29935 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
29936
29937         [BZ #13550]
29938         * sysdeps/generic/bp-start.h: Remove file.
29939         * csu/libc-start.c: Don't include <bp-start.h>.
29940         (LIBC_START_MAIN): Set up __environ directly instead of using
29941         INIT_ARGV_and_ENVIRON.
29942         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
29943         <bp-start.h>.
29944
29945         [BZ #13550]
29946         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
29947         definitions.
29948         (CHECK_FCNTL): Likewise.
29949         (CHECK_N_PAGES): Likewise.
29950
29951         [BZ #13550]
29952         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
29953         definitions.
29954         (CHECK_SIGSET_NULL_OK): Likewise.
29955         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
29956         <bp-checks.h>.
29957         (sigpending): Don't use CHECK_SIGSET.
29958         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
29959         <bp-checks.h>.
29960         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
29961         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
29962         <bp-checks.h>.
29963         (do_sigsuspend): Don't use CHECK_SIGSET.
29964         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
29965         use CHECK_SIGSET.
29966         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
29967         (do_sigwait): Don't use CHECK_SIGSET.
29968         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
29969         use CHECK_SIGSET.
29970         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
29971         include <bp-checks.h>.
29972         (sigpending): Don't use CHECK_SIGSET.
29973         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
29974         include <bp-checks.h>.
29975         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
29976         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
29977         <bp-checks.h>.
29978         (sigpending): Don't use CHECK_SIGSET.
29979         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
29980         <bp-checks.h>.
29981         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
29982
29983         [BZ #13550]
29984         * sysdeps/generic/bp-semctl.h: Remove file.
29985         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
29986         <bp-checks.h> and <bp-semctl.h>.
29987         (__old_semctl): Don't use CHECK_SEMCTL.
29988         (__new_semctl): Likewise.
29989         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
29990         and <bp-semctl.h>.
29991         (__old_semctl): Don't use CHECK_SEMCTL.
29992         (__new_semctl): Likewise.
29993         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
29994         <bp-checks.h> and <bp-semctl.h>.
29995         (__old_semctl): Don't use CHECK_SEMCTL.
29996         (__new_semctl): Likewise.
29997         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
29998         <bp-checks.h> and <bp-semctl.h>.
29999         (semctl): Don't use CHECK_SEMCTL.
30000
30001         [BZ #13550]
30002         * Makerules (elide-bp-thunks): Remove variable.
30003         (elide-routines.oS): Don't use $(elide-bp-thunks).
30004         (elide-routines.os): Likewise.
30005         (elide-routines.o): Likewise.
30006         (elide-routines.op): Likewise.
30007         (elide-routines.og): Likewise.
30008         (objects): Don't use $(bp-thunks).
30009         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
30010         include.
30011         (common-generated): Do not add s-proto-bp.d.
30012         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
30013         (int): Likewise.
30014         (typ): Likewise.
30015         Do not generate makefile rules for bounded-pointer thunks.
30016         * sysdeps/generic/bp-thunks.h: Remove file.
30017         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
30018         * sysdeps/unix/s-proto-bp.S: Likewise.
30019
30020         [BZ #15062]
30021         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
30022         parts of result separately when argument is not close to line from
30023         -i to i and one part of argument is small.
30024         * math/k_casinhf.c (__kernel_casinhf): Likewise.
30025         * math/k_casinhl.c (__kernel_casinhl): Likewise.
30026         * math/libm-test.inc (cacos_test): Add more tests.
30027         (casin_test): Likewise.
30028         (casinh_test): Likewise.
30029         * sysdeps/i386/fpu/libm-test-ulps: Update.
30030         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30031
30032 2013-01-31  David S. Miller  <davem@davemloft.net>
30033
30034         * po/de.po: Update from translation team.
30035
30036 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
30037
30038         * time/tzfile.c: Include stdint.h for SIZE_MAX.
30039
30040 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
30041
30042         * configure.in (_AC_PROG_CC_C89): New definition.
30043         * configure: Regenerate.
30044
30045         * configure.in (AC_PROG_CPP): New definition.
30046         * configure: Regenerate.
30047
30048 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
30049
30050         * debug/tst-backtrace.h: New file.
30051         * debug/tst-backtrace2.c: Include tst-backtrace.h.
30052         (ret): Remove variable.
30053         (x): Likewise.
30054         (FAIL): Remove macro.
30055         (NO_INLINE): Likewise.
30056         (fn1): Use match function instead of strstr.
30057         * debug/tst-backtrace3.c: Include tst-backtrace.h.
30058         (ret): Remove variable.
30059         (x): Likewise.
30060         (FAIL): Remove macro.
30061         (NO_INLINE): Likewise.
30062         (fn): Use match function instead of strstr.
30063         * debug/tst-backtrace4.c: Include tst-backtrace.h.
30064         (ret): Remove variable.
30065         (x): Likewise.
30066         (FAIL): Remove macro.
30067         (NO_INLINE): Likewise.
30068         (handle_signal): Use match function instead of strstr.
30069         * debug/tst-backtrace5.c: Include tst-backtrace.h.
30070         (ret): Remove variable.
30071         (x): Likewise.
30072         (FAIL): Remove macro.
30073         (NO_INLINE): Likewise.
30074         (handle_signal): Use match function instead of strstr.
30075
30076 2013-01-23  Roland McGrath  <roland@hack.frob.com>
30077
30078         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
30079
30080 2013-01-23  David S. Miller  <davem@davemloft.net>
30081
30082         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
30083         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
30084         argument of CAS if possible.
30085         * sysdeps/sparc/sparc64/bits/atomic.h
30086         (__arch_compare_and_exchange_val_32_acq): Likewise.
30087         (__arch_compare_and_exchange_val_64_acq): Likewise.
30088
30089 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
30090
30091         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
30092         * sysdeps/posix/ulimit.c: ... this.
30093         Include <limits.h>.
30094         * sysdeps/unix/bsd/ulimit.c: Remove file.
30095
30096 2013-01-23  Adam Conrad  <adconrad@0c3.net>
30097
30098         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
30099         (LDFLAGS-tst-array5): Likewise.
30100
30101 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
30102
30103         [BZ #15036]
30104         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
30105         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
30106         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
30107         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
30108
30109 2013-01-21  David S. Miller  <davem@davemloft.net>
30110
30111         * sysdeps/sparc/backtrace.c: New file.
30112         * sysdeps/sparc/sparc32/backtrace.h: New file.
30113         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
30114         * sysdeps/sparc/sparc64/backtrace.h: New file.
30115         * sysdeps/sparc/sparc64/backtrace.c: Delete.
30116         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
30117         -funwind-tables.
30118
30119 2013-01-21  Andreas Schwab  <schwab@suse.de>
30120
30121         [BZ #15020]
30122         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
30123         closed its stdout.
30124
30125 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
30126
30127         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
30128         "mpa2.h".
30129         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
30130
30131 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
30132             Mark Mitchell  <mark@codesourcery.com>
30133             Tom de Vries  <tom@codesourcery.com>
30134             Paul Pluzhnikov  <ppluzhnikov@google.com>
30135
30136         * debug/tst-backtrace2.c: New file.
30137         * debug/tst-backtrace3.c: Likewise.
30138         * debug/tst-backtrace4.c: Likewise.
30139         * debug/tst-backtrace5.c: Likewise.
30140         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
30141         (CFLAGS-tst-backtrace3.c): Likewise.
30142         (CFLAGS-tst-backtrace4.c): Likewise.
30143         (CFLAGS-tst-backtrace5.c): Likewise.
30144         (LDFLAGS-tst-backtrace2): Likewise.
30145         (LDFLAGS-tst-backtrace3): Likewise.
30146         (LDFLAGS-tst-backtrace4): Likewise.
30147         (LDFLAGS-tst-backtrace5): Likewise.
30148         (tests): Add new tests tst-backtrace2, tst-backtrace3,
30149         tst-backtrace4 and tst-backtrace5.
30150
30151 2013-01-18  Anton Blanchard  <anton@samba.org>
30152             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
30153
30154         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
30155         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
30156         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
30157         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
30158         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
30159         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
30160         "+r" and remove output regs list as redundant.  Add explicit inline
30161         asm to specify register of return val to work around compiler codegen
30162         bug.  Remove (int) cast on return value.  Add return type parameter to
30163         use in macro so that this macro does not truncate return value for
30164         64-bit values.
30165         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
30166         pass to INTERNAL_VSYSCALL_NCS.
30167         (INLINE_VSYSCALL): Add 'long int' as return type to
30168         INTERNAL_VSYSCALL_NCS macro invocation.
30169         (INTERNAL_VSYSCALL): Add 'long int' as return type to
30170         INTERNAL_VSYSCALL_NCS macro invocation.
30171         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
30172
30173 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
30174
30175         [BZ #14496]
30176         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
30177         Fix application of SIMD FP exception mask.
30178
30179         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
30180         mp_no from a power of two.
30181         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
30182         __mpexp_twomm1.  Use __pow_mp.
30183
30184         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
30185         multiplication.
30186
30187 2013-01-17  David S. Miller  <davem@davemloft.net>
30188
30189         * sysdeps/sparc/fpu/libm-test-ulps: Update.
30190
30191 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
30192
30193         [BZ #15023]
30194         * include/complex.h: Condition contents on [!_COMPLEX_H].
30195         (__kernel_casinhf): New prototype.
30196         (__kernel_casinh): Likewise.
30197         (__kernel_casinhl): Likewise.
30198         * math/Makefile (libm_calls): Add k_casinh.
30199         * math/k_casinh.c: New file.
30200         * math/k_casinhf.c: Likewise.
30201         * math/k_casinhl.c: Likewise.
30202         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
30203         finite nonzero arguments.
30204         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
30205         finite nonzero arguments.
30206         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
30207         finite nonzero arguments.
30208         * math/s_casinh.c: Do not include <float.h>.
30209         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
30210         * math/s_casinhf.c: Do not include <float.h>.
30211         (__casinhf): Move code for finite nonzero arguments to
30212         k_casinhf.c.
30213         * math/s_casinhl.c: Do not include <float.h>.
30214         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
30215         redefine.
30216         (__casinhl): Move code for finite nonzero arguments to
30217         k_casinhl.c.
30218         * math/libm-test.inc (cacos_test): Add more tests.
30219         * sysdeps/i386/fpu/libm-test-ulps: Update.
30220         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30221
30222 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
30223
30224         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
30225         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
30226         [!HAVE_MREMAP]: Remove [defined linux] case.
30227         * malloc/arena.c: Do not include <malloc-sysdep.h>.
30228
30229 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
30230
30231         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
30232
30233 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
30234
30235         * elf/elf.h (R_386_SIZE32): New relocation.
30236         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
30237         R_386_SIZE32.
30238         (elf_machine_rela): Likewise.
30239         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
30240         R_X86_64_SIZE64 and R_X86_64_SIZE32.
30241
30242 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
30243
30244         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
30245         (FP_FAST_FMA): Do not define.
30246         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
30247         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
30248         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
30249         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
30250         !_SOFT_FLOAT]: Likewise.
30251         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
30252         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
30253         value.
30254         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
30255         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
30256         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
30257         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
30258         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
30259         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
30260         file.
30261
30262 2013-01-16  Andreas Schwab  <schwab@suse.de>
30263
30264         [BZ #14327]
30265         * include/stdlib.h (__mktemp): Add declaration.
30266         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
30267         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
30268
30269 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
30270
30271         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
30272         definitions.
30273         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
30274         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
30275         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
30276         definitions here.
30277         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
30278         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
30279         definitions.
30280         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
30281         and ONE.
30282         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
30283         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
30284         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
30285         definitions.
30286         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
30287         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
30288         definitions.
30289         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
30290
30291         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
30292
30293 2013-01-15  David S. Miller  <davem@davemloft.net>
30294
30295         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
30296         trunc{,f} to libm-sysdep_routes.
30297         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
30298         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
30299         file.
30300         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
30301         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
30302         file.
30303         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
30304         file.
30305         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
30306         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
30307         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
30308         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
30309         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
30310         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
30311         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
30312         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
30313
30314         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
30315         nearbyint{,f} to libm-sysdep_routes.
30316         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
30317         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
30318         New file.
30319         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
30320         file.
30321         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
30322         New file.
30323         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
30324         file.
30325         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
30326         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
30327         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
30328         file.
30329         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
30330         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
30331         file.
30332         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
30333         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
30334         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
30335
30336         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
30337         libc_feholdexcept and libc_fesetenv.
30338
30339 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
30340
30341         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
30342
30343 2013-01-14  David S. Miller  <davem@davemloft.net>
30344
30345         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
30346         (SPARC_ASM_VIS2_IFUNC): Likewise.
30347         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
30348         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
30349         use of 'siam' instruction.
30350         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
30351         Likewise.
30352         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
30353         Likewise.
30354         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
30355         Likewise.
30356         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
30357         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
30358         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
30359         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
30360         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
30361         file.
30362         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
30363         file.
30364         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
30365         file.
30366         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
30367         file.
30368         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
30369         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
30370         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
30371         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
30372         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
30373         new VIS2 routines.
30374         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
30375         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
30376         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
30377         Likewise.
30378         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
30379         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
30380         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
30381         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
30382         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
30383         routines to libm-sysdep_routines.
30384         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
30385
30386         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
30387         fdim/fdimf to libm-sysdep_routines.
30388         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
30389         file.
30390         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
30391         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
30392         file.
30393         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
30394         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
30395         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
30396         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
30397         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
30398         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
30399         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
30400
30401 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
30402
30403         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
30404         to optimize copies.
30405
30406         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
30407         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
30408         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
30409
30410         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
30411         local variable MPTWO.
30412         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
30413         Likewise.
30414
30415 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
30416
30417         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
30418         GLOB_NOESCAPE.
30419
30420 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
30421
30422         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
30423
30424 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
30425
30426         * manual/pattern.texi (glob_t): Document gl_flags.
30427         (glob64_t): Likewise.
30428
30429 2013-01-11  David S. Miller  <davem@davemloft.net>
30430
30431         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
30432         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
30433         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
30434         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
30435         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
30436         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
30437         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
30438         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
30439         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
30440         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
30441         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
30442         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
30443         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
30444
30445         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
30446         sparc V9 rather than using V8 code.
30447         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
30448         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
30449
30450         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
30451         Move to...
30452         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
30453         Here.
30454
30455 2013-01-11  Roland McGrath  <roland@hack.frob.com>
30456
30457         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
30458         not in the main loop.
30459         * configure: Regenerated.
30460
30461 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
30462
30463         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
30464         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
30465         to just #else.
30466         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
30467         [!__GLIBC_HAVE_LONG_LONG] case.
30468         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
30469         condition to just #else.
30470         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
30471         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
30472         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
30473         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
30474         unconditional.
30475         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
30476         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
30477         #elif condition to just #else.
30478         * sysdeps/unix/sysv/linux/sys/sysmacros.h
30479         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
30480         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
30481         #elif condition to just #else.
30482
30483 2013-01-11  Steve Ellcey  <sellcey@mips.com>
30484
30485         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
30486         (EF_MIPS_ARCH_64): Fix value.
30487         (EF_MIPS_ARCH_32R2): New.
30488         (EF_MIPS_ARCH_64R2): New.
30489
30490 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
30491
30492         * Makeconfig (+link-pie-before-libc): New.
30493         (+link-pie-after-libc): Likewise.
30494         (+link-pie-tests): Likewise.
30495         (+link-pie): Rewritten.
30496         (link-before-libc): Remove $(config-LDFLAGS).
30497         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
30498         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
30499         (config-LDFLAGS): Renamed to ...
30500         (rtld-LDFLAGS): This.
30501         (rtld-tests-LDFLAGS): New macro.
30502         (link-libc-rpath-link): Likewise.
30503         (link-libc-tests-rpath-link): Likewise.
30504         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
30505         (link-libc): Prepand $(link-libc-rpath-link).
30506         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
30507         (test-program-prefix): New macro.
30508         (test-via-rtld-prefix): Likewise.
30509         (test-program-cmd): Likewise.
30510         (host-test-program-cmd): Likewise.
30511         * Makefile ($(common-objpfx)testrun.sh): Replace
30512         $(run-program-prefix) with $(test-program-prefix).
30513         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
30514         $(rtld-LDFLAGS).
30515         ($(common-objpfx)shlib.lds): Likewise.
30516         (build-module-helper): Likewise.
30517         ($(common-objpfx)format.lds): Likewise.
30518         * Rules (binaries-pie-tests): New.
30519         (binaries-pie-notests): Likewise.
30520         (binaries-pie): Rewritten.
30521         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
30522         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
30523         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
30524         (make-test-out): Replace $(host-built-program-cmd) with
30525         $(host-test-program-cmd).
30526         * config.make.in (build-hardcoded-path-in-tests): New variable.
30527         * configure.in (--enable-hardcoded-path-in-tests): New configure
30528         option.
30529         (hardcoded_path_in_tests): New AC_SUBST.
30530         * configure: Regenerated.
30531         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
30532         $(built-program-cmd) with $(test-program-cmd).
30533         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
30534         (test_program_cmd): This.
30535         * elf/Makefile ($(objpfx)order.out): Run test with
30536         $(test-program-prefix).
30537         ($(objpfx)order2.out): Likewise.
30538         ($(objpfx)tst-initorder.out): Likewise.
30539         ($(objpfx)tst-initorder2.out): Likewise.
30540         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
30541         $(test-program-cmd).
30542         ($(objpfx)tst-array1-static.out): Likewise.
30543         ($(objpfx)tst-array2.out): Likewise.
30544         ($(objpfx)tst-array3.out): Likewise.
30545         ($(objpfx)tst-array4.out): Likewise.
30546         ($(objpfx)tst-array5.out): Likewise.
30547         ($(objpfx)tst-array5-static.out): Likewise.
30548         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
30549         $(test-program-cmd).
30550         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
30551         $(run-program-prefix) with $(test-program-prefix).
30552         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
30553         (test_program_prefix): This.
30554         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
30555         $(run-program-prefix) with $(test-program-prefix).
30556         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
30557         (test_program_prefix): This.
30558         * iconvdata/tst-tables.sh: Likewise.
30559         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
30560         $(run-program-prefix) with $(test-program-prefix).
30561         ($(objpfx)tst-translit.out): Likewise.
30562         ($(objpfx)tst-gettext2.out): Likewise.
30563         ($(objpfx)tst-gettext4.out): Likewise.
30564         ($(objpfx)tst-gettext6.out): Likewise.
30565         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
30566         (test_program_prefix): This.
30567         * intl/tst-gettext2.sh: Likewise.
30568         * intl/tst-gettext4.sh  Likewise.
30569         * intl/tst-gettext6.sh: Likewise.
30570         * intl/tst-translit.sh: Likewise.
30571         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
30572         with $(test-program-cmd).
30573         * libio/Makefile ($(objpfx)test-freopen.out): Replace
30574         $(run-program-prefix) with $(test-program-prefix).
30575         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
30576         (test_program_prefix): This.
30577         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
30578         $(run-program-prefix) with $(test-program-prefix).
30579         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
30580         (test_program_prefix): This.
30581         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
30582         * posix/Makefile ($(objpfx)globtest.out): Replace
30583         $(run-via-rtld-prefix) and $(test-wrapper) with
30584         $(test-program-prefix) and $(test-via-rtld-prefix).
30585         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
30586         $(test-program-prefix).
30587         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
30588         $(host-test-program-cmd).
30589         (tst-spawn-ARGS): Likewise.
30590         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
30591         $(test-program-prefix).
30592         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
30593         (test_via_rtld_prefix): This.
30594         (test_wrapper): Renamed to ...
30595         (test_program_prefix): This.
30596         (run_program_prefix): Replaced by test_program_prefix.
30597         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
30598         (test_program_prefix): This.
30599         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
30600         with $(host-test-program-cmd).
30601         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
30602         $(run-program-prefix) with $(test-program-prefix).
30603         ($(objpfx)tst-printf.out): Likewise.
30604         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
30605         $(test-program-cmd).
30606         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
30607         (test_program_prefix): This.
30608         * stdio-common/tst-unbputc.sh: Likewise.
30609         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
30610         $(run-program-prefix) with $(test-program-prefix).
30611         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
30612         (test_program_prefix): This.
30613         * string/Makefile ($(objpfx)tst-svc.out):  Replace
30614         $(built-program-cmd) with $(test-program-cmd).
30615
30616 2013-01-11  Andreas Jaeger  <aj@suse.de>
30617
30618         [BZ #15003]
30619         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
30620         value. Sync with Linux 3.7.
30621
30622 2013-01-10  David S. Miller  <davem@davemloft.net>
30623
30624         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
30625         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
30626         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
30627
30628 2013-01-10  Roland McGrath  <roland@hack.frob.com>
30629
30630         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
30631         never set.
30632         * configure: Regenerated.
30633
30634 2013-01-10  David S. Miller  <davem@davemloft.net>
30635
30636         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
30637         sparc V9 rather than using V8 code.
30638         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
30639         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
30640
30641 2013-01-10  Roland McGrath  <roland@hack.frob.com>
30642
30643         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
30644         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
30645         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
30646         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
30647         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
30648         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
30649         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
30650         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
30651         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
30652         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
30653         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
30654         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
30655         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
30656         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
30657         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
30658         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
30659         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
30660         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
30661         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
30662         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
30663         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
30664         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
30665         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
30666         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
30667         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
30668         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
30669         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
30670
30671 2013-01-10  David S. Miller  <davem@davemloft.net>
30672
30673         * sysdeps/sparc/fpu/libm-test-ulps: Update.
30674
30675 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
30676
30677         * posix/Makefile (tests-static): New variable.
30678         (tests): Add $(tests-static).
30679         (tst-exec-static-ARGS): New variable.
30680         (tst-spawn-static-ARGS): Likewise.
30681         * posix/tst-exec-static.c: New file.
30682         * posix/tst-spawn-static.c: Likewise.
30683         * posix/tst-exec.c: Support run directly.
30684         * posix/tst-spawn.c: Likewise.
30685
30686 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
30687
30688         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
30689         long.
30690         * math/bits/mathcalls.h (llrint): Likewise.
30691         (llround): Likewise.
30692         * stdlib/stdlib.h (struct drand48_data): Likewise.
30693         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
30694         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
30695         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
30696         Likewise.
30697         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
30698         Likewise.
30699         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
30700         (elf_greg_t): Likewise.
30701         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
30702         (__jmp_buf): Likewise.
30703         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
30704         definitions.
30705         (llrint): Likewise, for all definitions.
30706         (llrintl): Likewise.
30707
30708         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
30709         Remove [__GNUC__] condition.
30710         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
30711         condition to just [__USE_ISOC99].
30712         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
30713
30714 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
30715
30716         [BZ #14200]
30717         * sysdeps/unix/sysv/linux/x86/bits/environments.h
30718         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
30719         defined.
30720         (_POSIX_V6_ILP32_OFF32): Likewise.
30721         (_XBS5_ILP32_OFF32): Likewise.
30722         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
30723         (__ILP32_OFFBIG_LDFLAGS): Likewise.
30724
30725 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
30726
30727         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
30728
30729         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
30730         doubles __mpexp_twomm1.  Adjust usage.
30731         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
30732         Remove.
30733
30734 2013-01-10  Andreas Schwab  <schwab@suse.de>
30735
30736         [BZ #14964]
30737         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
30738         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
30739
30740 2013-01-09  David S. Miller  <davem@davemloft.net>
30741
30742         [BZ #15003]
30743         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
30744         (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
30745         (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
30746         (TCP_FASTOPEN): Define.
30747         (tcp_repair_opt): New structure.
30748         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
30749         enum values.
30750         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
30751         (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
30752         (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
30753         (tcp_cookie_transactions): New structure.
30754
30755 2013-01-09  Anton Blanchard  <anton@samba.org>
30756
30757         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
30758         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
30759         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
30760         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
30761
30762 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
30763
30764         * include/features.h (__USE_ANSI): Remove.
30765
30766 2013-01-09  Roland McGrath  <roland@hack.frob.com>
30767
30768         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
30769
30770         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
30771
30772 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
30773
30774         * sysdeps/s390/fpu/libm-test-ulps: Update.
30775
30776         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30777
30778         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
30779         (__acr): Likewise.
30780         (__cpy): Likewise.
30781         (norm): Likewise.
30782         (denorm): Likewise.
30783         (__mp_dbl): Likewise.
30784         (__dbl_mp): Likewise.
30785         (add_magnitudes): Likewise.
30786         (sub_magnitudes): Likewise.
30787         (__add): Likewise.
30788         (__sub): Likewise.
30789         (__mul): Likewise.
30790         (__inv): Likewise.
30791         (__dvd): Likewise.
30792         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
30793         (__acr): Likewise.
30794         (__cpy): Likewise.
30795         (norm): Likewise.
30796         (denorm): Likewise.
30797         (__mp_dbl): Likewise.
30798         (__dbl_mp): Likewise.
30799         (add_magnitudes): Likewise.
30800         (sub_magnitudes): Likewise.
30801         (__add): Likewise.
30802         (__sub): Likewise.
30803         (__mul): Likewise.
30804         (__inv): Likewise.
30805         (__dvd): Likewise.
30806         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
30807         (__acr): Likewise.
30808         (__cpy): Likewise.
30809         (norm): Likewise.
30810         (denorm): Likewise.
30811         (__mp_dbl): Likewise.
30812         (__dbl_mp): Likewise.
30813         (add_magnitudes): Likewise.
30814         (sub_magnitudes): Likewise.
30815         (__add): Likewise.
30816         (__sub): Likewise.
30817         (__mul): Likewise.
30818         (__inv): Likewise.
30819         (__dvd): Likewise.
30820
30821 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
30822
30823         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
30824         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
30825         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
30826         2 && __USE_EXTERN_INLINES]: Likewise.
30827
30828 2013-01-08  Andreas Jaeger  <aj@suse.de>
30829
30830         [BZ# 14985]
30831         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
30832         Remove.
30833         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
30834         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
30835
30836 2013-01-07  Anton Blanchard  <anton@samba.org>
30837
30838         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
30839         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
30840         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
30841         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
30842         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
30843         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
30844         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
30845         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
30846         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
30847         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
30848         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
30849         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
30850         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
30851         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
30852         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
30853         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
30854         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
30855         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
30856         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
30857         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
30858         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
30859         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
30860         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
30861         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
30862         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
30863         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
30864         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
30865         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
30866         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
30867         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
30868         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
30869         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
30870         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
30871         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
30872         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
30873         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
30874         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
30875         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
30876         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
30877         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
30878         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
30879         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
30880         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
30881
30882 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
30883
30884         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
30885         (__MALLOC_PMT): Likewise.
30886         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
30887         [__GNUC__], only on [_LIBC].
30888         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
30889         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
30890         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
30891         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
30892         forward declaration.
30893         (realloc_hook_ini): Likewise.
30894         (memalign_hook_ini): Likewise.
30895         (__libc_memalign): Do not use __MALLOC_PMT in variable
30896         declaration.
30897         (__libc_valloc): Likewise.
30898         (__libc_pvalloc): Likewise.
30899         (__libc_calloc): Likewise.
30900         (__posix_memalign): Likewise.
30901
30902         [BZ #14996]
30903         * math/s_casinh.c: Include <float.h>.
30904         (__casinh): Do not do computation with squaring and square root
30905         for large arguments.
30906         * math/s_casinhf.c: Include <float.h>.
30907         (__casinhf): Do not do computation with squaring and square root
30908         for large arguments.
30909         * math/s_casinhl.c: Include <float.h>.
30910         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
30911         (__casinhl): Do not do computation with squaring and square root
30912         for large arguments.
30913         * math/libm-test.inc (casin_test): Add more tests.
30914         (casinh_test): Likewise.
30915         * sysdeps/i386/fpu/libm-test-ulps: Update.
30916         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30917
30918 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
30919
30920         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
30921         (__x86_64_raw_data_cache_size): Likewise.
30922         (__x86_64_data_cache_size_half): Likewise.
30923         (__x86_64_raw_data_cache_size_half): Likewise.
30924         (__x86_64_shared_cache_size): Likewise.
30925         (__x86_64_raw_shared_cache_size): Likewise.
30926         (__x86_64_shared_cache_size_half): Likewise.
30927         (__x86_64_raw_shared_cache_size_half): Likewise.
30928         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
30929         to ...
30930         (__x86_data_cache_size): This.
30931         (__x86_64_raw_data_cache_size): Renamed to ...
30932         (__x86_raw_data_cache_size): This.
30933         (__x86_64_data_cache_size_half): Renamed to ...
30934         (__x86_data_cache_size_half): This.
30935         (__x86_64_raw_data_cache_size_half): Renamed to ...
30936         (__x86_raw_data_cache_size_half): This.
30937         (__x86_64_shared_cache_size): Renamed to ...
30938         (__x86_shared_cache_size): This.
30939         (__x86_64_raw_shared_cache_size): Renamed to ...
30940         (__x86_raw_shared_cache_size): This.
30941         (__x86_64_shared_cache_size_half): Renamed to ...
30942         (__x86_shared_cache_size_half): This.
30943         (__x86_64_raw_shared_cache_size_half): Renamed to ...
30944         (__x86_raw_shared_cache_size_half): This.
30945         * sysdeps/x86_64/memcpy.S: Updated.
30946         * sysdeps/x86_64/memset.S: Likewise.
30947         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
30948         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
30949         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
30950
30951 2013-01-04  David S. Miller  <davem@davemloft.net>
30952
30953         * sysdeps/sparc/fpu/libm-test-ulps: Update.
30954
30955 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
30956
30957         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
30958         1 to avoid redefinition warning.
30959         (__USE_GNU): Don't define.
30960         (init_signaling_nan): Protoize.
30961
30962         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30963
30964 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
30965
30966         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
30967         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
30968         (__cpymn): Likewise.
30969         (norm): Remove commented code.
30970         (denorm): Likewise.
30971         (__mp_dbl): Likewise.
30972         (__inv): Likewise.
30973         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
30974         (__cpymn): Likewise.
30975         (norm): Remove commented code.
30976         (denorm): Likewise.
30977         (__mp_dbl): Likewise.
30978         (__inv): Likewise.
30979
30980         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
30981         mp_no value for 1.0 and 2.0.
30982         (norm): Use RADIXI instead of radixi.d.
30983         (denorm): Likewise.
30984         (__mul): Use 0.0 instead of zero.d.
30985         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
30986         mp_no value for 1.0 and 2.0.
30987         (norm): Use RADIXI instead of radixi.d.
30988         (denorm): Likewise.
30989         (__mul): Use 0.0 instead of zero.d.
30990
30991 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
30992
30993         [BZ #14994]
30994         * math/s_casinh.c (__casinh): Reduce finite argument to first
30995         quadrant then set signs of results at the end.
30996         * math/s_casinhf.c (__casinhf): Likewise.
30997         * math/s_casinhl.c (__casinhl): Likewise.
30998         * math/libm-test.inc (casin_test): Add more tests.
30999         (casinh_test): Likewise.
31000         * sysdeps/i386/fpu/libm-test-ulps: Update.
31001         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31002
31003 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
31004
31005         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
31006
31007         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
31008
31009         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
31010         declarations.
31011         (denorm): Likewise.
31012         (__mp_dbl): Likewise.
31013         (__inv): Likewise.
31014
31015         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
31016         and adjust the header comment.
31017
31018         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
31019         variable name from declaration.
31020
31021 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
31022
31023         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
31024         Initialize COMMON_CPUID_INDEX_7 element.
31025         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
31026         (CPUID_RTM): Likewise.
31027         (HAS_RTM): Likewise.
31028         (COMMON_CPUID_INDEX_7): New enum.
31029
31030 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
31031
31032         [BZ #14981]
31033         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
31034         size is zero, record memory as freed.
31035
31036 2013-01-03  Andreas Jaeger  <aj@suse.de>
31037
31038         * po/ia.po: Add new Interlingua translation.
31039
31040 2012-01-03  Allan McRae  <allan@archlinux.org>
31041
31042         * locale/programs/localedef.c: Fix description of '--posix' flag.
31043
31044 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
31045
31046         * NEWS: Update dates in second copyright notice.
31047         * README: Update copyright dates in example.
31048         * manual/libc.texinfo: Update copyright dates.
31049         * scripts/test-installation.pl: Update copyright date in --version
31050         output.
31051
31052         * hurd/ctty-input.c: Fix copyright notice formatting.
31053         * hurd/ctty-output.c: Likewise.
31054         * hurd/dtable.c: Likewise.
31055         * hurd/hurd-raise.c: Likewise.
31056         * hurd/hurdprio.c: Likewise.
31057         * hurd/msgportdemux.c: Likewise.
31058         * misc/sys/file.h: Likewise.
31059         * misc/sys/ioctl.h: Likewise.
31060         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
31061         * sysdeps/mach/hurd/chdir.c: Likewise.
31062         * sysdeps/mach/hurd/fchdir.c: Likewise.
31063         * sysdeps/mach/hurd/rename.c: Likewise.
31064         * sysdeps/mach/hurd/rmdir.c: Likewise.
31065         * sysdeps/mach/hurd/seekdir.c: Likewise.
31066         * sysdeps/mach/hurd/setsid.c: Likewise.
31067         * sysdeps/posix/wait3.c: Likewise.
31068
31069         * All files with FSF copyright notices: Update copyright dates
31070         using scripts/update-copyrights.
31071         * intl/plural.c: Regenerated.
31072         * locale/programs/charmap-kw.h: Likewise.
31073         * locale/programs/locfile-kw.h: Likewise.
31074
31075 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
31076
31077         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
31078         four values.
31079
31080         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
31081         calculation loop and add branch prediction.
31082
31083         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
31084         check access beyond bounds of m1np.
31085
31086         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
31087         MPTWO.
31088         (__inv): Remove local variable MPTWO to use the global
31089         constant.
31090         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
31091         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
31092         variable MPTWO.
31093         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
31094         MP3HALFS static const.
31095
31096 2013-01-01  David S. Miller  <davem@davemloft.net>
31097
31098         * po/ca.po: Update from translation team.
31099
31100 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
31101
31102         * scripts/update-copyrights: New file.
31103         * Makeconfig: Reformat copyright notice.
31104         * ctype/ctype.h: Likewise.
31105         * debug/swprintf_chk.c: Likewise.
31106         * elf/dl-cache.c: Likewise.
31107         * elf/dl-debug.c: Likewise.
31108         * elf/dl-object.c: Likewise.
31109         * grp/initgroups.c: Likewise.
31110         * hurd/Makefile: Likewise.
31111         * hurd/hurd/signal.h: Likewise.
31112         * hurd/hurdfault.c: Likewise.
31113         * hurd/hurdioctl.c: Likewise.
31114         * hurd/hurdlookup.c: Likewise.
31115         * hurd/intr-msg.c: Likewise.
31116         * iconv/gconv_open.c: Likewise.
31117         * libio/swprintf.c: Likewise.
31118         * locale/lc-ctype.c: Likewise.
31119         * locale/nl_langinfo.c: Likewise.
31120         * mach/Machrules: Likewise.
31121         * mach/Makefile: Likewise.
31122         * malloc/obstack.h: Likewise.
31123         * manual/Makefile: Likewise.
31124         * manual/tsort.awk: Likewise.
31125         * misc/bits/stab.def: Likewise.
31126         * nis/nis_print_group_entry.c: Likewise.
31127         * nis/nis_table.c: Likewise.
31128         * nis/nss_compat/compat-pwd.c: Likewise.
31129         * nis/nss_compat/compat-spwd.c: Likewise.
31130         * po/Makefile: Likewise.
31131         * posix/fnmatch.c: Likewise.
31132         * posix/regex.h: Likewise.
31133         * resolv/Makefile: Likewise.
31134         * resolv/nss_dns/dns-network.c: Likewise.
31135         * resolv/res_hconf.c: Likewise.
31136         * scripts/gen-sorted.awk: Likewise.
31137         * soft-fp/soft-fp.h: Likewise.
31138         * stdio-common/printf.h: Likewise.
31139         * stdlib/monetary.h: Likewise.
31140         * stdlib/random.c: Likewise.
31141         * stdlib/random_r.c: Likewise.
31142         * sysdeps/generic/Makefile: Likewise.
31143         * sysdeps/gnu/Makefile: Likewise.
31144         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
31145         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
31146         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
31147         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
31148         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
31149         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
31150         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
31151         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
31152         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
31153         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
31154         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
31155         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
31156         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
31157         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
31158         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
31159         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
31160         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
31161         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
31162         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
31163         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
31164         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
31165         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
31166         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
31167         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
31168         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
31169         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
31170         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
31171         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
31172         * sysdeps/mach/hurd/errnos.awk: Likewise.
31173         * sysdeps/mach/hurd/fork.c: Likewise.
31174         * sysdeps/mach/hurd/getcwd.c: Likewise.
31175         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
31176         * sysdeps/mach/hurd/mmap.c: Likewise.
31177         * sysdeps/mach/hurd/utimes.c: Likewise.
31178         * sysdeps/mach/hurd/xmknod.c: Likewise.
31179         * sysdeps/posix/profil.c: Likewise.
31180         * sysdeps/posix/readdir_r.c: Likewise.
31181         * sysdeps/powerpc/bits/mathdef.h: Likewise.
31182         * sysdeps/powerpc/bits/setjmp.h: Likewise.
31183         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
31184         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
31185         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
31186         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
31187         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
31188         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
31189         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
31190         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
31191         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
31192         * sysdeps/pthread/lio_listio.c: Likewise.
31193         * sysdeps/sparc/dl-procinfo.h: Likewise.
31194         * sysdeps/unix/i386/sysdep.S: Likewise.
31195         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
31196         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
31197         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
31198         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
31199         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
31200         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
31201         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
31202         * sysdeps/unix/sysv/linux/speed.c: Likewise.
31203         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
31204         * sysdeps/wordsize-32/divdi3.c: Likewise.
31205         * time/sys/time.h: Likewise.
31206         * wcsmbs/Makefile: Likewise.
31207
31208 2013-01-01  David S. Miller  <davem@davemloft.net>
31209
31210         * po/fr.po: Update from translation team.
31211
31212         * catgets/gencat.c: Update copyright year.
31213         * csu/version.c: Likewise.
31214         * debug/catchsegv.sh: Likewise.
31215         * debug/pcprofiledump.c: Likewise.
31216         * debug/xtrace.sh: Likewise.
31217         * elf/ldconfig.c: Likewise.
31218         * elf/ldd.bash.in: Likewise.
31219         * elf/pldd.c: Likewise.
31220         * elf/sotruss.ksh: Likewise.
31221         * elf/sprof.c: Likewise.
31222         * iconv/iconv_prog.c: Likewise.
31223         * iconv/iconvconfig.c: Likewise.
31224         * locale/programs/locale.c: Likewise.
31225         * locale/programs/localedef.c: Likewise.
31226         * login/programs/pt_chown.c: Likewise.
31227         * malloc/memusage.sh: Likewise.
31228         * malloc/memusagestat.c: Likewise.
31229         * malloc/mtrace.pl: Likewise.
31230         * nscd/nscd.c: Likewise.
31231         * nss/getent.c: Likewise.
31232         * nss/makedb.c: Likewise.
31233         * posix/getconf.c: Likewise.
31234
31235 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
31236
31237         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
31238         numbers.
31239
31240 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
31241
31242         * math/bits/mathcalls.h (modf): Use __nonnull.
31243
31244 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
31245
31246         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
31247         (split): Use macro CN instead of the bare value.
31248         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
31249         could be used.
31250         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
31251         instead of the bare value.
31252         (power1): Likewise.
31253
31254 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
31255
31256         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
31257         __ATAN_TWOM.
31258         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
31259
31260         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
31261         their values.
31262         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
31263         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
31264         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
31265         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
31266
31267 2012-12-28  Andreas Jaeger  <aj@suse.de>
31268
31269         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
31270         values are from Linux 3.7.
31271
31272         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
31273         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
31274
31275 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
31276
31277         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
31278         TRUE case.
31279
31280         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
31281         (norm): Likewise.
31282         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
31283         variables with preprocessor constants.
31284         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
31285         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
31286         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
31287
31288 2012-12-27  Bruno Haible  <bruno@clisp.org>
31289
31290         [BZ #14317]
31291         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
31292         only if needed.
31293
31294 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
31295
31296         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
31297         and use variable directly.
31298         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
31299
31300         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
31301         MPONE.
31302         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
31303         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
31304         variable MPONE.
31305         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
31306         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
31307         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
31308         include directive.  Remove local variable MPONE.
31309         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
31310         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
31311         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
31312
31313 2012-12-25  David S. Miller  <davem@davemloft.net>
31314
31315         * version.h (RELEASE): Set to "development".
31316         (VERSION): Set to "2.17.90".
31317         * NEWS: Add 2.18 section.
31318
31319 2012-12-21  David S. Miller  <davem@davemloft.net>
31320
31321         * po/hr.po: Update from translation team.
31322
31323 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
31324
31325         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
31326
31327 2012-12-19  Steve Ellcey  <sellcey@mips.com>
31328
31329         * NEWS:  Mention new memcpy for MIPS.
31330
31331 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
31332
31333         * manual/contrib.texi (Contributors): Spelling correction.
31334
31335 2012-12-15  David S. Miller  <davem@davemloft.net>
31336
31337         * po/ru.po: Update from translation team.
31338
31339 2012-12-13  David S. Miller  <davem@davemloft.net>
31340
31341         * NEWS: Mention IFUNC testsuite enhancements.
31342
31343         * po/pl.po: Update from translation team.
31344         * po/bg.po: Likewise.
31345
31346         * manual/contrib.texi (Contributors): Update entries for Hongjiu
31347         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
31348
31349 2012-12-11  David S. Miller  <davem@davemloft.net>
31350
31351         * po/sv.po: Update from translation team.
31352
31353         * po/vi.po: Update from translation team.
31354
31355         * po/cs.po: Update from translation team.
31356
31357         * po/de.po: Update from translation team.
31358         * po/eo.po: Likewise.
31359         * po/nl.po: Likewise.
31360
31361 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
31362
31363         [BZ #14246]
31364         * manual/argp.texi (Argp Helper Functions): Move node to follow
31365         Argp Parsing State.
31366
31367         [BZ #14872]
31368         * manual/conf.texi (Limits on File System Capacity): Mention if
31369         terminating null is included in the max size.
31370
31371 2012-12-10  Andreas Jaeger  <aj@suse.de>
31372
31373         * po/cs.po: Update from translation team.
31374
31375 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
31376
31377         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
31378         void pointer and cast to uintptr_t.
31379         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
31380         path.
31381         * sysdeps/s390/s390-64/memcpy.S: Likewise.
31382         * sysdeps/s390/s390-64/memset.S: Likewise.
31383
31384 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
31385
31386         [BZ #14833]
31387         * menual/message.texi (Message Translation): Fix typos.
31388         (Helper programs for gettext): Likewise.
31389
31390 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
31391
31392         [BZ #14898]
31393         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
31394         Change to -1.
31395
31396 2012-12-07  David S. Miller  <davem@davemloft.net>
31397
31398         * po/libc.pot: Update.
31399
31400 2012-12-07  Richard Henderson  <rth@redhat.com>
31401
31402         [BZ #10114]
31403         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
31404         normal/normal case to before the switch.
31405         (_FP_DIV): Likewise.
31406
31407 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
31408             Mike Frysinger  <vapier@gentoo.org>
31409
31410         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
31411         check for __NR_fadvise64_64.
31412
31413 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
31414
31415         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
31416         0, not just to plain "0" as a statement.
31417         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
31418         with cw.
31419
31420 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
31421
31422         * NEWS: Use sourceware.org in Bugzilla URL.
31423
31424 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
31425
31426         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
31427         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
31428
31429         * stdio-common/tst-put-error.c (do_test): Add newline to the
31430         padded test to ensure flush.
31431
31432 2012-12-05  Jeff Law  <law@redhat.com>
31433
31434         * sunrpc/etc.rpc (fedfs_admin): Add entry.
31435
31436 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
31437
31438         * README: Don't refer to ports add-on as distributed separately.
31439         Mention AArch64 in list of systems supported in the ports add-on.
31440
31441         * LICENSES: Add more non-FSF copyright and license notices.
31442
31443         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
31444         ((unused)).
31445
31446         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
31447
31448         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
31449         10000 as width of padded output.
31450
31451 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
31452
31453         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
31454
31455         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
31456         variable LX with __attribute__ ((unused)).
31457         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
31458         Likewise.
31459         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
31460         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
31461         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
31462         with __attribute__ ((unused)).
31463
31464 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
31465
31466         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
31467
31468 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
31469
31470         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
31471         (CFLAGS-nldbl-acos.c): New variable.
31472         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
31473         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
31474         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
31475         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
31476         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
31477         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
31478         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
31479         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
31480         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
31481         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
31482         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
31483         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
31484         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
31485         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
31486         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
31487         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
31488         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
31489         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
31490         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
31491         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
31492         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
31493         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
31494         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
31495         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
31496         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
31497         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
31498         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
31499         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
31500         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
31501         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
31502         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
31503         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
31504         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
31505         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
31506         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
31507         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
31508         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
31509         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
31510         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
31511         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
31512         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
31513         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
31514         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
31515         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
31516         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
31517         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
31518         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
31519         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
31520         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
31521         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
31522         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
31523         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
31524         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
31525         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
31526         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
31527         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
31528         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
31529         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
31530         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
31531         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
31532         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
31533         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
31534         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
31535         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
31536         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
31537         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
31538         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
31539         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
31540         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
31541         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
31542         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
31543         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
31544         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
31545         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
31546         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
31547         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
31548         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
31549         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
31550         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
31551         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
31552         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
31553         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
31554         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
31555         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
31556         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
31557         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
31558         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
31559         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
31560         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
31561         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
31562         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
31563         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
31564         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
31565         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
31566         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
31567         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
31568         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
31569
31570         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
31571         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
31572
31573         [BZ #14914]
31574         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
31575         whole low double instead of just low 47 bits when splitting values
31576         into two parts.
31577
31578 2012-12-03  Allan McRae  <allan@archlinux.org>
31579
31580         * manual/stdio.texi (Predefined Printf Handlers): Remove
31581         @hsep and @vsep usage.
31582
31583 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
31584
31585         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
31586         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
31587
31588 2012-12-03  Jeff Law  <law@redhat.com>
31589
31590         * time/sys/time.h (settimeofday): Do not mark TV argument
31591         as __nonnull.
31592
31593 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
31594
31595         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
31596         when currently writing and seek to current position when not.
31597         * libio/Makefile (tests): Remove bug-fclose1.
31598         * libio/bug-fclose1.c: Delete.
31599
31600 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
31601
31602         * manual/arith.texi (feenableexcept): Fix typo.
31603         (fedisableexcept): Likewise.
31604
31605 2012-11-30  Roland McGrath  <roland@hack.frob.com>
31606
31607         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
31608         second, differently-typed declaration, rather than a cast.
31609
31610 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
31611
31612         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
31613         * include/rpc/svc.h: ... here.
31614
31615 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
31616
31617         [BZ #13013]
31618         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
31619         depending n and resplen2 to catch cases where answer
31620         equals answerp2.
31621
31622 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
31623
31624         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
31625         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
31626
31627 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
31628
31629         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
31630
31631 2012-11-29  Roland McGrath  <roland@hack.frob.com>
31632
31633         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
31634
31635 2012-11-28  Jeff Law  <law@redhat.com>
31636
31637         [BZ #13761]
31638         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
31639         dataset_temporary.  Track alloca usage into alloca_used.
31640         If dataset is large allocate and release it via malloc/free.
31641
31642 2012-06-04  Florian Weimer  <fweimer@redhat.com>
31643
31644         [BZ #14197]
31645         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
31646
31647 2012-11-28  David S. Miller  <davem@davemloft.net>
31648
31649         * sysdeps/sparc/fpu/libm-test-ulps: Update.
31650
31651 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
31652
31653         [BZ #14803]
31654         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
31655         of pi/2 rounded to nearest to 64 bits.
31656         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
31657         nearest to 64 bits.
31658         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
31659         bits.
31660
31661 2012-11-28  Jeff Law <law@redhat.com>
31662             Martin Osvald <mosvald@redhat.com>
31663
31664         [BZ #14889]
31665         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
31666         * sunrpc/svc.c: Include time.h.
31667         (__svc_accept_failed): New function.
31668         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
31669         any reason other than EINTR, call __svc_accept_failed.
31670         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
31671         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
31672
31673 2012-11-28  Andreas Schwab  <schwab@suse.de>
31674
31675         * scripts/abilist.awk: Also handle indirect functions in .opd
31676         section.
31677
31678 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
31679
31680         [BZ #13881]
31681         * sysdeps/x86/fpu/powl_helper.c: New file.
31682         * sysdeps/x86/fpu/Makefile: Likewise.
31683         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
31684         (p3): New object.
31685         (__ieee754_powl): Use __powl_helper for finite arguments except
31686         integer exponents below 8.
31687         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
31688         (p3): New object.
31689         (__ieee754_powl): Use __powl_helper for finite arguments except
31690         integer exponents below 8.
31691         * math/libm-test.inc (pow_test): Add more tests and enable some
31692         previously disabled tests.
31693         * sysdeps/i386/fpu/libm-test-ulps: Update.
31694         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31695
31696 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
31697             Carlos O'Donell  <carlos_odonell@mentor.com>
31698
31699         * nss/makedb.c (is_prime): Assert that input is odd and greater
31700         than 4.  Note that fact in a comment too.
31701         (next_prime): Add 4 to input.
31702
31703 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
31704
31705         [BZ #11741]
31706         * libio/Makefile (tests): Add test case tst-fwrite-error.
31707         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
31708         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
31709         * libio/tst-fwrite-error.c: New test case.
31710
31711 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
31712
31713         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
31714         before casting to void *.
31715         * include/libc-internal.h (__pointer_type): New macro.
31716         (__integer_if_pointer_type_sub): Likewise.
31717         (__integer_if_pointer_type): Likewise.
31718         (cast_to_integer): Likewise.
31719         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
31720         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
31721         before casting to atomic64_t.
31722         (atomic_exchange_acq): Likewise.
31723         (__arch_exchange_and_add_body): Likewise.
31724         (__arch_add_body): Likewise.
31725         (atomic_add_negative): Likewise.
31726         (atomic_add_zero): Likewise.
31727
31728 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
31729
31730         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
31731         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
31732         (add_fdes): Likewise.
31733         (linear_search_fdes): Likewise.
31734         (binary_search_unencoded_fdes): Likewise.
31735
31736 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
31737
31738         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
31739
31740 2012-11-24  Adam Conrad  <adconrad@0c3.net>
31741
31742         * configure.in: Autodetect C++ header directories.
31743         * configure: Regenerated.
31744
31745 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
31746
31747         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
31748
31749 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
31750
31751         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31752
31753 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
31754
31755         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
31756         LDBL_MANT_DIG == 106]: Disable some tests.
31757         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
31758         Likewise.
31759         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
31760         Likewise.
31761
31762         [BZ #14871]
31763         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
31764         input for small inputs.  Return +/- pi/2 for large inputs.
31765         * math/libm-test.inc (atan_test): Add more tests.
31766
31767         * sysdeps/generic/unwind-dw2-fde-glibc.c
31768         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
31769         __attribute__ ((unused)).
31770
31771         [BZ #14645]
31772         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
31773         x * y if x and y are nonzero and z is zero.
31774
31775         [BZ #14811]
31776         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
31777         nonzero exponents with absolute value below 0x1p-117 to +/-
31778         0x1p-117.
31779
31780         [BZ #14869]
31781         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
31782         up arguments below 2**-450, not just those below 2**-500.
31783         * math/libm-test.inc (hypot_test): Add another test.
31784
31785         [BZ #14868]
31786         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
31787         Return a+b for ratio over 2**120, not 2**60.
31788         * math/libm-test.inc (hypot_test): Add another test.
31789
31790         * math/libm-test.inc (clog_test): Use
31791         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
31792         (clog10_test): Likewise.
31793
31794         [BZ #6778]
31795         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
31796
31797 2012-11-22  Andreas Schwab  <schwab@suse.de>
31798
31799         * sysdeps/i386/fpu/libm-test-ulps: Update.
31800
31801 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
31802
31803         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
31804         printf output with newline.
31805
31806 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
31807
31808         [BZ #14865]
31809         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
31810         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
31811         -z nodlopen, -z initfirst and -z execstack support.
31812         * configure: Regenerated.
31813
31814         * elf/elf.h (DF_1_NODIRECT): New macro.
31815         (DF_1_IGNMULDEF): Likewise.
31816         (DF_1_NOKSYMS): Likewise.
31817         (DF_1_NOHDR): Likewise.
31818         (DF_1_EDITED): Likewise.
31819         (DF_1_NORELOC): Likewise.
31820         (DF_1_SYMINTPOSE): Likewise.
31821         (DF_1_GLOBAUDIT): Likewise.
31822         (DF_1_SINGLETON): Likewise.
31823         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
31824         DT_1_SUPPORTED_MASK bits.
31825         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
31826
31827 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
31828
31829         * sysdeps/unix/make-syscalls.sh: Document prefixes.
31830
31831 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
31832
31833         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
31834         macro.
31835
31836         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
31837         (sendmmsg): Move declarations...
31838         * socket/sys/socket.h: ... here.
31839         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
31840         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
31841         include it from...
31842         * socket/recvmmsg.c: ... this new file.
31843         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
31844         (sendmmsg): Rename to __sendmmsg, create weak alias and make
31845         definition of __sendmmsg hidden.
31846         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
31847         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
31848         Move ENOSYS stub into and include it from...
31849         * socket/sendmmsg.c: ... this new file.
31850         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
31851         (sysdep_routines): Move recvmmsg and sendmmsg...
31852         * socket/Makefile (routines): ... here.
31853         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
31854         (GLIBC_PRIVATE): Add __sendmmsg.
31855         * include/sys/socket.h (__sendmmsg): Add declarations.
31856         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
31857         sendmmsg.
31858
31859 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
31860
31861         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
31862         variable I1 with __attribute__ ((unused)).
31863         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
31864
31865 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
31866
31867         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
31868         DUMMY variables with __attribute__ ((unused)).
31869
31870         * bits/byteswap.h: Include <bits/types.h>.
31871         (__bswap_64): Use __uint64_t instead of unsigned long long int.
31872
31873 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
31874
31875         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
31876         string_t.  Do not manually set errno.
31877         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
31878         length with __strnlen.  Make sure to both set errno and return it on
31879         failure.
31880
31881 2012-11-19  David S. Miller  <davem@davemloft.net>
31882
31883         With help from Joseph Myers.
31884         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
31885         very large arguments properly.
31886         * math/libm-test.inc (atan_test): New tests.
31887         (atan2_test): New tests.
31888         * sysdeps/sparc/fpu/libm-test-ulps: Update.
31889         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
31890
31891 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
31892
31893         [BZ #14856]
31894         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
31895         Define to 3.
31896
31897         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
31898         [POSIX] (EADDRNOTAVAIL): Likewise.
31899         [POSIX] (EAFNOSUPPORT): Likewise.
31900         [POSIX] (EALREADY): Likewise.
31901         [POSIX] (ECONNABORTED): Likewise.
31902         [POSIX] (ECONNREFUSED): Likewise.
31903         [POSIX] (ECONNRESET): Likewise.
31904         [POSIX] (EDESTADDRREQ): Likewise.
31905         [POSIX] (EDQUOT): Likewise.
31906         [POSIX] (EHOSTUNREACH): Likewise.
31907         [POSIX] (EIDRM): Likewise.
31908         [POSIX] (EISCONN): Likewise.
31909         [POSIX] (ELOOP): Likewise.
31910         [POSIX] (EMULTIHOP): Likewise.
31911         [POSIX] (ENETDOWN): Likewise.
31912         [POSIX] (ENETUNREACH): Likewise.
31913         [POSIX] (ENOBUFS): Likewise.
31914         [POSIX] (ENODATA): Likewise.
31915         [POSIX] (ENOLINK): Likewise.
31916         [POSIX] (ENOMSG): Likewise.
31917         [POSIX] (ENOPROTOOPT): Likewise.
31918         [POSIX] (ENOSR): Likewise.
31919         [POSIX] (ENOSTR): Likewise.
31920         [POSIX] (ENOTCONN): Likewise.
31921         [POSIX] (ENOTSOCK): Likewise.
31922         [POSIX] (EOPNOTSUPP): Likewise.
31923         [POSIX] (EOVERFLOW): Likewise.
31924         [POSIX] (EPROTO): Likewise.
31925         [POSIX] (EPROTONOSUPPORT): Likewise.
31926         [POSIX] (EPROTOTYPE): Likewise.
31927         [POSIX] (ESTALE): Likewise.
31928         [POSIX] (ETIME): Likewise.
31929         [POSIX] (ETXTBSY): Likewise.
31930         [POSIX] (EWOULDBLOCK): Likewise.
31931         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
31932         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
31933         [POSIX] (SEEK_CUR): Likewise.
31934         [POSIX] (SEEK_END): Likewise.
31935         [POSIX || UNIX98] (mode_t): Do not require.
31936         [POSIX] (off_t): Likewise.
31937         [POSIX] (pid_t): Likewise.
31938         [POSIX] (sys/stat.h): Do not allow header.
31939         [POSIX] (unistd.h): Likewise.
31940         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
31941         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
31942         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
31943         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
31944         require.
31945         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
31946         sigevent): Specify elements.
31947         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
31948         entry.
31949         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
31950         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
31951
31952         * conform/data/cpio.h-data [POSIX]: Disable whole file.
31953         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
31954         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
31955         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
31956         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
31957         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
31958         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
31959         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
31960         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
31961         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
31962         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
31963         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
31964         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
31965         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
31966         Likewise.
31967         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
31968         Likewise.
31969         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
31970         Likewise.
31971         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
31972         Likewise.
31973         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
31974         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
31975         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
31976         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
31977         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
31978         Specify lower bound on value.
31979         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
31980         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
31981         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
31982         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
31983         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
31984         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
31985         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
31986         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
31987         value.
31988         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
31989         as optional.
31990         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
31991         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
31992         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
31993         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
31994         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
31995         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
31996         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
31997         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
31998         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
31999         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
32000         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
32001         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
32002         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
32003         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
32004         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
32005         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
32006         entry.
32007         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
32008         optional.
32009         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
32010         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
32011         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
32012         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
32013         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
32014         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
32015         Likewise.
32016         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
32017         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
32018         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
32019         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
32020         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
32021         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
32022         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
32023         as optional.
32024         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
32025         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
32026         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
32027         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
32028         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
32029         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
32030         specify as optional.
32031         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
32032         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
32033         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
32034         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
32035         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
32036         [XPG3] (NL_LANGMAX): Likewise.
32037         [POSIX || XPG3] (NL_MSGMAX): Likewise.
32038         [POSIX || XPG3] (NL_NMAX): Likewise.
32039         [POSIX || XPG3] (NL_SETMAX): Likewise.
32040         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
32041         [XPG3] (NZERO): Likewise.
32042         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
32043         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
32044         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
32045         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
32046         (REG_ERANGE): Expect.
32047         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
32048         optional-constant.
32049         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
32050         Use (void) in prototype.
32051         [POSIX] (*_t): Allow.
32052         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
32053         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
32054         (WRDE_BADVAL): Expect.
32055
32056         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
32057         expect.
32058         [XPG3 || XPG4] (O_RSYNC): Likewise.
32059         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
32060         Likewise.
32061         [XPG3 || XPG4] (pthread_sigmask): Likewise.
32062         [XPG3 || XPG4] (sigqueue): Likewise.
32063         [XPG3 || XPG4] (sigtimedwait): Likewise.
32064         [XPG3 || XPG4] (sigwaitinfo): Likewise.
32065         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
32066         [XPG3 || XPG4] (vsnprintf): Likewise.
32067         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
32068         Likewise.
32069         [XPG3 || XPG4] (blksize_t): Likewise.
32070         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
32071         Likewise.
32072         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
32073         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
32074         [XPG3 || XPG4] (struct itimerspec): Likewise.
32075         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
32076         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
32077         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
32078         [XPG3 || XPG4] (clockid_t): Likewise.
32079         [XPG3 || XPG4] (timer_t): Likewise.
32080         [XPG3 || XPG4] (clock_getres): Likewise.
32081         [XPG3 || XPG4] (clock_gettime): Likewise.
32082         [XPG3 || XPG4] (clock_settime): Likewise.
32083         [XPG3 || XPG4] (nanosleep): Likewise.
32084         [XPG3 || XPG4] (timer_create): Likewise.
32085         [XPG3 || XPG4] (timer_delete): Likewise.
32086         [XPG3 || XPG4] (timer_gettime): Likewise.
32087         [XPG3 || XPG4] (timer_getoverrun): Likewise.
32088         [XPG3 || XPG4] (timer_settime): Likewise.
32089         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
32090         [XPG3 || XPG4] (getlogin_r): Likewise.
32091         [XPG3 || XPG4] (pread): Likewise.
32092         [XPG3 || XPG4] (pthread_atfork): Likewise.
32093         [XPG3 || XPG4] (pwrite): Likewise.
32094
32095         [BZ #14835]
32096         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
32097         <bits/siginfo.h>.
32098
32099 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
32100
32101         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
32102         finalizing MALLSTREAM.
32103
32104         * sysdeps/mach/hurd/syncfs.c: New file.
32105
32106 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
32107
32108         [BZ #14719]
32109         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
32110         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
32111         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
32112         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
32113         (_nss_dns_gethostbyname4_r): Likewise.
32114         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
32115         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
32116
32117 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
32118
32119         [BZ #13763]
32120         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
32121
32122 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
32123
32124         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
32125         * elf/cache.c (print_entry): Print ",AArch64" for
32126         FLAG_AARCH64_LIB64
32127
32128         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
32129         * elf/cache.c (print_entry): Print ",hard-float" for
32130         FLAG_ARM_LIBHF.
32131
32132 2012-11-18  David S. Miller  <davem@davemloft.net>
32133
32134         With help from Joseph Myers.
32135         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
32136         cutoff to 2**-13.
32137         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
32138         cutoff to 2**-25.
32139         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
32140         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
32141         small.
32142         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
32143         * math/libm-test.inc (y0_test): New tests.
32144         (y1_test): New tests.
32145         * sysdeps/i386/fpu/libm-test-ulps: Update.
32146         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
32147         * sysdeps/sparc/fpu/libm-test-ulps: Update.
32148
32149 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
32150
32151         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
32152         64-bit targets.
32153         * configure: Regenerated.
32154
32155 2012-11-17  David S. Miller  <davem@davemloft.net>
32156
32157         [BZ #14811]
32158         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
32159         nonzero exponents with absolute value below 0x1p-128 to +/-
32160         0x1p-128.
32161
32162 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
32163
32164         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
32165
32166         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
32167
32168         * posix/getconf-speclist.c: New file.
32169         * posix/posix-envs.def: Likewise.
32170         * posix/confstr.c (START_ENV_GROUP): New macro.
32171         (END_ENV_GROUP): Likewise.
32172         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
32173         (KNOWN_PRESENT_ENV_STRING): Likewise.
32174         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
32175         (UNKNOWN_ENVIRONMENT): Likewise.
32176         (confstr): Include posix-envs.def instead of handling
32177         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
32178         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
32179         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
32180         (END_ENV_GROUP): Likewise.
32181         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
32182         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
32183         (UNKNOWN_ENVIRONMENT): Likewise.
32184         (__sysconf): Include posix-envs.def instead of handling associated
32185         cases directly here.
32186         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
32187         preprocessing getconf-speclist.c rather than running getconf or
32188         generating empty file.
32189
32190 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
32191
32192         * scripts/check-local-headers.sh: Ignore 'mach' headers.
32193
32194 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
32195
32196         [BZ #14672]
32197         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
32198
32199 2012-11-16  David S. Miller  <davem@davemloft.net>
32200
32201         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
32202         smaller than LDBL_EPSILON/2.0L, just return xm1.
32203
32204 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
32205
32206         * elf/tst-array1.c (init): Set constructor priority to 1000.
32207         (fini): Set destructor priority to 1000.
32208         * elf/tst-array2dep.c: Likewise.
32209
32210 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
32211
32212         [BZ #11741]
32213         * libio/fileops.c (_IO_new_file_write): Correctly return error.
32214         (_IO_new_file_xsputn): Also return EOF if none of the input
32215         data was written when overflow failed.
32216         * libio/iopadn.c (_IO_padn): Likewise.
32217         * libio/iowpadn.c (_IO_wpadn): Likewise.
32218         * stdio-common/tst-put-error.c: Add copyright notice.
32219         (do_test): Add case for printing padded string.
32220         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
32221         _IO_padn returned error.
32222         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
32223         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
32224         return EOF.
32225
32226 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
32227
32228         * libio/libioP.h: Add comment note that the references to C++
32229         bits are now obsolete.
32230
32231 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
32232
32233         * math/libm-test.inc (check_complex): Use asprintf.
32234
32235 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
32236
32237         * debug/pcprofiledump.c (print_version): Update copyright year.
32238         * malloc/memusagestat.c (print_version): Likewise.
32239
32240 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
32241
32242         [BZ #14831]
32243         * elf/Makefile (tests): Add tst-audit8.
32244         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
32245         ($(objpfx)tst-audit8.out): New target.
32246         (tst-audit8-ENV): New variable.
32247         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
32248         audit if l_reloc_result is NULL.
32249         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
32250         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
32251         * elf/tst-audit8.c: New file.
32252
32253 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
32254
32255         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
32256         * misc/Makefile (CFLAGS-select.c): Define.
32257         * posix/Makefile (CFLAGS-pause.c): Define.
32258
32259 2012-11-13  David S. Miller  <davem@davemloft.net>
32260
32261         * crypt/Makefile: Move test targets after toplevel Rules
32262         inclusion.  Grab any necessary sysdep routines when linking.
32263         * crypt/md5.c (md5_process_block): Remove define, we will always
32264         name it __md5_process_block.
32265         (md5_finish_ctx): Update md5_process_block call.
32266         (md5_stream): Likewise.
32267         (md5_process_bytes): Likewise.
32268         (md5_process_block): Rename to __md5_process_block and move to ...
32269         * crypt/md5-block.c: ... here.
32270         * crypt/sha256.c (sha256_process_block): Move to ...
32271         * crypt/sha256-block.c: ... here.
32272         * crypt/sha512.c (sha512_process_block): Move to ...
32273         * crypt/sha512-block.c: ... here.
32274         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
32275         path.
32276         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
32277         * sysdeps/sparc/sparc64/multiarch/Makefile
32278         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
32279         crypt subdir.
32280         (localedef-aux): Add md5 crypto assembler when in locale subdir.
32281         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
32282         multiarch changes.
32283         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
32284         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
32285         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
32286         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
32287         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
32288         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
32289         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
32290         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
32291         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
32292         file.
32293         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
32294         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
32295         file.
32296         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
32297
32298 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
32299
32300         * timezone/tzselect.ksh: Update from tzcode git revision
32301         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
32302         * timezone/zdump.c: Likewise.
32303         * timezone/zic.c: Likewise.
32304         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
32305         in TZVERSION setting, not $(PKGVERSION).
32306         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
32307         REPORT_BUGS_TO settings.
32308
32309         [BZ #14838]
32310         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
32311         macro.
32312
32313 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
32314
32315         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
32316         detection to immediately after _FP_ROUND().
32317         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
32318         bits are 0.
32319
32320 2012-11-11  David S. Miller  <davem@davemloft.net>
32321
32322         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
32323         inttypes.h
32324         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
32325         __close rather than their public counterparts.
32326
32327 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
32328
32329         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
32330         file.
32331         [UNIX98] (sem_timedwait): Do not expect.
32332         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
32333         [XPG4 || UNIX98] (sockatmark): Do not expect.
32334         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
32335         (clock_getcpuclockid): Do not expect.
32336         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
32337         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
32338         Do not expect.
32339         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
32340         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
32341         [UNIX98] (vwscanf): Likewise.
32342         [UNIX98] (vswscanf): Likewise.
32343
32344 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
32345
32346         * timezone/version.h: Remove file.
32347         * timezone/README: Do not refer to version.h.
32348         * timezone/Makefile ($(objpfx)zic.o): New dependency on
32349         $(objpfx)version.h.
32350         ($(objpfx)zdump.o): Likewise.
32351         ($(objpfx)version.h): New target.
32352
32353         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
32354         2012i.
32355         * timezone/README: Don't mention modification to tzselect.ksh.
32356         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
32357         work on unmodified tzselect.ksh.  Substitute version numbers in
32358         tzselect.ksh.
32359
32360         * Makefile (format-me): Remove.
32361         (INSTALL): Adjust indentation.  Use commands directly instead of
32362         using $(format-me).
32363
32364         * aclocal.m4 (ACX_PKGVERSION): New macro.
32365         (ACX_BUGURL): Likewise.
32366         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
32367         (PKGVERSION): New AC_DEFINE_UNQUOTED.
32368         (REPORT_BUGS_TO): Likewise.
32369         * configure: Regenerated.
32370         * config.h.in (PKGVERSION): New macro.
32371         (REPORT_BUGS_TO): Likewise.
32372         * config.make.in (PKGVERSION): New variable.
32373         (PKGVERSION_TEXI): Likewise.
32374         (REPORT_BUGS_TO): Likewise.
32375         (REPORT_BUGS_TEXI): Likewise.
32376         * Makefile (format-me): Use -I$(common-objpfx)manual.
32377         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
32378         ($(common-objpfx)manual/%): New target.
32379         (manual/%): Remove target.
32380         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
32381         (print_version): Use PKGVERSION.
32382         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
32383         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
32384         and REPORT_BUGS_TO.
32385         ($(objpfx)xtrace): Likewise.
32386         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
32387         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
32388         (print_version): Use PKGVERSION.
32389         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
32390         (do_version): Use PKGVERSION.
32391         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
32392         REPORT_BUGS_TO.
32393         (common-ldd-rewrite): Likewise.
32394         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
32395         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
32396         (print_version): Use PKGVERSION.
32397         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
32398         * elf/pldd.c (argp_program_bug_address): Remove variable.
32399         (more_help): New function.
32400         (argp): Use more_help.
32401         (print_version): Use PKGVERSION.
32402         * elf/sln.c (main): Use PKGVERSION.
32403         (usage): Use REPORT_BUGS_TO.
32404         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
32405         (top level): Use PKGVERSION.
32406         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
32407         (print_version): Use PKGVERSION.
32408         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
32409         (print_version): Use PKGVERSION.
32410         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
32411         (print_version): Use PKGVERSION.
32412         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
32413         (print_version): Use PKGVERSION.
32414         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
32415         (print_version): Use PKGVERSION.
32416         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
32417         (print_version): Use PKGVERSION.
32418         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
32419         and BUGURL.
32420         ($(objpfx)memusage): Likewise.
32421         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
32422         (do_version): Use PKGVERSION.
32423         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
32424         (print_version): Use PKGVERSION.
32425         * malloc/mtrace.pl ($PACKAGE): Remove variable.
32426         ($PKGVERSION): New variable.
32427         ($REPORT_BUGS_TO): Likewise.
32428         (usage): Use $REPORT_BUGS_TO.
32429         (top level): Use $PKGVERSION.
32430         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
32431         ($(objpfx)pkgvers.texi): New rule.
32432         ($(objpfx)stamp-pkgvers): Likewise.
32433         * manual/install.texi: Include pkgvers.texi.
32434         (--with-pkgversion): Document new configure option.
32435         (--with-bugurl): Likewise.
32436         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
32437         than necessarily for this particular distribution.  Use
32438         REPORT_BUGS_TO for where to report bugs.
32439         * INSTALL: Regenerated.
32440         * manual/libc.texinfo: Include pkgvers.texi.
32441         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
32442         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
32443         (print_version): Use PKGVERSION.
32444         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
32445         (print_version): Use PKGVERSION.
32446         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
32447         (print_version): Use PKGVERSION.
32448         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
32449         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
32450         macro.
32451         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
32452         (print_version): Use PKGVERSION.
32453         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
32454         (print_version): Use PKGVERSION.
32455         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
32456         and PKGVERSION.
32457
32458         * timezone/checktab.awk: Update from tzcode 2012i.
32459         * timezone/ialloc.c: Likewise.
32460         * timezone/private.h: Likewise.
32461         * timezone/scheck.c: Likewise.
32462         * timezone/tzfile.h: Likewise.
32463         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
32464         (TZVERSION): Hardcode tzcode version number.
32465         * timezone/zdump.c: Update from tzcode 2012i.
32466         * timezone/zic.c: Likewise.
32467         * timezone/version.h: New file.
32468         * timezone/README: Describe version.h.  Update upstream location.
32469
32470         [BZ #14824]
32471         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
32472         (mktemp): Enable declaration.
32473         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
32474         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
32475         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
32476         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
32477         Likewise.
32478         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
32479         Likewise.
32480         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
32481         Likewise.
32482         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
32483         Likewise.
32484         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
32485         Likewise.
32486         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
32487         Likewise.
32488
32489         [BZ #14821]
32490         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
32491         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
32492         for copies of such integer values.
32493         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
32494         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
32495
32496 2012-11-09  Andreas Jaeger  <aj@suse.de>
32497
32498         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
32499         definitions and declarations that are provided by
32500         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
32501
32502 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
32503
32504         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
32505         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
32506         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
32507         definition.
32508
32509 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
32510
32511         * elf/elf.h: Update comment before AArch64 relocations.
32512
32513 2012-11-07  David S. Miller  <davem@davemloft.net>
32514
32515         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
32516         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
32517         (__start_context): Declare.
32518         (__makecontext_ret): Delete.
32519         (__makecontext): Hook up __start_context instead of
32520         __makecontext_ret.
32521         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
32522         (sysdep_routines): Add __start_context when in stdlib.
32523
32524 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
32525
32526         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
32527         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
32528         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
32529         hardcoded "nm".
32530         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
32531         (READELF): New variable.  Use it instead of hardcoded "readelf".
32532
32533 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
32534
32535         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
32536         * sysdeps/x86/Makefile: Here.
32537         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
32538         * sysdeps/x86/tst-xmmymm.sh: This.
32539
32540 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
32541
32542         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
32543         expectations.
32544         [UNIX98] (pthread_barrier_t): Do not expect.
32545         [UNIX98] (pthread_barrierattr_t): Likewise.
32546         [UNIX98] (pthread_spinlock_t): Likewise.
32547         [UNIX98] (pthread_barrier_destroy): Likewise.
32548         [UNIX98] (pthread_barrier_init): Likewise.
32549         [UNIX98] (pthread_barrier_wait): Likewise.
32550         [UNIX98] (pthread_barrierattr_destroy): Likewise.
32551         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
32552         [UNIX98] (pthread_barrierattr_init): Likewise.
32553         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
32554         [UNIX98] (pthread_getcpuclockid): Likewise.
32555         [UNIX98] (pthread_mutex_timedlock): Likewise.
32556         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
32557         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
32558         [UNIX98] (pthread_sigmask): Likewise.
32559         [UNIX98] (pthread_spin_destroy): Likewise.
32560         [UNIX98] (pthread_spin_init): Likewise.
32561         [UNIX98] (pthread_spin_lock): Likewise.
32562         [UNIX98] (pthread_spin_trylock): Likewise.
32563         [UNIX98] (pthread_spin_unlock): Likewise.
32564         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
32565         Do not expect.
32566         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
32567         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
32568         [XPG3 || XPG4] (pthread_cond_t): Likewise.
32569         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
32570         [XPG3 || XPG4] (pthread_key_t): Likewise.
32571         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
32572         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
32573         [XPG3 || XPG4] (pthread_once_t): Likewise.
32574         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
32575         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
32576         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
32577         [XPG3 || XPG4] (pthread_t): Likewise.
32578
32579         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
32580         not expect.
32581         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
32582
32583         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
32584         Change function return type to int.
32585
32586         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
32587         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
32588         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
32589         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
32590         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
32591         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
32592         [!POSIX] (posix_madvise): Likewise.
32593         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
32594         && !UNIX98].
32595         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
32596         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
32597         (mode_t): Likewise.
32598         (posix_mem_offset): Likewise.
32599         (posix_typed_mem_get_info): Likewise.
32600         (posix_typed_mem_open): Likewise.
32601
32602         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
32603         Change condition to [XOPEN2K8].
32604
32605         * conform/conformtest.pl: Preprocess allow-header data with -x c
32606         instead of from stdin.
32607         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
32608         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
32609         [C99-based standards] (cerfc): Likewise.
32610         [C99-based standards] (cexp2): Likewise.
32611         [C99-based standards] (cexpm1): Likewise.
32612         [C99-based standards] (clog10): Likewise.
32613         [C99-based standards] (clog1p): Likewise.
32614         [C99-based standards] (clog2): Likewise.
32615         [C99-based standards] (clgamma): Likewise.
32616         [C99-based standards] (ctgamma): Likewise.
32617         [C99-based standards] (cerff): Likewise.
32618         [C99-based standards] (cerfcf): Likewise.
32619         [C99-based standards] (cexp2f): Likewise.
32620         [C99-based standards] (cexpm1f): Likewise.
32621         [C99-based standards] (clog10f): Likewise.
32622         [C99-based standards] (clog1pf): Likewise.
32623         [C99-based standards] (clog2f): Likewise.
32624         [C99-based standards] (clgammaf): Likewise.
32625         [C99-based standards] (ctgammaf): Likewise.
32626         [C99-based standards] (cerfl): Likewise.
32627         [C99-based standards] (cerfcl): Likewise.
32628         [C99-based standards] (cexp2l): Likewise.
32629         [C99-based standards] (cexpm1l): Likewise.
32630         [C99-based standards] (clog10l): Likewise.
32631         [C99-based standards] (clog1pl): Likewise.
32632         [C99-based standards] (clog2l): Likewise.
32633         [C99-based standards] (clgammal): Likewise.
32634         [C99-based standards] (ctgammal): Likewise.
32635         * conform/data/inttypes.h-data [C99-based standards]: Include
32636         stdint.h-data.  Remove all expectations for stdint.h contents.
32637         [C99-based standards] (PRI*): Do not allow.
32638         [C99-based standards] (SCN*): Likewise.
32639         [C99-based standards] (*_t): Likewise.
32640         [C99-based-standards] (PRId8): Expect macro.
32641         [C99-based-standards] (PRIi8): Likewise.
32642         [C99-based-standards] (PRIo8): Likewise.
32643         [C99-based-standards] (PRIu8): Likewise.
32644         [C99-based-standards] (PRIx8): Likewise.
32645         [C99-based-standards] (PRIX8): Likewise.
32646         [C99-based-standards] (SCNd8): Likewise.
32647         [C99-based-standards] (SCNi8): Likewise.
32648         [C99-based-standards] (SCNo8): Likewise.
32649         [C99-based-standards] (SCNu8): Likewise.
32650         [C99-based-standards] (SCNx8): Likewise.
32651         [C99-based-standards] (PRIdLEAST8): Likewise.
32652         [C99-based-standards] (PRIiLEAST8): Likewise.
32653         [C99-based-standards] (PRIoLEAST8): Likewise.
32654         [C99-based-standards] (PRIuLEAST8): Likewise.
32655         [C99-based-standards] (PRIxLEAST8): Likewise.
32656         [C99-based-standards] (PRIXLEAST8): Likewise.
32657         [C99-based-standards] (SCNdLEAST8): Likewise.
32658         [C99-based-standards] (SCNiLEAST8): Likewise.
32659         [C99-based-standards] (SCNoLEAST8): Likewise.
32660         [C99-based-standards] (SCNuLEAST8): Likewise.
32661         [C99-based-standards] (SCNxLEAST8): Likewise.
32662         [C99-based-standards] (PRIdFAST8): Likewise.
32663         [C99-based-standards] (PRIiFAST8): Likewise.
32664         [C99-based-standards] (PRIoFAST8): Likewise.
32665         [C99-based-standards] (PRIuFAST8): Likewise.
32666         [C99-based-standards] (PRIxFAST8): Likewise.
32667         [C99-based-standards] (PRIXFAST8): Likewise.
32668         [C99-based-standards] (SCNdFAST8): Likewise.
32669         [C99-based-standards] (SCNiFAST8): Likewise.
32670         [C99-based-standards] (SCNoFAST8): Likewise.
32671         [C99-based-standards] (SCNuFAST8): Likewise.
32672         [C99-based-standards] (SCNxFAST8): Likewise.
32673         [C99-based-standards] (PRId16): Likewise.
32674         [C99-based-standards] (PRIi16): Likewise.
32675         [C99-based-standards] (PRIo16): Likewise.
32676         [C99-based-standards] (PRIu16): Likewise.
32677         [C99-based-standards] (PRIx16): Likewise.
32678         [C99-based-standards] (PRIX16): Likewise.
32679         [C99-based-standards] (SCNd16): Likewise.
32680         [C99-based-standards] (SCNi16): Likewise.
32681         [C99-based-standards] (SCNo16): Likewise.
32682         [C99-based-standards] (SCNu16): Likewise.
32683         [C99-based-standards] (SCNx16): Likewise.
32684         [C99-based-standards] (PRIdLEAST16): Likewise.
32685         [C99-based-standards] (PRIiLEAST16): Likewise.
32686         [C99-based-standards] (PRIoLEAST16): Likewise.
32687         [C99-based-standards] (PRIuLEAST16): Likewise.
32688         [C99-based-standards] (PRIxLEAST16): Likewise.
32689         [C99-based-standards] (PRIXLEAST16): Likewise.
32690         [C99-based-standards] (SCNdLEAST16): Likewise.
32691         [C99-based-standards] (SCNiLEAST16): Likewise.
32692         [C99-based-standards] (SCNoLEAST16): Likewise.
32693         [C99-based-standards] (SCNuLEAST16): Likewise.
32694         [C99-based-standards] (SCNxLEAST16): Likewise.
32695         [C99-based-standards] (PRIdFAST16): Likewise.
32696         [C99-based-standards] (PRIiFAST16): Likewise.
32697         [C99-based-standards] (PRIoFAST16): Likewise.
32698         [C99-based-standards] (PRIuFAST16): Likewise.
32699         [C99-based-standards] (PRIxFAST16): Likewise.
32700         [C99-based-standards] (PRIXFAST16): Likewise.
32701         [C99-based-standards] (SCNdFAST16): Likewise.
32702         [C99-based-standards] (SCNiFAST16): Likewise.
32703         [C99-based-standards] (SCNoFAST16): Likewise.
32704         [C99-based-standards] (SCNuFAST16): Likewise.
32705         [C99-based-standards] (SCNxFAST16): Likewise.
32706         [C99-based-standards] (PRId32): Likewise.
32707         [C99-based-standards] (PRIi32): Likewise.
32708         [C99-based-standards] (PRIo32): Likewise.
32709         [C99-based-standards] (PRIu32): Likewise.
32710         [C99-based-standards] (PRIx32): Likewise.
32711         [C99-based-standards] (PRIX32): Likewise.
32712         [C99-based-standards] (SCNd32): Likewise.
32713         [C99-based-standards] (SCNi32): Likewise.
32714         [C99-based-standards] (SCNo32): Likewise.
32715         [C99-based-standards] (SCNu32): Likewise.
32716         [C99-based-standards] (SCNx32): Likewise.
32717         [C99-based-standards] (PRIdLEAST32): Likewise.
32718         [C99-based-standards] (PRIiLEAST32): Likewise.
32719         [C99-based-standards] (PRIoLEAST32): Likewise.
32720         [C99-based-standards] (PRIuLEAST32): Likewise.
32721         [C99-based-standards] (PRIxLEAST32): Likewise.
32722         [C99-based-standards] (PRIXLEAST32): Likewise.
32723         [C99-based-standards] (SCNdLEAST32): Likewise.
32724         [C99-based-standards] (SCNiLEAST32): Likewise.
32725         [C99-based-standards] (SCNoLEAST32): Likewise.
32726         [C99-based-standards] (SCNuLEAST32): Likewise.
32727         [C99-based-standards] (SCNxLEAST32): Likewise.
32728         [C99-based-standards] (PRIdFAST32): Likewise.
32729         [C99-based-standards] (PRIiFAST32): Likewise.
32730         [C99-based-standards] (PRIoFAST32): Likewise.
32731         [C99-based-standards] (PRIuFAST32): Likewise.
32732         [C99-based-standards] (PRIxFAST32): Likewise.
32733         [C99-based-standards] (PRIXFAST32): Likewise.
32734         [C99-based-standards] (SCNdFAST32): Likewise.
32735         [C99-based-standards] (SCNiFAST32): Likewise.
32736         [C99-based-standards] (SCNoFAST32): Likewise.
32737         [C99-based-standards] (SCNuFAST32): Likewise.
32738         [C99-based-standards] (SCNxFAST32): Likewise.
32739         [C99-based-standards] (PRId64): Likewise.
32740         [C99-based-standards] (PRIi64): Likewise.
32741         [C99-based-standards] (PRIo64): Likewise.
32742         [C99-based-standards] (PRIu64): Likewise.
32743         [C99-based-standards] (PRIx64): Likewise.
32744         [C99-based-standards] (PRIX64): Likewise.
32745         [C99-based-standards] (SCNd64): Likewise.
32746         [C99-based-standards] (SCNi64): Likewise.
32747         [C99-based-standards] (SCNo64): Likewise.
32748         [C99-based-standards] (SCNu64): Likewise.
32749         [C99-based-standards] (SCNx64): Likewise.
32750         [C99-based-standards] (PRIdLEAST64): Likewise.
32751         [C99-based-standards] (PRIiLEAST64): Likewise.
32752         [C99-based-standards] (PRIoLEAST64): Likewise.
32753         [C99-based-standards] (PRIuLEAST64): Likewise.
32754         [C99-based-standards] (PRIxLEAST64): Likewise.
32755         [C99-based-standards] (PRIXLEAST64): Likewise.
32756         [C99-based-standards] (SCNdLEAST64): Likewise.
32757         [C99-based-standards] (SCNiLEAST64): Likewise.
32758         [C99-based-standards] (SCNoLEAST64): Likewise.
32759         [C99-based-standards] (SCNuLEAST64): Likewise.
32760         [C99-based-standards] (SCNxLEAST64): Likewise.
32761         [C99-based-standards] (PRIdFAST64): Likewise.
32762         [C99-based-standards] (PRIiFAST64): Likewise.
32763         [C99-based-standards] (PRIoFAST64): Likewise.
32764         [C99-based-standards] (PRIuFAST64): Likewise.
32765         [C99-based-standards] (PRIxFAST64): Likewise.
32766         [C99-based-standards] (PRIXFAST64): Likewise.
32767         [C99-based-standards] (SCNdFAST64): Likewise.
32768         [C99-based-standards] (SCNiFAST64): Likewise.
32769         [C99-based-standards] (SCNoFAST64): Likewise.
32770         [C99-based-standards] (SCNuFAST64): Likewise.
32771         [C99-based-standards] (SCNxFAST64): Likewise.
32772         [C99-based-standards] (PRIdMAX): Likewise.
32773         [C99-based-standards] (PRIiMAX): Likewise.
32774         [C99-based-standards] (PRIoMAX): Likewise.
32775         [C99-based-standards] (PRIuMAX): Likewise.
32776         [C99-based-standards] (PRIxMAX): Likewise.
32777         [C99-based-standards] (PRIXMAX): Likewise.
32778         [C99-based-standards] (SCNdMAX): Likewise.
32779         [C99-based-standards] (SCNiMAX): Likewise.
32780         [C99-based-standards] (SCNoMAX): Likewise.
32781         [C99-based-standards] (SCNuMAX): Likewise.
32782         [C99-based-standards] (SCNxMAX): Likewise.
32783         [C99-based-standards] (PRIdPTR): Likewise.
32784         [C99-based-standards] (PRIiPTR): Likewise.
32785         [C99-based-standards] (PRIoPTR): Likewise.
32786         [C99-based-standards] (PRIuPTR): Likewise.
32787         [C99-based-standards] (PRIxPTR): Likewise.
32788         [C99-based-standards] (PRIXPTR): Likewise.
32789         [C99-based-standards] (SCNdPTR): Likewise.
32790         [C99-based-standards] (SCNiPTR): Likewise.
32791         [C99-based-standards] (SCNoPTR): Likewise.
32792         [C99-based-standards] (SCNuPTR): Likewise.
32793         [C99-based-standards] (SCNxPTR): Likewise.
32794         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
32795         allow.
32796         * conform/data/stdint.h-data: Update comments to clarify
32797         requirements.
32798         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
32799         type.
32800         [C99-based standards] (INT8_MAX): Likewise.
32801         [C99-based standards] (INT16_MIN): Likewise.
32802         [C99-based standards] (INT16_MAX): Likewise.
32803         [C99-based standards] (INT32_MIN): Likewise.
32804         [C99-based standards] (INT32_MAX): Likewise.
32805         [C99-based standards] (INT64_MIN): Likewise.
32806         [C99-based standards] (INT64_MAX): Likewise.
32807         [C99-based standards] (UINT8_MAX): Likewise.
32808         [C99-based standards] (UINT16_MAX): Likewise.
32809         [C99-based standards] (UINT32_MAX): Likewise.
32810         [C99-based standards] (UINT64_MAX): Likewise.
32811         [C99-based standards] (INT_LEAST8_MIN): Likewise.
32812         [C99-based standards] (INT_LEAST8_MAX): Likewise.
32813         [C99-based standards] (INT_LEAST16_MIN): Likewise.
32814         [C99-based standards] (INT_LEAST16_MAX): Likewise.
32815         [C99-based standards] (INT_LEAST32_MIN): Likewise.
32816         [C99-based standards] (INT_LEAST32_MAX): Likewise.
32817         [C99-based standards] (INT_LEAST64_MIN): Likewise.
32818         [C99-based standards] (INT_LEAST64_MAX): Likewise.
32819         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
32820         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
32821         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
32822         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
32823         [C99-based standards] (INT_FAST8_MIN): Likewise.
32824         [C99-based standards] (INT_FAST8_MAX): Likewise.
32825         [C99-based standards] (INT_FAST16_MIN): Likewise.
32826         [C99-based standards] (INT_FAST16_MAX): Likewise.
32827         [C99-based standards] (INT_FAST32_MIN): Likewise.
32828         [C99-based standards] (INT_FAST32_MAX): Likewise.
32829         [C99-based standards] (INT_FAST64_MIN): Likewise.
32830         [C99-based standards] (INT_FAST64_MAX): Likewise.
32831         [C99-based standards] (UINT_FAST8_MAX): Likewise.
32832         [C99-based standards] (UINT_FAST16_MAX): Likewise.
32833         [C99-based standards] (UINT_FAST32_MAX): Likewise.
32834         [C99-based standards] (UINT_FAST64_MAX): Likewise.
32835         [C99-based standards] (INTPTR_MIN): Likewise.
32836         [C99-based standards] (INTPTR_MAX): Likewise.
32837         [C99-based standards] (UINTPTR_MAX): Likewise.
32838         [C99-based standards] (INTMAX_MIN): Likewise.
32839         [C99-based standards] (INTMAX_MAX): Likewise.
32840         [C99-based standards] (UINTMAX_MAX): Likewise.
32841         [C99-based standards] (PTRDIFF_MIN): Likewise.
32842         [C99-based standards] (PTRDIFF_MAX): Likewise.
32843         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
32844         [C99-based standards] (SIZE_MAX): Likewise.
32845         [C99-based standards] (WCHAR_MAX): Likewise.
32846         [C99-based standards] (WINT_MAX): Likewise.
32847         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
32848         constraint on value.
32849         [C99-based standards] (WCHAR_MIN): Likewise.
32850         [C99-based standards] (WINT_MIN): Likewise.
32851         [C99-based standards] (*_t): Allow.
32852         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
32853         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
32854         Include math.h-data and complex.h-data.  Remove all expectations
32855         of math.h and complex.h contents.
32856         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
32857         at end of line.
32858         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
32859         (struct tm): Expect tag.
32860         [C99-based-standards] (wcstof): Expect function.
32861         [C99-based-standards] (wcstold): Likewise.
32862         [C99-based-standards] (wcstoll): Likewise.
32863         [C99-based-standards] (wcstoull): Likewise.
32864         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
32865         macro-int-constant.  Specify type.
32866         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
32867         constraint on value.
32868         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
32869         Specify type.
32870         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
32871         Specify value.
32872         [ISO C standards]: Do not allow headers.
32873         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
32874         wcs[abcdefghijklmnopqrstuvwxyz]*.
32875         [ISO C standards] (*_t): Do not allow.
32876         * conform/data/wctype.h-data [C99-based standards] (iswblank):
32877         Expect function.
32878         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
32879         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
32880         Specify type.
32881         [ISO C standards]: Do not allow headers.
32882         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
32883         is[abcdefghijklmnopqrstuvwxyz]*.
32884         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
32885         to[abcdefghijklmnopqrstuvwxyz]*.
32886         [ISO C standards] (*_t): Do not allow.
32887         * conform/data/stdalign.h-data: New file.
32888         * conform/data/stdbool.h-data: Likewise.
32889         * conform/data/stdnoreturn.h-data: Likewise.
32890
32891 2012-11-07  Roland McGrath  <roland@hack.frob.com>
32892
32893         [BZ #14815]
32894         * manual/filesys.texi (Directory Entries): Typo fix.
32895         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
32896
32897 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
32898
32899         * elf/elf.h (EM_AARCH64): New macro.
32900         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
32901         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
32902         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
32903         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
32904         (R_AARCH64_TLSDESC): Likewise.
32905         (NT_ARM_TLS): Likewise.
32906         (NT_ARM_HW_BREAK): Likewise.
32907         (NT_ARM_HW_WATCH): Likewise.
32908
32909 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
32910
32911         [BZ #14811]
32912         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
32913         (__ieee754_powl): Saturate nonzero exponents with absolute value
32914         below 0x1p-79 to +/- 0x1p-79.
32915         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
32916         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
32917         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
32918         nonzero exponents with absolute value below 0x1p-32 to +/-
32919         0x1p-32.
32920         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
32921         (__ieee754_powl): Saturate nonzero exponents with absolute value
32922         below 0x1p-79 to +/- 0x1p-79.
32923         * math/libm-test.inc (pow_test): Add more tests.
32924
32925 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
32926
32927         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
32928         _dl_s390_cap_flags with kernel. Increase string length.
32929         (_dl_s390_platforms): Add z196 and zEC12.
32930
32931 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
32932
32933         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
32934         Change XOPEN21K to XOPEN2K.
32935
32936 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
32937
32938         * string/memmove.c: Use memcpy when possible.
32939
32940 2012-11-06  Andreas Jaeger  <aj@suse.de>
32941
32942         * po/eo.po: Update from translation team.
32943
32944 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
32945
32946         [BZ #14793]
32947         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
32948         exponent and small x and y exponents, scale x or y up.  Increase
32949         by 2 the exponent used in scaling up.
32950         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
32951         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
32952         * math/libm-test.inc (fma_test): Add more tests.
32953         (fma_test_towardzero): Likewise.
32954         (fma_test_downward): Likewise.
32955         (fma_test_upward): Likewise.
32956
32957 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
32958
32959         [BZ #14805]
32960         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
32961         fenv_t *.
32962
32963         [BZ #14801]
32964         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
32965         namespace for names of struct fields.
32966         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
32967         fenv_t fields.
32968         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
32969         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
32970
32971 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
32972
32973         [BZ #3665]
32974         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
32975
32976 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
32977
32978         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
32979         PTR_DEMANGLE.
32980
32981         [BZ #5246]
32982         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
32983         PTR_DEMANGLE.
32984
32985 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
32986
32987         [BZ #14797]
32988         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
32989         definitely overflow as x * y not x * y + z.
32990         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
32991         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
32992         * math/libm-test.inc (fma_test): Add more tests.
32993         (fma_test_towardzero): Likewise.
32994         (fma_test_downward): Likewise.
32995         (fma_test_upward): Likewise.
32996
32997 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
32998
32999         [BZ #157]
33000
33001         * include/stub-tag.h: Remove file.
33002         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
33003         '#include' of it.
33004         * manual/maint.texi (Porting): Don't reference it.
33005         * Makerules ($(objpfx)stubs): Likewise.
33006         * dirent/closedir.c: Don't include <stub-tag.h>.
33007         * dirent/dirfd.c: Likewise.
33008         * dirent/fdopendir.c: Likewise.
33009         * dirent/getdents.c: Likewise.
33010         * dirent/getdents64.c: Likewise.
33011         * dirent/opendir.c: Likewise.
33012         * dirent/readdir.c: Likewise.
33013         * dirent/readdir64.c: Likewise.
33014         * dirent/readdir64_r.c: Likewise.
33015         * dirent/readdir_r.c: Likewise.
33016         * dirent/rewinddir.c: Likewise.
33017         * dirent/seekdir.c: Likewise.
33018         * dirent/telldir.c: Likewise.
33019         * gmon/profil.c: Likewise.
33020         * grp/setgroups.c: Likewise.
33021         * inet/if_index.c: Likewise.
33022         * io/access.c: Likewise.
33023         * io/chdir.c: Likewise.
33024         * io/chmod.c: Likewise.
33025         * io/chown.c: Likewise.
33026         * io/close.c: Likewise.
33027         * io/dup.c: Likewise.
33028         * io/dup2.c: Likewise.
33029         * io/dup3.c: Likewise.
33030         * io/euidaccess.c: Likewise.
33031         * io/faccessat.c: Likewise.
33032         * io/fchdir.c: Likewise.
33033         * io/fchmod.c: Likewise.
33034         * io/fchmodat.c: Likewise.
33035         * io/fchown.c: Likewise.
33036         * io/fchownat.c: Likewise.
33037         * io/fcntl.c: Likewise.
33038         * io/flock.c: Likewise.
33039         * io/fstatfs.c: Likewise.
33040         * io/fstatfs64.c: Likewise.
33041         * io/fstatvfs.c: Likewise.
33042         * io/fstatvfs64.c: Likewise.
33043         * io/futimens.c: Likewise.
33044         * io/fxstat.c: Likewise.
33045         * io/fxstat64.c: Likewise.
33046         * io/fxstatat.c: Likewise.
33047         * io/fxstatat64.c: Likewise.
33048         * io/getcwd.c: Likewise.
33049         * io/isatty.c: Likewise.
33050         * io/lchmod.c: Likewise.
33051         * io/lchown.c: Likewise.
33052         * io/link.c: Likewise.
33053         * io/linkat.c: Likewise.
33054         * io/lseek.c: Likewise.
33055         * io/lseek64.c: Likewise.
33056         * io/lxstat64.c: Likewise.
33057         * io/mkdir.c: Likewise.
33058         * io/mkdirat.c: Likewise.
33059         * io/mkfifo.c: Likewise.
33060         * io/mkfifoat.c: Likewise.
33061         * io/open.c: Likewise.
33062         * io/open64.c: Likewise.
33063         * io/openat.c: Likewise.
33064         * io/openat64.c: Likewise.
33065         * io/pipe.c: Likewise.
33066         * io/pipe2.c: Likewise.
33067         * io/poll.c: Likewise.
33068         * io/posix_fadvise.c: Likewise.
33069         * io/posix_fadvise64.c: Likewise.
33070         * io/posix_fallocate.c: Likewise.
33071         * io/posix_fallocate64.c: Likewise.
33072         * io/read.c: Likewise.
33073         * io/readlink.c: Likewise.
33074         * io/readlinkat.c: Likewise.
33075         * io/rmdir.c: Likewise.
33076         * io/sendfile.c: Likewise.
33077         * io/sendfile64.c: Likewise.
33078         * io/statfs.c: Likewise.
33079         * io/statfs64.c: Likewise.
33080         * io/statvfs.c: Likewise.
33081         * io/statvfs64.c: Likewise.
33082         * io/symlink.c: Likewise.
33083         * io/symlinkat.c: Likewise.
33084         * io/ttyname.c: Likewise.
33085         * io/ttyname_r.c: Likewise.
33086         * io/umask.c: Likewise.
33087         * io/unlink.c: Likewise.
33088         * io/unlinkat.c: Likewise.
33089         * io/utime.c: Likewise.
33090         * io/utimensat.c: Likewise.
33091         * io/write.c: Likewise.
33092         * io/xmknod.c: Likewise.
33093         * io/xmknodat.c: Likewise.
33094         * io/xstat.c: Likewise.
33095         * io/xstat64.c: Likewise.
33096         * login/getpt.c: Likewise.
33097         * login/grantpt.c: Likewise.
33098         * login/unlockpt.c: Likewise.
33099         * math/e_acoshl.c: Likewise.
33100         * math/e_acosl.c: Likewise.
33101         * math/e_asinl.c: Likewise.
33102         * math/e_atan2l.c: Likewise.
33103         * math/e_atanhl.c: Likewise.
33104         * math/e_coshl.c: Likewise.
33105         * math/e_expl.c: Likewise.
33106         * math/e_fmodl.c: Likewise.
33107         * math/e_gammal_r.c: Likewise.
33108         * math/e_hypotl.c: Likewise.
33109         * math/e_j0l.c: Likewise.
33110         * math/e_j1l.c: Likewise.
33111         * math/e_jnl.c: Likewise.
33112         * math/e_lgammal_r.c: Likewise.
33113         * math/e_log10l.c: Likewise.
33114         * math/e_log2l.c: Likewise.
33115         * math/e_logl.c: Likewise.
33116         * math/e_powl.c: Likewise.
33117         * math/e_rem_pio2l.c: Likewise.
33118         * math/e_sinhl.c: Likewise.
33119         * math/e_sqrtl.c: Likewise.
33120         * math/fclrexcpt.c: Likewise.
33121         * math/fedisblxcpt.c: Likewise.
33122         * math/feenablxcpt.c: Likewise.
33123         * math/fegetenv.c: Likewise.
33124         * math/fegetexcept.c: Likewise.
33125         * math/fegetround.c: Likewise.
33126         * math/feholdexcpt.c: Likewise.
33127         * math/fesetenv.c: Likewise.
33128         * math/fesetround.c: Likewise.
33129         * math/feupdateenv.c: Likewise.
33130         * math/fgetexcptflg.c: Likewise.
33131         * math/fraiseexcpt.c: Likewise.
33132         * math/fsetexcptflg.c: Likewise.
33133         * math/ftestexcept.c: Likewise.
33134         * math/k_cosl.c: Likewise.
33135         * math/k_rem_pio2l.c: Likewise.
33136         * math/k_sinl.c: Likewise.
33137         * math/k_tanl.c: Likewise.
33138         * math/s_asinhl.c: Likewise.
33139         * math/s_atanl.c: Likewise.
33140         * math/s_cbrtl.c: Likewise.
33141         * math/s_erfl.c: Likewise.
33142         * math/s_expm1l.c: Likewise.
33143         * math/s_log1pl.c: Likewise.
33144         * math/s_tanhl.c: Likewise.
33145         * misc/acct.c: Likewise.
33146         * misc/brk.c: Likewise.
33147         * misc/chflags.c: Likewise.
33148         * misc/chroot.c: Likewise.
33149         * misc/fchflags.c: Likewise.
33150         * misc/fgetxattr.c: Likewise.
33151         * misc/flistxattr.c: Likewise.
33152         * misc/fremovexattr.c: Likewise.
33153         * misc/fsetxattr.c: Likewise.
33154         * misc/fsync.c: Likewise.
33155         * misc/ftruncate.c: Likewise.
33156         * misc/futimes.c: Likewise.
33157         * misc/futimesat.c: Likewise.
33158         * misc/getdomain.c: Likewise.
33159         * misc/getdtsz.c: Likewise.
33160         * misc/gethostid.c: Likewise.
33161         * misc/gethostname.c: Likewise.
33162         * misc/getloadavg.c: Likewise.
33163         * misc/getpagesize.c: Likewise.
33164         * misc/getsysstats.c: Likewise.
33165         * misc/getxattr.c: Likewise.
33166         * misc/gtty.c: Likewise.
33167         * misc/ioctl.c: Likewise.
33168         * misc/lgetxattr.c: Likewise.
33169         * misc/listxattr.c: Likewise.
33170         * misc/llistxattr.c: Likewise.
33171         * misc/lremovexattr.c: Likewise.
33172         * misc/lsetxattr.c: Likewise.
33173         * misc/lutimes.c: Likewise.
33174         * misc/madvise.c: Likewise.
33175         * misc/mincore.c: Likewise.
33176         * misc/mlock.c: Likewise.
33177         * misc/mlockall.c: Likewise.
33178         * misc/mmap.c: Likewise.
33179         * misc/mprotect.c: Likewise.
33180         * misc/msync.c: Likewise.
33181         * misc/munlock.c: Likewise.
33182         * misc/munlockall.c: Likewise.
33183         * misc/munmap.c: Likewise.
33184         * misc/preadv.c: Likewise.
33185         * misc/preadv64.c: Likewise.
33186         * misc/ptrace.c: Likewise.
33187         * misc/pwritev.c: Likewise.
33188         * misc/pwritev64.c: Likewise.
33189         * misc/readv.c: Likewise.
33190         * misc/reboot.c: Likewise.
33191         * misc/remap_file_pages.c: Likewise.
33192         * misc/removexattr.c: Likewise.
33193         * misc/revoke.c: Likewise.
33194         * misc/select.c: Likewise.
33195         * misc/setdomain.c: Likewise.
33196         * misc/setegid.c: Likewise.
33197         * misc/seteuid.c: Likewise.
33198         * misc/sethostid.c: Likewise.
33199         * misc/sethostname.c: Likewise.
33200         * misc/setregid.c: Likewise.
33201         * misc/setreuid.c: Likewise.
33202         * misc/setxattr.c: Likewise.
33203         * misc/sstk.c: Likewise.
33204         * misc/stty.c: Likewise.
33205         * misc/swapoff.c: Likewise.
33206         * misc/swapon.c: Likewise.
33207         * misc/sync.c: Likewise.
33208         * misc/syncfs.c: Likewise.
33209         * misc/syscall.c: Likewise.
33210         * misc/truncate.c: Likewise.
33211         * misc/ualarm.c: Likewise.
33212         * misc/usleep.c: Likewise.
33213         * misc/ustat.c: Likewise.
33214         * misc/utimes.c: Likewise.
33215         * misc/vhangup.c: Likewise.
33216         * misc/writev.c: Likewise.
33217         * posix/_exit.c: Likewise.
33218         * posix/alarm.c: Likewise.
33219         * posix/execve.c: Likewise.
33220         * posix/fexecve.c: Likewise.
33221         * posix/fork.c: Likewise.
33222         * posix/fpathconf.c: Likewise.
33223         * posix/getaddrinfo.c: Likewise.
33224         * posix/getegid.c: Likewise.
33225         * posix/geteuid.c: Likewise.
33226         * posix/getgid.c: Likewise.
33227         * posix/getgroups.c: Likewise.
33228         * posix/getlogin.c: Likewise.
33229         * posix/getlogin_r.c: Likewise.
33230         * posix/getpgid.c: Likewise.
33231         * posix/getpid.c: Likewise.
33232         * posix/getppid.c: Likewise.
33233         * posix/getresgid.c: Likewise.
33234         * posix/getresuid.c: Likewise.
33235         * posix/getsid.c: Likewise.
33236         * posix/getuid.c: Likewise.
33237         * posix/glob64.c: Likewise.
33238         * posix/nanosleep.c: Likewise.
33239         * posix/pathconf.c: Likewise.
33240         * posix/pause.c: Likewise.
33241         * posix/posix_madvise.c: Likewise.
33242         * posix/pread.c: Likewise.
33243         * posix/pread64.c: Likewise.
33244         * posix/pwrite.c: Likewise.
33245         * posix/pwrite64.c: Likewise.
33246         * posix/sched_getaffinity.c: Likewise.
33247         * posix/sched_getp.c: Likewise.
33248         * posix/sched_gets.c: Likewise.
33249         * posix/sched_primax.c: Likewise.
33250         * posix/sched_primin.c: Likewise.
33251         * posix/sched_rr_gi.c: Likewise.
33252         * posix/sched_setaffinity.c: Likewise.
33253         * posix/sched_setp.c: Likewise.
33254         * posix/sched_sets.c: Likewise.
33255         * posix/sched_yield.c: Likewise.
33256         * posix/setgid.c: Likewise.
33257         * posix/setlogin.c: Likewise.
33258         * posix/setpgid.c: Likewise.
33259         * posix/setresgid.c: Likewise.
33260         * posix/setresuid.c: Likewise.
33261         * posix/setsid.c: Likewise.
33262         * posix/setuid.c: Likewise.
33263         * posix/sleep.c: Likewise.
33264         * posix/spawni.c: Likewise.
33265         * posix/sysconf.c: Likewise.
33266         * posix/times.c: Likewise.
33267         * posix/wait.c: Likewise.
33268         * posix/wait3.c: Likewise.
33269         * posix/wait4.c: Likewise.
33270         * posix/waitpid.c: Likewise.
33271         * resolv/gai_sigqueue.c: Likewise.
33272         * resource/getpriority.c: Likewise.
33273         * resource/getrlimit.c: Likewise.
33274         * resource/getrusage.c: Likewise.
33275         * resource/nice.c: Likewise.
33276         * resource/setpriority.c: Likewise.
33277         * resource/setrlimit.c: Likewise.
33278         * resource/ulimit.c: Likewise.
33279         * rt/aio_cancel.c: Likewise.
33280         * rt/aio_fsync.c: Likewise.
33281         * rt/aio_read.c: Likewise.
33282         * rt/aio_sigqueue.c: Likewise.
33283         * rt/aio_suspend.c: Likewise.
33284         * rt/aio_write.c: Likewise.
33285         * rt/clock_getres.c: Likewise.
33286         * rt/clock_gettime.c: Likewise.
33287         * rt/clock_nanosleep.c: Likewise.
33288         * rt/clock_settime.c: Likewise.
33289         * rt/lio_listio.c: Likewise.
33290         * rt/mq_close.c: Likewise.
33291         * rt/mq_getattr.c: Likewise.
33292         * rt/mq_notify.c: Likewise.
33293         * rt/mq_open.c: Likewise.
33294         * rt/mq_receive.c: Likewise.
33295         * rt/mq_send.c: Likewise.
33296         * rt/mq_setattr.c: Likewise.
33297         * rt/mq_timedreceive.c: Likewise.
33298         * rt/mq_timedsend.c: Likewise.
33299         * rt/mq_unlink.c: Likewise.
33300         * rt/shm_open.c: Likewise.
33301         * rt/shm_unlink.c: Likewise.
33302         * rt/timer_create.c: Likewise.
33303         * rt/timer_delete.c: Likewise.
33304         * rt/timer_getoverr.c: Likewise.
33305         * rt/timer_gettime.c: Likewise.
33306         * rt/timer_settime.c: Likewise.
33307         * setjmp/__longjmp.c: Likewise.
33308         * setjmp/setjmp.c: Likewise.
33309         * signal/kill.c: Likewise.
33310         * signal/killpg.c: Likewise.
33311         * signal/raise.c: Likewise.
33312         * signal/sigaction.c: Likewise.
33313         * signal/sigaltstack.c: Likewise.
33314         * signal/sigblock.c: Likewise.
33315         * signal/sigignore.c: Likewise.
33316         * signal/sigintr.c: Likewise.
33317         * signal/signal.c: Likewise.
33318         * signal/sigpause.c: Likewise.
33319         * signal/sigpending.c: Likewise.
33320         * signal/sigqueue.c: Likewise.
33321         * signal/sigreturn.c: Likewise.
33322         * signal/sigset.c: Likewise.
33323         * signal/sigsetmask.c: Likewise.
33324         * signal/sigstack.c: Likewise.
33325         * signal/sigsuspend.c: Likewise.
33326         * signal/sigtimedwait.c: Likewise.
33327         * signal/sigvec.c: Likewise.
33328         * signal/sigwait.c: Likewise.
33329         * signal/sigwaitinfo.c: Likewise.
33330         * signal/sysv_signal.c: Likewise.
33331         * socket/accept.c: Likewise.
33332         * socket/accept4.c: Likewise.
33333         * socket/bind.c: Likewise.
33334         * socket/connect.c: Likewise.
33335         * socket/getpeername.c: Likewise.
33336         * socket/getsockname.c: Likewise.
33337         * socket/getsockopt.c: Likewise.
33338         * socket/isfdtype.c: Likewise.
33339         * socket/listen.c: Likewise.
33340         * socket/recv.c: Likewise.
33341         * socket/recvfrom.c: Likewise.
33342         * socket/recvmsg.c: Likewise.
33343         * socket/send.c: Likewise.
33344         * socket/sendmsg.c: Likewise.
33345         * socket/sendto.c: Likewise.
33346         * socket/setsockopt.c: Likewise.
33347         * socket/shutdown.c: Likewise.
33348         * socket/sockatmark.c: Likewise.
33349         * socket/socket.c: Likewise.
33350         * socket/socketpair.c: Likewise.
33351         * stdio-common/ctermid.c: Likewise.
33352         * stdio-common/cuserid.c: Likewise.
33353         * stdio-common/remove.c: Likewise.
33354         * stdio-common/rename.c: Likewise.
33355         * stdio-common/renameat.c: Likewise.
33356         * stdio-common/tempname.c: Likewise.
33357         * stdlib/getcontext.c: Likewise.
33358         * stdlib/makecontext.c: Likewise.
33359         * stdlib/setcontext.c: Likewise.
33360         * stdlib/swapcontext.c: Likewise.
33361         * stdlib/system.c: Likewise.
33362         * streams/fattach.c: Likewise.
33363         * streams/fdetach.c: Likewise.
33364         * streams/getmsg.c: Likewise.
33365         * streams/getpmsg.c: Likewise.
33366         * streams/putmsg.c: Likewise.
33367         * streams/putpmsg.c: Likewise.
33368         * sysdeps/unix/bsd/getpt.c: Likewise.
33369         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
33370         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
33371         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
33372         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
33373         Likewise.
33374         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
33375         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
33376         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
33377         * sysvipc/msgctl.c: Likewise.
33378         * sysvipc/msgget.c: Likewise.
33379         * sysvipc/msgrcv.c: Likewise.
33380         * sysvipc/msgsnd.c: Likewise.
33381         * sysvipc/semctl.c: Likewise.
33382         * sysvipc/semget.c: Likewise.
33383         * sysvipc/semop.c: Likewise.
33384         * sysvipc/semtimedop.c: Likewise.
33385         * sysvipc/shmat.c: Likewise.
33386         * sysvipc/shmctl.c: Likewise.
33387         * sysvipc/shmdt.c: Likewise.
33388         * sysvipc/shmget.c: Likewise.
33389         * termios/tcdrain.c: Likewise.
33390         * termios/tcflow.c: Likewise.
33391         * termios/tcflush.c: Likewise.
33392         * termios/tcgetattr.c: Likewise.
33393         * termios/tcgetpgrp.c: Likewise.
33394         * termios/tcsendbrk.c: Likewise.
33395         * termios/tcsetattr.c: Likewise.
33396         * termios/tcsetpgrp.c: Likewise.
33397         * time/adjtime.c: Likewise.
33398         * time/clock.c: Likewise.
33399         * time/getitimer.c: Likewise.
33400         * time/gettimeofday.c: Likewise.
33401         * time/setitimer.c: Likewise.
33402         * time/settimeofday.c: Likewise.
33403         * time/stime.c: Likewise.
33404         * time/time.c: Likewise.
33405
33406 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
33407
33408         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
33409         /usr/old/bin.
33410
33411         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
33412         instead of spaces.
33413         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
33414
33415 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
33416
33417         [BZ #14796]
33418         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
33419         FE_TONEAREST before applying Dekker multiplication and Knuth
33420         addition.  Clear inexact exceptions and check for exact zero
33421         results afterwards.
33422         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
33423         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
33424         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
33425         * math/libm-test.inc (fma_test): Add more tests.
33426         (fma_test_towardzero): Likewise.
33427         (fma_test_downward): Likewise.
33428         (fma_test_upward): Likewise.
33429         * sysdeps/generic/math_private.h (default_libc_fesetround): New
33430         function.
33431         (libc_fesetround): New macro.
33432         (libc_fesetroundf): Likewise.
33433         (libc_fesetroundl): Likewise.
33434         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
33435         function.
33436         (libc_fesetround_387): Likewise.
33437         (libc_fesetroundf): New macro.
33438         (libc_fesetround): Likewise.
33439         (libc_fesetroundl): Likewise.
33440         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
33441         function.
33442         (libc_fesetroundf): New macro.
33443         (libc_fesetround): Likewise.
33444         (libc_fesetroundl): Likewise.
33445         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
33446         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
33447         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
33448         libm_hidden_ver.
33449         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
33450         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
33451         libm_hidden_def.
33452         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
33453         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
33454         libm_hidden_ver.
33455         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
33456         libm_hidden_def.
33457
33458         [BZ #3439]
33459         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
33460         integer constant usable in #if and use that to give value to enum
33461         constant.
33462         (FE_DIVBYZERO): Likewise.
33463         (FE_UNDERFLOW): Likewise.
33464         (FE_OVERFLOW): Likewise.
33465         (FE_INVALID): Likewise.
33466         (FE_INVALID_SNAN): Likewise.
33467         (FE_INVALID_ISI): Likewise.
33468         (FE_INVALID_IDI): Likewise.
33469         (FE_INVALID_ZDZ): Likewise.
33470         (FE_INVALID_IMZ): Likewise.
33471         (FE_INVALID_COMPARE): Likewise.
33472         (FE_INVALID_SOFTWARE): Likewise.
33473         (FE_INVALID_SQRT): Likewise.
33474         (FE_INVALID_INTEGER_CONVERSION): Likewise.
33475         (FE_TONEAREST): Likewise.
33476         (FE_TOWARDZERO): Likewise.
33477         (FE_UPWARD): Likewise.
33478         (FE_DOWNWARD): Likewise.
33479         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
33480         (FE_DIVBYZERO): Likewise.
33481         (FE_OVERFLOW): Likewise.
33482         (FE_UNDERFLOW): Likewise.
33483         (FE_INEXACT): Likewise.
33484         (FE_TONEAREST): Likewise.
33485         (FE_DOWNWARD): Likewise.
33486         (FE_UPWARD): Likewise.
33487         (FE_TOWARDZERO): Likewise.
33488         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
33489         (FE_UNDERFLOW): Likewise.
33490         (FE_OVERFLOW): Likewise.
33491         (FE_DIVBYZERO): Likewise.
33492         (FE_INVALID): Likewise.
33493         (FE_TONEAREST): Likewise.
33494         (FE_TOWARDZERO): Likewise.
33495         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
33496         (FE_OVERFLOW): Likewise.
33497         (FE_UNDERFLOW): Likewise.
33498         (FE_DIVBYZERO): Likewise.
33499         (FE_INEXACT): Likewise.
33500         (FE_TONEAREST): Likewise.
33501         (FE_TOWARDZERO): Likewise.
33502         (FE_UPWARD): Likewise.
33503         (FE_DOWNWARD): Likewise.
33504         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
33505         (FE_DIVBYZERO): Likewise.
33506         (FE_OVERFLOW): Likewise.
33507         (FE_UNDERFLOW): Likewise.
33508         (FE_INEXACT): Likewise.
33509         (FE_TONEAREST): Likewise.
33510         (FE_DOWNWARD): Likewise.
33511         (FE_UPWARD): Likewise.
33512         (FE_TOWARDZERO): Likewise.
33513
33514 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
33515
33516         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
33517
33518 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
33519
33520         * scripts/cross-test-ssh.sh (command): Use newlines to separate
33521         commands.  Quote $PWD.
33522         (blacklist_exports): Don't use remove_newlines.  Replace "declare
33523         -x" by "export".
33524         (remove_newlines): Remove.
33525
33526 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
33527
33528         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
33529         * stdlib/stdlib.h (atof): Moved to ...
33530         * include/bits/stdlib-float.h: Here.  New file.
33531         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
33532         * stdlib/bits/stdlib-float.h: New file.
33533         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
33534         -mno-sse -mno-mmx.
33535         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
33536         <xmmintrin.h>.
33537
33538 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
33539
33540         * conform/conformtest.pl (@headers): Add fenv.h.
33541         * conform/data/fenv.h-data: New file.
33542         * include/fenv.h [_ISOMAC]: Disable all contents of file except
33543         include of <math/fenv.h>.
33544
33545         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
33546         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
33547         && !UNIX98].  Enables tests for XOPEN2K8.
33548         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
33549         POSIX2008]: Likewise.
33550
33551         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
33552         (struct rusage): Do not expect type or its members.
33553
33554         [BZ #3439]
33555         * math/math.h (FP_NAN): Define macro to integer constant usable in
33556         #if and use that to give value to enum constant.
33557         (FP_INFINITE): Likewise.
33558         (FP_ZERO): Likewise.
33559         (FP_SUBNORMAL): Likewise.
33560         (FP_NORMAL): Likewise.
33561
33562 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
33563
33564         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
33565         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
33566         arguments.
33567
33568 2012-11-02  Roland McGrath  <roland@hack.frob.com>
33569
33570         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
33571         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
33572         autoconf-time if not.
33573         * configure.in: Remove AC_PREREQ.
33574
33575 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
33576
33577         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
33578         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
33579         of the internal implementation.
33580
33581 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
33582
33583         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
33584         except include of <misc/sys/syslog.h>.
33585
33586 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
33587
33588         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
33589         function returns with a NULL context exit with zero.
33590
33591 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
33592
33593         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
33594
33595 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
33596
33597         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
33598         (run_program_cmd): This.
33599         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
33600         (tst_langinfo): New variable.  Use it.
33601
33602 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
33603
33604         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
33605         floating point opcodes.
33606
33607 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
33608
33609         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
33610         variable.
33611
33612         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
33613
33614         * sysdeps/mach/hurd/powerpc: Remove directory.
33615         * sysdeps/mach/powerpc: Likewise.
33616
33617 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
33618
33619         * scripts/check-local-headers.sh: Ignore c++ headers.
33620
33621 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
33622
33623         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
33624         __libc_cleanup_region_start argument.
33625
33626 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
33627
33628         [BZ #14784]
33629         [BZ #14785]
33630         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
33631         x * y using scaling, not as x * y + z.
33632         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
33633         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
33634         * math/libm-test.inc (fma_test): Add more tests.
33635         (fma_test_towardzero): Likewise.
33636         (fma_test_downward): Likewise.
33637         (fma_test_upward): Likewise.
33638
33639 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
33640
33641         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
33642
33643 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
33644
33645         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
33646         New variable.
33647
33648 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
33649
33650         * rt/tst-shm.c (worker): Correct checking for mmap failure.
33651
33652 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
33653
33654         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
33655         Fix sort order.
33656         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
33657         Likewise.
33658
33659 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
33660
33661         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
33662         Fix the order of the list for glibc 2.17.
33663         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
33664         Likewise.
33665
33666 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
33667
33668         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33669
33670 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
33671
33672         [BZ #14610]
33673         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
33674         for low part of x being zero before using __atanl (y).
33675         * math/libm-test.inc (atan2_test): Add another test.
33676
33677         * manual/install.texi (Configuring and compiling): Document
33678         general use of test-wrapper and test-wrapper-env.
33679         * INSTALL: Regenerated.
33680
33681         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
33682         (__fma): Do not extract and scale down low bits on after-rounding
33683         systems when result rounded to normal precision would have normal
33684         exponent.
33685         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
33686         (__fmal): Do not extract and scale down low bits on after-rounding
33687         systems when result rounded to normal precision would have normal
33688         exponent.
33689         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
33690         (__fmal): Do not extract and scale down low bits on after-rounding
33691         systems when result rounded to normal precision would have normal
33692         exponent.
33693         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
33694         macro.
33695         (fma_test): Add more tests.
33696         (fma_test_towardzero): Likewise.
33697         (fma_test_downward): Likewise.
33698         (fma_test_upward): Likewise.
33699
33700 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
33701
33702         * sysdeps/i386/tininess.h: Renamed to ...
33703         * sysdeps/x86/tininess.h: This.
33704         * sysdeps/x86_64/tininess.h: Removed.
33705
33706 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
33707
33708         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
33709         input.  Use $(build-program-cmd).
33710         ($(objpfx)tst-array1-static.out): Likewise.
33711         ($(objpfx)tst-array2.out): Likewise.
33712         ($(objpfx)tst-array3.out): Likewise.
33713         ($(objpfx)tst-array4.out): Likewise.
33714         ($(objpfx)tst-array5.out): Likewise.
33715         ($(objpfx)tst-array5-static.out): Likewise.
33716
33717 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
33718
33719         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
33720         if defined.
33721
33722         * nss/nsswitch.h (nss_interface_function): Provide new
33723         macro for use with NSS functions.
33724         * grp/initgroups.c: Use new macro.
33725         * nss/getXXbyYY.c: Likewise.
33726         * nss/getXXbyYY_r.c: Likewise.
33727         * nss/getXXent.c: Likewise.
33728         * nss/getXXent_r.c: Likewise.
33729         * sysdeps/posix/getaddrinfo.c: Likewise.
33730
33731 2012-10-30  Andreas Jaeger  <aj@suse.de>
33732
33733         * po/ru.po: Update Russion translation from translation project.
33734
33735 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
33736
33737         [BZ #14152]
33738         [BZ #14783]
33739         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
33740         result and shift together with sticky bit instead of replicating
33741         round-to-nearest rounding.
33742         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
33743         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
33744         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
33745         missing underflow exceptions.
33746         (fma_test_towardzero): Add more tests.
33747         (fma_test_downward): Likewise.
33748         (fma_test_upward): Likewise.
33749
33750         [BZ #14047]
33751         * sysdeps/generic/tininess.h: New file.
33752         * sysdeps/i386/tininess.h: Likewise.
33753         * sysdeps/sh/tininess.h: Likewise.
33754         * sysdeps/x86_64/tininess.h: Likewise.
33755         * stdlib/tst-strtod-underflow.c: Likewise.
33756         * stdlib/tst-tininess.c: Likewise.
33757         * stdlib/strtod_l.c: Include <tininess.h>.
33758         (round_and_return): Do not set errno for exact underflow cases.
33759         Force an underflow exception when setting errno for underflow.
33760         Determine underflow based on rounding to normal precision if
33761         TININESS_AFTER_ROUNDING.
33762         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
33763         ERANGE for exact underflow cases.
33764         * stdlib/Makefile (tests): Add tst-tininess and
33765         tst-strtod-underflow.
33766         ($(objpfx)tst-tininess): Use $(link-libm).
33767         ($(objpfx)tst-strtod-underflow): Likewise.
33768
33769 2012-10-30  Andreas Jaeger  <aj@suse.de>
33770
33771         [BZ#14767]
33772         * elf/Makefile (tests): Remove conditional for have-initfini-array
33773         since this is now always required and the variable does not exist
33774         anymore.
33775         (tests-static): Likewise.
33776         (modules-names): Likewise.
33777
33778         * po/eo.po: Add Esperanto translation from translation project.
33779
33780         * elf/tst-array1.c (fini_array): Make writeable so that it can be
33781         merged with constructor/destructor.
33782         (init_array): Likewise.
33783         * elf/tst-array2dep.c (fini_array): Likewise.
33784         (init_array): Likewise.
33785
33786 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
33787
33788         * manual/message.texi: Delete @cartouche tags.
33789
33790 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
33791
33792         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
33793         EOPNOTSUPP.
33794         * sysdeps/mach/hurd/fsync.c: Likewise.
33795
33796         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
33797         [_POSIX_REALTIME_SIGNALS]: Change condition to
33798         [_POSIX_REALTIME_SIGNALS > 0].
33799
33800 2012-10-27  Andreas Jaeger  <aj@suse.de>
33801
33802         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
33803         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
33804         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
33805         [__WORDSIZE != 64]: Likewise.
33806
33807 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
33808
33809         *  iconvdata/tst-table.sh: Remove ${SHELL}.
33810         *  iconvdata/tst-tables.sh: Likewise.
33811
33812 2012-10-25  David S. Miller  <davem@davemloft.net>
33813
33814         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
33815         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
33816         of strtoull.
33817
33818         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
33819         ifunc-impl-list.c
33820         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
33821         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
33822         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
33823         file.
33824
33825 2012-10-25  Roland McGrath  <roland@hack.frob.com>
33826
33827         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
33828         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
33829         __getdirentries.
33830
33831 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
33832             Jim Blandy  <jimb@codesourcery.com>
33833
33834         * scripts/cross-test-ssh.sh: New file.
33835         * manual/install.texi (Configuring and compiling): Document use of
33836         cross-test-ssh.sh.
33837         * INSTALL: Regenerated.
33838
33839 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
33840
33841         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
33842         EOPNOTSUPP.
33843
33844 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
33845
33846         * Makeconfig (run-program-prefix): Fix comment.
33847
33848 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
33849             Jim Blandy  <jimb@codesourcery.com>
33850
33851         * Makeconfig (test-wrapper): New variable,
33852         (test-wrapper-env): Likewise.
33853         [$(cross-compiling) = yes && $(test-wrapper) != ""]
33854         (run-built-tests): Define to yes.
33855         (run-program-prefix): Use $(test-wrapper).
33856         (built-program-cmd): Likewise.
33857         * Rules (make-test-out): Use $(test-wrapper-env) and
33858         $(host-built-program-cmd).
33859         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
33860         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
33861         tst-pathopt.sh.
33862         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
33863         $(test-wrapper-env) to tst-rtld-load-self.sh.
33864         ($(objpfx)order2.out): Use $(test-wrapper).
33865         ($(objpfx)tst-initorder.out): Likewise.
33866         ($(objpfx)tst-initorder2.out): Likewise.
33867         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
33868         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
33869         (test_wrapper_env): New variable.  Use it to run ld.so.
33870         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
33871         Use it to run ld.so.
33872         (test_wrapper_env): Likewise.
33873         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
33874         $(test-wrapper) to run-iconv-test.sh.
33875         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
33876         (ICONV): Use $test_wrapper.
33877         * posix/Makefile ($(objpfx)globtest.out): Pass
33878         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
33879         globtest.sh, not $(run-program-prefix).
33880         * posix/globtest.sh (run_via_rtld_prefix): New variable.
33881         (test_wrapper): Likewise.
33882         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
33883         set together with run_via_rtld_prefix.
33884         (run_program_prefix): Define in terms of test_wrapper and
33885         run_via_rtld_prefix.
33886
33887 2012-10-24  Roland McGrath  <roland@hack.frob.com>
33888
33889         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
33890         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
33891         Targets removed.
33892
33893         [BZ #14743]
33894         * include/time.h: Remove librt_hidden_proto (clock_gettime).
33895         Declare __clock_getres, __clock_gettime, __clock_settime,
33896         __clock_nanosleep, and __clock_getcpuclockid.
33897         * rt/clock_gettime.c: Define __clock_gettime as an alias.
33898         Remove librt_hidden_def (clock_gettime).
33899         * sysdeps/unix/clock_gettime.c: Likewise.
33900         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
33901         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
33902         * rt/clock_getres.c: Define __clock_getres as an alias.
33903         * sysdeps/posix/clock_getres.c: Likewise.
33904         * rt/clock_settime.c: Define __clock_settime as an alias.
33905         * sysdeps/unix/clock_settime.c: Likewise.
33906         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
33907         * sysdeps/unix/clock_nanosleep.c: Likewise.
33908         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
33909         * rt/clock-compat.c: New file.
33910         * rt/Makefile (librt-routines): Add clock-compat and move
33911         $(clock-routines) to ...
33912         (routines): ... here, new variable.
33913         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
33914         Don't add get_clockfreq here.
33915         * rt/Versions (libc: GLIBC_2.17): New version set.
33916         Add clock_* symbols here.
33917         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
33918         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
33919         (GLIBC_2.17): Add clock_* symbols.
33920         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
33921         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
33922         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
33923         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
33924         Likewise.
33925         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
33926         Likewise.
33927         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
33928         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
33929         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
33930         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
33931         * NEWS: Mention the move.
33932
33933         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
33934         Use __open, __read, __close rather than their public counterparts.
33935         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
33936         (__get_clockfreq_via_cpuinfo): Likewise.
33937         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
33938         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
33939
33940         * config.h.in (HAVE_IFUNC): New #undef.
33941         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
33942         was successful.
33943         * configure: Regenerated.
33944
33945 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
33946
33947         * configure.in: Move READELF check to start of file.
33948         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
33949         libc_cv_asm_gnu_indirect_function in the process.
33950         * configure: Regenerated.
33951
33952 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
33953
33954         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
33955         send the output to /dev/null.
33956         (libc_cv_cc_with_libunwind): Likewise.
33957         (libc_cv_as_noexecstack): Likewise.
33958         * configure: Regenerate.
33959
33960 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
33961
33962         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
33963
33964         * posix/globtest.sh (TMPDIR): Do not set.
33965         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
33966         (testout): Likewise.
33967
33968 2012-10-24  Andreas Jaeger  <aj@suse.de>
33969
33970         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
33971         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
33972         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
33973         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
33974         posix_fadvise64, posix_fallocate64.
33975
33976         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
33977         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
33978         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
33979         Likewise.
33980         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
33981         Likewise.
33982         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
33983
33984         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
33985         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
33986         <bits/fcntl-linux.h>.
33987         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
33988
33989         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
33990         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
33991         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
33992         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
33993         [__WORDSIZE != 64]: Likewise.
33994
33995 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
33996
33997         * Makeconfig (run-built-tests): New variable.
33998         * Rules [$(cross-compiling) = yes]: Change condition to
33999         [$(run-built-tests) = no].
34000         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
34001         to [$(run-built-tests) = yes].
34002         * elf/Makefile [$(cross-compiling) = no]: Likewise
34003         * grp/Makefile [$(cross-compiling) = no]: Likewise.
34004         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
34005         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
34006         * intl/Makefile [$(cross-compiling) = no]: Likewise.
34007         * io/Makefile [$(cross-compiling) = no]: Likewise.
34008         * libio/Makefile [$(cross-compiling) = no]: Likewise.
34009         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
34010         * misc/Makefile [$(cross-compiling) = no]: Likewise.
34011         * posix/Makefile [$(cross-compiling) = no]: Likewise.
34012         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
34013         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
34014         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
34015         * string/Makefile [$(cross-compiling) = no]: Likewise.
34016
34017         * posix/Makefile ($(objpfx)globtest.out): Pass
34018         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
34019         $(rtld-installed-name).
34020         * posix/globtest.sh (elf_objpfx): Remove variable.
34021         (rtld_installed_name): Likewise.
34022         (library_path): Likewise.
34023         (run_program_prefix): New variable.  Use for running globtest
34024         binary.
34025
34026 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
34027             Joseph Myers  <joseph@codesourcery.com>
34028
34029         * Makeconfig (host-built-program-cmd): New variable.
34030         * elf/Makefile (tst-stackguard1-ARGS): Use
34031         $(host-built-program-cmd).
34032         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
34033         (tst-spawn-ARGS): Likewise.
34034         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
34035
34036 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
34037             Jim Blandy  <jimb@codesourcery.com>
34038
34039         * Makeconfig (run-via-rtld-prefix): New variable.
34040         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
34041         (built-program-cmd): Likewise.
34042
34043 2012-10-22  Andreas Jaeger  <aj@suse.de>
34044
34045         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
34046         __O_RSYNC if it exists, otherwise to O_SYNC.
34047
34048 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
34049             Joseph Myers  <joseph@codesourcery.com>
34050
34051         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
34052         /dev/null.
34053         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
34054         from /dev/null
34055         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
34056         /dev/null.
34057
34058 2012-10-22  Andreas Jaeger  <aj@suse.de>
34059
34060         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
34061         Define always.
34062         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
34063
34064         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
34065         bits/fcntl-linux.h.
34066
34067         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
34068         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
34069
34070         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
34071         to __O_LARGEFILE.
34072         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
34073         to __O_LARGEFILE.
34074
34075 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
34076             Joseph Myers  <joseph@codesourcery.com>
34077
34078         * config.make.in (NM): New variable.
34079
34080 2012-10-21  Andreas Jaeger  <aj@suse.de>
34081
34082         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
34083         definitions and declarations that are provided by
34084         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
34085
34086 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
34087
34088         [BZ #14683]
34089         * elf/Makefile (tests-static): Add tst-leaks1-static.
34090         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
34091         ($(objpfx)tst-leaks1-static): New rule.
34092         ($(objpfx)tst-leaks1-static-mem): Likewise.
34093         (tst-leaks1-static-ENV): New macro.
34094         * elf/dl-open.c (dl_open_worker): Check the main application
34095         only if SHARED is defined.
34096         * elf/tst-leaks1-static.c: New file.
34097
34098 2012-10-20  Andreas Jaeger  <aj@suse.de>
34099
34100         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
34101         generic values for Linux.
34102         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
34103         and declarations that are provided by <bits/fcntl-linux.h> and
34104         include <bits/fcntl-linux.h>.
34105         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
34106         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
34107
34108 2012-10-20  Roland McGrath  <roland@hack.frob.com>
34109
34110         * io/fcntl.h: Move include of <bits/types.h> to the top and
34111         include it unconditionally.
34112
34113 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
34114
34115         * wcsmbs/Makefile (tests-ifunc): New variable.
34116         (tests): Add $(tests-ifunc).
34117         * wcsmbs/test-wcschr-ifunc.c: New file.
34118         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
34119         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
34120         * wcsmbs/test-wcslen-ifunc.c: Likewise.
34121         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
34122         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
34123
34124         * string/Makefile (tests-ifunc): New variable.
34125         (tests): Add $(tests-ifunc).
34126         * string/test-memccpy.c (TEST_NAME): New macro.
34127         * string/test-memchr.c (TEST_NAME): Likewise.
34128         * string/test-memcmp.c (TEST_NAME): Likewise.
34129         * string/test-memcpy.c (TEST_NAME): Likewise.
34130         * string/test-memmem.c (TEST_NAME): Likewise.
34131         * string/test-memmove.c (TEST_NAME): Likewise.
34132         * string/test-memset.c (TEST_NAME): Likewise.
34133         * string/test-rawmemchr.c (TEST_NAME): Likewise.
34134         * string/test-stpcpy.c (TEST_NAME): Likewise.
34135         * string/test-stpncpy.c (TEST_NAME): Likewise.
34136         * string/test-strcasecmp.c (TEST_NAME): Likewise.
34137         * string/test-strcasestr.c (TEST_NAME): Likewise.
34138         * string/test-strcat.c (TEST_NAME): Likewise.
34139         * string/test-strchr.c (TEST_NAME): Likewise.
34140         * string/test-strcmp.c(TEST_NAME): Likewise.
34141         * string/test-strcpy.c (TEST_NAME): Likewise.
34142         * string/test-strcspn.c (TEST_NAME): Likewise.
34143         * string/test-strlen.c (TEST_NAME): Likewise.
34144         * string/test-strncasecmp.c (TEST_NAME): Likewise.
34145         * string/test-strncmp.c (TEST_NAME): Likewise.
34146         * string/test-strncpy.c (TEST_NAME): Likewise.
34147         * string/test-strnlen.c (TEST_NAME): Likewise.
34148         * string/test-strpbrk.c (TEST_NAME): Likewise.
34149         * string/test-strrchr.c (TEST_NAME): Likewise.
34150         * string/test-strspn.c (TEST_NAME): Likewise.
34151         * string/test-strstr.c (TEST_NAME): Likewise.
34152         * string/test-bcopy-ifunc.c: New file.
34153         * string/test-bzero-ifunc.c: Likewise.
34154         * string/test-memccpy-ifunc.c: Likewise.
34155         * string/test-memchr-ifunc.c: Likewise.
34156         * string/test-memcmp-ifunc.c: Likewise.
34157         * string/test-memcpy-ifunc.c: Likewise.
34158         * string/test-memmem-ifunc.c: Likewise.
34159         * string/test-memmove-ifunc.c: Likewise.
34160         * string/test-mempcpy-ifunc.c: Likewise.
34161         * string/test-memset-ifunc.c: Likewise.
34162         * string/test-rawmemchr-ifunc.c: Likewise.
34163         * string/test-stpcpy-ifunc.c: Likewise.
34164         * string/test-stpncpy-ifunc.c: Likewise.
34165         * string/test-strcasecmp-ifunc.c: Likewise.
34166         * string/test-strcasestr-ifunc.c: Likewise.
34167         * string/test-strcat-ifunc.c: Likewise.
34168         * string/test-strchr-ifunc.c: Likewise.
34169         * string/test-strchrnul-ifunc.c: Likewise.
34170         * string/test-strcmp-ifunc.c: Likewise.
34171         * string/test-strcpy-ifunc.c: Likewise.
34172         * string/test-strcspn-ifunc.c: Likewise.
34173         * string/test-strlen-ifunc.c: Likewise.
34174         * string/test-strncasecmp-ifunc.c: Likewise.
34175         * string/test-strncat-ifunc.c: Likewise.
34176         * string/test-strncmp-ifunc.c: Likewise.
34177         * string/test-strncpy-ifunc.c: Likewise.
34178         * string/test-strnlen-ifunc.c: Likewise.
34179         * string/test-strpbrk-ifunc.c: Likewise.
34180         * string/test-strrchr-ifunc.c: Likewise.
34181         * string/test-strspn-ifunc.c: Likewise.
34182         * string/test-strstr-ifunc.c: Likewise.
34183
34184         * debug/Makefile (tests-ifunc): New variable.
34185         (tests): Add $(tests-ifunc).
34186         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
34187         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
34188         * debug/test-stpcpy_chk-ifunc.c: New file.
34189         * debug/test-strcpy_chk-ifunc.c: Likewise.
34190
34191 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
34192
34193         [BZ #13601]
34194         * elf/dl-load.c (open_verify): Retry read if the entire ELF
34195         header is not read in.
34196
34197 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
34198
34199         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
34200         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
34201         directly.  Pass built executable to script as
34202         $(built-program-cmd).
34203         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
34204         $testprogram without using LD_LIBRARY_PATH and $ldso.
34205
34206         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
34207         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
34208         $(rtld-installed-name).
34209         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
34210         (rtld_installed_name): Likewise.
34211         (library_path): Likewise.
34212         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
34213         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
34214         $(run-program-prefix) to tst-tables.sh.
34215         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
34216         it to run tst-table-from and tst-table-to.
34217         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
34218         Pass it to tst-table.sh.
34219         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
34220         $(run-program-prefix) to tst-gettext.sh.
34221         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
34222         tst-translit.sh.
34223         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
34224         tst-gettext2.sh.
34225         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
34226         to run tst-gettext.
34227         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
34228         to run tst-gettext2.
34229         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
34230         to run tst-translit.
34231         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
34232         $(run-program-prefix) to tst-mtrace.sh.
34233         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
34234         to run tst-mtrace.
34235         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
34236         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
34237         $(rtld-installed-name).
34238         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
34239         (rtld_installed_name): Likewise.
34240         (run_program_prefix): New variable.  Use it to run wordexp-test.
34241
34242         * Makeconfig (ARCH): Remove all definitions.
34243         (machine): Likewise.
34244         [ARCH]: Remove conditional code.
34245         [!objdir]: Give error.
34246         [!objdir] (objpfx): Remove.
34247         [!objdir] (common-objpfx): Likewise.
34248         [!objdir] (common-objdir): Likewise.
34249         * configure.in (config_makefile): Remove.  Hardcode Makefile in
34250         AC_CONFIG_FILES call.
34251         * configure: Regenerated.
34252
34253         [BZ #13888]
34254         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
34255         or TMPDIR.
34256         (testout): Likewise.
34257
34258         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
34259         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
34260         $(rtld-installed-name).
34261         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
34262         (rtld_installed_name): Likwise.
34263         (runit): Remove function.
34264         (run_getconf): New variable,  Use it for running getconf binary.
34265
34266 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
34267
34268         [BZ #14716]
34269         * string/test-memmem.c (check_result): New function.
34270         (do_one_test): Use it.
34271         (check1): New function.
34272         (test_main): Use it.
34273
34274 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
34275
34276         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
34277
34278 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
34279
34280         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
34281         (_G_LSEEK64): Likewise.
34282         (_G_MMAP64): Likewise.
34283         (_G_FSTAT64): Likewise.
34284         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
34285         (_G_LSEEK64): Likewise.
34286         (_G_MMAP64): Likewise.
34287         (_G_FSTAT64): Likewise.
34288         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
34289         unconditional.  Call __mmap64 directly.
34290         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
34291         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
34292         __lseek64 directly.
34293         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
34294         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
34295         __mmap64 directly.
34296         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
34297         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
34298         __lseek64 directly.
34299         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
34300         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
34301         __lseek64 directly.
34302         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
34303         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
34304         __lseek64 directly.
34305         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
34306         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
34307         __fxstat64 directly.
34308         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
34309         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
34310         unconditional.
34311         (freopen64) [!_G_OPEN64]: Remove conditional code.
34312         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
34313         unconditional.
34314         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
34315         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
34316         unconditional.
34317         (ftello64) [!_G_LSEEK64]: Remove conditional code.
34318         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
34319         unconditional.
34320         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
34321         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
34322         unconditional.
34323         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
34324         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
34325         unconditional.
34326         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
34327         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
34328         unconditional.
34329         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
34330         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
34331         unconditional.
34332         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
34333
34334 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
34335
34336         [BZ #12140]
34337         * manual/memory.texi (Malloc Tunable Parameters): Add note
34338         about free list pointers overwriting some perturb bytes.
34339         Wording suggested by Roland McGrath.
34340
34341 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
34342
34343         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
34344         (lgamma_test): Likewise.
34345         (tgamma_test): Likewise.
34346
34347 2012-10-16  Florian Weimer  <fweimer@redhat.com>
34348
34349         [BZ #14700]
34350         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
34351         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
34352
34353 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
34354
34355         * NEWS: Mention BZ #14716.
34356         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
34357         when removing AVAILABLE1_USES_J macro.
34358
34359 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
34360
34361         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
34362         (__bswap_64): __uint64_t for unsigned 64-bit int.
34363
34364 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
34365
34366         * include/string.h (memmem): Declare libc hidden alias.
34367         * string/memmem.c (memmem): Define libc hidden alias.
34368         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
34369         __read, __close instead of open, read, close.
34370
34371 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
34372
34373         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
34374         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
34375         global and hidden.
34376         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
34377         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
34378         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
34379         Likewise.
34380         (__rawmemchr_sse2): Likewise.
34381         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
34382         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
34383         (__strchr_sse2): Likewise.
34384         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
34385         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
34386         (__strcasecmp_sse2): Likewise.
34387         (__strncasecmp_sse2): Likewise.
34388         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
34389         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
34390         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
34391         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
34392         (__strrchr_sse2): Likewise.
34393         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
34394         ifunc-impl-list.c.
34395         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
34396         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
34397         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
34398         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
34399         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
34400         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
34401         * sysdeps/x86_64/multiarch/memset.S: Likewise.
34402         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
34403         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
34404         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
34405         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
34406         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
34407         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
34408         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
34409         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
34410         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
34411         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
34412         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
34413         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
34414         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
34415         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
34416         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
34417         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
34418         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
34419         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
34420         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
34421         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
34422         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
34423         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
34424         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
34425
34426         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
34427         global and hidden.
34428         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
34429         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
34430         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
34431         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
34432         Likewise.
34433         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
34434         Likewise.
34435         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
34436         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
34437         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
34438         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
34439         ifunc-impl-list.c.
34440         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
34441         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
34442         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
34443         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
34444         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
34445         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
34446         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
34447         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
34448         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
34449         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
34450         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
34451         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
34452         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
34453         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
34454         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
34455         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
34456         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
34457         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
34458         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
34459         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
34460         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
34461         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
34462         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
34463         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
34464         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
34465         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
34466         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
34467         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
34468         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
34469         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
34470         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
34471         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
34472         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
34473         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
34474         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
34475         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
34476         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
34477         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
34478         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
34479         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
34480         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
34481
34482         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
34483         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
34484         * include/ifunc-impl-list.h: New file.
34485         * misc/ifunc-impl-list.c: Likewise.
34486         * misc/Makefile (routines): Add ifunc-impl-list.
34487         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
34488         * string/test-string.h: Include <ifunc-impl-list.h>.
34489         (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
34490         TEST_NAME]: New variables.
34491         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
34492         are defined.
34493         (test_init): Call __libc_ifunc_impl_list to initialize
34494         func_list if TEST_IFUNC and TEST_NAME are defined.
34495
34496         * string/Makefile (strop-tests): Add bcopy and bzero.
34497         * string/test-bcopy.c: New file.
34498         * string/test-bzero.c: Likewise.
34499         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
34500         defined.
34501         * string/test-memset.c: Support bzero test if TEST_BZERO is
34502         defined.
34503         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
34504         __libc_memmove.
34505         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
34506         __libc_memset.
34507         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
34508         of memset.
34509
34510 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
34511
34512         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
34513         * configure: Regenerated.
34514
34515         * Makeconfig (+link-static-before-libc): Don't include
34516         $(link-static-libc).
34517
34518         * libio/libio.h (_IO_pos_t): Remove.
34519
34520 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
34521
34522         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
34523         McGrath.
34524
34525 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
34526
34527         * crypt/crypt-entry.c: Include fips-private.h.
34528         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
34529         * crypt/md5c-test.c (main): Tolerate disabled MD5.
34530         * sysdeps/unix/sysv/linux/fips-private.h: New file.
34531         * sysdeps/generic/fips-private.h: New file, dummy fallback.
34532
34533 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
34534
34535         * crypt/crypt-private.h: Include stdbool.h.
34536         (_ufc_setup_salt_r): Return bool.
34537         * crypt/crypt-entry.c: Include errno.h.
34538         (__crypt_r): Return NULL with EINVAL for bad salt.
34539         * crypt/crypt_util.c (bad_for_salt): New.
34540         (_ufc_setup_salt_r): Check that salt is long enough and within
34541         the specified alphabet.
34542         * crypt/badsalttest.c: New file.
34543         * crypt/Makefile (tests): Add it.
34544         ($(objpfx)badsalttest): New.
34545
34546 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
34547
34548         * NEWS: Add entry for BZ #14602.
34549
34550 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
34551
34552         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
34553         type-generic.
34554         * math/libm-test.inc: Update comment listing what functions and
34555         macros are tested.
34556         (isgreater_test): New function.
34557         (isgreaterequal_test): Likewise.
34558         (isless_test): Likewise.
34559         (islessequal_test): Likewise.
34560         (islessgreater_test): Likewise.
34561         (isunordered_test): Likewise.
34562         (main): Call the new functions.
34563
34564 2012-10-09  Roland McGrath  <roland@hack.frob.com>
34565
34566         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
34567         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
34568         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
34569         * sysdeps/i386/configure: Regenerated.
34570         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
34571         * sysdeps/mach/configure: Regenerated.
34572         * sysdeps/mach/hurd/configure: Regenerated.
34573         * sysdeps/powerpc/configure: Regenerated.
34574         * sysdeps/powerpc/powerpc32/configure: Regenerated.
34575         * sysdeps/powerpc/powerpc64/configure: Regenerated.
34576         * sysdeps/s390/s390-32/configure: Regenerated.
34577         * sysdeps/s390/s390-64/configure: Regenerated.
34578         * sysdeps/sh/configure: Regenerated.
34579         * sysdeps/sparc/configure: Regenerated.
34580         * sysdeps/unix/sysv/linux/configure: Regenerated.
34581         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
34582         * sysdeps/x86_64/configure: Regenerated.
34583
34584         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
34585         defined.  Don't check if MAP is NULL.
34586
34587 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
34588
34589         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
34590         (_G_stat64): Likewise.
34591         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
34592         (_G_stat64): Likewise.
34593         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
34594         instead of struct _G_stat64.
34595         * libio/fileops.c (mmap_remap_check): Likewise.
34596         (decide_maybe_mmap): Likewise.
34597         (_IO_new_file_seekoff): Likewise.
34598         (_IO_file_stat): Likewise.
34599         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
34600         _G_off64_t.
34601         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
34602         instead of struct _G_stat64.
34603         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
34604
34605 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
34606
34607         [BZ #14602]
34608         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
34609         Replace with ...
34610         (CHECK_EOL): New macro.
34611         (two_way_short_needle): Check beginning of haystack for EOL.  Use
34612         CHECK_EOL.
34613         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
34614         Replace with CHECK_EOL.
34615         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
34616         Replace with CHECK_EOL.
34617
34618 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
34619
34620         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
34621         type-generic.
34622         * math/libm-test.inc: Update comment listing what functions and
34623         macros are tested.
34624         (finite_test): New function.
34625         (isinf_test): Likewise.
34626         (isnan_test): Likewise.
34627         (fpclassify_test): Test subnormal input.
34628         (isfinite_test): Likewise.
34629         (isnormal_test): Likewise.
34630         (main): Call the new functions.
34631
34632 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
34633
34634         [BZ #14660]
34635         * Makerules (%.dynsym): Force C locale when running
34636         $(OBJDUMP) --dynamic-syms.
34637
34638 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
34639
34640         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
34641         <stdint.h>.
34642
34643 2012-10-06  David S. Miller  <davem@davemloft.net>
34644
34645         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
34646         upper 32-bits of the length value in %o2 since we use branch-on-register
34647         tests which consider the entire 64-bit register.
34648
34649 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
34650
34651         * string/test-strstr.c (check2): Add a test for page boundary.
34652
34653 2012-10-05  David S. Miller  <davem@davemloft.net>
34654
34655         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
34656         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
34657         file.
34658         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
34659         sysdep_routines.
34660         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
34661         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
34662         and bzero when HWCAP_SPARC_CRYPTO is present.
34663
34664 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
34665
34666         [BZ #14602]
34667         * string/test-strstr.c (check2): New function.
34668         (test_main): Call check2.
34669
34670         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
34671         and bug-strchr1.
34672         * string/bug-strcasestr1.c (do_test): Moved to ...
34673         * string/test-strcasestr.c (check1): Here.  New function.
34674         (do_one_test): Break out result checking code into ...
34675         (check_result): This.  New function.
34676         (do_one_test): Call check_result.
34677         (test_main): Call check1.
34678         * string/bug-strchr1.c (do_test): Moved to ...
34679         * string/test-strchr.c (check1): Here.  New function.
34680         (do_one_test): Break out result checking code into ...
34681         (check_result): This.  New function.
34682         (do_one_test): Call check_result.
34683         (test_main): Call check1.
34684         * string/bug-strstr1.c (main): Moved to ...
34685         * string/test-strstr.c (check1): Here.  New function.
34686         (do_one_test): Break out result checking code into ...
34687         (check_result): This.  New function.
34688         (do_one_test): Call check_result.
34689         (test_main): Call check1.
34690         * string/bug-strcasestr1.c: Removed.
34691         * string/bug-strchr1.c: Likewise.
34692         * string/bug-strstr1.c: Likewise.
34693
34694         * elf/Makefile (dl-routines): Add hwcaps.
34695         * elf/dl-support.c (_dl_important_hwcaps): Removed.
34696         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
34697         (_dl_important_hwcaps): Moved to ...
34698         * elf/dl-hwcaps.c: Here.  New file.
34699         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
34700
34701         [BZ #14557]
34702         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
34703         if IS_IN_rtld isn't defined.
34704
34705         * elf/dl-support.c (_dl_sysinfo_map): New.
34706         Include "get-dynamic-info.h" and "setup-vdso.h".
34707         (_dl_non_dynamic_init): Call setup_vdso.
34708         * elf/dynamic-link.h: Don't include <assert.h>.
34709         (elf_get_dynamic_info): Moved to ...
34710         * elf/get-dynamic-info.h: Here.  New file.
34711         * elf/dynamic-link.h: Include "get-dynamic-info.h".
34712         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
34713         * elf/setup-vdso.h: Here.  New file.
34714         * elf/rtld.c: Include "setup-vdso.h".
34715         (dl_main): Call setup_vdso.
34716
34717 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
34718
34719         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
34720         creal in comment listing functions tested.  List finite, isinf,
34721         isnan, isless, islessequal, isgreater, isgreaterequal,
34722         islessgreater, isunordered, lgamma_r and pow10 as functions and
34723         macros not tested.  Mention which functions not tested are aliases
34724         for other functions.  Fix typo.  Note that signs of NaNs are not
34725         tested.
34726
34727         * scripts/config.guess: Update from config.git.
34728         * scripts/config.sub: Likewise.
34729
34730 2012-10-04  Roland McGrath  <roland@hack.frob.com>
34731
34732         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
34733         * misc/madvise.c (madvise): Renamed to __madvise.
34734         Make madvise a weak alias.
34735         * include/sys/mman.h: Declare __madvise.
34736         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
34737         * sysdeps/unix/syscalls.list
34738         (madvise): Make __madvise the strong name, and madvise a weak alias.
34739         * sysdeps/unix/sysv/linux/syscalls.list
34740         (madvise, mmap): Remove redundant entries.
34741         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
34742         * malloc/malloc.c (mtrim): Likewise.
34743         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
34744
34745 2012-10-03  Roland McGrath  <roland@hack.frob.com>
34746
34747         * sysdeps/mach/hurd/dl-cache.c: File removed.
34748         * config.h.in (USE_LDCONFIG): New #undef.
34749         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
34750         * configure: Regenerated.
34751         * elf/Makefile (dl-routines): Add dl-cache only under
34752         [$(use-ldconfig) = yes].
34753         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
34754         cache on [USE_LDCONFIG].
34755         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
34756         [USE_LDCONFIG].
34757         * elf/rtld.c (dl_main): Likewise.
34758
34759 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
34760
34761         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
34762         _SC_LEVEL4_CACHE_LINESIZE.
34763
34764 2012-10-03  Roland McGrath  <roland@hack.frob.com>
34765
34766         * sysdeps/unix/bsd/confstr.h: File removed.
34767
34768 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
34769
34770         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
34771         sys/sdt-config.h.
34772
34773 2012-10-02  Roland McGrath  <roland@hack.frob.com>
34774
34775         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
34776         Make 'mapoff' field ElfW(Off) rather than off_t.
34777
34778 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
34779
34780         * nscd/Makefile: Remove nscd-cflags and all its users.
34781         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
34782         (CFLAGS-nonlib): Add compiler flags for nscd modules.
34783
34784         [BZ #10631]
34785         * malloc.c (malloc_printerr): Clarify error message.
34786
34787 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
34788
34789         [BZ #14648]
34790         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
34791         Set bit_FMA_Usable if FMA is supported.
34792         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
34793         macro.
34794         (bit_FMA4_Usable): Updated.
34795         (index_FMA_Usable): New macro.
34796         (CPUID_FMA): Likewise
34797         (HAS_FMA): Defined with bit_FMA_Usable.
34798
34799 2012-10-01  Roland McGrath  <roland@hack.frob.com>
34800
34801         * bits/types.h (__swblk_t): Type removed.
34802         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
34803         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
34804         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
34805         (__SWBLK_T_TYPE): Likewise.
34806         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
34807         (__SWBLK_T_TYPE): Likewise.
34808         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
34809         (__SWBLK_T_TYPE): Likewise.
34810         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
34811         (__SWBLK_T_TYPE): Likewise.
34812
34813 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
34814             Honza Horak <hhorak@redhat.com>
34815
34816         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
34817         (xdr_mapname): Use YPMAXMAP as maxsize.
34818         (xdr_peername): Use YPMAXPEER as maxsize.
34819         (xdr_keydat): Use YPAXRECORD as maxsize.
34820         (xdr_valdat): Use YPMAXRECORD as maxsize.
34821
34822 2012-10-01  Roland McGrath  <roland@hack.frob.com>
34823
34824         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
34825
34826         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
34827         * csu/init-first.c: ... here.
34828         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
34829         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
34830         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
34831         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
34832         * sysdeps/i386/init-first.c: File removed.
34833         * sysdeps/sh/init-first.c: File removed.
34834
34835 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
34836
34837         [BZ #14645]
34838         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
34839         if x * y might underflow to zero and z is zero.
34840         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
34841         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
34842         * math/libm-test.inc (min_subnorm_value): New variable.
34843         (fma_test): Add more tests.
34844         (fma_test_towardzero): Likewise.
34845         (fma_test_downward): Likewise
34846         (fma_test_upward): Likewise.
34847         (initialize): Set min_subnorm_value.
34848
34849 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
34850
34851         [BZ #14638]
34852         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
34853         0 + 0.
34854         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
34855         mode for addition resulting in exact zero.
34856         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
34857         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
34858         exact 0 + 0.
34859         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
34860         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
34861         * math/libm-test.inc (fma_test): Add more tests.
34862         (fma_test_towardzero): New function.
34863         (fma_test_downward): Likewise.
34864         (fma_test_upward): Likewise.
34865         (main): Call the new functions.
34866
34867 2012-09-28  David S. Miller  <davem@davemloft.net>
34868
34869         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
34870
34871 2012-09-28  Roland McGrath  <roland@hack.frob.com>
34872
34873         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
34874         instead of SIGALRM.
34875
34876         * sysdeps/gnu/_G_config.h: Moved to ...
34877         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
34878         * sysdeps/mach/hurd/_G_config.h: Moved to ...
34879         * sysdeps/generic/_G_config.h: ... here.
34880
34881         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
34882
34883         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
34884
34885         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
34886         Conditionalize target on [libnss_test1.so-version].
34887
34888         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
34889
34890         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
34891         (elfobjdir): Move out of conditionals.
34892
34893         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
34894         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
34895         (__nss_lookup_function): Conditionalize label remove_from_tree on
34896         [!DO_STATIC_NSS || SHARED], matching its only use.
34897
34898 2012-09-28  David S. Miller  <davem@davemloft.net>
34899
34900         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
34901         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
34902         file.
34903         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
34904         sysdep_routines.
34905         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
34906         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
34907         when HWCAP_SPARC_CRYPTO is present.
34908
34909 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
34910
34911         * io/tst-mknodat.c: Create a FIFO instead of a socket.
34912
34913 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
34914
34915         [BZ #6530]
34916         * stdio-common/vfprintf.c (process_string_arg): Revert
34917         2000-07-22 change.
34918
34919 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
34920
34921         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
34922         for testcase.
34923         * stdio-common/tst-sprintf.c: Include <locale.h>
34924         (main): Test sprintf's handling of incomplete multibyte
34925         characters.
34926
34927 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
34928
34929         * elf/dl-runtime.c (VERSYMIDX): Removed.
34930         * elf/dl-version.c (VERSYMIDX): Likewise.
34931         * elf/do-rel.h (VERSYMIDX): Likewise.
34932         (VALIDX): Likewise.
34933         * elf/dynamic-link.h (VERSYMIDX): Likewise.
34934         * elf/rtld.c (VALIDX): Likewise.
34935         (ADDRIDX): Likewise.
34936         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
34937         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
34938         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
34939         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
34940         (VALIDX): Likewise.
34941         (ADDRIDX): Likewise.
34942
34943 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
34944
34945         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
34946
34947 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
34948
34949         [BZ #11438]
34950         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
34951         to global scope.
34952         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
34953         addresses are in the same scope as 192.0.2/24.
34954         * posix/gai.conf: Document new scope table defaults.
34955
34956 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
34957
34958         [BZ #5298]
34959         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
34960         for ftell.  Compute offsets from write pointers instead.
34961         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
34962
34963 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
34964
34965         [BZ #14543]
34966         * libio/Makefile (tests): New test case tst-fseek.
34967         * libio/tst-fseek.c: New test case to verify that fseek/ftell
34968         combination works in wide mode.
34969         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
34970         state when the external buffer state changes.
34971
34972 2012-09-27  David S. Miller  <davem@davemloft.net>
34973
34974         [BZ #14376]
34975         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
34976         pass reloc->r_addend in as the 'high' argument to
34977         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
34978
34979         * sysdeps/sparc/fpu/libm-test-ulps: Update.
34980
34981 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
34982
34983         * rt/tst-aio2.c: Include <pthread.h>.
34984         * rt/tst-aio3.c: Likewise.
34985
34986 2012-09-27  Steve Ellcey  <sellcey@mips.com>
34987
34988         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
34989
34990 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
34991
34992         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
34993         contents on [SHARED].
34994
34995 2012-09-26  Marek Polacek  <polacek@redhat.com>
34996
34997         [BZ #14530]
34998         [BZ #13741]
34999         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
35000         for C++ and GCC <4.3 as well as for non GCC compilers.
35001
35002 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
35003
35004         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
35005
35006 2012-09-25  Roland McGrath  <roland@hack.frob.com>
35007
35008         * Makefile.in (all, install): Declare with .PHONY.
35009         Reported by Michael Hope <michael.hope@linaro.org>.
35010
35011 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
35012
35013         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
35014         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
35015         system header.
35016         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
35017         Likewise.
35018         (sydep_routines): Add the new and the internal functions.
35019         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
35020         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
35021         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
35022         (GLIBC_2.17): Add the new function.
35023         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
35024         (GLIBC_2.17): Likewise.
35025         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
35026         (GLIBC_2.17): Likewise.
35027         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
35028         (GLIBC_2.17): Likewise.
35029         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
35030
35031 2012-09-25  Alan Modra  <amodra@gmail.com>
35032
35033         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
35034         Add release barrier before setting once_control to say
35035         initialisation is done.  Add hints on lwarx.  Use macro in
35036         place of isync.
35037         (clear_once_control): Add release barrier.
35038
35039 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
35040
35041         [BZ #13629]
35042         * math/s_clog.c (__clog): Handle more values close to |z| = 1
35043         specially.
35044         * math/s_clog10.c (__clog10): Likewise.
35045         * math/s_clog10f.c (__clog10f): Likewise.
35046         * math/s_clog10l.c (__clog10l): Likewise.
35047         * math/s_clogf.c (__clogf): Likewise.
35048         * math/s_clogl.c (__clogl): Likewise.
35049         * math/Makefile (libm-calls): Add x2y2m1.
35050         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
35051         (__x2y2m1): Likewise.
35052         (__x2y2m1l): Likewise.
35053         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
35054         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
35055         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
35056         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
35057         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
35058         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
35059         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
35060         * sysdeps/i386/fpu/libm-test-ulps: Update.
35061         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35062
35063         [BZ #14621]
35064         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
35065         int as type of variable DEPTH.
35066         (glob): Use size_t instead of int as type of variables NEWCOUNT
35067         and OLD_PATHC.
35068
35069 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
35070
35071         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
35072         Add s_sincosf-sse2.
35073         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
35074         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
35075         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
35076         macros for using routine as __sincosf_ia32.
35077         Use macro for function declaration and weak_alias.
35078         * sysdeps/i386/fpu/libm-test-ulps: Update.
35079
35080         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
35081         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
35082
35083         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
35084         subnormal argument.
35085         * math/s_cexpf.c (__cexpf): Likewise.
35086         * math/s_csinf.c (__csinf): Likewise.
35087         * math/s_csinhf.c (__csinhf): Likewise.
35088         * math/s_ctanf.c (__ctanf): Likewise.
35089         * math/s_ctanhf.c (__ctanhf): Likewise.
35090         * math/s_ccosh.c (__ccoshf): Likewise.
35091         * math/s_cexp.c (__cexpl): Likewise.
35092         * math/s_csin.c (__csin): Likewise.
35093         * math/s_csinh.c (__csinh): Likewise.
35094         * math/s_ctan.c (__ctan): Likewise.
35095         * math/s_ctanh.c (ctanh): Likewise.
35096         * math/s_ccoshl.c (__ccoshl): Likewise.
35097         * math/s_cexpl.c (__cexpl): Likewise.
35098         * math/s_csinl.c (__csinl): Likewise.
35099         * math/s_csinhl.c (__csinhl): Likewise.
35100         * math/s_ctanl.c (__ctanl): Likewise.
35101         * math/s_ctanhl.c (__ctanhl): Likewise.
35102
35103 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
35104
35105         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
35106         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
35107         (_IO_off_t): Define to __off_t, not _G_off_t.
35108         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
35109         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
35110         (_IO_wint_t): Define to wint_t, not _G_wint_t.
35111         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
35112         type of __dummy and __dummy2 fields.
35113         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
35114         (_G_ssize_t): Likewise.
35115         (_G_off_t): Likewise.
35116         (_G_pid_t): Likewise.
35117         (_G_uid_t): Likewise.
35118         (_G_wchar_t): Likewise.
35119         (_G_wint_t): Likewise.
35120         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
35121         (_G_ssize_t): Likewise.
35122         (_G_off_t): Likewise.
35123         (_G_pid_t): Likewise.
35124         (_G_uid_t): Likewise.
35125         (_G_wchar_t): Likewise.
35126         (_G_wint_t): Likewise.
35127         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
35128         (_G_ssize_t): Likewise.
35129         (_G_off_t): Likewise.
35130         (_G_pid_t): Likewise.
35131         (_G_uid_t): Likewise.
35132         (_G_wchar_t): Likewise.
35133         (_G_wint_t): Likewise.
35134
35135 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
35136
35137         * malloc/arena.c: Include malloc-sysdep.h.
35138         (shrink_heap): Use check_may_shrink_heap to decide if madvise
35139         is sufficient to shrink the heap or an unmap is needed.
35140         * sysdeps/generic/malloc-sysdep.h: New file.  Define
35141         new function check_may_shrink_heap.
35142         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
35143         new function check_may_shrink_heap.
35144
35145 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
35146
35147         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
35148         comments.
35149
35150 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
35151
35152         * catgets/test-gencat.sh: Add "set -e".
35153         * elf/tst-pathopt.sh: Likewise.
35154         * grp/tst_fgetgrent.sh: Likewise.
35155         * iconvdata/run-iconv-test.sh: Likewise.
35156         * intl/tst-gettext.sh: Likewise.
35157         * intl/tst-gettext2.sh: Likewise.
35158         * intl/tst-gettext4.sh: Likewise.
35159         * intl/tst-gettext6.sh: Likewise.
35160         * intl/tst-translit.sh: Likewise.
35161         * io/ftwtest-sh: Likewise.
35162         * libio/test-freopen.sh: Likewise.
35163         * malloc/tst-mtrace.sh: Likewise.
35164         * posix/globtest.sh: Likewise.
35165         * posix/tst-getconf.sh: Likewise.
35166         * posix/wordexp-tst.sh: Likewise.
35167         * stdio-common/tst-printf.sh: Likewise.
35168         * stdio-common/tst-unbputc.sh: Likewise.
35169         * stdlib/tst-fmtmsg.sh: Likewise.
35170         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
35171         * catgets/Makefile: Do not specify -e option when running
35172         testsuite shell scripts.
35173         * elf/Makefile: Likewise.
35174         * grp/Makefile: Likewise.
35175         * iconvdata/Makefile: Likewise.
35176         * intl/Makefile: Likewise.
35177         * io/Makefile: Likewise.
35178         * libio/Makefile: Likewise.
35179         * malloc/Makefile: Likewise.
35180         * posix/Makefile: Likewise.
35181         * stdio-common/Makefile: Likewise.
35182         * stdlib/Makefile: Likewise.
35183         * sysdeps/x86_64/Makefile: Likewise.
35184
35185         * io/ftwtest-sh: Add copyright header.
35186         * posix/globtest.sh: Likewise.
35187         * posix/tst-getconf.sh: Likewise.
35188         * posix/wordexp-tst.sh: Likewise.
35189         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
35190
35191 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
35192
35193         [BZ #13679]
35194         * Makeconfig (+link): Defined as $(+link-static) if
35195         $(build-shared) isn't yes.
35196         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
35197         isn't yes.
35198         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
35199
35200         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
35201
35202         [BZ #14562]
35203         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
35204         new chunk size with MALLOC_ALIGN_MASK.
35205
35206 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
35207
35208         [BZ #5044]
35209         * stdio-common/printf_fphex.c: Include <stdbool.h> and
35210         <rounding-mode.h>.
35211         (__printf_fphex): Determine rounding using get_rounding_mode and
35212         round_away.
35213         * stdio-common/tst-printf-round.c (struct hex_test): New
35214         structure.
35215         (hex_tests): New variable.
35216         (test_hex_in_one_mode): New function.
35217         (do_test): Also run tests for hex float output.
35218
35219 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
35220
35221         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
35222         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
35223         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
35224         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
35225         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
35226         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
35227         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
35228         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
35229
35230 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
35231
35232         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
35233         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
35234         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
35235         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
35236
35237 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
35238
35239         [BZ #14579]
35240         * elf/rtld.c (dl_main): Limit the check for self loading to normal
35241         mode only.
35242         * elf/tst-rtld-load-self.sh: New test.
35243         * elf/Makefile: Run it.
35244
35245 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
35246
35247         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
35248         (tst-writev-ENV): Remove.
35249         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
35250
35251 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
35252
35253         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
35254
35255 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
35256
35257         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
35258         unconditional.
35259         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
35260         Likewise.
35261         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
35262         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
35263         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
35264         Likewise.
35265
35266 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
35267
35268         [BZ #14587]
35269         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
35270         * config.make.in (have-cpp-asm-debuginfo): Removed.
35271         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
35272         * configure: Regenerated.
35273
35274 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
35275
35276         [BZ #5044]
35277         * stdio-common/printf_fp.c: Include <stdbool.h> and
35278         <rounding-mode.h>.
35279         (___printf_fp): Determine rounding using get_rounding_mode and
35280         round_away.
35281         * stdio-common/tst-printf-round.c: New file.
35282         * stdio-common/Makefile (tests): Add tst-printf-round.
35283         (link-libm): New variable.
35284         ($(objpfx)tst-printf-round): Depend in $(link-libm).
35285
35286 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
35287
35288         [BZ #14576]
35289         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
35290         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
35291         Likewise.
35292         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
35293         Likewise.
35294
35295 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
35296
35297         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
35298         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
35299         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
35300         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
35301
35302 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
35303
35304         [BZ #14518]
35305         * include/rounding-mode.h: New file.
35306         * sysdeps/generic/get-rounding-mode.h: Likewise.
35307         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
35308         * stdlib/strtod_l.c: Include <rounding-mode.h>.
35309         (MAX_VALUE): New macro.
35310         (MIN_VALUE): Likewise.
35311         (overflow_value): New function.
35312         (underflow_value): Likewise.
35313         (round_and_return): Use overflow_value and underflow_value to
35314         determine return values in overflow and underflow cases.  Use
35315         round_away to determine rounding depending on rounding mode.
35316         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
35317         determine return values in overflow and underflow cases.
35318         * stdlib/tst-strtod-round.c: Include <fenv.h>.
35319         (struct test_results): New structure.
35320         (struct test): Use struct test_results to store expected results
35321         for all rounding modes.
35322         (TEST): Include expected results for all rounding modes.
35323         (test_in_one_mode): New function.
35324         (do_test): Use test_in_one_mode to compute and check results.
35325         Check results for all rounding modes.
35326         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
35327         $(link-libm).
35328
35329 2012-12-09  Allan McRae  <allan@archlinux.org>
35330
35331         * sysdeps/i386/fpu/libm-test-ulps: Update
35332
35333 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
35334
35335         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
35336         (_G_int32_t): Likewise.
35337         (_G_uint16_t): Likewise.
35338         (_G_uint32_t): Likewise.
35339         (_G_HAVE_BOOL): Likewise.
35340         (_G_HAVE_ATEXIT): Likewise.
35341         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
35342         (_G_HAVE_IO_FILE_OPEN): Likewise.
35343         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
35344         (_G_int32_t): Likewise.
35345         (_G_uint16_t): Likewise.
35346         (_G_uint32_t): Likewise.
35347         (_G_HAVE_BOOL): Likewise.
35348         (_G_HAVE_ATEXIT): Likewise.
35349         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
35350         (_G_HAVE_IO_FILE_OPEN): Likewise.
35351         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
35352         (_G_int32_t): Likewise.
35353         (_G_uint16_t): Likewise.
35354         (_G_uint32_t): Likewise.
35355         (_G_HAVE_BOOL): Likewise.
35356         (_G_HAVE_ATEXIT): Likewise.
35357         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
35358         (_G_HAVE_IO_FILE_OPEN): Likewise.
35359
35360 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
35361
35362         * csu/libc-tls.c: Update copyright years.
35363
35364 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
35365
35366         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
35367         [!_G_USING_THUNKS]: Remove conditional code.
35368         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
35369         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
35370
35371         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
35372         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
35373         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
35374         (_G_VTABLE_LABEL_PREFIX): Likewise.
35375         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
35376         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
35377         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
35378         (_G_VTABLE_LABEL_PREFIX): Likewise.
35379         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
35380         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
35381         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
35382         (_G_VTABLE_LABEL_PREFIX): Likewise.
35383         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
35384
35385 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
35386
35387         * libio/Makefile: Include ../Makeconfig before tests.
35388         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
35389         only if $(build-shared) is yes.
35390
35391         * iconv/gconv_db.c: Update copyright years.
35392
35393 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
35394
35395         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
35396         unwind info if defined PIC. Fix special cases description.
35397         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
35398
35399         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
35400         DP_HI_MASK entry.
35401         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
35402
35403 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
35404
35405         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
35406
35407         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
35408         is NULL.
35409
35410         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
35411         (LDLIBS-tst-chk4): This.
35412         (LDFLAGS-tst-chk5): Renamed to ...
35413         (LDLIBS-tst-chk5): This.
35414         (LDFLAGS-tst-chk6): Renamed to ...
35415         (LDLIBS-tst-chk6): This.
35416         (LDFLAGS-tst-lfschk4): Renamed to ...
35417         (LDLIBS-tst-lfschk4): This.
35418         (LDFLAGS-tst-lfschk5): Renamed to ...
35419         (LDLIBS-tst-lfschk5): This.
35420         (LDFLAGS-tst-lfschk6): Renamed to ...
35421         (LDLIBS-tst-lfschk6): This.
35422
35423         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
35424         on $(common-objpfx)soversions.mk.
35425
35426 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
35427
35428         [BZ #10014]
35429         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
35430         example host name.
35431
35432 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
35433
35434         * malloc/arena.c (arena_get_retry): New function that gets
35435         another arena for the caller to try its request on.
35436         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
35437         current arena cannot fulfill the request.
35438         (__libc_memalign): Likewise.
35439         (__libc_memalign): Likewise.
35440         (__libc_pvalloc): Likewise.
35441         (__libc_calloc): Likewise.
35442
35443 2012-09-05  John Tobey  <john.tobey@gmail.com>
35444
35445         [BZ #13542]
35446         * manual/arith.texi (Operations on Complex): Fix description
35447         of carg branch cut.
35448
35449 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
35450
35451         [BZ #10014]
35452         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
35453         host name.
35454
35455         [BZ #10038]
35456         * manual/memory.texi (Memory): Make order of menu items match
35457         order of sections.
35458
35459 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
35460
35461         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
35462         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
35463         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
35464
35465 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
35466
35467         * csu/libc-tls.c (static_dtv): Renamed to ...
35468         (_dl_static_dtv): This.  Make it global.
35469         (_dl_initial_dtv): Removed.
35470         (__libc_setup_tls): Updated.
35471         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
35472         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
35473         DL_INITIAL_DTV.
35474
35475 2012-09-06  Petr Machata  <pmachata@redhat.com>
35476
35477         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
35478         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
35479         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
35480         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
35481
35482 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
35483
35484         [BZ #14545]
35485         * csu/libc-tls.c (_dl_initial_dtv): New variable.
35486         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
35487         freeing dtv[-1].
35488
35489 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
35490
35491         [BZ #14544]
35492         * Makeconfig (link-static-before-libc): Replace $(+prector)
35493         with $(+prectorT).
35494         (link-static-after-libc): Replace $(+postctor) with
35495         $(+postctorT).
35496         (link-bounded): Replace $(+prector)/$(+postctor) with
35497         $(+prectorT)/$(+postctorT).
35498         (+prectorT): New macro.
35499         (+postctorT): Likewise.
35500
35501 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
35502
35503         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
35504         (round_str): Handle values above the maximum for IBM long double
35505         as inexact.
35506         * stdlib/tst-strtod-round.c (tests): Regenerated.
35507
35508 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
35509
35510         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
35511         assembler flag.
35512         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
35513         zarch_nohighgprs around the zarch optimized routines.
35514         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
35515         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
35516         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
35517         for zarch.
35518
35519 2012-09-05  David S. Miller  <davem@davemloft.net>
35520
35521         * sysdeps/sparc/fpu/libm-test-ulps: Update.
35522
35523         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
35524         (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
35525         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
35526         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
35527         entries.
35528
35529 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
35530
35531         * malloc/arena.c: Fold copyright years.
35532         * malloc/mcheck.c, malloc/memusage.c: Likewise.
35533
35534 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
35535
35536         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
35537
35538 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
35539
35540         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
35541
35542 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
35543
35544         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
35545         change internal state upon failure.
35546
35547 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
35548
35549         * malloc/mcheck.c (mcheck_check_all): Fix typo.
35550         * malloc/memusage.c (mmap): Likewise.
35551         (mmap64, mremap): Likewise.  Adjust name in comment.
35552
35553 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
35554
35555         * libio/fileops.c: Fix typos in comments.
35556         * libio/oldfileops.c: Likewise.
35557         * libio/wfileops.c: Likewise.
35558
35559 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
35560
35561         [BZ #1349]
35562         * malloc/Makefile (tests): Add tst-malloc-usable test case.
35563         (tst-malloc-usable-ENV): Set environment for test case.
35564         * malloc/hooks.c (malloc_check_get_size): New function to get
35565         requested size.
35566         * malloc/malloc.c (musable): Use malloc_check_get_size.
35567         * malloc/tst-malloc-usable.c: New test case.
35568
35569 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
35570
35571         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
35572
35573 2012-09-05  Allan McRae  <allan@archlinux.org>
35574
35575         [BZ #13966]
35576         * configure.in (CXX_SYSINCLUDES): Use compiler output to
35577         determine header location.
35578         * configure: Regenerated.
35579
35580 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
35581
35582         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
35583         float format.
35584         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
35585         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
35586         format.
35587         (test): Regenerate.
35588
35589 2012-09-04  David S. Miller  <davem@davemloft.net>
35590
35591         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
35592         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
35593         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
35594
35595 2012-09-04  Florian Weimer  <fweimer@redhat.com>
35596
35597         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
35598         failures.
35599
35600         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
35601
35602 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
35603
35604         [BZ #9914]
35605         * libio/iogetdelim.c: Include <limits.h>.
35606         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
35607         + len + 1 would overflow.
35608
35609 2012-09-03  Andreas Jaeger  <aj@suse.de>
35610
35611         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
35612         * sysdeps/i386/fpu/libm-test-ulps: Update.
35613
35614 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
35615
35616         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
35617         Add s_sinf-sse2, s_conf-sse2.
35618
35619         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
35620         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
35621         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
35622         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
35623
35624         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
35625         for using routine as __sinf_ia32.
35626         Use macro for function declaration and weak_alias.
35627         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
35628         for using routine as __cosf_ia32.
35629         Use macro for function declaration and weak_alias.
35630
35631         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
35632         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
35633
35634         * sysdeps/x86_64/fpu/s_sinf.S: New file.
35635         * sysdeps/x86_64/fpu/s_cosf.S: New file.
35636         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
35637
35638         * math/libm-test.inc (cos_test): Add more test cases.
35639         (sin_test): Likewise.
35640         (sincos_test): Likewise.
35641
35642 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
35643
35644         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
35645         (IFUNC_RESOLVE): Make pointers to the specialized implementations
35646         hidden.
35647         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
35648
35649 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
35650
35651         [BZ #14538]
35652         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
35653         first element of the GOT.
35654         (elf_machine_load_address): Return the difference between
35655         the runtime address of _DYNAMIC and elf_machine_dynamic ().
35656
35657 2012-09-01  Allan McRae  <allan@archlinux.org>
35658
35659         [BZ #13412]
35660         * configure.in (AWK): Require gawk version 3.0 or later.
35661         * configure: Regenerated.
35662
35663 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
35664
35665         * sysdeps/unix/sysv/linux/kernel-features.h
35666         (__ASSUME_POSIX_CPU_TIMERS): Remove.
35667         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
35668         [__NR_clock_getres]: Make code unconditional.
35669         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
35670         (clock_getcpuclockid): Remove code left unreachable by removal of
35671         conditionals.
35672         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
35673         code unconditional.
35674         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
35675         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
35676         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
35677         Make code unconditional.
35678         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
35679         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
35680         * sysdeps/unix/sysv/linux/clock_settime.c
35681         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
35682         conditional code.
35683         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
35684         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
35685
35686 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
35687
35688         [BZ #14476]
35689         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
35690         scripts/test-installation.pl.
35691
35692         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
35693         and $ld_so_version if it is set.
35694
35695 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
35696
35697         [BZ #14516]
35698         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
35699         failure if reading from procfs failed.
35700         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
35701
35702 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
35703
35704         * sysdeps/unix/sysv/linux/kernel-features.h
35705         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
35706         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
35707         Remove conditional code.
35708         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
35709         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
35710         Remove conditional code.
35711         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
35712         * sysdeps/unix/sysv/linux/i386/fxstat.c
35713         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
35714         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
35715         * sysdeps/unix/sysv/linux/i386/fxstatat.c
35716         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
35717         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
35718         * sysdeps/unix/sysv/linux/i386/lxstat.c
35719         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
35720         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
35721         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
35722         Remove conditional code.
35723         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
35724         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
35725         Remove conditional code.
35726         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
35727         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
35728         <kernel-features.h>.
35729         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
35730         Remove.
35731         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
35732         Remove conditional code.
35733         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
35734         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
35735         Remove conditional.
35736
35737 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
35738
35739         [BZ #5400]
35740         * NEWS: Add fixed bug number.
35741
35742 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
35743
35744         [BZ #14519]
35745         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
35746         underflowing exponent in case of negative sign.
35747         * stdlib/tst-strtod-round-data: Add more tests.
35748         * stdlib/tst-strtod-round.c (tests): Regenerated.
35749
35750         [BZ #3479]
35751         * stdlib/strtod_l.c (NDIG): Remove.
35752         (HEXNDIG): Likewise.
35753         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
35754         smallest representable value.
35755         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
35756         lie within an exact representation of 1/2 ulp of the result.
35757         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
35758         unconditionally.
35759         (TENS_P9_IDX): Define unconditionally.
35760         (TENS_P9_SIZE): Likewise.
35761         (TENS_P10_IDX): Likewise.
35762         (TENS_P10_SIZE): Likewise.
35763         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
35764         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
35765         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
35766         entries for 10^2^13 and 10^2^14.
35767         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
35768         (TENS_P13_IDX): Define.
35769         (TENS_P13_SIZE): Likewise.
35770         (TENS_P14_IDX): Likewise.
35771         (TENS_P14_SIZE): Likewise.
35772         (_fpioconst_pow10): Change array size to
35773         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
35774         unconditional.
35775         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
35776         1024]: Add entries for 10^2^13 and 10^2^14.
35777         [LAST_POW10 > _LAST_POW10]: Remove #error.
35778         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
35779         (_fpioconst_pow10): Change array size to
35780         FPIOCONST_POW10_ARRAY_SIZE.
35781         * stdlib/gen-fpioconst.c: New file.
35782         * stdlib/gen-tst-strtod-round.c: Likewise.
35783         * stdlib/tst-strtod-round-data: Likewise.
35784         * stdlib/tst-strtod-round.c: Likewise.
35785         * stdlib/Makefile (tests): Add tst-strtod-round.
35786
35787         [BZ #14459]
35788         * stdlib/strtod_l.c: Include <stdint.h>.
35789         (NDEBUG): Do not define.
35790         (round_and_return): Change EXPONENT parameter to type intmax_t.
35791         Rearrange calculations to avoid internal overflow possibilities.
35792         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
35793         Rearrange calculations to avoid internal overflow possibilities.
35794         Assert that number fits inside MPNSIZE limbs.
35795         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
35796         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
35797         calculations and add assertions to avoid internal overflow
35798         possibilities.  Add casts to avoid signed/unsigned operations.
35799         * stdlib/tst-strtod-overflow.c: New file.
35800         * stdlib/Makefile (tests): Add tst-strtod-overflow.
35801
35802 2012-08-25  Marek Polacek  <polacek@redhat.com>
35803
35804         * time/time.h: Fix some typos in comments.
35805
35806 2012-08-23  Roland McGrath  <roland@hack.frob.com>
35807
35808         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
35809         * posix/tst-rfc3484-2.c: Likewise.
35810         * posix/tst-rfc3484-3.c: Likewise.
35811
35812 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
35813
35814         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
35815         (EF_ARM_ABI_FLOAT_HARD): Likewise.
35816
35817 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
35818
35819         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
35820         #include of fxstatat64.c.
35821
35822 2012-08-22  Roland McGrath  <roland@hack.frob.com>
35823
35824         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
35825         * shadow/getspent_r.c: Likewise.
35826         * shadow/getspnam.c: Likewise.
35827         * shadow/getspnam_r.c: Likewise.
35828         * gshadow/getsgent.c: Likewise.
35829         * gshadow/getsgent_r.c: Likewise.
35830         * gshadow/getsgnam.c: Likewise.
35831         * gshadow/getsgnam_r.c: Likewise.
35832         * inet/getnetbyad.c: Likewise.
35833         * inet/getnetbyad_r.c: Likewise.
35834         * inet/getnetbynm.c: Likewise.
35835         * inet/getnetbynm_r.c: Likewise.
35836         * inet/getnetent.c: Likewise.
35837         * inet/getnetent_r.c: Likewise.
35838         * inet/getproto.c: Likewise.
35839         * inet/getproto_r.c: Likewise.
35840         * inet/getprtent.c: Likewise.
35841         * inet/getprtent_r.c: Likewise.
35842         * inet/getprtname.c: Likewise.
35843         * inet/getprtname_r.c: Likewise.
35844         * inet/getrpcbyname.c: Likewise.
35845         * inet/getrpcbyname_r.c: Likewise.
35846         * inet/getrpcbynumber.c: Likewise.
35847         * inet/getrpcbynumber_r.c: Likewise.
35848         * inet/getrpcent.c: Likewise.
35849         * inet/getrpcent_r.c: Likewise.
35850         * inet/getaliasent.c: Likewise.
35851         * inet/getaliasent_r.c: Likewise.
35852         * inet/getaliasname.c: Likewise.
35853         * inet/getaliasname_r.c: Likewise.
35854         * nscd/getgrgid_r.c: Likewise.
35855         * nscd/getgrnam_r.c: Likewise.
35856         * nscd/gethstbyad_r.c: Likewise.
35857         * nscd/gethstbynm3_r.c: Likewise.
35858         * nscd/getpwnam_r.c: Likewise.
35859         * nscd/getpwuid_r.c: Likewise.
35860         * nscd/getsrvbynm_r.c: Likewise.
35861         * nscd/getsrvbypt_r.c: Likewise.
35862         * nscd/gai.c: Likewise.
35863
35864         * configure.in (build_nscd): New substituted variable, set
35865         by --disable-build-nscd and defaults to $use_nscd.
35866         * configure: Regenerated.
35867         * config.make.in (build-nscd): New substituted variable.
35868         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
35869         Change conditional to require [$(build-nscd) = yes] as well.
35870         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
35871
35872         [BZ# 13696]
35873         * configure.in (use_nscd): New substituted variable, set by
35874         --disable-nscd.  If enabled, define USE_NSCD.
35875         * configure: Regenerated.
35876         * config.h.in: Add USE_NSCD.
35877         * config.make.in (use-nscd): New substituted variable.
35878         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
35879         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
35880         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
35881         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
35882         (CFLAGS-getgrnam_r.c): Likewise.
35883         (CFLAGS-initgroups.c): Likewise.
35884         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
35885         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
35886         Variables removed.
35887         * inet/getnetgrent_r.c
35888         (nscd_setnetgrent): New function, broken out of ...
35889         (setnetgrent): ... here.  Call it.
35890         (innetgr): Conditionalize nscd bits on [USE_NSCD].
35891         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
35892         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
35893         * nscd/Makefile (routines, aux): Move definitions after include of
35894         Makeconfig.  Conditionalize on [$(use-nscd) != no].
35895         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
35896         Conditionalize on [USE_NSCD].
35897         (is_nscd, nscd_init_cb): Likewise.
35898         (nss_load_library): Conditionalize init callback on [USE_NSCD].
35899         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
35900         * nss/nss_db/db-init.c: Likewise.
35901         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
35902         [USE_NSCD].
35903         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
35904         (make_request): Use it.
35905         (cache_valid_p): New function.
35906         (__check_pf): Use it.
35907         * NEWS: Add item for --disable-nscd.
35908
35909 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
35910
35911         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
35912         to support sed >= 4.2.1-20-ga9bf076.
35913         * configure: Regenerated.
35914
35915 2012-08-22  Roland McGrath  <roland@hack.frob.com>
35916
35917         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
35918         Conditionalize whole body on [IREL].
35919
35920 2012-08-22  Jeff Law <law@redhat.com>
35921
35922         [BZ #14505]
35923         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
35924         if the family is PF_UNSPEC.
35925
35926 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
35927
35928         * Makerules (lib-version): Rename from V.
35929         (install-lib-nosubdir): Change V to lib-version.
35930
35931 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
35932
35933         [BZ #14252]
35934         * powerpc32/power6/wcschr.c: New file.
35935         * powerpc32/power6/wcscpy.c: New file.
35936         * powerpc32/power6/wcsrchr.c: New file.
35937         * powerpc64/power6/wcschr.c: New file.
35938         * powerpc64/power6/wcscpy.c: New file.
35939         * powerpc64/power6/wcsrchr.c: New file.
35940
35941 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
35942
35943         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
35944         (two_way_short_needle): Use it.
35945         * string/strstr.c (AVAILABLE1_USES_J): Define.
35946         * string/strcasestr.c: Likewise.
35947
35948         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
35949         array references.
35950         * string/strcasestr.c (TOLOWER): Make side-effect safe.
35951
35952         [BZ #11607]
35953         * NEWS: Add an entry.
35954         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
35955         define their defaults.
35956         (two_way_short_needle): Detect end-of-string on-the-fly.
35957         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
35958         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
35959         * string/bug-strcasestr1.c: New test.
35960         * string/Makefile: Run it.
35961
35962 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
35963
35964         [BZ #11607]
35965         * string/str-two-way.h (two_way_short_needle): Optimize matching of
35966         the first character.
35967
35968 2012-08-21  Roland McGrath  <roland@hack.frob.com>
35969
35970         * csu/elf-init.c (__libc_csu_irel): Function removed.
35971         * csu/libc-start.c (apply_irel): New function.
35972         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
35973
35974 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
35975
35976         * sysdeps/unix/sysv/linux/kernel-features.h
35977         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
35978         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
35979         <kernel-features.h>.
35980         [__NR_fadvise64_64]: Make code unconditional.
35981         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
35982         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
35983         !__NR_fadvise64_64)]: Likewise.
35984         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
35985         !__NR_fadvise64_64))]: Likewise.
35986         [__NR_fadvise64]: Make code unconditional.
35987         [!__NR_fadvise64]: Remove conditional code.
35988         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
35989         <kernel-features.h>.
35990         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
35991         unconditional.
35992         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
35993         conditional code.
35994         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
35995         not include <kernel-features.h>.
35996         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
35997         unconditional.
35998         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
35999         conditional code.
36000         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
36001         include <kernel-features.h>.
36002         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
36003         unconditional.
36004         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
36005         conditional code.
36006
36007 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
36008
36009         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
36010         slight instruction rearrangements per scrollpipe analysis.
36011         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
36012
36013 2012-08-20  Roland McGrath  <roland@hack.frob.com>
36014
36015         * manual/syslog.texi (syslog; vsyslog, closelog):
36016         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
36017         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
36018
36019         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
36020         DSOCAPS to match condition on defining it.
36021
36022 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
36023
36024         * sysdeps/unix/sysv/linux/kernel-features.h
36025         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
36026         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
36027         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
36028         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
36029         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
36030         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
36031         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
36032         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
36033         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
36034         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
36035
36036         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
36037         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
36038
36039         * sysdeps/unix/sysv/linux/kernel-features.h
36040         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
36041         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
36042         unconditional.
36043         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
36044         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
36045         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
36046         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
36047         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
36048         Make code unconditional.
36049         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
36050         (__mmap64) [!__NR_mmap2]: Likewise.
36051         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
36052         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
36053         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
36054         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
36055         [__NR_mmap2]: Make code unconditional.
36056         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
36057         (__mmap64) [!__NR_mmap2]: Likewise.
36058
36059 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
36060
36061         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
36062
36063 2012-08-18  Andreas Jaeger  <aj@suse.de>
36064
36065         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
36066
36067 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
36068
36069         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
36070         * include/unistd.h (__have_sock_cloexec): Likewise.
36071         (__have_pipe2): Likewise.
36072         (__have_dup3): Likewise.
36073
36074 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
36075
36076         [BZ #9685]
36077         * include/unistd.h (__have_pipe2): Change define into an extern int.
36078         (__have_dup3): Likewise.
36079         * socket/have_sock_cloexec.c: Include fcntl.h.
36080         (__have_pipe2): New variable.
36081         (__have_dup3): Likewise.
36082
36083 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
36084
36085         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
36086
36087 2012-08-17  Marek Polacek  <polacek@redhat.com>
36088
36089         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
36090         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
36091
36092 2012-08-17  Roland McGrath  <roland@hack.frob.com>
36093
36094         * configure.in: Add AC_SUBST for sysheaders.
36095         * configure: Regenerated.
36096         * config.make.in (sysheaders): New substituted variable.
36097
36098         * sysdeps/unix/mkfifo.c: Moved ...
36099         * sysdeps/posix/mkfifo.c: ... here.
36100         * sysdeps/unix/mkfifoat.c: Moved ...
36101         * sysdeps/posix/mkfifoat.c: ... here.
36102
36103         * sysdeps/unix/utime.c: Moved ...
36104         * sysdeps/posix/utime.c: ... here.
36105
36106         * sysdeps/unix/time.c: Moved ...
36107         * sysdeps/posix/time.c: ... here.
36108         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
36109         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
36110
36111         * sysdeps/unix/nice.c: Moved ...
36112         * sysdeps/posix/nice.c: ... here.
36113
36114         * sysdeps/unix/alarm.c: Moved ...
36115         * sysdeps/posix/alarm.c: ... here.
36116
36117         * intl/Makefile ($(codeset_mo)): Depend on the input file.
36118
36119 2012-08-17  Jeff Law <law@redhat.com>
36120
36121         * intl/Makefile (codeset_mo): New variable.
36122         ($(codeset_mo)): New target.
36123         (tst-codeset.out): Depend on that.  Remove explicit rule.
36124         (tst-gettext3.out, tst-gettext5.out): Likewise.
36125         (LOCPATH-ENV, tst-codeset-ENV): New variables.
36126         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
36127         * intl/tst-codeset.sh: Remove.
36128         * intl/tst-gettext3.sh: Likewise.
36129         * intl/tst-gettext5.sh: Likewise.
36130
36131 2012-08-17  Roland McGrath  <roland@hack.frob.com>
36132
36133         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
36134         * sysdeps/unix/syscalls.list: ... here.
36135
36136         * sysdeps/posix/getaddrinfo.c
36137         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
36138         (gaiconf_init, gaiconf_reload): Use them.
36139         [!_STATBUF_ST_NSEC]
36140         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
36141         Define using time_t rather than struct timespec.
36142
36143         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
36144         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
36145         Macros removed.
36146         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
36147         [!NO_THREADS].
36148         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
36149         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
36150         Likewise.
36151
36152         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
36153         __libc_cleanup_push argument.
36154
36155         * bits/param.h: New file.
36156         * misc/sys/param.h: New file.
36157         * include/sys/param.h: New file.
36158         * misc/Makefile (headers): Add bits/param.h.
36159         * sysdeps/generic/sys/param.h: File removed.
36160         * sysdeps/unix/sysv/linux/bits/param.h: New file.
36161         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
36162         * sysdeps/mach/hurd/bits/param.h: New file.
36163         * sysdeps/mach/hurd/sys/param.h: File removed.
36164
36165         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
36166         last change.
36167
36168         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
36169         [_IO_MTSAFE_IO].
36170         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
36171         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
36172         New macros.
36173
36174         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
36175         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
36176         rather than -D_IO_MTSAFE_IO conditionally.
36177         * stdio-common/Makefile (CPPFLAGS): Likewise.
36178         * wcsmbs/Makefile (CPPFLAGS): Likewise.
36179         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
36180         Use $(libio-mtsafe).
36181         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
36182         of -D_IO_MTSAFE_IO.
36183         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
36184         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
36185         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
36186         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
36187         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
36188         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
36189         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
36190         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
36191         (CFLAGS-fread_u_chk.c): Likewise.
36192         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
36193         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
36194         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
36195         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
36196         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
36197         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
36198         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
36199         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
36200         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
36201
36202         * libio/Makefile: Test [$(libc-reentrant) = yes]
36203         instead of [$(filter %REENTRANT, $(defines)) nonempty].
36204
36205         * Makeconfig
36206         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
36207         * sysdeps/pthread/configure: File removed.
36208         * sysdeps/pthread/Makeconfig: New file.
36209         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
36210         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
36211
36212 2012-08-16  Gary Benson  <gbenson@redhat.com>
36213
36214         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
36215         unmapping the first object in a namespace.
36216
36217 2012-08-16  Roland McGrath  <roland@hack.frob.com>
36218
36219         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
36220         (__internal_setnetgrent): ... this.  Add internal_function to
36221         definition.  Add libc_hidden_def.
36222         (setnetgrent): Update caller.
36223         (internal_endnetgrent): Renamed to ...
36224         (__internal_endnetgrent): ... this.  Add internal_function to
36225         definition.  Add libc_hidden_def.
36226         (endnetgrent): Update caller.
36227         (internal_getnetgrent_r): Renamed to ...
36228         (__internal_getnetgrent_r): ... this.  Add internal_function to
36229         definition.  Add libc_hidden_def.
36230         (__getnetgrent_r): Update caller.
36231         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
36232
36233 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
36234
36235         * stdlib/longlong.h: Update from GCC.
36236
36237 2012-08-16  Roland McGrath  <roland@hack.frob.com>
36238
36239         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
36240         on _QL, which is set by umul_ppmm but never used.
36241         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
36242         variables, which are set by GMP macros but never used.
36243         * stdio-common/_itowa.c (_itowa): Likewise.
36244         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
36245         * stdlib/mod_1.c (mpn_mod_1): Likewise.
36246
36247 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
36248
36249         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
36250         struct La_sh_regs is not constant.
36251         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
36252         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
36253         and struct La_sparc64_regs are not constant.
36254
36255 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
36256
36257         * sysdeps/unix/sysv/linux/kernel-features.h
36258         (__ASSUME_POSIX_TIMERS): Remove.
36259         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
36260         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
36261         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
36262         Make code unconditional.
36263         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
36264         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
36265         Make code unconditional.
36266         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
36267         * sysdeps/unix/sysv/linux/clock_nanosleep.c
36268         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
36269         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
36270         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
36271         Make code unconditional.
36272         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
36273         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
36274         (__libc_missing_posix_timers): Remove.
36275
36276 2012-08-15  Roland McGrath  <roland@hack.frob.com>
36277
36278         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
36279         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
36280
36281         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
36282
36283         * elf/dl-sym.c: Include <stdlib.h>.
36284
36285         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
36286         constants, which avoids warnings in 32-bit builds.
36287
36288         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
36289         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
36290
36291         * misc/lseek.c: File moved to ...
36292         * io/lseek.c: ... here.
36293
36294         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
36295
36296         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
36297         shifting LEN more than 31 bits at once.
36298
36299 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
36300
36301         [BZ #14195]
36302         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
36303         segmentation fault for a case of two empty input strings.
36304         * string/test-strncasecmp.c (check1): Renamed to...
36305         (bz12205): ...this.
36306         (bz14195): Add new testcase for two empty input strings and N > 0.
36307         (test_main): Call new testcase, adapt for renamed function.
36308
36309 2012-08-15  Andreas Jaeger  <aj@suse.de>
36310
36311         [BZ #14090]
36312         * crypt/md5test2.c: New test, based on test supplied by Serge
36313         Belyshev <belyshev@depni.sinp.msu.ru>.
36314         * crypt/Makefile (xtests): Add md5test-giant..
36315         * crypt/Makefile ($(objpfx)md5test-giant): Add.
36316
36317 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
36318
36319         [BZ #14090]
36320         * crypt/md5.c (md5_process_block): Don't assume the buffer
36321         length is less than 2**32.
36322         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
36323         length is less than 2**64.
36324
36325 2012-08-15  Roland McGrath  <roland@hack.frob.com>
36326
36327         * string/str-two-way.h: Include <sys/param.h>.
36328         (MAX): Macro removed.
36329
36330         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
36331         Move #define and #undef of memmove to just before and after
36332         including <string.h>.
36333
36334         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
36335         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
36336         and after including <string.h>.  Move declarations of
36337         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
36338         to before #include "string/memmove.c".
36339
36340         * include/dirent.h: Declare __getdirentries.
36341
36342         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
36343         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
36344
36345 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
36346
36347         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
36348         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
36349         * sysdeps/i386/configure: Regenerated.
36350         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
36351         STABS_CURRENT_FILE, and STABS_FUN.
36352         (END): Remove call to STABS_FUN_END.
36353         (STABS_CURRENT_FILE1): Delete.
36354         (STABS_CURRENT_FILE): Likewise.
36355         (STABS_FUN): Likewise.
36356         (STABS_FUN_END): Likewise.
36357         (STABS_FUN2): Likewise.
36358         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
36359         * sysdeps/x86_64/configure: Regenerated.
36360
36361 2012-08-14  Roland McGrath  <roland@hack.frob.com>
36362
36363         * elf/dl-open.c: Include <atomic.h>.
36364         * elf/dl-lookup.c: Likewise.
36365
36366 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
36367
36368         * sysdeps/unix/sysv/linux/kernel-features.h
36369         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
36370         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
36371         unconditionally.
36372         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
36373         unconditionally.
36374         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
36375         condition on __ASSUME_CLONE_THREAD_FLAGS.
36376
36377 2012-08-14  Andreas Jaeger  <aj@suse.de>
36378
36379         * sysdeps/i386/fpu/libm-test-ulps: Update.
36380
36381 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
36382
36383         * include/atomic.h (atomic_exchange_and_add): Split into ...
36384         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
36385         New atomic macros.
36386
36387 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
36388
36389         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
36390
36391 2012-08-13  Jeff Law <law@redhat.com>
36392
36393         * manual/stdio.texi (snprintf): Clarify handling of the trailing
36394         null byte in the output string.
36395
36396 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
36397
36398         * sysdeps/unix/sysv/linux/kernel-features.h
36399         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
36400         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
36401         (__ASSUME_ARG_MAX_STACK_BASED): Define.
36402         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
36403         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
36404         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
36405         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
36406
36407 2012-08-09  Jeff Law <law@redhat.com>
36408
36409         [BZ #13939]
36410         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
36411         When avoid_arena is set, don't retry in the that arena.  Pick the
36412         next one, whatever it might be.
36413         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
36414         (arena_lock): Pass in new parameter to arena_get2.
36415         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
36416         arena_get2.
36417         (__libc_malloc): Unify retrying after main arena failure with
36418         __libc_memalign version.
36419         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
36420
36421 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
36422
36423         [BZ #14166]
36424         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
36425         to __redirect_strstr.
36426         (__strstr_sse42): Use typeof __redirect_strstr.
36427         (__strstr_ia32): Likewise.
36428         (__libc_strstr): New prototype.
36429         (strstr): Renamed to ...
36430         (__libc_strstr): This.
36431         (strstr): New strong alias of __libc_strstr.
36432         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
36433         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
36434         __redirect_time.
36435         Include <time.h>.
36436         (__libc_time): New prototype.
36437         (time_ifunc): Replace time with __libc_time.
36438         (time): New strong alias and hidden definition of __libc_time.
36439         (__GI_time): Remove strong alias.
36440         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
36441         Include <stddef.h>.
36442         (memmove): Redefined to __redirect_memmove.
36443         (__memmove_sse2): Use typeof __redirect_memmove.
36444         (__memmove_ssse3): Likewise.
36445         (__memmove_ssse3_back): Likewise.
36446         (__libc_memmove): New prototype.
36447         (memmove): Renamed to ...
36448         (__libc_memmove): This.
36449         (memmove): New strong alias of __libc_memmove.
36450
36451 2012-08-08  Mark Salter  <msalter@redhat.com>
36452
36453         * elf/elf.h
36454         (R_MN10300_TLS_GD): Define.
36455         (R_MN10300_TLS_LD): Likewise.
36456         (R_MN10300_TLS_LDO): Likewise.
36457         (R_MN10300_TLS_GOTIE): Likewise.
36458         (R_MN10300_TLS_IE): Likewise.
36459         (R_MN10300_TLS_LE): Likewise.
36460         (R_MN10300_TLS_DTPMOD): Likewise.
36461         (R_MN10300_TLS_DTPOFF): Likewise.
36462         (R_MN10300_TLS_TPOFF): Likewise.
36463         (R_MN10300_SYM_DIFF): Likewise.
36464         (R_MN10300_ALIGN): Likewise.
36465         (R_MN10300_NUM): Update.
36466
36467 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
36468
36469         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
36470         Remove.
36471
36472 2012-08-08  Roland McGrath  <roland@hack.frob.com>
36473
36474         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
36475
36476         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
36477         sysdeps/unix -> sysdeps/posix move.
36478         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
36479
36480 2012-08-07      Allan McRae     <allan@archlinux.org>
36481
36482         [BZ #14303]
36483         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
36484         (SUNOS_CPP): Likewise.
36485         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
36486         not found.
36487         (open_input): Call CPP using execvp.
36488
36489 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
36490
36491         * sysdeps/unix/sysv/linux/kernel-features.h
36492         (__ASSUME_PROT_GROWSUPDOWN): Remove.
36493         (__ASSUME_NO_CLONE_DETACHED): Likewise.
36494         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
36495         (__ASSUME_WAITID_SYSCALL): Likewise.
36496         * sysdeps/unix/sysv/linux/dl-execstack.c
36497         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
36498         code unconditional.
36499         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
36500         conditional code.
36501         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
36502         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
36503         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
36504         code.
36505         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
36506         unconditional.
36507         [__ASSUME_WAITID_SYSCALL]: Likewise.
36508         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
36509
36510 2012-08-07  Roland McGrath  <roland@hack.frob.com>
36511
36512         * sysdeps/unix/closedir.c: Renamed to ...
36513         * sysdeps/posix/closedir.c: ... here.
36514         * sysdeps/unix/dirfd.c: Renamed to ...
36515         * sysdeps/posix/dirfd.c: ... here.
36516         * sysdeps/unix/dirstream.h: Renamed to ...
36517         * sysdeps/posix/dirstream.h: ... here.
36518         * sysdeps/unix/fdopendir.c: Renamed to ...
36519         * sysdeps/posix/fdopendir.c: ... here.
36520         * sysdeps/unix/opendir.c: Renamed to ...
36521         * sysdeps/posix/opendir.c: ... here.
36522         * sysdeps/unix/readdir.c: Renamed to ...
36523         * sysdeps/posix/readdir.c: ... here.
36524         * sysdeps/unix/readdir_r.c: Renamed to ...
36525         * sysdeps/posix/readdir_r.c: ... here.
36526         * sysdeps/unix/rewinddir.c: Renamed to ...
36527         * sysdeps/posix/rewinddir.c: ... here.
36528         * sysdeps/unix/seekdir.c: Renamed to ...
36529         * sysdeps/posix/seekdir.c: ... here.
36530         * sysdeps/unix/telldir.c: Renamed to ...
36531         * sysdeps/posix/telldir.c: ... here.
36532         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
36533         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
36534         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
36535         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
36536
36537         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
36538         * bits/fcntl.h: ... here.
36539
36540         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
36541         not 0.
36542         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
36543         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
36544         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
36545         (struct flock): Move l_start, l_len to the beginning.
36546         Use __pid_t for l_pid.
36547         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
36548         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
36549         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
36550         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
36551         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
36552         [__USE_LARGEFILE64] (struct flock64): New type.
36553         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
36554
36555         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
36556         * bits/dirent.h: ... here.
36557
36558         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
36559         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
36560
36561 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
36562
36563         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
36564         Change from 2.6.0 to 2.6.16.
36565         * sysdeps/unix/sysv/linux/configure: Regenerated.
36566         * sysdeps/unix/sysv/linux/kernel-features.h
36567         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
36568         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
36569         version.
36570         (__ASSUME_UTIMES): Likewise.
36571         (__ASSUME_CLONE_STOPPED): Remove.
36572         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
36573         architectures, not kernel version.
36574         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
36575         (__ASSUME_NO_CLONE_DETACHED): Likewise.
36576         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
36577         (__ASSUME_WAITID_SYSCALL): Likewise.
36578         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
36579         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
36580         * README: State 2.6.16 as minimum Linux kernel version.  Do not
36581         refer to older versions.
36582
36583 2012-08-06  Roland McGrath  <roland@hack.frob.com>
36584
36585         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
36586         Define alphasort64 as an alias.
36587         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
36588         Define versionsort64 as an alias.
36589         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
36590         Define scandir64 as an alias.
36591         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
36592         Define scandirat64 as an alias.
36593         * dirent/alphasort64.c (alphasort64):
36594         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
36595         * dirent/versionsort64.c: Likewise.
36596         * dirent/scandir64.c: Likewise.
36597         * dirent/scandirat64.c: Likewise.
36598         * sysdeps/wordsize-64/alphasort.c: File removed.
36599         * sysdeps/wordsize-64/alphasort64.c: File removed.
36600         * sysdeps/wordsize-64/scandir.c: File removed.
36601         * sysdeps/wordsize-64/scandir64.c: File removed.
36602         * sysdeps/wordsize-64/scandirat.c: File removed.
36603         * sysdeps/wordsize-64/scandirat64.c: File removed.
36604         * sysdeps/wordsize-64/versionsort.c: File removed.
36605         * sysdeps/wordsize-64/versionsort64.c: File removed.
36606         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
36607         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
36608         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
36609         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
36610         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
36611         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
36612         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
36613         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
36614
36615         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
36616         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
36617         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
36618         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
36619         [defined __arch64__ || defined __sparcv9]
36620         (__INO_T_MATCHES_INO64_T): New macro.
36621         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
36622         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
36623         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
36624         * sysdeps/unix/sysv/linux/bits/dirent.h
36625         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
36626         (_DIRENT_MATCHES_DIRENT64): New macro.
36627
36628         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
36629         Define lockf64 as an alias.
36630         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
36631         Define fseeko64 as an alias.
36632         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
36633         Define ftello64 as an alias.
36634         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
36635         Define _IO_fgetpos64 and fgetpos64 as aliases.
36636         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
36637         Define _IO_fsetpos64 and fsetpos64 as aliases.
36638         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
36639         Conditionalize body on this.
36640         * libio/fseeko64.c: Likewise.
36641         * libio/ftello64.c: Likewise.
36642         * libio/iofgetpos64.c: Likewise.
36643         * libio/iofsetpos64.c: Likewise.
36644         * sysdeps/wordsize-64/lockf.c: File removed.
36645         * sysdeps/wordsize-64/lockf64.c: File removed.
36646         * sysdeps/wordsize-64/fseeko.c: File removed.
36647         * sysdeps/wordsize-64/fseeko64.c: File removed.
36648         * sysdeps/wordsize-64/ftello.c: File removed.
36649         * sysdeps/wordsize-64/ftello64.c: File removed.
36650         * sysdeps/wordsize-64/iofgetpos.c: File removed.
36651         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
36652         * sysdeps/wordsize-64/iofsetpos.c: File removed.
36653         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
36654         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
36655         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
36656         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
36657         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
36658         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
36659         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
36660         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
36661         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
36662         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
36663         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
36664
36665         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
36666         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
36667         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
36668         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
36669         [defined __arch64__ || defined __sparcv9]
36670         (__OFF_T_MATCHES_OFF64_T): New macro.
36671         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
36672         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
36673         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
36674         (__OFF_T_MATCHES_OFF64_T): New macro.
36675
36676 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
36677
36678         * stdlib/secure-getenv.c (__secure_getenv): Replace
36679         GLIBC_2_16 with GLIBC_2_17.
36680
36681 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
36682
36683         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
36684         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
36685
36686 2012-08-03  David S. Miller  <davem@davemloft.net>
36687
36688         * sysdeps/sparc/fpu/libm-test-ulps: Update.
36689
36690 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
36691
36692         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
36693         Remove.
36694         (__ASSUME_CORRECT_SI_PID): Likewise.
36695         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
36696         (__ASSUME_TMPFS_NAME): Likewise.
36697         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
36698         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
36699         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
36700         (HAVE_AUX_SECURE): Make definition unconditional.
36701         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
36702         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
36703
36704 2012-08-03  Roland McGrath  <roland@hack.frob.com>
36705
36706         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
36707         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
36708         * sysdeps/mach/hurd/eloop-threshold.h: New file.
36709         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
36710         __eloop_threshold instead of SYMLOOP_MAX.
36711
36712         * sysdeps/generic/eloop-threshold.h: New file.
36713         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
36714         of MAXSYMLINKS.
36715         * elf/chroot_canon.c (chroot_canon): Likewise.
36716
36717 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
36718
36719         [BZ #13717]
36720         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
36721         Change to 2.6.0 everywhere.
36722         * sysdeps/unix/sysv/linux/configure: Regenerated.
36723         * sysdeps/unix/sysv/linux/kernel-features.h
36724         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
36725         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
36726         kernel versions.
36727         (__ASSUME_POSIX_TIMERS): Define unconditionally.
36728         (__ASSUME_FUTEX_REQUEUE): Remove.
36729         (__ASSUME_STATFS64): Define unconditionally.
36730         (__ASSUME_AT_SECURE): Likewise.
36731         (__ASSUME_CORRECT_SI_PID): Likewise.
36732         (__ASSUME_TGKILL): Define without depending on kernel version for
36733         i386.
36734         (__ASSUME_UTIMES): Likewise.
36735         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
36736         kernel version.
36737         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
36738         (__ASSUME_TMPFS_NAME): Likewise.
36739         * README: Update reference to Linux kernel versions.
36740
36741 2012-08-02  Marek Polacek  <polacek@redhat.com>
36742
36743         [BZ# 14150]
36744         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
36745         libc_cv_asm_type_prefix with %.
36746         * configure: Regenerated.
36747         * include/libc-symbols.h: Remove comment about
36748         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
36749         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
36750         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
36751         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
36752         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
36753         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
36754         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
36755         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
36756         * elf/tst-unique2mod1.c: Likewise.
36757         * elf/tst-unique1mod2.c: Likewise.
36758         * elf/tst-unique1mod1.c: Likewise.
36759         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
36760         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
36761         Replace ASM_TYPE_DIRECTIVE with .type.
36762         * sysdeps/s390/s390-64/sysdep.h: Likewise.
36763         * sysdeps/i386/sysdep.h: Likewise.
36764         * sysdeps/x86_64/sysdep.h: Likewise.
36765         * sysdeps/sh/sysdep.h: Likewise.
36766         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
36767         Do not define ASM_TYPE_DIRECTIVE.
36768         * sysdeps/powerpc/sysdep.h: Likewise.
36769         * sysdeps/powerpc/powerpc32/sysdep.h:
36770         Replace ASM_TYPE_DIRECTIVE with .type.
36771         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
36772         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
36773         * sysdeps/i386/fpu/e_powf.S: Likewise.
36774         * sysdeps/i386/fpu/e_expl.S: Likewise.
36775         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
36776         * sysdeps/i386/fpu/e_acosh.S: Likewise.
36777         * sysdeps/i386/fpu/e_pow.S: Likewise.
36778         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
36779         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
36780         * sysdeps/i386/fpu/s_expm1.S: Likewise.
36781         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
36782         * sysdeps/i386/fpu/e_log2.S: Likewise.
36783         * sysdeps/i386/fpu/e_log2l.S: Likewise.
36784         * sysdeps/i386/fpu/e_scalb.S: Likewise.
36785         * sysdeps/i386/fpu/e_powl.S: Likewise.
36786         * sysdeps/i386/fpu/e_log10f.S: Likewise.
36787         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
36788         * sysdeps/i386/fpu/e_logl.S: Likewise.
36789         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
36790         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
36791         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
36792         * sysdeps/i386/fpu/e_log2f.S: Likewise.
36793         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
36794         * sysdeps/i386/fpu/e_log.S: Likewise.
36795         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
36796         * sysdeps/i386/fpu/e_logf.S: Likewise.
36797         * sysdeps/i386/fpu/e_log10l.S: Likewise.
36798         * sysdeps/i386/fpu/e_atanh.S: Likewise.
36799         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
36800         * sysdeps/i386/fpu/e_log10.S: Likewise.
36801         * sysdeps/i386/fpu/s_frexp.S: Likewise.
36802         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
36803         * sysdeps/i386/fpu/s_asinh.S: Likewise.
36804         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
36805         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
36806         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
36807         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
36808         * sysdeps/i386/i686/strtok.S: Likewise.
36809         * sysdeps/i386/i386-mcount.S: Likewise.
36810         * sysdeps/i386/strtok.S: Likewise.
36811         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
36812         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
36813         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
36814         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
36815         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
36816         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
36817         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
36818         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
36819         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
36820         * sysdeps/x86_64/_mcount.S: Likewise.
36821         * sysdeps/x86_64/strtok.S: Likewise.
36822         * sysdeps/sh/_mcount.S: Likewise.
36823
36824 2012-08-01  Roland McGrath  <roland@hack.frob.com>
36825
36826         * libio/iofopen.c: Include <fcntl.h>.
36827         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
36828         (_IO_fopen64, fopen64): Define as aliases.
36829         * libio/iofopen64.c: Include <fcntl.h>.
36830         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
36831         Conditionalize body on this.
36832         * sysdeps/wordsize-64/iofopen.c: File removed.
36833         * sysdeps/wordsize-64/iofopen64.c: File removed.
36834
36835 2012-08-01  Marek Polacek  <polacek@redhat.com>
36836
36837         * libc/Makeconfig: Use elf in place of binfmt-subdir.
36838         Use dlfcn directly instead of a variable.
36839         (binfmt-subdir): Do not define.
36840         (dlfcn): Likewise.
36841
36842 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
36843
36844         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
36845         Remove all definitions.
36846         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
36847         <kernel-features.h>.
36848         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
36849         (miss_F_GETOWN_EX): Remove all definitions.
36850         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
36851         macro definition.
36852         [!__ASSUME_FCNTL64]: Remove conditional code.
36853         [__ASSUME_FCNTL64]: Make code unconditional.
36854         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
36855         <kernel-features.h>.
36856         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
36857         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
36858         (lockf64) [__NR_fcntl64]: Make code unconditional.
36859         (lockf64) [__ASSUME_FCNTL64]: Likewise.
36860
36861         * sysdeps/unix/sysv/linux/kernel-features.h
36862         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
36863         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
36864         Make code unconditional.
36865         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
36866         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
36867         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
36868         [__NR_vfork]: Make code unconditional.
36869         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
36870         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
36871         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
36872         [__NR_vfork]: Make code unconditional.
36873         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
36874         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
36875
36876 2012-08-01  Roland McGrath  <roland@hack.frob.com>
36877
36878         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
36879         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
36880
36881         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
36882         Define mkstemp64 as an alias.
36883         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
36884         Define mkstemps64 as an alias.
36885         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
36886         Define mkostemp64 as an alias.
36887         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
36888         Define mkostemps64 as an alias.
36889         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
36890         Conditionalize body on this.
36891         * misc/mkostemp64.c: Likewise.
36892         * misc/mkostemps64.c: Likewise.
36893         * misc/mkstemps64.c: Likewise.
36894         * sysdeps/wordsize-64/mkstemp64.c: File removed.
36895         * sysdeps/wordsize-64/mkostemp64.c: File removed.
36896         * sysdeps/wordsize-64/mkostemp.c: File removed.
36897         * sysdeps/wordsize-64/mkstemp.c: File removed.
36898         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
36899         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
36900         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
36901         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
36902
36903         [BZ #14138]
36904         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
36905         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
36906         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
36907         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
36908
36909         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
36910         compat_symbol macros from <shlib-compat.h> rather than the underlying
36911         default_symbol_version and symbol_version macros, so that DEFAULT
36912         lines in shlib-versions are respected.
36913         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
36914
36915 2012-08-01  Florian Weimer  <fweimer@redhat.com>
36916
36917         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
36918         Declare with warn_unused_result.
36919         (setgid, setregid, setegid, setresgid): Likewise.
36920         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
36921         Likewise.
36922         * WUR-REPORT: Remove set*id functions.
36923
36924 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
36925
36926         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
36927
36928 2012-07-31  Roland McGrath  <roland@hack.frob.com>
36929
36930         [BZ #10191]
36931         * include/sys/socket.h (__libc_accept, __libc_accept4):
36932         Add attribute_hidden.
36933         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
36934
36935         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
36936         use of PTR_MANGLE.
36937         * inet/getnetgrent_r.c (setup): Likewise.
36938
36939         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
36940
36941 2012-07-31  David S. Miller  <davem@davemloft.net>
36942
36943         * sysdeps/sparc/fpu/libm-test-ulps: Update.
36944
36945 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
36946
36947         [BZ #13629]
36948         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
36949         value between 1.0 and 2.0 and smaller part has absolute value less
36950         than 1.0.
36951         * math/s_clog10.c (__clog10): Likewise.
36952         * math/s_clog10f.c (__clog10f): Likewise.
36953         * math/s_clog10l.c (__clog10l): Likewise.
36954         * math/s_clogf.c (__clogf): Likewise.
36955         * math/s_clogl.c (__clogl): Likewise.
36956         * math/libm-test.inc (clog_test): Add more tests.
36957         (clog10_test): Likewise.
36958         * sysdeps/i386/fpu/libm-test-ulps: Update.
36959         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36960
36961 2012-07-31  Florian Weimer  <fweimer@redhat.com>
36962
36963         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
36964         Exit with zero in case no suitable GID is found, and write a
36965         message to standard error.
36966
36967 2012-07-30  Roland McGrath  <roland@hack.frob.com>
36968
36969         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
36970         rather than to 1.
36971         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
36972         (MAXPATHLEN): Removed.
36973         (NOGROUP, NODEV): New macros.
36974         (setbit, clrbit, isset, isclr): New macros.
36975         (howmany, roundup, powerof2): New macros.
36976         (DEV_BSIZE): New macro.
36977
36978         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
36979         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
36980
36981         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
36982         definition on [!__NO_LONG_DOUBLE_MATH].
36983
36984         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
36985         PTR_MANGLE and PTR_DEMANGLE.
36986
36987         * socket/accept4.c (accept4): Rename to __libc_accept4.
36988         Define accept4 as a weak alias.
36989
36990         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
36991         on [_DIRENT_HAVE_D_TYPE].
36992         * io/ftw.c (ftw_dir): Likewise.
36993
36994         * io/xmknod.c (__xmknod): Don't check PATH for being null.
36995
36996         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
36997
36998         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
36999         Use the BSD numbers rather than the arbitrary ones we had.
37000         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
37001         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
37002         (SIGXCPU, SIGXFSZ): New macros.
37003         (_NSIG): Now 32.
37004
37005         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
37006         initializer on [_LIBC_REENTRANT].
37007
37008         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
37009         definitions inside [_POSIX_MAPPED_FILES].
37010
37011         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
37012
37013         * dirent/opendir.c: Include <fcntl.h>.
37014
37015         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
37016         (__libc_getspecific): Likewise.
37017         (__libc_key_create): Likewise.
37018
37019         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
37020         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
37021         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
37022         (tmpfile64): Define as alias.
37023         * sysdeps/wordsize-64/tmpfile.c: File removed.
37024         * sysdeps/wordsize-64/tmpfile64.c: File removed.
37025         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
37026         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
37027
37028         * stdio-common/vfscanf.c: Include <stdbool.h>.
37029         * nss/makedb.c: Likewise.
37030         * stdio-common/_i18n_number.h: Likewise.
37031         * argp/argp-help.c: Likewise.
37032         * posix/wordexp.c: Likewise.
37033         * sysdeps/posix/spawni.c: Likewise.
37034         * nss/nss_files/files-initgroups.c: Likewise.
37035         * stdio-common/reg-modifier.c: Include <stdlib.h>.
37036         * nss/nss_files/files-initgroups.c: Likewise.
37037         * nss/nss_db/db-netgrp.c: Likewise.
37038         * nss/nss_db/db-initgroups.c: Likewise.
37039         * io/fchmodat.c: Include <sys/stat.h>.
37040
37041         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
37042         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
37043
37044         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
37045         [HAVE_MMAP].
37046
37047         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
37048         Add multiple inclusion protection.
37049
37050 2012-07-27  David S. Miller  <davem@davemloft.net>
37051
37052         * sysdeps/sparc/fpu/libm-test-ulps: Update.
37053
37054 2012-07-27  Gary Benson  <gbenson@redhat.com>
37055
37056         [BZ #14298]
37057         * elf/rtld.c: Include <stap-probe.h>.
37058         (dl_main): Added static probes "init_start" and "init_complete".
37059         * elf/dl-load.c: Include <stap-probe.h>.
37060         (lose): Take new parameter "nsid".
37061         Added static probe "map_failed".
37062         (_dl_map_object_from_fd): Pass namespace id to lose.
37063         Added static probe "map_start".
37064         (open_verify): Pass namespace id to lose.
37065         * elf/dl-open.c: Include <stap-probe.h>.
37066         (dl_open_worker) Added static probes "map_complete", "reloc_start"
37067         and "reloc_complete".
37068         * elf/dl-close.c: Include <stap-probe.h>.
37069         (_dl_close_worker): Added static probes "unmap_start" and
37070         "unmap_complete".
37071         * elf/rtld-debugger-interface.txt: New file documenting the above.
37072
37073 2012-07-26  Roland McGrath  <roland@hack.frob.com>
37074
37075         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
37076         rather than a string variable.
37077         * sunrpc/rpc_main.c (h_output): Likewise.
37078         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
37079
37080 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
37081
37082         * inet/check_native.c: New file.
37083
37084 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
37085
37086         [BZ #13629]
37087         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
37088         if larger part has absolute value 1.0.
37089         * math/s_clog10.c (__clog10): Likewise.
37090         * math/s_clog10f.c (__clog10f): Likewise.
37091         * math/s_clog10l.c (__clog10l): Likewise.
37092         * math/s_clogf.c (__clogf): Likewise.
37093         * math/s_clogl.c (__clogl): Likewise.
37094         * math/libm-test.inc (clog_test): Add more tests.
37095         (clog10_test): Likewise.
37096         * sysdeps/i386/fpu/libm-test-ulps: Update.
37097         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37098
37099         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
37100         (pltexit): Likewise.
37101         (La_regs): Likewise.
37102         (La_retval): Likewise.
37103         (int_retval): Likewise.
37104         Update #error for removed macros to refer only to definitions in
37105         tst-audit.h.
37106         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
37107         macro.
37108         (pltexit): Likewise.
37109         (La_regs): Likewise.
37110         (La_retval): Likewise.
37111         (int_retval): Likewise.
37112         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
37113         macro.
37114         (pltexit): Likewise.
37115         (La_regs): Likewise.
37116         (La_retval): Likewise.
37117         (int_retval): Likewise.
37118         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
37119         macro.
37120         (pltexit): Likewise.
37121         (La_regs): Likewise.
37122         (La_retval): Likewise.
37123         (int_retval): Likewise.
37124         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
37125         macro.
37126         (pltexit): Likewise.
37127         (La_regs): Likewise.
37128         (La_retval): Likewise.
37129         (int_retval): Likewise.
37130         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
37131         macro.
37132         (pltexit): Likewise.
37133         (La_regs): Likewise.
37134         (La_retval): Likewise.
37135         (int_retval): Likewise.
37136         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
37137         macro.
37138         (pltexit): Likewise.
37139         (La_regs): Likewise.
37140         (La_retval): Likewise.
37141         (int_retval): Likewise.
37142         * sysdeps/generic/tst-audit.h: Update comment to refer only to
37143         macro definitions in tst-audit.h.
37144         * sysdeps/i386/tst-audit.h: New file.
37145         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
37146         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
37147         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
37148         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
37149         * sysdeps/sh/tst-audit.h: Likewise.
37150         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
37151         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
37152         * sysdeps/x86_64/tst-audit.h: Likewise.
37153
37154 2012-07-26  Andreas Jaeger  <aj@suse.de>
37155
37156         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
37157         ptrace.
37158
37159         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
37160         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
37161         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
37162         PTRACE_O_MASK.
37163         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
37164         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
37165         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
37166
37167         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
37168         value.
37169
37170         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
37171         _sigsys.
37172         (si_call_addr, si_syscall, si_arch): Define new macro.
37173         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
37174         _sigsys.
37175         (si_call_addr, si_syscall, si_arch): Define new marcro.
37176         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
37177         _sigsys.
37178         (si_call_addr, si_syscall, si_arch): Define new macro.
37179         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
37180         _sigsys.
37181         (si_call_addr, si_syscall, si_arch): Define new macro.
37182
37183 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
37184
37185         [BZ #13717]
37186         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
37187         Change to 2.4.21 where previously 2.4.1.
37188         * sysdeps/unix/sysv/linux/configure: Regenerated.
37189         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
37190         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
37191         Linux kernel version.
37192         (__ASSUME_STD_AUXV): Remove.
37193         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
37194         kernel version.
37195         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
37196         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
37197         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
37198         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
37199         (__ASSUME_NETLINK_SUPPORT): Likewise.
37200         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
37201         (__no_netlink_support): Remove conditional definition.
37202         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
37203         Remove.
37204         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
37205         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
37206         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
37207         (if_nameindex_ioctl): Remove.
37208         (if_nameindex_netlink): Do not handle __no_netlink_support.
37209         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
37210         code.
37211         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
37212         Remove conditional code.
37213         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
37214         code.
37215         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
37216         unconditional.
37217         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
37218         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
37219         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
37220         Remove.
37221         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
37222         [!__ASSUME_STD_AUXV]: Remove conditional code.
37223         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
37224         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
37225         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
37226         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
37227         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
37228         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
37229         code.
37230         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
37231         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
37232         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
37233         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
37234         conditional code.
37235         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
37236         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
37237         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
37238         code.
37239         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
37240         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
37241         conditional code.
37242         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
37243         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
37244         code unconditional.
37245         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
37246         conditional code.
37247         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
37248         unconditional.
37249         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
37250         conditional code.
37251         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
37252         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
37253         unconditional.
37254         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
37255         conditional code.
37256         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
37257         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
37258         code unconditional.
37259         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
37260         conditional code.
37261         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
37262         unconditional.
37263         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
37264         conditional code.
37265         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
37266         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
37267         code unconditional.
37268         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
37269         conditional code.
37270         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
37271         unconditional.
37272         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
37273         conditional code.
37274
37275 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
37276
37277         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
37278         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
37279         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
37280         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
37281         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
37282         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
37283         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
37284         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
37285         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
37286         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
37287         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
37288         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
37289         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
37290         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
37291         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
37292         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
37293         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
37294         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
37295         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
37296         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
37297         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
37298         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
37299         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
37300
37301 2012-07-25  Florian Weimer  <fweimer@redhat.com>
37302
37303         * Versions.def: Add GLIBC_2.17.
37304         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
37305         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
37306         Introduce __libc_secure_getenv.
37307         * stdlib/Versions (2.17): Add secure_getenv
37308         (GLIBC_PRIVATE): Add __libc_secure_getenv.
37309         * stdlib/secure-getenv.c: Rename __secure_getenv to
37310         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
37311         symbol __secure_getenv for GLIBC_2.0.
37312         * stdlib/tst-secure-getenv.c: New.
37313         * stdlib/Makefile (tests): Add testcase.
37314         * manual/startup.texi (Environment Access): Document
37315         secure_getenv.
37316         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
37317         __libc_secure_getenv.
37318         * inet/ruserpass.c (ruserpass): Likewise.
37319         * malloc/mtrace.c (mtrace): Likewise.
37320         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
37321         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
37322         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
37323         * sysdeps/posix/tempname.c: Likewise.  Evaluate
37324         HAVE_SECURE_GETENV.
37325         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
37326         __secure_getenv to __libc_secure_getenv.
37327         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
37328         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
37329         Likewise.
37330         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
37331         Likewise.
37332         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
37333         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
37334         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
37335         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
37336         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
37337         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
37338         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
37339
37340 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
37341
37342         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
37343         (struct La_i86_retval): Likewise.
37344         (struct La_x86_64_regs): Likewise.
37345         (struct La_x86_64_retval): Likewise.
37346         (struct La_x32_regs): Likewise.
37347         (struct La_x32_retval): Likewise.
37348         (struct La_ppc32_regs): Likewise.
37349         (struct La_ppc32_retval): Likewise.
37350         (struct La_ppc64_regs): Likewise.
37351         (struct La_ppc64_retval): Likewise.
37352         (struct La_sh_regs): Likewise.
37353         (struct La_sh_retval): Likewise.
37354         (struct La_s390_32_regs): Likewise.
37355         (struct La_s390_32_retval): Likewise.
37356         (struct La_s390_64_regs): Likewise.
37357         (struct La_s390_64_retval): Likewise.
37358         (struct La_sparc32_regs): Likewise.
37359         (struct La_sparc32_retval): Likewise.
37360         (struct La_sparc64_regs): Likewise.
37361         (struct La_sparc64_retval): Likewise.
37362         (struct audit_ifaces): Remove architecture-specific pltenter and
37363         pltexit members.
37364         * sysdeps/i386/ldsodefs.h: New file.
37365         * sysdeps/powerpc/ldsodefs.h: Likewise.
37366         * sysdeps/s390/ldsodefs.h: Likewise.
37367         * sysdeps/sh/ldsodefs.h: Likewise.
37368         * sysdeps/sparc/ldsodefs.h: Likewise.
37369         * sysdeps/x86_64/ldsodefs.h: Likewise.
37370
37371 2012-07-25  Marek Polacek  <polacek@redhat.com>
37372
37373         [BZ #6808]
37374         * math/libm-test.inc (yn_test): Add another test.
37375         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
37376         to ERANGE when the result is +-Inf.
37377         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
37378         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
37379         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
37380         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
37381
37382 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
37383
37384         * conform/data/time.h-data (NULL): Use macro-constant.  Require
37385         equal to 0.
37386         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
37387         clock_t.
37388         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
37389
37390 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
37391
37392         * configure.in <sysdeps resolving>: Correct printing
37393         Implies_before.
37394         * configure: Regenerate.
37395
37396 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
37397
37398         * math/w_ilogb.c: Include <limits.h>.
37399         * math/w_ilogbl.c: Likewise.
37400
37401 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
37402
37403         * manual/lang.texi (__va_copy): Document primarily as ISO C99
37404         va_copy.  Document allowing for unavailable va_copy only as
37405         pre-C99 compatibility.
37406         * manual/string.texi (Copying and Concatenation): Use va_copy
37407         instead of __va_copy in concat example.
37408
37409 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
37410
37411         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
37412         (__sendto): Use create_address_port.  Initialize APORT and deallocate
37413         it if not null.
37414
37415         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
37416         with O_NOLINK passed to __file_name_lookup.
37417
37418         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
37419         with O_NOLINK passed to __file_name_lookup.
37420
37421         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
37422         negative N or less than NGIDS.
37423
37424         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
37425         type to string_t.  Set ERANGE as errno and return it if NAME is not big
37426         enough.  Use memcpy instead of strncpy.
37427
37428 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
37429
37430         * elf/Makefile (check-data): Remove.
37431         (localplt.data): New vpath directive.
37432         ($(objpfx)check-localplt.out): Use localplt.data from vpath
37433         instead of $(check-data).
37434         * scripts/data/localplt-generic.data: Move to ...
37435         * sysdeps/generic/localplt.data: ... here.
37436         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
37437         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
37438         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
37439         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
37440         ... here.
37441         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
37442         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
37443         ... here.
37444         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
37445         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
37446         ... here.
37447         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
37448         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
37449         ... here.
37450         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
37451         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
37452         ... here.
37453         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
37454         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
37455         ... here.
37456
37457 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37458
37459         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
37460         PPC32 and PPC64 files.
37461         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
37462         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
37463
37464 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
37465
37466         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
37467         __makecontext_ret to ...
37468         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
37469         ... here and call exit if uc_link is NULL.  New file.
37470         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
37471         __makecontext_ret.S.
37472         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
37473         __makecontext_ret to ...
37474         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
37475         ... here and call exit if uc_link is NULL.  New file.
37476         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
37477         __makecontext_ret.S.
37478
37479 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
37480
37481         * elf/elf.h (R_390_IRELATIVE): New definition.
37482         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
37483         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
37484         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
37485         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
37486         (elf_machine_lazy_rel): Likewise.
37487         * sysdeps/s390/dl-irel.h: New file.
37488         * sysdeps/s390/s390-64/memcpy.S: New asm code.
37489         * sysdeps/s390/s390-64/memset.S: New asm code.
37490         * sysdeps/s390/s390-64/memcmp.S: New asm code.
37491         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
37492         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
37493         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
37494         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
37495         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
37496         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
37497         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
37498         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
37499         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
37500         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
37501         * sysdeps/s390/s390-32/memcpy.S: New asm code.
37502         * sysdeps/s390/s390-32/memset.S: New asm code.
37503         * sysdeps/s390/s390-32/memcmp.S: New asm code.
37504
37505 2012-07-17  Marek Polacek  <polacek@redhat.com>
37506
37507         [BZ #14349]
37508         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
37509         * sysdeps/s390/s390-64/configure.in: Likewise.
37510         * sysdeps/sparc/configure.in: Likewise.
37511         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
37512         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
37513         * sysdeps/i386/configure.in: Likewise.
37514         * sysdeps/x86_64/configure.in: Likewise.
37515         * sysdeps/sh/configure.in: Likewise.
37516         * sysdeps/s390/s390-32/configure: Regenerated.
37517         * sysdeps/s390/s390-64/configure: Likewise.
37518         * sysdeps/x86_64/configure: Likewise.
37519         * sysdeps/sh/configure: Likewise.
37520         * sysdeps/powerpc/powerpc64/configure: Likewise.
37521         * sysdeps/powerpc/powerpc32/configure: Likewise.
37522         * sysdeps/sparc/configure: Likwise.
37523         * sysdeps/i386/configure: Likewise.
37524
37525         * elf/dl-open.c: Comment fixes.
37526
37527 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
37528
37529         * Makefile [CXX] (check-data): Remove.
37530         [CXX] (c++-types.data): New vpath directive.
37531         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
37532         vpath.  Do not allow for C++ type data being missing.
37533         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
37534         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
37535         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
37536         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
37537         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
37538         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
37539         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
37540         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
37541         ... here.
37542         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
37543         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
37544         ... here.
37545         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
37546         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
37547         ... here.
37548         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
37549         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
37550         ... here.
37551         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
37552         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
37553         ... here.
37554         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
37555         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
37556         ... here.
37557         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
37558         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
37559         ... here.
37560         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
37561         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
37562
37563         * elf/tls-macros.h (TLS_LE): Move architecture-specific
37564         definitions to architecture-specific files.
37565         (TLS_IE): Likewise.
37566         (TLS_LD): Likewise.
37567         (TLS_GD): Likewise.
37568         * sysdeps/i386/tls-macros.h: New file.
37569         * sysdeps/powerpc/tls-macros.h: Likewise.
37570         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
37571         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
37572         * sysdeps/sh/tls-macros.h: Likewise.
37573         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
37574         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
37575         * sysdeps/x86_64/tls-macros.h: Likewise.
37576
37577 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
37578
37579         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
37580         zero value for regular exit case.
37581
37582         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
37583         (__start_context): Preserve zero value for regular exit case.
37584
37585 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
37586             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
37587
37588         * manual/setjmp.texi (setcontext): Clarify normal process
37589         termination when uc_link is the null pointer.
37590         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
37591         exit call.
37592
37593 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
37594
37595         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
37596         preprocessor.  Test for each exception mask separately.
37597
37598 2012-07-16  Andreas Jaeger  <aj@suse.de>
37599
37600         * po/ru.po: Update from translation team.
37601
37602 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
37603
37604         * conform/data/string.h-data (NULL): Use macro-constant.  Require
37605         equal to 0.
37606         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
37607         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
37608         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
37609         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
37610         [ISO || ISO99 || ISO11] (*_t): Do not allow.
37611
37612 2012-07-13  Andreas Jaeger  <aj@suse.de>
37613
37614         * po/fr.po: Update from translation team.
37615
37616 2012-07-12  Marek Polacek  <polacek@redhat.com>
37617
37618         [BZ #14173]
37619         * math/libm-test.inc (yn_test): Add test for BZ #14173.
37620         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
37621         loop condition.
37622
37623 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
37624
37625         [BZ #13717]
37626         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
37627         Change to 2.4.1 where previously 2.4.0.
37628         * sysdeps/unix/sysv/linux/configure: Regenerated.
37629         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
37630         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
37631         version.
37632         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
37633         (__ASSUME_AT_CLKTCK): Remove.
37634         (__ASSUME_AT_PAGESIZE): Likewise.
37635         (__ASSUME_AT_XID): Likewise.
37636         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
37637         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
37638         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
37639         unconditionally.
37640         (HAVE_AUX_PAGESIZE): Likewise.
37641         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
37642         [__ASSUME_AT_CLKTCK]: Make code unconditional.
37643         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
37644
37645 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
37646
37647         [BZ #14307]
37648         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
37649         the temporary buffer used to invoke __gethostbyname2_r,
37650         __gethostbyaddr_r and gethostbyname4_r to make room for struct
37651         host_data / struct gaih_addrtuple.
37652         * resolv/nss_dns/dns-host.c (global scope): Move definition of
37653         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
37654         header file nss/nsswitch.h.
37655         * nss/nsswitch.h (global scope): Add definition of implementation
37656         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
37657         resolv/nss_dns/dns-host.c).
37658
37659 2012-07-11  Andreas Jaeger  <aj@suse.de>
37660
37661         * po/fr.po: Update from translation team.
37662
37663         * po/sv.po: Update from translation team
37664         * po/fr.po: Another update from translation team.
37665
37666 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37667
37668         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
37669         for subnormals or multiply small sinh result by itself.
37670         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
37671         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37672
37673 2012-07-11  David S. Miller  <davem@davemloft.net>
37674
37675         * sysdeps/sparc/fpu/libm-test-ulps: Update.
37676
37677 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
37678
37679         [BZ #14347]
37680         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
37681         (INTERNAL_MARK): Shift it here.
37682
37683 2012-07-10  Marek Polacek  <polacek@redhat.com>
37684
37685         [BZ #14151]
37686         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
37687         libc_cv_asm_global_directive with .globl.
37688         * configure: Regenerated.
37689         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
37690         with .globl.
37691         * sysdeps/i386/configure: Regenerated.
37692         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
37693         with .globl.
37694         * sysdeps/x86_64/configure: Regenerated.
37695         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
37696         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
37697         * elf/tst-unique2mod2.c: Likewise.
37698         * elf/tst-unique2mod1.c: Likewise.
37699         * elf/tst-unique1mod2.c: Likewise.
37700         * elf/tst-unique1mod1.c: Likewise.
37701         * sysdeps/s390/s390-32/sysdep.h: Likewise.
37702         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
37703         * sysdeps/s390/s390-64/sysdep.h: Likewise.
37704         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
37705         * sysdeps/mach/sysdep.h: Likewise.
37706         * sysdeps/i386/sysdep.h: Likewise.
37707         * sysdeps/i386/i386-mcount.S: Likewise.
37708         * sysdeps/x86_64/_mcount.S: Likewise.
37709         * sysdeps/x86_64/sysdep.h: Likewise.
37710         * sysdeps/sh/_mcount.S: Likewise.
37711         * sysdeps/sh/sysdep.h: Likewise.
37712         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
37713         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
37714         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
37715         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
37716         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
37717         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
37718         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
37719         * locale/localeinfo.h: Likewise.
37720         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
37721         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
37722
37723 2012-07-09  Roland McGrath  <roland@hack.frob.com>
37724
37725         [BZ #14336]
37726         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
37727         system".
37728         * manual/message.texi (The Uniforum approach): Likewise.
37729         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
37730         (glibc iconv Implementation): Likewise.
37731
37732 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
37733
37734         [BZ #14337]
37735         * math/s_clog.c (__clog): Avoid scaling a value down where that
37736         could result in underflow.
37737         * math/s_clog10.c (__clog10): Likewise.
37738         * math/s_clog10f.c (__clog10f): Likewise.
37739         * math/s_clog10l.c (__clog10l): Likewise.
37740         * math/s_clogf.c (__clogf): Likewise.
37741         * math/s_clogl.c (__clogl): Likewise.
37742         * math/libm-test.inc (clog_test): Add more tests.
37743         (clog10_test): Likewise.
37744         * sysdeps/i386/fpu/libm-test-ulps: Update.
37745         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37746
37747 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
37748
37749         [BZ #14283]
37750         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
37751         by 7 not 8 to examine high bit of fractional part.
37752
37753         [BZ #14042]
37754         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
37755         for call to __mcount_internal.
37756         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
37757         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
37758         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
37759
37760 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
37761
37762         [BZ #14154]
37763         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
37764         approximation for values within 0x1p-13f of an odd multiple of
37765         pi/4.
37766         * math/libm-test.inc (tan_test): Do not allow spurious underflow
37767         exception.  Add more tests.
37768         * sysdeps/i386/fpu/libm-test-ulps: Update.
37769
37770         [BZ #6778]
37771         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
37772         inputs and return -1 for them.  Do not check for +Inf in case not
37773         reachable for +Inf.
37774         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
37775         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
37776         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
37777         and return -1 for them.  Do not check for +Inf in case not
37778         reachable for +Inf.
37779         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
37780         define.
37781         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
37782         and return -1 for them.  Do not check for +Inf in case not
37783         reachable for +Inf.
37784         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
37785         spurious underflow.
37786         * sysdeps/i386/fpu/libm-test-ulps: Update.
37787         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37788
37789 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
37790
37791         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
37792
37793 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
37794
37795         [BZ #14157]
37796         [BZ #14331]
37797         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
37798         could result in spurious underflow.  Scale down values above
37799         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
37800         * math/s_csqrtf.c (__csqrtf): Likewise.
37801         * math/s_csqrtl.c (__csqrtl): Likewise.
37802         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
37803         spurious underflow.
37804         * sysdeps/i386/fpu/libm-test-ulps: Update.
37805         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37806
37807 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
37808
37809         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
37810         xopen-msg.sed.
37811         * catgets/xopen-msg.awk: New file.
37812         * catgets/xopen-msg.sed: Removed.
37813
37814         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
37815         po2text.sed.
37816         * intl/po2test.awk: New file.
37817         * intl/po2test.sed: Removed.
37818
37819 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
37820
37821         [BZ #14328]
37822         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
37823         or multiply small sinh result by itself.
37824         * math/s_ctanf.c (__ctanf): Likewise.
37825         * math/s_ctanh.c (__ctanh): Likewise.
37826         * math/s_ctanhf.c (__ctanhf): Likewise.
37827         * math/s_ctanhl.c (__ctanhl): Likewise.
37828         * math/s_ctanl.c (__ctanl): Likewise.
37829         * math/libm-test.inc (ctan_test_tonearest): New function.
37830         (ctan_test_towardzero): Likewise.
37831         (ctan_test_downward): Likewise.
37832         (ctan_test_upward): Likewise.
37833         (ctanh_test_tonearest): Likewise.
37834         (ctanh_test_towardzero): Likewise.
37835         (ctanh_test_downward): Likewise.
37836         (ctanh_test_upward): Likewise.
37837         (main): Call these new functions.
37838         * sysdeps/i386/fpu/libm-test-ulps: Update.
37839         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37840
37841 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
37842
37843         * .gitignore: Delete /ports entry.
37844
37845 2012-07-03  Andreas Jaeger  <aj@suse.de>
37846
37847         * po/bg.po: Update from translation team.
37848         * po/cs.po: Likewise.
37849         * po/de.po: Likewise.
37850         * po/hr.po: Likewise.
37851         * po/nl.pl: Likewise.
37852         * po/pl.po: Likewise.
37853         * po/vi.po: Likewise.
37854
37855 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
37856
37857         * Makeconfig [!+link] (+link-before-libc): New variable.
37858         [!+link] (+link-after-libc): Likewise.
37859         [!+link] (+link-tests): Likewise.
37860         [!+link] (+link): Define in terms of $(+link-before-libc) and
37861         $(+link-after-libc).
37862         [!+link-static] (+link-static-before-libc): New variable.
37863         [!+link-static] (+link-static-after-libc): Likewise.
37864         [!+link-static] (+link-static-tests): Likewise.
37865         [!+link-static] (+link-static): Define in terms of
37866         $(+link-static-before-libc) and $(+link-static-after-libc).
37867         [build-shared] (link-libc-before-gnulib): New variable.
37868         [build-shared] (link-libc-tests): Likewise.
37869         [build-shared] (link-libc): Define in terms of
37870         $(link-libc-before-gnulib).
37871         [!build-shared] (link-libc-tests): New variable.
37872         (link-libc-static-tests): New variable.
37873         [!gnulib] (gnulib-arch): New variable.
37874         [!gnulib] (gnulib-tests): Likewise.
37875         [!gnulib] (static-gnulib-arch): Likewise.
37876         [!gnulib] (static-gnulib-tests): Likewise.
37877         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
37878         Define with "=" instead of ":=".
37879         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
37880         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
37881         * Rules (binaries-all-notests): New variable.
37882         (binaries-all-tests): Likewise.
37883         (binaries-static-notests): Likewise.
37884         (binaries-static-tests): Likewise.
37885         (binaries-all): Define using $(binaries-all-notests) and
37886         $(binaries-all-tests).
37887         (binaries-static): Define using $(binaries-static-notests) and
37888         $(binaries-static-tests).
37889         (binaries-shared-tests): New variable.
37890         (binaries-shared-notests): Likewise.
37891         (binaries-shared): Remove variable.
37892         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
37893         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
37894         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
37895         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
37896         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
37897         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
37898         * elf/Makefile (sln-modules): New variable.
37899         (extra-objs): Add $(sln-modules:=.o).
37900         (ldconfig-modules): Add static-stubs.
37901         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
37902         * elf/static-stubs.c: New file.
37903
37904         [BZ #14283]
37905         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
37906         by 7 not 8 to examine high bit of fractional part.  Use volatile
37907         variables when splitting into final array of floats if
37908         __FLT_EVAL_METHOD__ != 0.
37909         * math/libm-test.inc (cos_test): Add another test.
37910         (sin_test): Likewise.
37911         * sysdeps/i386/fpu/libm-test-ulps: Update.
37912
37913         [BZ #14273]
37914         * math/libm-test.inc (cosh_test): Add more tests.
37915
37916         * version.h (RELEASE): Set to "development".
37917         (VERSION): Set to "2.16.90".
37918
37919 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
37920
37921         * NEWS: Update copyright. Remove last-updated date.
37922         Mention math library bug fixes and timezone data changes.
37923         * README: Mention GNU/Hurd, x32, and HPPA support status.
37924
37925 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
37926
37927         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
37928
37929 2012-06-27  Andreas Jaeger  <aj@suse.de>
37930
37931         * manual/contrib.texi (Contributors): Add Samuel Thibault.
37932
37933 2012-06-25  Andreas Jaeger  <aj@suse.de>
37934
37935         * sysdeps/s390/fpu/libm-test-ulps: Update.
37936
37937 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
37938             Thomas Schwinge  <thomas@codesourcery.com>
37939
37940         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
37941         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
37942         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
37943         fanotify_mark.
37944
37945 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
37946
37947         * sysdeps/mach/start.c: Remove file.
37948         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
37949         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
37950         * sysdeps/sh/init-first.c: Likewise.
37951
37952         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
37953         registers for frame unwinding purposes, add CFI directives.
37954         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
37955         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
37956         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
37957         Likewise.
37958
37959         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
37960         __fortify_fail returning.
37961         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
37962
37963         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
37964         sysdeps/sh/____longjmp_chk.S.
37965         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
37966         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
37967         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
37968         (gen-as-const-headers): Append sigaltstack-offsets.sym.
37969
37970         * sysdeps/sh/abort-instr.h: New file.
37971         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
37972         process in case exit returns.
37973
37974         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
37975         initialize the GOT register before use.
37976
37977         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
37978         calculation of ARGC > 4.
37979
37980         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
37981         meaningful names to some local labels.
37982
37983 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
37984             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
37985
37986         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
37987         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
37988         (__arch_compare_and_exchange_val_16_acq): Likewise.
37989         (__arch_compare_and_exchange_val_32_acq): Likewise.
37990         (atomic_exchange_and_add): Fix gUSA sequence.
37991         (atomic_add): Likewise.
37992         (atomic_add_negative): Likewise.
37993         (atomic_add_zero): Likewise.
37994         (atomic_bit_test_set): Likewise.
37995
37996 2012-06-22  Andreas Schwab  <schwab@redhat.com>
37997
37998         [BZ #13579]
37999         * include/link.h (struct link_map): Add l_free_initfini.
38000         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
38001         l_initfini.
38002         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
38003         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
38004         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
38005         set.
38006
38007 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
38008
38009         * configure.in: Use AC_LANG_SOURCE.
38010         * configure: Regenerate.
38011
38012 2012-06-22  Roland McGrath  <roland@hack.frob.com>
38013
38014         * configure.in (libc_cv_localstatedir): New substituted variable.
38015         * configure: Regenerated.
38016         * config.make.in (localstatedir): New variable, substituted from
38017         libc_cv_localstatedir.
38018         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
38019         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
38020         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
38021         * sysdeps/gnu/configure: Regenerated.
38022
38023 2012-06-21  Jeff Law  <law@redhat.com>
38024
38025         [BZ #14277]
38026         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
38027         free.  Simplify list management for _LIBC case.
38028
38029 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
38030
38031         [BZ #14273]
38032         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
38033         Clear sign bit of 64-bit integer value before comparing against
38034         overflow value.
38035
38036         * sysdeps/mach/configure: Regenerated.
38037
38038 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
38039
38040         [BZ #14278]
38041         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
38042
38043 2012-06-21  Jeff Law  <law@redhat.com>
38044
38045         [BZ #13882]
38046         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
38047         uint16_t for elements in the "seen" array to avoid char overflows.
38048         * elf/dl-fini.c (_dl_sort_fini): Likewise.
38049         * elf/dl-open.c (dl_open_worker): Likewise.
38050
38051 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
38052
38053         * scripts/list-sources.sh: Scan PORTS for translations.
38054         * po/libc.pot: Regenerated.
38055
38056 2012-06-21  Andreas Jaeger  <aj@suse.de>
38057
38058         [BZ #12194]
38059         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
38060         warning.
38061         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
38062         * bits/byteswap-16.h (__bswap_16): Likewise.
38063         * bits/byteswap.h (__bswap_constant_16): Likewise.
38064
38065 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
38066
38067         [BZ #14117]
38068         * sysdeps/i386/fpu_control.h: Removed.
38069         * sysdeps/x86_64/fpu_control.h: Moved to ...
38070         * sysdeps/x86/fpu_control.h: Here.
38071
38072         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
38073         (_FPU_SETCW): Likewise.
38074
38075 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
38076
38077         [BZ #14117]
38078         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
38079         * sysdeps/x86/fpu/bits/mathinline.h: This.
38080         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
38081
38082         [BZ #14050]
38083         [BZ #14117]
38084         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
38085         functions if __x86_64__ is defined.
38086
38087 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
38088
38089         * string/endian.h: Add !__ASSEMBLER__ condition for including
38090         conversion interfaces.
38091
38092 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
38093
38094         [BZ #14241]
38095         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
38096         of ABS(x) in calculating zero to negative powers other than odd
38097         integers.
38098         * math/libm-test.inc (pow_test): Add more tests.
38099
38100 2012-06-15  Andreas Jaeger  <aj@suse.de>
38101
38102         * manual/contrib.texi (Contributors): Update entry of Liubov
38103         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
38104         Machado Filho.
38105
38106 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
38107
38108         * string/string.h: Add __wur to GNU version of strerror_r.
38109
38110 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
38111
38112         [BZ #14229]
38113         * string/Makefile (tests): Add tst-strtok_r.
38114         * string/tst-strtok_r.c: New file.
38115         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
38116         RAX_LP/RDX_LP on SAVE_PTR.
38117
38118 2012-06-14  Roland McGrath  <roland@hack.frob.com>
38119
38120         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
38121
38122 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
38123
38124         * libm_test.inc (csqrt_test): Allow more spurious underflow
38125         exceptions.
38126         (j0_test): Likewise.
38127         (j1_test): Likewise.
38128         (y0_test): Likewise.
38129         (y1_test): Likewise.
38130
38131 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
38132
38133         * po/Makefile (libc.pot): Use UTF-8 charset.
38134
38135 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
38136
38137         [BZ #14210]
38138         Suppress sign-conversion warning from FD_SET.
38139         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
38140         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
38141         not unsigned long int.
38142         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
38143
38144 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
38145
38146         [BZ #14050]
38147         [BZ #14117]
38148         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
38149         __extern_always_inline instead of __extern_inline.
38150         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
38151         (__signbit): Likewise.
38152         (__signbitl): Support C++ namespace.
38153         (lrintf): New inline function.
38154         (lrint): Likewise.
38155         (llrintf): Likewise.
38156         (llrint): Likewise.
38157         (fmaxf): Likewise.
38158         (fmax): Likewise.
38159         (fminf): Likewise.
38160         (fmin): Likewise.
38161         (rint): Likewise.
38162         (rintf): Likewise.
38163         (ceil): Likewise.
38164         (ceilf): Likewise.
38165         (floor): Likewise.
38166         (floorf): Likewise.
38167         (nearbyint): Likewise.
38168         (nearbyintf): Likewise.
38169
38170 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
38171
38172         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
38173         non-default versions.
38174
38175 2012-06-11  Roland McGrath  <roland@hack.frob.com>
38176
38177         [BZ #14218]
38178         * manual/argp.texi (Argp): Reword argp_parse description slightly.
38179
38180 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
38181
38182         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
38183         (FE_UPWARD, FE_DOWNWARD): Don't define.
38184         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
38185         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
38186
38187         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
38188         reading it.
38189         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
38190         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
38191
38192 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
38193
38194         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
38195         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
38196         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
38197         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
38198
38199 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
38200
38201         [BZ #14117]
38202         * sysdeps/i386/fpu/bits/fenv.h: Removed.
38203         * sysdeps/i386/fpu/Implies: New file.
38204         * sysdeps/x86_64/fpu/Implies: Likewise.
38205         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
38206         * sysdeps/x86/fpu/bits/fenv.h: This.
38207
38208         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
38209         __SSE_MATH__.
38210
38211 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
38212
38213         [BZ #14134]
38214         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
38215         character 0xffff that matches the last element of the
38216         conversion table.
38217
38218 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38219
38220         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
38221         fmodl commit.
38222
38223 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38224
38225         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
38226         values higher than 25.6283.
38227
38228 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38229
38230         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
38231         subnormal exponent extraction and add some __builtin_expect.
38232         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
38233         Fix for subnormal mantissa calculation.
38234
38235 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
38236
38237         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
38238         cpu2 is -1 and errno is not ENOSYS.
38239
38240 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
38241
38242         [BZ #14117]
38243         * sysdeps/i386/i486/bits/string.h: Renamed to ...
38244         * sysdeps/x86/bits/string.h: This.
38245         * sysdeps/x86_64/bits/string.h: Removed.
38246
38247         * sysdeps/i386/i486/bits/string.h: Define inline functions only
38248         if not compiling for x86-64, but compiling for >= i486.
38249
38250         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
38251         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
38252
38253         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
38254         New macro from Linux kernel 3.4.0.
38255         (FP_XSTATE_MAGIC2): Likewise.
38256         (FP_XSTATE_MAGIC2_SIZE): Likewise.
38257         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
38258         (struct _fpx_sw_bytes): New struct.
38259         (struct _xsave_hdr): Likewise.
38260         (struct _ymmh_state): Likewise.
38261         (struct _xstate): Likewise.
38262
38263         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
38264         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
38265         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
38266         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
38267         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
38268         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
38269
38270         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
38271         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
38272         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
38273         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
38274         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
38275         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
38276
38277 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
38278
38279         [BZ #13743]
38280         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
38281         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
38282         (sysdep_headers): Include sys/platform/ppc.h.
38283         * sysdeps/powerpc/test-gettimebase.c: Test for
38284         __ppc_get_timebase() to catch future ISA opcode/insn changes.
38285         * manual/Makefile (appendices): Include platform.texi.
38286         * manual/contrib.texi (Contributors): Update @node pointers.
38287         * manual/maint.texi (Maintenance): Likewise.
38288         (Platform): New node.
38289         * manual/platform.texi: New file.  Document the new features.
38290
38291 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
38292             Jakub Jelinek  <jakub@redhat.com>
38293
38294         [BZ #14188]
38295         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
38296         where __builtin_expect is unavailable.
38297
38298 2012-06-03  David S. Miller  <davem@davemloft.net>
38299
38300         * stdlib/longlong.h: Updated from GCC.
38301
38302 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
38303
38304         [BZ #14042]
38305         * sysdeps/powerpc/powerpc32/mcount.c: New file.
38306         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
38307         __mcount_internal.
38308         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
38309         (GLIBC_2.16): Likewise.
38310
38311 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
38312
38313         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
38314
38315 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
38316
38317         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
38318         (default-abi): New variable.
38319         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
38320         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
38321         variable.
38322         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
38323         Likewise.
38324         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
38325         Likewise.
38326         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
38327         Likewise.
38328
38329         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
38330         definition.  Document in comment.
38331
38332 2012-06-01  David S. Miller  <davem@davemloft.net>
38333
38334         * stdlib/longlong.h: Updated from GCC.
38335
38336 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
38337
38338         [BZ #14117]
38339         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
38340         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
38341         sys/debugreg.h sys/io.h here.
38342         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
38343         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
38344         sys/io.h.
38345         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
38346         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
38347         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
38348         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
38349         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
38350         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
38351
38352         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
38353         Define only if __x86_64__ is defined.
38354
38355 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
38356
38357         [BZ #14048]
38358         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
38359         Use int64_t for variable i.
38360         * math/libm-test.inc (fmod_test): Add more tests.
38361
38362         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
38363         z computation is not scheduled after fetestexcept.
38364         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
38365         Use math_force_eval instead of asm to ensure calculation scheduled
38366         before exception test.
38367         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
38368         Ensure a1 + u.d computation is not scheduled after fetestexcept.
38369
38370 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
38371
38372         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
38373         computation is not scheduled after fetestexcept.
38374
38375 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
38376
38377         [BZ #14117]
38378         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
38379         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
38380
38381 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38382
38383         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
38384         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
38385
38386 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
38387
38388         [BZ #14117]
38389         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
38390         <bits/wordsize.h>.
38391         (__WCHAR_MIN): Support __WORDSIZE == 64.
38392         (__WCHAR_MAX): Likewise.
38393
38394         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
38395         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
38396
38397         [BZ #14183]
38398         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
38399         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
38400
38401         [BZ #14117]
38402         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
38403         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
38404
38405         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
38406         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
38407
38408         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
38409         Defined to 1 if __x86_64__ isn't defined.
38410         (_STAT_VER_LINUX_OLD): New.
38411         (st_atime): Remove duplicate.
38412         (st_mtime): Likewise.
38413         (st_ctime): Likewise.
38414
38415 2012-05-31  David S. Miller  <davem@davemloft.net>
38416
38417         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
38418         entries.
38419
38420 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
38421
38422         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
38423         gen-libm-test.pl.
38424
38425         [BZ #14132]
38426         * elf/dl-reloc.c: Include <_itoa.h>.
38427         (_dl_reloc_bad_type): Remove use of INTUSE.
38428         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
38429         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
38430         * stdio-common/psiginfo.c (psiginfo): Likewise.
38431         * stdio-common/psignal.c (psignal): Likewise.
38432         * string/strsignal.c (strsignal): Likewise.
38433         * include/signal.h (_sys_siglist): Declare hidden proto.
38434         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
38435         INTVARDEF with libc_hidden_data_def.
38436         * stdio-common/itoa-udigits.c: Likewise.
38437         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
38438         (_itoa_lower_digits_internal): Remove declaration.
38439         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
38440         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
38441         (_sys_sigabbrev_internal): Remove aliases.
38442         (_sys_siglist): Define hidden alias.
38443
38444 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
38445
38446         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
38447         bits/sysctl.h.
38448
38449 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
38450
38451         [BZ #14117]
38452         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
38453         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
38454
38455         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
38456         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
38457         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
38458         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
38459         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
38460         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
38461
38462         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
38463         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
38464         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
38465
38466         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
38467         with __addr.
38468         (insw): Likewise.
38469         (insl): Likewise.
38470         (outsb): Likewise.
38471         (outsw): Likewise.
38472         (outsl): Likewise.
38473
38474         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
38475         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
38476         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
38477
38478         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
38479         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
38480         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
38481         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
38482         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
38483         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
38484
38485         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
38486         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
38487
38488         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
38489         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
38490
38491         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
38492         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
38493         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
38494
38495         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
38496         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
38497         to ...
38498         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
38499
38500         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
38501         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
38502         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
38503
38504         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
38505         for x86-64.
38506         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
38507
38508 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
38509
38510         * math/math.h (M_El): Use two more decimal places.
38511         (M_LOG2El): Likewise.
38512         (M_LOG10El): Likewise.
38513         (M_LN2l): Likewise.
38514         (M_LN10l): Likewise.
38515         (M_PIl): Likewise.
38516         (M_PI_2l): Likewise.
38517         (M_PI_4l): Likewise.
38518         (M_1_PIl): Likewise.
38519         (M_2_PIl): Likewise.
38520         (M_2_SQRTPIl): Likewise.
38521         (M_SQRT2l): Likewise.
38522         (M_SQRT1_2l): Likewise.
38523
38524 2012-05-31  David S. Miller  <davem@davemloft.net>
38525
38526         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
38527         values between float registers.
38528         * sysdeps/sparc/sparc64/memset.S: Likewise.
38529         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
38530
38531 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
38532
38533         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
38534         -D_FORTIFY_SOURCE=1.
38535         (CPPFLAGS-tst-longjmp_chk.c): Define.
38536         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
38537         (CPPFLAGS-tst-longjmp_chk2.c): Define.
38538         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
38539         CFLAGS-tst-wchar-h.c.
38540
38541 2012-05-31  Marek Polacek  <polacek@redhat.com>
38542
38543         [BZ #14132]
38544         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
38545         __endmntent_internal): Remove declaration.
38546         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
38547         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
38548         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
38549
38550 2012-05-30  David S. Miller  <davem@davemloft.net>
38551
38552         * sysdeps/sparc/sparc32/soft-fp/q_util.c
38553         (___Q_simulate_exceptions): Use real FP ops rather than writing
38554         into the %fsr.
38555         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
38556         Likewise.
38557
38558 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
38559
38560         [BZ #14117]
38561         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
38562         * sysdeps/x86/bits/xtitypes.h: This.
38563
38564         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
38565         * sysdeps/x86/bits/wordsize.h: This.
38566
38567         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
38568         * sysdeps/x86/bits/huge_vall.h: This.
38569
38570         * sysdeps/i386/bits/select.h: Removed.
38571         * sysdeps/x86_64/bits/select.h: Renamed to ...
38572         * sysdeps/x86/bits/select.h: This.
38573
38574         * sysdeps/i386/bits/setjmp.h: Removed.
38575         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
38576         * sysdeps/x86/bits/setjmp.h: This.
38577
38578         * sysdeps/i386/bits/mathdef.h: Removed.
38579         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
38580         * sysdeps/x86/bits/mathdef.h: This.
38581
38582 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
38583
38584         [BZ #14132]
38585         * include/sys/socket.h (__connect_internal)
38586         (__libc_sa_len_internal): Remove declaration.
38587         (__connect, __libc_sa_len): Declare hidden_proto.
38588         (SA_LEN): Remove use of INTUSE.
38589         * socket/connect.c: Add libc_hidden_def.
38590         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
38591         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
38592         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
38593         alias.
38594         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
38595         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
38596         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
38597         of adding _internal alias.
38598
38599 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
38600
38601         [BZ #14117]
38602         * sysdeps/i386/bits/link.h: Removed.
38603         * sysdeps/i386/bits/linkmap.h: Likewise.
38604         * sysdeps/x86_64/bits/link.h: Renamed to ...
38605         * sysdeps/x86/bits/link.h: This.
38606         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
38607         * sysdeps/x86/bits/linkmap.h: This.
38608
38609         * sysdeps/i386/bits/endian.h: Removed.
38610         * sysdeps/x86_64/bits/endian.h: Renamed to ...
38611         * sysdeps/x86/bits/endian.h: This.
38612
38613         * sysdeps/i386/bits/byteswap.h: Removed.
38614         * sysdeps/i386/bits/byteswap-16.h: Likewise.
38615         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
38616         * sysdeps/x86/bits/byteswap.h: This.
38617         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
38618         * sysdeps/x86/bits/byteswap-16.h: This.
38619         * sysdeps/i386/Implies: Add x86.
38620         * sysdeps/x86_64/Implies: Likewise.
38621
38622 2012-05-30  David S. Miller  <davem@davemloft.net>
38623
38624         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
38625         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
38626         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
38627         (FP_TRAPPING_EXCEPTIONS): Define.
38628         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
38629         (FP_TRAPPING_EXCEPTIONS): Define.
38630         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
38631         subnormals only when inexact has been signalled or underflow
38632         exceptions are enabled.
38633         (_FP_PACK_CANONICAL): Likewise.
38634
38635 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
38636
38637         [BZ #14183]
38638         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
38639         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
38640
38641 2012-05-30  Richard Henderson  <rth@twiddle.net>
38642
38643         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
38644         with #ifndef NOT_IN_libc.
38645
38646         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
38647         marked to avoid plt entry.
38648
38649 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
38650
38651         [BZ #14112]
38652         * Makeconfig (default-abi): New macro.
38653         (abi-includes): Likewise.
38654         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
38655         $(abi-$(default-abi)-lib-soname) for soname if defined.
38656         ($(common-objpfx)gnu/lib-names.stmp): Generate from
38657         abi-variants.
38658         * Makefile (installed-stubs): Likewise.
38659         * include/stubs-biarch.h: Removed.
38660         * scripts/lib-names.awk: Only handle one library at a time.
38661         * scripts/soversions.awk: Remove WORDSIZE support.
38662         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
38663         entries.
38664         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
38665         Removed.
38666         (syscall-list-default-condition): Likewise.
38667         (syscall-list-default-condition): Likewise.
38668         (syscall-list-includes): Likewise.
38669         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
38670         syscall-list-* with abi-*.  Handle undefined abi-variants.
38671         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
38672         * sysdeps/unix/sysv/linux/i386/Implies: New file.
38673         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
38674         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
38675         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
38676         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
38677         Removed.
38678         (syscall-list-32-options): Likewise.
38679         (syscall-list-32-condition): Likewise.
38680         (syscall-list-64-options): Likewise.
38681         (syscall-list-64-condition): Likewise.
38682         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
38683         macro.
38684         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
38685         Renamed to ...
38686         (abi-*): This.
38687         (abi-64-ld-soname): New macro.
38688         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
38689         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
38690         Renamed to ...
38691         (abi-*): This.
38692         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
38693         * sysdeps/x86_64/x32/shlib-versions: Likewise.
38694
38695 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
38696
38697         * sysdeps/unix/sysv/linux/kernel-features.h
38698         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
38699         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
38700         include <kernel-features.h>.
38701         [!__NR_ftruncate64]: Remove conditional code.
38702         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
38703         [__NR_ftruncate64]: Make code unconditional.
38704         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
38705         * sysdeps/unix/sysv/linux/truncate64.c: Do not
38706         include <kernel-features.h>.
38707         [!__NR_ftruncate64]: Remove conditional code.
38708         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
38709         [__NR_ftruncate64]: Make code unconditional.
38710         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
38711         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
38712         include <kernel-features.h>.
38713         [!__NR_ftruncate64]: Remove conditional code.
38714         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
38715         [__NR_ftruncate64]: Make code unconditional.
38716         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
38717         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
38718         include <kernel-features.h>.
38719         [!__NR_ftruncate64]: Remove conditional code.
38720         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
38721         [__NR_ftruncate64]: Make code unconditional.
38722         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
38723
38724         * configure.in (libc_cv_fpie): Weaken to a compile test using
38725         LIBC_TRY_CC_OPTION.
38726         * configure: Regenerated.
38727
38728 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
38729
38730         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
38731         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
38732         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
38733         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
38734         Refreshed.
38735         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
38736         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
38737         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
38738         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
38739         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
38740         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
38741         Refreshed.
38742
38743 2012-05-27  David S. Miller  <davem@davemloft.net>
38744
38745         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
38746         (___Q_zero): New.
38747         (__Q_simulate_exceptions): Return void.  Change to simulate
38748         exceptions by writing into the %fsr.
38749         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
38750         (__Qp_handle_exceptions): Likewise.
38751         (numbers): Delete.
38752         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
38753         __Qp_handle_exceptions.
38754         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
38755         __Qp_handle_exceptions.
38756         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
38757         as unused and give dummy FP_RND_NEAREST initializer.
38758         (FP_INHIBIT_RESULTS): Define.
38759         (___Q_simulate_exceptions): Update declaration.
38760         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
38761         formatting.
38762         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
38763         as unused and give dummy FP_RND_NEAREST initializer.
38764         (__Qp_handle_exceptions): Update declaration.
38765         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
38766         formatting.
38767
38768 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
38769
38770         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
38771         the temporary FPU control word.
38772         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
38773         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
38774         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
38775         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
38776         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
38777         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
38778         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
38779         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
38780         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
38781         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
38782         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
38783
38784 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
38785
38786         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
38787         fields.
38788
38789 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
38790
38791         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
38792         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
38793         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
38794         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
38795         Likewise.
38796         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
38797         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
38798         Likewise.
38799
38800 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
38801
38802         * po/h.po: Update from translation team.
38803
38804 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
38805
38806         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
38807
38808         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
38809         handling of denormals.
38810         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
38811         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
38812         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
38813         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
38814         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
38815         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
38816         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
38817         Likewise.
38818
38819 2012-05-26  Marek Polacek  <polacek@redhat.com>
38820
38821         [BZ #14152]
38822         * math/libm-test.inc (fma_test): Don't always expect underflow
38823         exception.
38824
38825 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
38826
38827         [BZ #12416]
38828         * elf/tst-execstack.c: Include stackinfo.h.
38829         (do_test): Adjust test case to ensure that pthread_getattr_np
38830         behaviour remains the same after marking stack executable.
38831
38832 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
38833
38834         * sysdeps/unix/sysv/linux/kernel-features.h
38835         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
38836         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
38837         kernel-features.h.
38838         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
38839         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
38840         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
38841         kernel-features.h.
38842         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
38843         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
38844
38845 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
38846
38847         * configure.in: Define the default includes to being none.
38848         * configure: Regenerated.
38849
38850 2012-05-25  Roland McGrath  <roland@hack.frob.com>
38851
38852         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
38853         * sysdeps/x86_64/setjmp.S: Likewise.
38854         * sysdeps/i386/bsd-setjmp.S: Likewise.
38855         * sysdeps/i386/bsd-_setjmp.S: Likewise.
38856         * sysdeps/i386/setjmp.S: Likewise.
38857         * sysdeps/i386/__longjmp.S: Likewise.
38858         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
38859         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
38860
38861         * include/stap-probe.h: New file.
38862         * configure.in: Handle --enable-systemtap.
38863         * configure: Regenerated.
38864         * config.h.in (USE_STAP_PROBE): New #undef.
38865         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
38866         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
38867         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
38868
38869 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
38870
38871         [BZ #13717]
38872         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
38873         to 2.4.0 where earlier.
38874         * sysdeps/unix/sysv/linux/configure: Regenerated.
38875         * sysdeps/unix/sysv/linux/i386/chown.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/fchown.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/fchownat.c (fchownat)
38884         [__ASSUME_32BITUIDS]: Make code unconditional.
38885         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
38886         * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
38887         <kernel-features.h>.
38888         [__ASSUME_32BITUIDS]: Make code unconditional.
38889         [!__ASSUME_32BITUIDS]: Remove conditional code.
38890         * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
38891         <kernel-features.h>.
38892         [__ASSUME_32BITUIDS]: Make code unconditional.
38893         [!__ASSUME_32BITUIDS]: Remove conditional code.
38894         * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
38895         <kernel-features.h>.
38896         [__ASSUME_32BITUIDS]: Make code unconditional.
38897         [!__ASSUME_32BITUIDS]: Remove conditional code.
38898         * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
38899         <kernel-features.h>.
38900         [__ASSUME_32BITUIDS]: Make code unconditional.
38901         [!__ASSUME_32BITUIDS]: Remove conditional code.
38902         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
38903         <kernel-features.h>.
38904         [__ASSUME_32BITUIDS]: Make code unconditional.
38905         [!__ASSUME_32BITUIDS]: Remove conditional code.
38906         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
38907         <kernel-features.h>.
38908         [__ASSUME_32BITUIDS]: Make code unconditional.
38909         [!__ASSUME_32BITUIDS]: Remove conditional code.
38910         * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
38911         <kernel-features.h>.
38912         [__ASSUME_32BITUIDS]: Make code unconditional.
38913         [!__ASSUME_32BITUIDS]: Remove conditional code.
38914         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
38915         <kernel-features.h>.
38916         [__ASSUME_32BITUIDS]: Make code unconditional.
38917         [!__ASSUME_32BITUIDS]: Remove conditional code.
38918         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
38919         <kernel-features.h>.
38920         [__ASSUME_32BITUIDS]: Make code unconditional.
38921         [!__ASSUME_32BITUIDS]: Remove conditional code.
38922         * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
38923         <kernel-features.h>.
38924         [__ASSUME_32BITUIDS]: Make code unconditional.
38925         [!__ASSUME_32BITUIDS]: Remove conditional code.
38926         * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
38927         <kernel-features.h>.
38928         [__NR_setresgid] (__setresgid): Do not declare.
38929         [__ASSUME_32BITUIDS]: Make code unconditional.
38930         [!__ASSUME_32BITUIDS]: Remove conditional code.
38931         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
38932         <kernel-features.h>.
38933         [__NR_setresuid] (__setresuid): Do not declare.
38934         [__ASSUME_32BITUIDS]: Make code unconditional.
38935         [!__ASSUME_32BITUIDS]: Remove conditional code.
38936         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
38937         <kernel-features.h>.
38938         [__ASSUME_32BITUIDS]: Make code unconditional.
38939         [!__ASSUME_32BITUIDS]: Remove conditional code.
38940         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
38941         <kernel-features.h>.
38942         [__ASSUME_32BITUIDS]: Make code unconditional.
38943         [!__ASSUME_32BITUIDS]: Remove conditional code.
38944         * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
38945         <kernel-features.h>.
38946         [__ASSUME_32BITUIDS]: Make code unconditional.
38947         [!__ASSUME_32BITUIDS]: Remove conditional code.
38948         * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
38949         <kernel-features.h>.
38950         [__ASSUME_32BITUIDS]: Make code unconditional.
38951         [!__ASSUME_32BITUIDS]: Remove conditional code.
38952         * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
38953         <kernel-features.h>.
38954         [__ASSUME_32BITUIDS]: Make code unconditional.
38955         [!__ASSUME_32BITUIDS]: Remove conditional code.
38956         * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
38957         <kernel-features.h>.
38958         [__ASSUME_32BITUIDS]: Make code unconditional.
38959         [!__ASSUME_32BITUIDS]: Remove conditional code.
38960         * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
38961         <kernel-features.h>.
38962         [__ASSUME_32BITUIDS]: Make code unconditional.
38963         [!__ASSUME_32BITUIDS]: Remove conditional code.
38964         * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
38965         <kernel-features.h>.
38966         [__ASSUME_32BITUIDS]: Make code unconditional.
38967         [!__ASSUME_32BITUIDS]: Remove conditional code.
38968         * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
38969         <kernel-features.h>.
38970         [__ASSUME_32BITUIDS]: Make code unconditional.
38971         [!__ASSUME_32BITUIDS]: Remove conditional code.
38972         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
38973         <kernel-features.h>.
38974         [__ASSUME_32BITUIDS]: Make code unconditional.
38975         [!__ASSUME_32BITUIDS]: Remove conditional code.
38976         * sysdeps/unix/sysv/linux/kernel-features.h
38977         (__ASSUME_SETRESUID_SYSCALL): Remove.
38978         (__ASSUME_SETRESGID_SYSCALL): Likewise.
38979         (__ASSUME_32BITUIDS): Likewise.
38980         (__ASSUME_LDT_WORKS): Likewise.
38981         (__ASSUME_O_DIRECTORY): Likewise.
38982         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
38983         architecture but not kernel version.
38984         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
38985         (__ASSUME_MMAP2_SYSCALL): Likewise.
38986         (__ASSUME_STAT64_SYSCALL): Likewise.
38987         (__ASSUME_IPC64): Likewise.
38988         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
38989         <kernel-features.h>.
38990         [__ASSUME_32BITUIDS]: Make code unconditional.
38991         [!__ASSUME_32BITUIDS]: Remove conditional code.
38992         * sysdeps/unix/sysv/linux/opendir.c: Do not include
38993         <kernel-features.h>.
38994         [__ASSUME_O_DIRECTORY]: Make code unconditional.
38995         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
38996         132096]: Remove conditional code.
38997         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
38998         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
38999         <kernel-features.h>.
39000         [__ASSUME_32BITUIDS]: Make code unconditional.
39001         [!__ASSUME_32BITUIDS]: Remove conditional code.
39002         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
39003         <kernel-features.h>.
39004         [__ASSUME_32BITUIDS]: Make code unconditional.
39005         [!__ASSUME_32BITUIDS]: Remove conditional code.
39006         * sysdeps/unix/sysv/linux/setegid.c: Do not include
39007         <kernel-features.h>.
39008         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
39009         unconditional.
39010         (__setresgid): Do not declare.
39011         [__ASSUME_32BITUIDS]: Make code unconditional.
39012         [!__ASSUME_32BITUIDS]: Remove conditional code.
39013         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
39014         <kernel-features.h>.
39015         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
39016         unconditional.
39017         (__setresuid): Do not declare.
39018         [__ASSUME_32BITUIDS]: Make code unconditional.
39019         [!__ASSUME_32BITUIDS]: Remove conditional code.
39020         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
39021         <kernel-features.h>.
39022         [__ASSUME_32BITUIDS]: Make code unconditional.
39023         [!__ASSUME_32BITUIDS]: Remove conditional code.
39024         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
39025         <kernel-features.h>.
39026         [__ASSUME_32BITUIDS]: Make code unconditional.
39027         [!__ASSUME_32BITUIDS]: Remove conditional code.
39028
39029 2012-05-25  Richard Henderson  <rth@twiddle.net>
39030
39031         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
39032         dl_hwcap to ifunc resolver.
39033         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
39034         elf_ifunc_invoke.
39035         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
39036         dl_hwcap to ifunc resolver.
39037         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
39038
39039 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
39040
39041         [BZ #14153]
39042         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
39043         for |x| <= 2**-26, not 2**-57.
39044         * math/libm-test.inc (acos_test): Do not allow spurious underflow
39045         exception.
39046
39047 2012-05-24  Jeff Law  <law@redhat.com>
39048
39049         * stdio-common/Makefile (tests): Add bug25.
39050         * stdio-common/bug25.c: New test.
39051
39052 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
39053
39054         [BZ #13576]
39055         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
39056         multiple of MALLOC_ALIGNMENT in size.
39057         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
39058
39059 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
39060
39061         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
39062         Require >= 256.
39063         (FILENAME_MAX): Use macro-int-constant.
39064         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
39065         (_IOFBF): Use macro-int-constant.
39066         (_IOLBF): Likewise.
39067         (_IONBF): Likewise.
39068         (SEEK_CUR): Likewise.
39069         (SEEK_END): Likewise.
39070         (SEEK_SET): Likewise.
39071         (TMP_MAX): Likewise.
39072         (EOF): Use macro-int-constant.  Require < 0.
39073         (NULL): Use macro-constant.  Require == 0.
39074         (stdin): Require type to be FILE *.
39075         (stdout): Likewise.
39076         (stderr): Likewise.
39077         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
39078         macro-int-constant.
39079         (EXIT_SUCCESS): Likewise.
39080         (NULL): Use macro-constant.  Require == 0.
39081         (RAND_MAX): Use macro-int-constant.
39082         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
39083         [C99-based standards] (strtof): Require function.
39084         [C99-based standards] (strtold): Likewise.
39085         [C99-based standards] (strtoll): Likewise.
39086         [C99-based standards] (strtoull): Likewise.
39087         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
39088         [ISO || ISO99 || ISO11] (limits.h): Likewise.
39089         [ISO || ISO99 || ISO11] (math.h): Likewise.
39090         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
39091         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
39092         [ISO || ISO99 || ISO11] (*_t): Do not allow.
39093
39094 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
39095
39096         [BZ #14132]
39097         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
39098         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
39099         * intl/dgettext.c (DCGETTEXT): Likewise.
39100         * intl/gettext.c (DCGETTEXT): Likewise.
39101         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
39102         * posix/regex_internal.h (gettext): Likewise.
39103         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
39104         Remove declaration.
39105         * include/argz.h (__argz_count_internal)
39106         (__argz_stringify_internal): Remove declaration.
39107         (__argz_count, __argz_stringify): Declare hidden proto.
39108         * intl/dcgettext.c: Remove use of INTDEF.
39109         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
39110         * string/argz-stringify.c: Likewise.
39111         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
39112         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
39113         Declare hidden proto.
39114         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
39115         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
39116         Declare hidden proto.
39117         * include/stdio.h (__asprintf_internal): Don't declare.
39118         (__asprintf): Don't define as macro.  Declare hidden proto.
39119         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
39120         (__fsetlocking): Declare hidden proto.
39121         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
39122         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
39123         hidden proto.
39124         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
39125         (_IO_setlinebuf): Remove use of INTUSE.
39126         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
39127         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
39128         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
39129         Remove declaration.
39130         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
39131         (_IO_do_flush): Remove use of INTUSE.
39132         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
39133         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
39134         (_IO_adjust_column, _IO_least_wmarker)
39135         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
39136         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
39137         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
39138         (_IO_default_doallocate, _IO_wdefault_doallocate)
39139         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
39140         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
39141         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
39142         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
39143         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
39144         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
39145         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
39146         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
39147         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
39148         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
39149         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
39150         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
39151         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
39152         proto.
39153         (_IO_flush_all_internal, _IO_adjust_column_internal)
39154         (_IO_default_uflow_internal, _IO_default_finish_internal)
39155         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
39156         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
39157         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
39158         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
39159         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
39160         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
39161         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
39162         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
39163         (_IO_file_close_internal, _IO_file_close_it_internal)
39164         (_IO_file_underflow_internal, _IO_file_overflow_internal)
39165         (_IO_file_init_internal, _IO_file_attach_internal)
39166         (_IO_file_fopen_internal, _IO_file_read_internal)
39167         (_IO_file_sync_internal, _IO_file_seek_internal)
39168         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
39169         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
39170         (_IO_str_underflow_internal, _IO_str_overflow_internal)
39171         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
39172         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
39173         (_IO_list_all_internal, _IO_link_in_internal)
39174         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
39175         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
39176         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
39177         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
39178         (_IO_do_write_internal, _IO_padn_internal)
39179         (_IO_getline_info_internal, _IO_getline_internal)
39180         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
39181         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
39182         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
39183         (_IO_vfscanf_internal, _IO_vfprintf_internal)
39184         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
39185         (_IO_init_internal, _IO_un_link_internal): Don't declare.
39186         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
39187         with libc_hidden_ver, remove use of INTUSE.
39188         * libio/genops.c: Likewise.
39189         * libio/freopen.c: Likewise.
39190         * libio/freopen64.c: Likewise.
39191         * libio/iofclose.c: Likewise.
39192         * libio/iofdopen.c: Likewise.
39193         * libio/iofflush.c: Likewise.
39194         * libio/iofflush_u.c: Likewise.
39195         * libio/iofgets.c: Likewise.
39196         * libio/iofgets_u.c: Likewise.
39197         * libio/iofopen.c: Likewise.
39198         * libio/iofopncook.c: Likewise.
39199         * libio/iofread.c: Likewise.
39200         * libio/iofread_u.c: Likewise.
39201         * libio/ioftell.c: Likewise.
39202         * libio/iofwrite.c: Likewise.
39203         * libio/iogetline.c: Likewise.
39204         * libio/iogets.c: Likewise.
39205         * libio/iogetwline.c: Likewise.
39206         * libio/iopadn.c: Likewise.
39207         * libio/iopopen.c: Likewise.
39208         * libio/ioseekoff.c: Likewise.
39209         * libio/ioseekpos.c: Likewise.
39210         * libio/iosetbuffer.c: Likewise.
39211         * libio/iosetvbuf.c: Likewise.
39212         * libio/ioungetc.c: Likewise.
39213         * libio/ioungetwc.c: Likewise.
39214         * libio/iovdprintf.c: Likewise.
39215         * libio/iovsprintf.c: Likewise.
39216         * libio/iovsscanf.c: Likewise.
39217         * libio/memstream.c: Likewise.
39218         * libio/obprintf.c: Likewise.
39219         * libio/oldfileops.c: Likewise.
39220         * libio/oldiofclose.c: Likewise.
39221         * libio/oldiofdopen.c: Likewise.
39222         * libio/oldiofopen.c: Likewise.
39223         * libio/oldiopopen.c: Likewise.
39224         * libio/oldstdfiles.c: Likewise.
39225         * libio/putc.c: Likewise.
39226         * libio/setbuf.c: Likewise.
39227         * libio/setlinebuf.c: Likewise.
39228         * libio/stdfiles.c: Likewise.
39229         * libio/strops.c: Likewise.
39230         * libio/vasprintf.c: Likewise.
39231         * libio/vscanf.c: Likewise.
39232         * libio/vsnprintf.c: Likewise.
39233         * libio/vswprintf.c: Likewise.
39234         * libio/wfiledoalloc.c: Likewise.
39235         * libio/wfileops.c: Likewise.
39236         * libio/wgenops.c: Likewise.
39237         * libio/wmemstream.c: Likewise.
39238         * libio/wstrops.c: Likewise.
39239         * libio/__fpurge.c: Likewise.
39240         * libio/__fsetlocking.c: Likewise.
39241         * assert/assert.c: Likewise.
39242         * debug/fgets_chk.c: Likewise.
39243         * debug/fgets_u_chk.c: Likewise.
39244         * debug/fread_chk.c: Likewise.
39245         * debug/fread_u_chk.c: Likewise.
39246         * debug/gets_chk.c: Likewise.
39247         * debug/obprintf_chk.c: Likewise.
39248         * debug/vasprintf_chk.c: Likewise.
39249         * debug/vdprintf_chk.c: Likewise.
39250         * debug/vsnprintf_chk.c: Likewise.
39251         * debug/vsprintf_chk.c: Likewise.
39252         * malloc/mtrace.c: Likewise.
39253         * misc/error.c: Likewise.
39254         * misc/syslog.c: Likewise.
39255         * stdio-common/asprintf.c: Likewise.
39256         * stdio-common/fxprintf.c: Likewise.
39257         * stdio-common/getw.c: Likewise.
39258         * stdio-common/isoc99_fscanf.c: Likewise.
39259         * stdio-common/isoc99_scanf.c: Likewise.
39260         * stdio-common/isoc99_vfscanf.c: Likewise.
39261         * stdio-common/isoc99_vscanf.c: Likewise.
39262         * stdio-common/isoc99_vsscanf.c: Likewise.
39263         * stdio-common/printf-prs.c: Likewise.
39264         * stdio-common/printf_fp.c: Likewise.
39265         * stdio-common/printf_fphex.c: Likewise.
39266         * stdio-common/printf_size.c: Likewise.
39267         * stdio-common/putw.c: Likewise.
39268         * stdio-common/scanf.c: Likewise.
39269         * stdio-common/sprintf.c: Likewise.
39270         * stdio-common/tmpfile.c: Likewise.
39271         * stdio-common/vfprintf.c: Likewise.
39272         * stdio-common/vfscanf.c: Likewise.
39273         * stdlib/strfmon_l.c: Likewise.
39274         * sunrpc/openchild.c: Likewise.
39275         * sunrpc/xdr_stdio.c: Likewise.
39276         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
39277         * sysdeps/mach/hurd/tmpfile.c: Likewise.
39278
39279 2012-05-24  Roland McGrath  <roland@hack.frob.com>
39280
39281         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
39282
39283         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
39284         in the third column, to generate for the shared library an IFUNC
39285         that uses _dl_vdso_vsym.
39286         * Makerules (COMPILE.c, compile-stdin.c): New variables.
39287         * Makeconfig (object-suffixes-noshared): New variable.
39288
39289         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
39290         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
39291         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
39292         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
39293
39294         [BZ #14132]
39295         * include/sys/time.h (__gettimeofday): Remove macro.
39296         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
39297         * time/gettimeofday.c (__gettimeofday): Remove #undef.
39298         Remove INTDEF.
39299         (__gettimeofday): Add libc_hidden_def.
39300         (gettimeofday): Add libc_hidden_weak.
39301         * sysdeps/mach/gettimeofday.c: Likewise.
39302         * sysdeps/posix/gettimeofday.c: Likewise.
39303         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
39304         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
39305         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
39306         (__gettimeofday_internal): Remove strong_alias.
39307         (__gettimeofday): Add libc_hidden_def.
39308         (gettimeofday): Add libc_hidden_weak.
39309         * sysdeps/unix/syscalls.list (gettimeofday):
39310         Remove __gettimeofday_internal alias.
39311
39312 2012-05-24  Daniel Jacobowitz  <drow@false.org>
39313             H.J. Lu  <hongjiu.lu@intel.com>
39314
39315         [BZ #12495]
39316         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
39317         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
39318         (largebin_index_32_big): New.
39319         (largebin_index): Use it for 16-byte alignment.
39320         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
39321         correction with front_misalign.
39322
39323 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
39324
39325         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
39326         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
39327         Likewise.
39328         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
39329         Likewise.
39330         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
39331         Likewise.
39332         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
39333         Likewise.
39334         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
39335         Likewise.
39336         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
39337         Likewise.
39338         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
39339         Likewise.
39340         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
39341         Likewise.
39342         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
39343         Likewise.
39344         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
39345         Likewise.
39346         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
39347         Likewise.
39348         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
39349         Likewise.
39350
39351         * scripts/data/c++-types-x32-linux-gnu.data: New file.
39352         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
39353
39354 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
39355
39356         [BZ #10846]
39357         [BZ #14036]
39358         * math/libm-test.inc (exp_test): Add test from bug 14036.
39359         (pow_test): Add test from bug 10846.
39360
39361         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
39362         and other flags.
39363         (special_function): Do not include flags in test name.
39364         (parse_args): Likewise.
39365         * sysdeps/i386/fpu/libm-test-ulps: Update.
39366         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
39367         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
39368         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
39369         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39370
39371         * math/gen-libm-test.pl (%beautify): Add entries for underflow
39372         exceptions.
39373         * math/libm-test.inc ("Philosophy"): Update comment about
39374         exception testing.
39375         (UNDERFLOW_EXCEPTION): New macro.
39376         (UNDERFLOW_EXCEPTION_OK): Likewise.
39377         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
39378         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
39379         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
39380         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
39381         (INVALID_EXCEPTION_OK): Update value.
39382         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
39383         (OVERFLOW_EXCEPTION_OK): Likewise.
39384         (IGNORE_ZERO_INF_SIGN): Likewise.
39385         (test_exceptions): Handle underflow exceptions.
39386         (acos_test): Update for underflow exception expectations.
39387         (cexp_test): Likewise.
39388         (clog_test): Likewise.
39389         (clog10_test): Likewise.
39390         (csqrt_test): Likewise.
39391         (ctan_test): Likewise.
39392         (ctanh_test): Likewise.
39393         (exp_test): Likewise.
39394         (exp10_test): Likewise.
39395         (exp2_test): Likewise.
39396         (expm1_test): Likewise.
39397         (fma_test): Likewise.
39398         (j0_test): Likewise.
39399         (jn_test): Likewise.
39400         (nexttoward_test): Likewise.
39401         (pow_test): Likewise.
39402         (scalbn_test): Likewise.
39403         (scalbln_test): Likewise.
39404         (tan_test): Likewise.
39405         (y1_test): Likewise.
39406         * sysdeps/i386/fpu/libm-test-ulps: Update.
39407         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39408
39409 2012-05-23  David S. Miller  <davem@davemloft.net>
39410
39411         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
39412         (__libc_sigaction): Remove unused local variables.
39413
39414 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
39415
39416         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
39417
39418 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
39419
39420         mktime: avoid signed integer overflow
39421         * time/mktime.c (__mktime_internal): Do not mishandle the case
39422         where diff == INT_MIN.
39423
39424         mktime: simplify computation of average
39425         * time/mktime.c (ranged_convert): Use new time_t_avg function
39426         instead of rolling our own (probably-slower) code.
39427
39428         mktime: do not assume signed right shift propagates sign bit
39429         * time/mktime.c (isdst_differ): New static function.
39430         (__mktime_internal): No need to normalize tm_isdst now.
39431         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
39432         tm_isdst values.
39433
39434         mktime: merge another wrapv change from gnulib
39435         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
39436         from some compilers.
39437
39438         mktime: remove incorrect attempt at unusual arithmetics
39439         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
39440         The code didn't really work on such machines anyway.
39441         (TYPE_MINIMUM): Assume two's complement.
39442         (twos_complement_arithmetic): Verify that long_int and time_t
39443         are two's complement (or unsigned, in the latter case).
39444
39445         mktime: check signed shifts on long_int and time_t, too
39446         * time/mktime.c (SHR): Check that shifts work as desired
39447         on the types long_int and time_t too, as SHR is used on
39448         such types.
39449
39450         mktime: do not assume 'long' is wide enough
39451         * time/mktime.c (verify): Move decl up.
39452         (long_int): New type.
39453         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
39454         to remove assumption in the code that 'long' is wide enough to
39455         store year values.  This assumption is not true on x32 and on
39456         some non-glibc platforms.
39457
39458         mktime: merge wrapv change from gnulib
39459         * time/mktime.c (WRAPV): New macro.
39460         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
39461         (guess_time_tm, __mktime_internal): Do not assume that signed
39462         integer overflow wraps around; modern compilers generate code
39463         where this assumption is no longer valid.
39464
39465 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
39466
39467         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
39468         Replace "jmp L(pseudo_end)" with "ret".
39469         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
39470         Likewise.
39471
39472 2012-05-23  Andreas Jaeger  <aj@suse.de>
39473
39474         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
39475         * sysdeps/unix/sysv/linux/poll.c: Remove file.
39476
39477 2012-05-23  Andreas Jaeger  <aj@suse.de>
39478             Maximilian Attems  <max@stro.at>
39479
39480         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
39481         New macros.
39482
39483 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
39484
39485         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
39486         code so that pseudo_end is just ret and the stack pointer is
39487         correct also for static library in error case.
39488
39489 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
39490
39491         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
39492         move to syscalls.list.
39493         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
39494         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
39495         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
39496         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
39497
39498         * manual/install.texi (Running make install): Do not mention Linux
39499         kernel version for which pt_chown is not needed.
39500         (Linux): Do not mention problems with nscd with 2.0 kernels.
39501         * INSTALL: Regenerated.
39502
39503 2012-05-23  Andreas Jaeger  <aj@suse.de>
39504
39505         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
39506         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
39507         macro.
39508         * sysdeps/unix/sysv/linux/s390/bits/mman.h
39509         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
39510         * sysdeps/unix/sysv/linux/sh/bits/mman.h
39511         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
39512         * sysdeps/unix/sysv/linux/i386/bits/mman.h
39513         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
39514         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
39515         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
39516         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
39517         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
39518         * sysdeps/unix/sysv/linux/bits/in.h
39519         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
39520
39521 2012-05-22  Roland McGrath  <roland@hack.frob.com>
39522
39523         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
39524         (PREPARE_VERSION): Just use assert instead, it will be elided
39525         under [NDEBUG] anyway.
39526
39527 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
39528
39529         * sysdeps/unix/sysv/linux/Makefile: Include
39530         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
39531         (sysdep_routines): Remove sysctl.
39532         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
39533         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
39534         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
39535         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
39536         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
39537
39538 2012-05-22  Andreas Jaeger  <aj@suse.de>
39539
39540         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
39541         that pseudo_end is just ret and the stack pointer is correct also
39542         for static library in error case.
39543
39544 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
39545
39546         [BZ #14122]
39547         * nss/nsswitch.c (defconfig_entries): New variable.
39548         (__nss_database_lookup): Don't leak defconfig entries.
39549         (nss_parse_service_list): Don't leak on error paths.
39550         (free_database_entries): New function.
39551         (free_defconfig): New function.
39552         (free_mem): Move common code to free_database_entries.
39553
39554 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
39555
39556         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
39557         Add arch_prctl.
39558         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
39559
39560         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
39561         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
39562         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
39563         New macro.
39564         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
39565         (INTERNAL_SYSCALL_TYPES): Likewise.
39566         (LOAD_ARGS_TYPES_[1-6]): Likewise.
39567         (LOAD_REGS_TYPES_[1-6]): Likewise.
39568         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
39569         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
39570
39571 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39572
39573         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
39574         copysignl for GLIBC_2_0.
39575         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
39576         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
39577         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
39578         logbl for GLIBC_2_0.
39579         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
39580         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
39581
39582 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
39583
39584         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
39585         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
39586
39587         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
39588         Use "neg %eax".
39589
39590         * time/mktime.c: Update copyright years.
39591
39592 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
39593
39594         mktime: merge comment-quoting-style change from gnulib
39595         * time/mktime.c: Quote 'like this' in comments.
39596         The GNU coding standards suggest that we no longer quote `like this',
39597         as "`" and "'" are typically rendered asymmetrically nowadays.
39598         The typical gnulib style is to quote 'like this' when quoting
39599         code, and "like this" when quoting English.
39600
39601         * time/mktime.c (compile-command): Add "-I.".
39602
39603         mktime: merge mktime-internal.h change from gnulib
39604         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
39605
39606         mktime: merge time_r change from gnulib
39607         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
39608
39609         mktime: merge DEBUG change from gnulib
39610         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
39611         case system <time.h> has a #define.
39612
39613         mktime: merge <sys/types.h> change from gnulib
39614         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
39615         since <time.t> is now guaranteed to define time_t.
39616
39617         mktime: merge HAVE_CONFIG_H change from gnulib
39618         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
39619
39620 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
39621
39622         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
39623         Use "neg %eax".
39624
39625         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
39626         __rlim_t cast.
39627         (struct rusage): Use anonymous union to pad each field to
39628         __syscall_slong_t.
39629
39630 2012-05-21  David S. Miller  <davem@davemloft.net>
39631
39632         * Makefules (o-iterator): Remove .s cases.
39633         (compile-command.s): Delete.
39634         (COMPILE.s): Delete.
39635         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
39636
39637 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
39638
39639         * configure.in (libc_cv_predef_stack_protector): Only consider
39640         "foobar" and "__stack_chk_fail" lines in libc_undefs.
39641         * configure: Regenerated.
39642
39643 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
39644
39645         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
39646         New macro.  Use R*LP on int and pointer.
39647         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
39648         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
39649         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
39650         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
39651
39652         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
39653         [__WORDSIZE_TIME64_COMPAT32] instead of
39654         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
39655         (struct utmp): Likewise.
39656         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
39657         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
39658         Renamed to ...
39659         (__WORDSIZE_TIME64_COMPAT32): This.
39660         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
39661         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
39662         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
39663         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
39664         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
39665         (__WORDSIZE_TIME64_COMPAT32): New macro.
39666
39667 2012-05-21  Andreas Jaeger  <aj@suse.de>
39668
39669         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
39670         only if [SHARED]. Add prototype for __wcschr_ia32.
39671
39672 2012-05-21  Roland McGrath  <roland@hack.frob.com>
39673
39674         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
39675         of %rbp unmolested in the jmp_buf while mangling the low bits.
39676         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
39677         unmolested high bits of %rbp while demangling the low bits.
39678         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
39679
39680 2012-05-21  Andreas Jaeger  <aj@suse.de>
39681
39682         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
39683         * sunrpc/svc_simple.c: Use it for registerrpc.
39684         * sunrpc/xcrypt.c: Use it for passwd2des.
39685
39686         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
39687
39688 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
39689
39690         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
39691         Don't define if [__SYSCALL_WORDSIZE != 32].
39692         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
39693         New macro.
39694
39695 2012-05-21  Bruno Haible  <bruno@clisp.org>
39696             Andreas Jaeger  <aj@suse.de>
39697
39698         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
39699         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
39700         inptr and inend for must_buffer_ch.
39701         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
39702         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
39703         * stdio-common/Makefile (tests): Remove bug15.
39704         (bug15-ENV): Remove macro.
39705         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
39706         anymore.
39707
39708 2012-05-19  Andreas Jaeger  <aj@suse.de>
39709             Roland McGrath  <roland@hack.frob.com>
39710
39711         * manual/contrib.texi: Completely rewritten. It contains now an
39712         alphabetical list of contributors and their contributions.
39713
39714 2012-05-21  Richard Henderson  <rth@twiddle.net>
39715
39716         * misc/getauxval.c (__getauxval): Use unsigned long int.
39717         * misc/sys/auxv.h: Include <sys/cdefs.h>.
39718         (getauxval): Use unsigned long int.
39719
39720 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
39721
39722         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
39723
39724 2012-05-21  Roland McGrath  <roland@hack.frob.com>
39725
39726         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
39727         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
39728         __alignof__ (long double).
39729
39730 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39731
39732         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39733
39734 2012-05-20  Richard Henderson  <rth@twiddle.net>
39735
39736         * misc/getauxval.c: New file.
39737         * misc/sys/auxv.h: New file.
39738         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
39739         (routines): Add getauxval.
39740         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
39741         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
39742         * elf/dl-sysdep.c (_dl_auxv): Remove.
39743         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
39744         * elf/dl-support.c (_dl_auxv): New variable.
39745         (_dl_aux_init): Initialize it.
39746         * manual/startup.texi (Auxiliary Vector): New node.
39747         * sysdeps/generic/bits/hwcap.h: New file.
39748         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
39749         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
39750         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
39751         * sysdeps/sparc/sysdep.h: ... here.  Include it.
39752         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
39753         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
39754         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
39755         Update.
39756         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
39757         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
39758         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
39759         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
39760         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
39761         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
39762         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
39763         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
39764
39765 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39766
39767         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39768
39769 2012-05-19  David S. Miller  <davem@davemloft.net>
39770
39771         * sysdeps/sparc/fpu/libm-test-ulps: Update.
39772
39773 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
39774
39775         [BZ #14123]
39776         * math/s_ccosh.c: Include <float.h>
39777         (__ccosh): Avoid internal overflow calculating sinh and cosh
39778         values before multiplying by sin and cos values.
39779         * math/s_ccoshf.c: Likewise.
39780         * math/s_ccoshl.c: Likewise.
39781         * math/s_csin.c: Likewise.
39782         * math/s_csinf.c: Likewise.
39783         * math/s_csinl.c: Likewise.
39784         * math/s_csinh.c: Likewise.
39785         * math/s_csinhf.c: Likewise.
39786         * math/s_csinhl.c: Likewise.
39787         * math/libm-test.inc (ccos_test): Add more tests.
39788         (ccosh_test): Likewise.
39789         (csin_test): Likewise.
39790         (csinh_test): Likewise.
39791         * sysdeps/i386/fpu/libm-test-ulps: Update.
39792         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39793
39794 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
39795
39796         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
39797         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
39798
39799         * sysdeps/x86_64/x32/_itoa.h: Add comment.
39800
39801 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
39802
39803         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
39804         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
39805         * sysdeps/powerpc/soft-fp/Versions: Likewise.
39806         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
39807         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
39808         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
39809         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
39810         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
39811         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
39812         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
39813         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
39814         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
39815         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
39816         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
39817         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
39818         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
39819         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
39820         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
39821         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
39822         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
39823         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
39824         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
39825         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
39826         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
39827         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
39828         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
39829         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
39830         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
39831         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
39832         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
39833         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
39834
39835 2012-05-18  Andreas Jaeger  <aj@suse.de>
39836
39837         * csu/.gitignore: Delete.
39838
39839 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
39840
39841         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
39842         (timex): Use __syscall_slong_t.
39843
39844 2012-05-18  Andreas Jaeger  <aj@suse.de>
39845             Carlos O'Donell  <carlos_odonell@mentor.com>
39846
39847         * manual/install.texi (Configuring and compiling): Update
39848         description about files modified in the source directory.
39849         * INSTALL: Regenerated.
39850
39851 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
39852
39853         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
39854         value.  Use "or" to set return value to -1.
39855         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
39856         negate return value.
39857
39858 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
39859
39860         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
39861         (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
39862         failure if the compiler has Graphite support disabled.
39863         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
39864         Likewise.
39865         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
39866         (CFLAGS-memmove.c): Likewise.
39867         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
39868         Likewise.
39869
39870 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
39871
39872         * sysdeps/x86_64/x32/_itoa.h: New file.
39873
39874         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
39875         getdents system call only if kernel and user dirents have the
39876         same d_ino and d_off.
39877
39878         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
39879         LLONG_MAX != LONG_MAX.
39880         (_itoa_word): Use _ITOA_WORD_TYPE on value.
39881         (_fitoa_word): Likewise.
39882
39883         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
39884         years.
39885         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
39886         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
39887         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
39888
39889         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
39890         include <bits/wordsize.h>.  Check __x86_64__ instead of
39891         __WORDSIZE.
39892         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
39893         if __x86_64__ is defined.  Use anonymous union on fpstate.
39894
39895         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
39896         anonymous union.
39897
39898 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
39899
39900         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
39901         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
39902         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
39903         Refer to _rtld_local_ro instead of _rtld_global_ro.
39904         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
39905         Likewise.
39906         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
39907         Likewise.
39908         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
39909         Likewise.
39910         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
39911         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
39912         of _rtld_global, and rtld_progname instead of _dl_argv[0].
39913
39914         * sysdeps/powerpc/powerpc32/dl-machine.c
39915         (__elf_machine_runtime_setup) [PROF]: Don't reference
39916         _dl_prof_resolve.
39917
39918 2012-05-18  Andreas Jaeger  <aj@suse.de>
39919
39920         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
39921         function only available for GCCs before 3.4 since GCC 3.4
39922         introduced a builtin.
39923         (lrint): Likewise.
39924         (llrintf): Likewise.
39925         (llrint): Likewise.
39926         (fmaxf): Likewise.
39927         (fmax): Likewise.
39928         (fminf): Likewise.
39929         (fmin): Likewise.
39930         (rint): Likewise.
39931         (rintf): Likewise.
39932         (nearbyint): Likewise.
39933         (nearbyintf): Likewise.
39934         (ceil): Likewise.
39935         (ceilf): Likewise.
39936         (floor): Likewise.
39937         (floorf): Likewise.
39938
39939 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
39940
39941         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
39942         on both fields and cast pointer to __syscall_ulong_t.
39943
39944         * bits/types.h (__fsword_t): New type.
39945         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
39946         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
39947         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
39948         (__FSWORD_T_TYPE): Likewise.
39949         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
39950         (__FSWORD_T_TYPE): Likewise.
39951         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
39952         (__FSWORD_T_TYPE): Likewise.
39953         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
39954         (__FSWORD_T_TYPE): Likewise.
39955         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
39956         __SWORD_TYPE with __fsword_t.
39957         (statfs64): Likewise.
39958
39959 2012-05-17  David S. Miller  <davem@davemloft.net>
39960
39961         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
39962
39963 2012-05-17  Andreas Jaeger  <aj@suse.de>
39964
39965         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
39966         warning.
39967
39968 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
39969
39970         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
39971
39972 2012-05-17  Andreas Jaeger  <aj@suse.de>
39973
39974         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
39975         when it is used.
39976
39977 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
39978
39979         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
39980
39981 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
39982
39983         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
39984         * sysdeps/x86_64/tst-mallocalign1.c: New file.
39985
39986 2012-05-17  Andreas Jaeger  <aj@suse.de>
39987             Carlos O'Donell  <carlos_odonell@mentor.com>
39988
39989         [BZ #14059]
39990         * sysdeps/x86_64/multiarch/init-arch.h
39991         (bit_YMM_Usable): Rename to...
39992         (bit_AVX_Usable): ... this.
39993         (bit_FMA4_Usable): New macro.
39994         (bit_XMM_state): New macro.
39995         (bit_YMM_state): New macro.
39996         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
39997         [__ASSEMBLER__] (index_AVX_Usable): ... this.
39998         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
39999         (CPUID_OSXSAVE): New macro.
40000         (CPUID_AVX): New macro.
40001         (CPUID_FMA4): New macro.
40002         (index_YMM_Usable): Rename to...
40003         (index_AVX_Usable): ... this.
40004         (HAS_AVX): Use HAS_ARCH_FEATURE.
40005         (HAS_FMA4): Likewise.
40006         (HAS_YMM_USABLE): Remove.
40007         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
40008         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
40009         are present.
40010         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
40011         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
40012         * sysdeps/x86_64/multiarch/Makefile: Likewise.
40013         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
40014         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
40015
40016 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
40017
40018         * math/libm-test.c: Support platforms without multiple rounding modes.
40019         * math/bug-nextafter.c: Support platforms without FP exceptions.
40020         * math/bug-nexttoward.c: Likewise.
40021         * math/test-fenv.c: Likewise.
40022         * math/test-misc.c: Likewise.
40023         * stdlib/bug-getcontext.c: Likewise.
40024
40025 2012-05-17  Andreas Jaeger  <aj@suse.de>
40026
40027         * manual/examples/search.c (critter_cmp): Change signature to
40028         avoid warnings.
40029         * manual/string.texi (Collation Functions): Likewise.
40030
40031 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
40032
40033         * bits/types.h: Fold copyright years.
40034         * bits/typesizes.h: Likewise.
40035         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
40036         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
40037         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
40038         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
40039         * time/time.h: Likewise.
40040
40041 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
40042
40043         [BZ #208]
40044         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
40045         in instead of returning them.  Return void.
40046         (__libc_mallinfo): Accumulate over all arenas.
40047         (__malloc_stats): Adjust for change in int_mallinfo interface.
40048
40049 2012-05-16  Roland McGrath  <roland@hack.frob.com>
40050
40051         [BZ #10375]
40052         * configure.in (NM): Add AC_CHECK_TOOL for it.
40053         (libc_extra_cflags): New substituted variable.
40054         Check for -fstack-protector being used implicitly.
40055         * configure: Regenerated.
40056         * config.make.in (config-extra-cflags): New variable,
40057         gets @libc_extra_cflags@.
40058         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
40059
40060         [BZ #10375]
40061         * configure.in: Check for _FORTIFY_SOURCE being predefined.
40062         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
40063         * configure: Regenerated.
40064         * config.make.in (CPPUNDEFS): New substituted variable.
40065         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
40066         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
40067         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
40068
40069 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
40070
40071         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
40072         (mq_attr): Use __syscall_slong_t.
40073
40074 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
40075
40076         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
40077         Check __x86_64__ instead of __WORDSIZE.
40078         (_STAT_VER_LINUX): Likewise.
40079         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
40080         __syscall_ulong_t and __syscall_slong_t.
40081         (stat64): Likewise.
40082
40083 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
40084
40085         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
40086
40087 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
40088
40089         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
40090
40091 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
40092
40093         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
40094         __syscall_ulong_t.
40095
40096         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
40097         include <bits/wordsize.h>.  Check __x86_64__ instead of
40098         __WORDSIZE.
40099         (greg_t): Use "__extension__ long long int" if __x86_64__ is
40100         defined.
40101         (mcontext_t): Replace "unsigned long" with "unsigned long long".
40102
40103         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
40104         include <bits/wordsize.h>.  Check __x86_64__ instead of
40105         __WORDSIZE.
40106         (user_regs_struct): Use "__extension__ unsigned long long"
40107         instead of "unsigned long" if __x86_64__ is defined.
40108         (user): Likewise.  Pad after pointer field if __ILP32__ is
40109         defined.
40110
40111 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
40112
40113         * configure.in (makeinfo): Require version 4.5 or later.  Allow
40114         versions 5 to 9.
40115         * configure: Regenerated.
40116         * manual/install.texi (texinfo): Increase version requirement to
40117         4.5 or later.
40118         * INSTALL: Regenerated.
40119
40120         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
40121
40122 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
40123
40124         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
40125
40126         * sysdeps/x86_64/x32/ffs.c: New file.
40127
40128         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
40129         __syscall_ulong_t.
40130         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
40131         defined.  Use __syscall_ulong_t.
40132         (shminfo): Use __syscall_ulong_t.
40133         (shm_info): Likewise.
40134
40135         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
40136         __syscall_ulong_t.
40137
40138         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
40139         <bits/wordsize.h>.
40140         (msgqnum_t): Use __syscall_ulong_t.
40141         (msglen_t): Likewise.
40142         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
40143         __syscall_ulong_t.
40144
40145         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
40146         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
40147
40148         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
40149
40150         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
40151         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
40152
40153         * sysvipc/sys/msg.h (msgbuf): Replace long int with
40154         __syscall_slong_t.
40155
40156         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
40157         include <bits/wordsize.h>.  Check __x86_64__ instead of
40158         __WORDSIZE.
40159
40160         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
40161         "unsigned long long int" if __x86_64__ is defined.
40162         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
40163
40164         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
40165         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
40166         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
40167
40168         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
40169         <stdint.h>.
40170         (GET_PC): Cast to uintptr_t first.
40171         (GET_FRAME): Likewise.
40172         (GET_STACK): Likewise.
40173
40174         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
40175         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
40176         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
40177         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
40178         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
40179         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
40180         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
40181         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
40182         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
40183         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
40184         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
40185         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
40186         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
40187         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
40188         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
40189         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
40190         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
40191         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
40192         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
40193         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
40194         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
40195         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
40196         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
40197         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
40198         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
40199         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
40200         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
40201         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
40202         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
40203
40204 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
40205
40206         * Makerules (+depfiles): Also collect depfiles from .oS in
40207         $(extra-objs).
40208         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
40209         .oS, $(libnldbl-routines)).
40210
40211         * Makerules (native-compile-mkdep-flags): Define.
40212         * sunrpc/Makefile (extra-objs): Add $(addprefix
40213         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
40214         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
40215         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
40216         calling $(make-target-directory).
40217
40218 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
40219
40220         * bits/types.h (__snseconds_t): Removed.
40221         * time/time.h (struct timespec): Replace __snseconds_t with
40222         __syscall_slong_t.
40223         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
40224         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
40225         Likewise.
40226         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
40227         (__SNSECONDS_T_TYPE): Likewise.
40228         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
40229         (__SNSECONDS_T_TYPE): Likewise.
40230         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
40231         (__SNSECONDS_T_TYPE): Likewise.
40232
40233 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
40234
40235         * sysdeps/mach/hurd/bits/typesizes.h
40236         (__SYSCALL_SLONG_TYPE): New macro.
40237         (__SYSCALL_ULONG_TYPE): Likewise.
40238
40239 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
40240
40241         * bits/types.h (__syscall_slong_t): New type.
40242         (__syscall_ulong_t): Likewise.
40243
40244         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
40245         (__SYSCALL_ULONG_TYPE): Likewise.
40246         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
40247         (__SYSCALL_SLONG_TYPE): Likewise.
40248         (__SYSCALL_ULONG_TYPE): Likewise.
40249         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
40250         (__SYSCALL_SLONG_TYPE): Likewise.
40251         (__SYSCALL_ULONG_TYPE): Likewise.
40252         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
40253         (__SYSCALL_SLONG_TYPE): Likewise.
40254         (__SYSCALL_ULONG_TYPE): Likewise.
40255
40256 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
40257
40258         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
40259         Add sigaltstack-offsets.sym.
40260         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
40261         <sigaltstack-offsets.h>.
40262         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
40263         longjmp_msg pointer.
40264         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
40265         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
40266         signal stack.
40267         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
40268
40269 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
40270
40271         * elf/stackguard-macros.h: Remove file.
40272         * sysdeps/generic/stackguard-macros.h: New file.
40273         * sysdeps/i386/stackguard-macros.h: Likewise.
40274         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
40275         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
40276         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
40277         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
40278         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
40279         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
40280         * sysdeps/x86_64/stackguard-macros.h: Likewise.
40281         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
40282         <elf/stackguard-macros.h>.
40283
40284         [BZ #14109]
40285         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
40286         __aligned__ in attribute.
40287         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
40288         (gregset_t): Likewise.
40289
40290 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
40291
40292         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
40293         * sysdeps/x86_64/64/Implies-after: Here.  New file.
40294         * sysdeps/x86_64/x32/Implies-after: New file.
40295
40296 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
40297
40298         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
40299         and access return value for _dl_profile_fixup.  Use R10_LP to
40300         load frame size.
40301
40302 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
40303
40304         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
40305
40306 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
40307
40308         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
40309         * sysdeps/x86_64/x32/sysdep.h: New file.
40310
40311 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
40312
40313         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
40314         * sysdeps/x86_64/setjmp.S: Likewise.
40315
40316 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40317
40318         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
40319         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
40320         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
40321         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
40322         remove unused global constant.
40323
40324 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
40325
40326         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
40327         include of <not-cancel.h>.
40328
40329 2012-05-15  Roland McGrath  <roland@hack.frob.com>
40330
40331         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
40332
40333 2012-05-15  Jeff Law  <law@redhat.com>
40334             Andreas Jaeger  <aj@suse.de>
40335
40336         [BZ #13594]
40337         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
40338         out from...
40339         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
40340         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
40341         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
40342         code changing __hst_map_handle.map.
40343
40344 2012-05-15  Roland McGrath  <roland@hack.frob.com>
40345
40346         * configure.in (sysnames): Look for Implies-before and Implies-after
40347         files.
40348         * configure: Regenerated.
40349
40350 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
40351
40352         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
40353         8-byte data alignment with LP_SIZE alignment.
40354
40355 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
40356
40357         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
40358         into R10_LP.
40359
40360 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
40361
40362         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
40363
40364 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
40365
40366         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
40367         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
40368         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
40369         Likewise.
40370         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
40371
40372 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
40373
40374         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
40375         (stackinfo_sub_sp): Likewise.
40376
40377 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
40378
40379         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
40380         RAX_LP.
40381
40382 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
40383
40384         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
40385         into R*_LP.
40386
40387 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
40388
40389         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
40390         sizes into R*_LP.
40391
40392 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
40393
40394         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
40395
40396 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
40397
40398         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
40399         into R11_LP and load __x86_64_shared_cache_size_half into
40400         R8_LP.
40401
40402 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
40403
40404         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
40405         R8_LP.
40406
40407 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40408
40409         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
40410         logb for POWER7.
40411         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
40412         logbf for POWER7.
40413         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
40414         logbl for POWER7.
40415         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
40416         powerpc32/power7/fpu/s_logb.c via #include.
40417         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
40418         powerpc32/power7/fpu/s_logbf.c via #include.
40419         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
40420         powerpc32/power7/fpu/s_logbl.c via #include.
40421
40422 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
40423
40424         * README.libm: Remove file.
40425
40426 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
40427
40428         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
40429         count for x32.  Use R*_LP and omit operand-size suffix.
40430
40431 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
40432
40433         * shlib-versions: Move x86_64-.*-linux.* entries to ...
40434         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
40435         * sysdeps/x86_64/x32/shlib-versions: New file.
40436
40437 2012-05-14  Roland McGrath  <roland@hack.frob.com>
40438
40439         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
40440         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
40441         Use _dl_fatal_printf instead.
40442
40443 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
40444
40445         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
40446         set if not set by the user.  Do not allow for being unset.
40447         * sysdeps/unix/sysv/linux/configure: Regenerated.
40448
40449 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
40450
40451         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
40452         the `q' suffix from lea and replace .quad with ASM_ADDR.
40453
40454 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
40455
40456         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
40457         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
40458         instead of $17.
40459         (PTR_DEMANGLE): Likewise.
40460
40461 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
40462
40463         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
40464         (LP_OP): Likewise.
40465         (ASM_ADDR): Likewise.
40466         (RAX_LP): Likewise.
40467         (RBP_LP): Likewise.
40468         (RBX_LP): Likewise.
40469         (RCX_LP): Likewise.
40470         (RDI_LP): Likewise.
40471         (RSI_LP): Likewise.
40472         (RSP_LP): Likewise.
40473         (R8_LP): Likewise.
40474         (R9_LP): Likewise.
40475         (R10_LP): Likewise.
40476         (R10_LP): Likewise.
40477         (R11_LP): Likewise.
40478         (R12_LP): Likewise.
40479         (R13_LP): Likewise.
40480         (R14_LP): Likewise.
40481         (R15_LP): Likewise.
40482
40483 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
40484
40485         * sysdeps/x86_64/x32/dl-machine.h: New file.
40486
40487 2012-05-14  Andreas Jaeger  <aj@suse.de>
40488
40489         * manual/Makefile (subdir): Remove export of subdir.
40490         (all): Remove target.
40491         (.PHONY): Remove all from list.
40492         (mkinstalldirs): Remove.
40493         (.PHONY): Remove installdirs from list.
40494         ($(inst_infodir)/libc.info): Use make-target-directory.
40495         (installdirs): Remove.
40496         (subdir_%): Remove.
40497         (glibc-targets): Remove.
40498         (lib): Remove.
40499         (stubs): Remove.
40500         ($(objpfx)stubs ../po/manual.pot): Remove.
40501         ($(objpfx)stamp%): Remove.
40502         (make-target-directory): Remove.
40503         (subdir_install): Remove.
40504         (routines): Remove.
40505         (aux): Remove.
40506         (sources): Remove.
40507         (objects): Remove.
40508         (headers): Remove.
40509
40510         [BZ #13750]
40511         * manual/.gitignore: Remove, it's not needed anymore.
40512         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
40513         all files in it.
40514         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
40515         directory.
40516         (texis): Renamed to $(objpfx)texis.
40517         (texis-path): New, contains path to generated files.
40518         (chapters.%): Use texis-path for complete path, add extra argument
40519         libc-texinfo.sh.
40520         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
40521         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
40522         (summary,texi, stamp-summary): Use complete path of
40523         files. Generate files in build dir.
40524         (dir-add.texi): Build in build dir.
40525         (libm-err.texi,stamp-libm-err): Likewise.
40526         (version.texi, stamp-version): Likewise.
40527         (.%c.texi): Likewise.
40528         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
40529         (mostlyclean): Remove target.
40530         (realclean): Remove target.
40531         (generated): Add new variable with contents from mostlyclean and
40532         realclean, remove entries duplicated in common-mostlyclean, add
40533         stamp-libm-err and stamp-version.
40534         (generated-dirs): Add libc directory.
40535         ($(inst_infodir)/libc.info): Install files from build dir.
40536
40537         * manual/install.texi (Configuring and compiling): Adjust since
40538         the info files are not part of the tar ball anymore.
40539
40540 2012-05-14  Andreas Jaeger  <aj@suse.de>
40541
40542         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
40543         variable.
40544
40545 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
40546
40547         [BZ #13717]
40548         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
40549         to 2.2.0 where earlier.
40550         * sysdeps/unix/sysv/linux/configure: Regenerated.
40551         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
40552         Remove conditional code.
40553         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
40554         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
40555         Remove conditional code.
40556         [!__NR_lchown]: Likewise.
40557         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
40558         [__NR_lchown]: Likewise.
40559         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
40560         comment referencing __ASSUME_LCHOWN_SYSCALL.
40561         * sysdeps/unix/sysv/linux/i386/sigaction.c
40562         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
40563         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
40564         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
40565         Remove conditional code.
40566         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
40567         (__protocol_available): Remove #if 0 code.
40568         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
40569         conditional code.
40570         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
40571         * sysdeps/unix/sysv/linux/kernel-features.h
40572         (__ASSUME_GETCWD_SYSCALL): Don't define.
40573         (__ASSUME_REALTIME_SIGNALS): Likewise.
40574         (__ASSUME_PREAD_SYSCALL): Likewise.
40575         (__ASSUME_PWRITE_SYSCALL): Likewise.
40576         (__ASSUME_POLL_SYSCALL): Likewise.
40577         (__ASSUME_LCHOWN_SYSCALL): Likewise.
40578         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
40579         non-SPARC.
40580         (__ASSUME_SIOCGIFNAME): Don't define.
40581         (__ASSUME_MSG_NOSIGNAL): Likewise.
40582         (__ASSUME_SENDFILE): Define unconditionally.
40583         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
40584         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
40585         conditional code.
40586         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
40587         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
40588         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
40589         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
40590         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
40591         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
40592         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
40593         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
40594         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
40595         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
40596         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
40597         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
40598         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
40599         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
40600         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
40601         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
40602         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
40603         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
40604         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
40605         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
40606         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
40607         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
40608         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
40609         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
40610         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
40611         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
40612         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
40613         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
40614         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
40615         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
40616         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
40617         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
40618         Remove conditional code.
40619         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
40620         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
40621         Remove conditional code.
40622         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
40623         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
40624         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
40625         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
40626         Remove conditional code.
40627         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
40628         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
40629         Remove conditional code.
40630         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
40631         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
40632         Remove conditional code.
40633         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
40634         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
40635         Remove conditional code.
40636         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
40637         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
40638         Remove conditional code.
40639         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
40640         * sysdeps/unix/sysv/linux/sh/pwrite64.c
40641         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
40642         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
40643         * sysdeps/unix/sysv/linux/sigaction.c
40644         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
40645         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
40646         * sysdeps/unix/sysv/linux/sigpending.c
40647         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
40648         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
40649         * sysdeps/unix/sysv/linux/sigprocmask.c
40650         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
40651         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
40652         * sysdeps/unix/sysv/linux/sigsuspend.c
40653         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
40654         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
40655         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
40656         (__libc_missing_rt_sigs): Remove.
40657         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
40658         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
40659         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
40660         Remove conditional code.
40661         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
40662         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
40663         return 1.
40664         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
40665         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
40666         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
40667         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
40668
40669 2012-05-14  Andreas Jaeger  <aj@suse.de>
40670
40671         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
40672         it's not used in glibc.
40673         (__coshm1): Likewise.
40674         (__acosh1p): Likewise.
40675         (__sgn): Likewise.
40676
40677         * manual/string.texi (Copying and Concatenation): Add missing
40678         variable in concat example.
40679         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
40680
40681 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
40682
40683         [BZ #14103]
40684         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
40685         __builtin_clzl with __builtin_clzll.
40686
40687 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
40688
40689         [BZ #14104]
40690         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
40691         libc_freeres_ptr.
40692
40693 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
40694
40695         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
40696         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
40697         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
40698         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
40699
40700 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
40701
40702         * NEWS: Update ia64 info.
40703
40704 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
40705
40706         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
40707         used as bcopy.
40708
40709 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
40710
40711         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
40712         * sysdeps/unix/syscalls.list (dup3): Likewise.
40713         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
40714         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
40715
40716 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
40717
40718         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
40719         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
40720
40721 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
40722
40723         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
40724         thread pointer.
40725         (TLS_IE): Use mov/add instead of movq/addq to load thread
40726         pointer.
40727         (TLS_GD_PREFIX): New.
40728         (TLS_GD): Use it.
40729
40730 2012-05-11  David S. Miller  <davem@davemloft.net>
40731
40732         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
40733         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
40734         (_FPU_SETCW): Likewise.
40735
40736 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
40737
40738         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
40739         is 32-byte aligned.
40740
40741 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
40742
40743         [BZ #11837]
40744         * iconvdata/gb18030.c: Update tables.
40745         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
40746         characters specially.
40747         (BODY for TO_LOOP): Add encoding of missing ranges.
40748
40749 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
40750
40751         [BZ #13673]
40752         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
40753         * sysdeps/mach/hurd/dup3.c: Likewise.
40754         * sysdeps/mach/hurd/readlinkat.c: Likewise.
40755         * sysdeps/powerpc/memmove.c:: Likewise.
40756
40757 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
40758
40759         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
40760         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
40761
40762 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
40763
40764         * elf/elf.h (R_X86_64_RELATIVE64): New.
40765         (R_X86_64_NUM): Updated.
40766         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
40767         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
40768         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
40769         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
40770         tst-quad1pie tst-quad2pie
40771         (modules-names): Add tst-quadmod1 tst-quadmod2.
40772         ($(objpfx)tst-quad1): New dependency.
40773         ($(objpfx)tst-quad2): Likewise.
40774         ($(objpfx)tst-quad1pie): Likewise.
40775         ($(objpfx)tst-quad2pie): Likewise.
40776         * sysdeps/x86_64/tst-quad1.c: New file.
40777         * sysdeps/x86_64/tst-quad1pie.c: New file.
40778         * sysdeps/x86_64/tst-quad2.c: Likewise.
40779         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
40780         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
40781         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
40782         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
40783         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
40784
40785 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
40786
40787         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
40788         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
40789         * streams/stropts.h (t_scalar_t): Define type.
40790
40791         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
40792         (_PATH_PRESERVE): Set to "/var/lib".
40793         (_PATH_RWHODIR): Set to "/var/spool/rwho".
40794
40795         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
40796         instead of int.
40797
40798         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
40799         if __dir_mkfile succeeded.
40800
40801         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
40802         checking for _hurd_dtablesize.  Unlock it right after having
40803         finished _hurd_dtable allocation.
40804
40805 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
40806
40807         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
40808         * sysdeps/mach/hurd/configure: Regenerated.
40809         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
40810         special-casing to...
40811         * sysdeps/gnu/configure.in: ... this new file.
40812         * sysdeps/unix/sysv/linux/configure: Regenerated.
40813         * sysdeps/gnu/configure: New generated file.
40814
40815         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
40816         for Linux: use nsec instead of usec, as well as:
40817         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
40818         members of type struct timespec.
40819         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
40820         New macros.
40821         (struct stat64): Likewise.
40822         (_STATBUF_ST_NSEC): New macro.
40823         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
40824
40825         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
40826         __strtoul_internal rather than strtoul.
40827
40828 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
40829
40830         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
40831         and reject them.
40832
40833 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
40834
40835         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
40836         which preserves existing values.
40837         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
40838
40839 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
40840
40841         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
40842         TIMEOUT values.  Return EINVAL for NFDS values either negative or
40843         greater than FD_SETSIZE.
40844
40845 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
40846
40847         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
40848         allocated, call __vm_protect to finish enabling the existing space, and
40849         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
40850         allocate the remainder.
40851
40852 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
40853
40854         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
40855         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
40856
40857 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
40858
40859         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
40860         sysdeps/mach/hurd/readlink.c.
40861
40862         * posix/tst-sysconf.c (posix_options): Only use
40863         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
40864         _POSIX_SYNCHRONIZED_IO when they are defined
40865         * sysdeps/mach/hurd/bits/posix_opt.h:
40866         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
40867         (_XOPEN_REALTIME): Undefine macro.
40868         (_XOPEN_REALTIME_THREADS): Undefine macro.
40869         (_XOPEN_SHM): Undefine macro.
40870         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
40871         macro to -1.
40872         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
40873         macro to -1.
40874         (_POSIX_ASYNC_IO): Undefine macro.
40875         (_POSIX_PRIORITIZED_IO): Undefine macro.
40876         (_POSIX_SPIN_LOCKS): Define macro to -1.
40877
40878         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
40879         SA_NODEFER, SA_RESETHAND.
40880         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
40881         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
40882         F_DUPFD_CLOEXEC.
40883
40884 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
40885
40886         * elf/Makefile (pldd-modules): Define unconditionally.
40887
40888 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
40889
40890         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
40891
40892 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
40893
40894         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
40895         Return ENOENT when name is empty.
40896         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
40897
40898 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
40899
40900         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
40901
40902         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
40903
40904 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
40905
40906         Fix mlock in all cases except non-readable pages.
40907         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
40908         instead of VM_PROT_ALL as parameter to __vm_wire function.
40909
40910         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
40911         (__mkdir): When path is `/', just fail with EEXIST.
40912         * sysdeps/mach/hurd/mkdirat.c: Likewise.
40913
40914 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
40915
40916         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
40917         <sys/uio.h> (for writev).
40918         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
40919         and <sys/param.h> (for MIN).
40920
40921 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
40922
40923         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
40924         REQUESTED_TIME.  Properly set the remaining time and return EINTR
40925         if interrupted.
40926
40927 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
40928
40929         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
40930         Depend on against $(link-rpcuserlibs).
40931
40932 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
40933
40934         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
40935         (__libc_stack_end): Do not use attribute_relro.
40936         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
40937         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
40938         to libthread-provided value.
40939         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
40940         attribute_relro.
40941
40942 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
40943
40944         [BZ #3748]
40945         * bits/libc-lock.h (__libc_once_get): New macro.
40946         * sysdeps/mach/bits/libc-lock.h: Likewise.
40947         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
40948         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
40949         instead of using implementation details.
40950
40951         * libio/fileops.c: Unconditionally include <kernel-features.h>.
40952         * libio/freopen.c: Likewise.
40953         * libio/freopen64.c: Likewise.
40954         * misc/syslog.c: Likewise.
40955         * nscd/connections.c: Likewise.
40956         * nscd/netgroupcache.c: Likewise.
40957         * sysdeps/posix/getcwd.c: Likewise.
40958
40959 2012-05-10  Roland McGrath  <roland@hack.frob.com>
40960
40961         * math/w_ilogbf.c: Add #include <limits.h>.
40962
40963 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
40964
40965         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
40966         path instead of returning without unlocking.
40967
40968         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
40969         immediate-write ioctls.
40970         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
40971
40972 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
40973
40974         * sysdeps/mach/hurd/i386/init-first.c (init): Use
40975         __builtin_frame_address instead of making assumptions about the
40976         location of the return address relative to DATA.  Force early load of
40977         the return address.
40978         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
40979         __builtin_frame_address.
40980
40981         dup3 for GNU Hurd.
40982         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
40983         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
40984         implement dup3 and do some further code clean-ups.
40985         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
40986         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
40987
40988 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
40989
40990         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
40991
40992         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
40993         HURD_CRITICAL_END around holding _hurd_dtable_lock.
40994         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
40995         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
40996         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
40997         d->port.lock.
40998
40999         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
41000         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
41001         when handler == SIG_ERR, not when handler != SIG_ERR.
41002
41003 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
41004
41005         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
41006         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
41007         definitions.
41008
41009         accept4 for GNU Hurd.
41010         * include/sys/socket.h (__libc_accept4): New prototype.
41011         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
41012         to implement __libc_accept4.
41013         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
41014         __libc_accept4.
41015         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
41016
41017         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
41018         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
41019         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
41020         signal-defines.sym.
41021
41022 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
41023
41024         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
41025
41026 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
41027
41028         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
41029         assertion on O_CLOEXEC flag.
41030         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
41031         * hurd/intern-fd.c: Likewise.
41032         * hurd/port2fd.c: Likewise.
41033
41034 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
41035
41036         [BZ #3906]
41037         * bits/in.h (IPV6_PKTINFO): Define new macro.
41038         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
41039
41040 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41041
41042         [BZ #13954]
41043         [BZ #13955]
41044         [BZ #13956]
41045         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
41046         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
41047         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
41048         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
41049         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
41050         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
41051         * math/libm-test.inc (logb_test) : Additional logb tests.
41052
41053 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
41054             Andreas Jaeger  <aj@suse.de>
41055
41056         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
41057         * configure: Regenerated.
41058         * config.h.in (LINK_OBSOLETE_RPC): New macro.
41059         * config.make.in (link-obsolete-rpc): New substituted variable.
41060         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
41061         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
41062         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
41063         (shared-only-routines): Don't set it under [link-obsolete-rpc],
41064         so that libc.a contains the symbols.
41065         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
41066         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
41067         * sunrpc/auth_none.c: Likewise.
41068         * sunrpc/auth_unix.c: Likewise.
41069         * sunrpc/authdes_prot.c: Likewise.
41070         * sunrpc/authuxprot.c: Likewise.
41071         * sunrpc/clnt_gen.c: Likewise.
41072         * sunrpc/clnt_perr.c: Likewise.
41073         * sunrpc/clnt_raw.c: Likewise.
41074         * sunrpc/clnt_simp.c: Likewise.
41075         * sunrpc/clnt_tcp.c: Likewise.
41076         * sunrpc/clnt_udp.c: Likewise.
41077         * sunrpc/clnt_unix.c: Likewise.
41078         * sunrpc/des_crypt.c: Likewise.
41079         * sunrpc/des_soft.c: Likewise.
41080         * sunrpc/get_myaddr.c: Likewise.
41081         * sunrpc/key_call.c: Likewise.
41082         * sunrpc/key_prot.c: Likewise.
41083         * sunrpc/netname.c: Likewise.
41084         * sunrpc/pm_getmaps.c: Likewise.
41085         * sunrpc/pm_getport.c: Likewise.
41086         * sunrpc/pmap_clnt.c: Likewise.
41087         * sunrpc/pmap_prot.c: Likewise.
41088         * sunrpc/pmap_prot2.c: Likewise.
41089         * sunrpc/pmap_rmt.c: Likewise.
41090         * sunrpc/publickey.c: Likewise.
41091         * sunrpc/rpc_cmsg.c: Likewise.
41092         * sunrpc/rpc_common.c: Likewise.
41093         * sunrpc/rpc_dtable.c: Likewise.
41094         * sunrpc/rpc_prot.c: Likewise.
41095         * sunrpc/rpc_thread.c: Likewise.
41096         * sunrpc/rtime.c: Likewise.
41097         * sunrpc/svc.c: Likewise.
41098         * sunrpc/svc_auth.c: Likewise.
41099         * sunrpc/svc_raw.c: Likewise.
41100         * sunrpc/svc_run.c: Likewise.
41101         * sunrpc/svc_tcp.c: Likewise.
41102         * sunrpc/svc_udp.c: Likewise.
41103         * sunrpc/svc_unix.c: Likewise.
41104         * sunrpc/svcauth_des.c: Likewise.
41105         * sunrpc/xcrypt.c: Likewise.
41106         * sunrpc/xdr.c: Likewise.
41107         * sunrpc/xdr_array.c: Likewise.
41108         * sunrpc/xdr_float.c: Likewise.
41109         * sunrpc/xdr_intXX_t.c: Likewise.
41110         * sunrpc/xdr_mem.c: Likewise.
41111         * sunrpc/xdr_rec.c: Likewise.
41112         * sunrpc/xdr_ref.c: Likewise.
41113         * sunrpc/xdr_sizeof.c: Likewise.
41114         * sunrpc/xdr_stdio.c: Likewise.
41115
41116 2012-05-10  Roland McGrath  <roland@hack.frob.com>
41117
41118         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
41119         change.  Update copyright years.
41120
41121 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
41122
41123         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
41124
41125 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
41126             Joseph Myers  <joseph@codesourcery.com>
41127             Paul Pluzhnikov  <ppluzhnikov@google.com>
41128
41129         [BZ #14012]
41130         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
41131         requiring rpcgen.
41132         [cross-compiling] (extra-libs): Likewise.
41133         [cross-compiling] (extra-libs-others): Likewise.
41134         [cross-compiling] (librpcsvc-routines): Likewise.
41135         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
41136         [cross-compiling] (omit-deps): Likewise.
41137         (sunrpc-CPPFLAGS): New variable.
41138         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
41139         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
41140         (cross-rpcgen-objs): New variable.
41141         (extra-objs): Append $(cross-rpcgen-objs).
41142         ($(cross-rpcgen-objs)): New rule.
41143         ($(objpfx)cross-rpcgen): Likewise.
41144         (rpcgen-cmd): Define to use $(built-program-file).  Expand
41145         comment.
41146         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
41147         ($(objpfx)x%.stmp): Likewise.
41148         * sunrpc/proto.h [IS_IN_build] (_): Define.
41149         [IS_IN_build] (_libc_intl_domainname): Likewise.
41150
41151 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
41152
41153         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
41154         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
41155         and R_X86_64_TPOFF64.
41156
41157 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
41158
41159         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
41160         sysdeps/unix/sysv/syscalls.list.
41161         (stime): Likewise.
41162         (utime): Likewise.
41163         * sysdeps/unix/sysv/syscalls.list: Remove file.
41164
41165 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
41166
41167         [BZ #3440]
41168         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
41169         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
41170         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
41171         (__LC_IDENTIFICATION): Make these macros useful in #if
41172         expressions, as required by C99.
41173
41174 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
41175
41176         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
41177         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
41178         after this.
41179
41180 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
41181
41182         * stdlib/longlong.h: Updated from GCC.
41183
41184 2012-05-09  Andreas Jaeger  <aj@suse.de>
41185
41186         * nscd/nscd.c (run_modes): Make named enum, reorder so that
41187         default is first entry.
41188         (run_mode): Set type.
41189         (main): Remove informal message about syslog.
41190         (options): Fix typo.
41191
41192         [BZ #14053]
41193         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
41194         to asm.
41195         (lrint): Likewise.
41196         (llrintf): Likewise.
41197         (llrint): Likewise.
41198         (rint): Likewise.
41199         (rintf): Likewise.
41200         (nearbyint): Likewise.
41201         (nearbyintf): Likewise.
41202
41203 2012-05-09  Andreas Jaeger  <aj@suse.de>
41204             Pedro Alves  <palves@redhat.com>
41205
41206         * nscd/nscd.c (run_mode): Use enum.
41207         (main): Cleanup coding style issue.
41208
41209 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
41210             Andreas Jaeger  <aj@suse.de>
41211
41212         * nscd/nscd.c (go_background): Replaced with...
41213         (run_mode): ... this.
41214         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
41215         (options): Add -F --foreground.
41216         (main): Implement it.
41217         (parse_opt): Parse it.
41218
41219 2012-05-09  Andreas Jaeger  <aj@suse.de>
41220
41221         [BZ #14083]
41222         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
41223         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
41224         -Wconversion warning.
41225         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
41226         Likewise.
41227
41228 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
41229
41230         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
41231         == 0.
41232         (LC_ALL): Use macro-int-constant.
41233         (LC_COLLATE): Likewise.
41234         (LC_CTYPE): Likewise.
41235         (LC_MESSAGES): Likewise.
41236         (LC_MONETARY): Likewise.
41237         (LC_NUMERIC): Likewise.
41238         (LC_TIME): Likewise.
41239         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
41240         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
41241         [ISO || ISO99 || ISO11] (*_t): Do not allow.
41242         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
41243         Specify type.
41244         [C99-based standards] (float_t): Expect type.
41245         [C99-based standards] (double_t): Expect type.
41246         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
41247         type.
41248         [C99-based standards] (HUGE_VALL): Likewise.
41249         [C99-based standards] (INFINITY): Likewise.
41250         [C99-based standards] (NAN): Likewise.
41251         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
41252         [C99-based standards] (FP_NAN): Likewise.
41253         [C99-based standards] (FP_NORMAL): Likewise.
41254         [C99-based standards] (FP_SUBNORMAL): Likewise.
41255         [C99-based standards] (FP_ZERO): Likewise.
41256         [C99-based standards] (FP_FAST_FMA): Use
41257         optional-macro-int-constant.  Specify type.  Require == 1.
41258         [C99-based standards] (FP_FAST_FMAF): Likewise.
41259         [C99-based standards] (FP_FAST_FMAL): Likewise.
41260         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
41261         [C99-based standards] (FP_ILOGBNAN): Likewise.
41262         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
41263         Specify type.
41264         [C99-based standards] (MATH_ERREXCEPT): Likewise.
41265         [C99-based standards] (math_errhandling): Specify type.
41266         [ISO99 || ISO11] (signgam): Do not allow.
41267         [non-C99-based standards] (copysignf): Do not allow.
41268         [non-C99-based standards] (exp2f): Likewise.
41269         [non-C99-based standards] (log2f): Likewise.
41270         [non-C99-based standards] (modff): Allow.
41271         [non-C99-based standards] (erff): Do not allow.
41272         [non-C99-based standards] (erfcf): Likewise.
41273         [non-C99-based standards] (gammaf): Likewise.
41274         [non-C99-based standards] (hypotf): Likewise.
41275         [non-C99-based standards] (j0f): Likewise.
41276         [non-C99-based standards] (j1f): Likewise.
41277         [non-C99-based standards] (jnf): Likewise.
41278         [non-C99-based standards] (lgammaf): Likewise.
41279         [non-C99-based standards] (tgammaf): Likewise.
41280         [non-C99-based standards] (y0f): Likewise.
41281         [non-C99-based standards] (y1f): Likewise.
41282         [non-C99-based standards] (ynf): Likewise.
41283         [non-C99-based standards] (isnanf): Likewise.
41284         [non-C99-based standards] (acoshf): Likewise.
41285         [non-C99-based standards] (asinhf): Likewise.
41286         [non-C99-based standards] (atanhf): Likewise.
41287         [non-C99-based standards] (cbrtf): Likewise.
41288         [non-C99-based standards] (expm1f): Likewise.
41289         [non-C99-based standards] (ilogbf): Likewise.
41290         [non-C99-based standards] (log1pf): Likewise.
41291         [non-C99-based standards] (logbf): Likewise.
41292         [non-C99-based standards] (nextafterf): Likewise.
41293         [non-C99-based standards] (remainderf): Likewise.
41294         [non-C99-based standards] (rintf): Likewise.
41295         [non-C99-based standards] (scalbf): Likewise.
41296         [non-C99-based standards] (copysignl): Likewise.
41297         [non-C99-based standards] (exp2l): Likewise.
41298         [non-C99-based standards] (log2l): Likewise.
41299         [non-C99-based standards] (modfl): Allow.
41300         [non-C99-based standards] (erfl): Do not allow.
41301         [non-C99-based standards] (erfcl): Likewise.
41302         [non-C99-based standards] (gammal): Likewise.
41303         [non-C99-based standards] (hypotl): Likewise.
41304         [non-C99-based standards] (j0l): Likewise.
41305         [non-C99-based standards] (j1l): Likewise.
41306         [non-C99-based standards] (jnl): Likewise.
41307         [non-C99-based standards] (lgammal): Likewise.
41308         [non-C99-based standards] (tgammal): Likewise.
41309         [non-C99-based standards] (y0l): Likewise.
41310         [non-C99-based standards] (y1l): Likewise.
41311         [non-C99-based standards] (ynl): Likewise.
41312         [non-C99-based standards] (isnanl): Likewise.
41313         [non-C99-based standards] (acoshl): Likewise.
41314         [non-C99-based standards] (asinhl): Likewise.
41315         [non-C99-based standards] (atanhl): Likewise.
41316         [non-C99-based standards] (cbrtl): Likewise.
41317         [non-C99-based standards] (expm1l): Likewise.
41318         [non-C99-based standards] (ilogbl): Likewise.
41319         [non-C99-based standards] (log1pl): Likewise.
41320         [non-C99-based standards] (logbl): Likewise.
41321         [non-C99-based standards] (nextafterl): Likewise.
41322         [non-C99-based standards] (remainderl): Likewise.
41323         [non-C99-based standards] (rintl): Likewise.
41324         [non-C99-based standards] (scalbl): Likewise.
41325         [ISO || ISO99 || ISO11] (*_t): Do not allow.
41326         [non-C99-based standards] (FP_*): Do not allow.
41327         [C99-based standards] (FP_*): Change to
41328         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
41329         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
41330         allow.
41331         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
41332         (SIG_ERR): Likewise.
41333         [X/Open-based standards] (SIG_HOLD): Likewise.
41334         (SIG_IGN): Likewise.
41335         (SIGABRT): Use macro-int-constant.  Specify type.  Require
41336         positive value.
41337         (SIGFPE): Likewise.
41338         (SIGILL): Likewise.
41339         (SIGINT): Likewise.
41340         (SIGSEGV): Likewise.
41341         (SIGTER): Likewise.
41342         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
41343         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
41344         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
41345         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
41346         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
41347         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
41348         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
41349         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
41350         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
41351         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
41352         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
41353         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
41354         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
41355         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
41356         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
41357         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
41358         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
41359         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
41360         [X/Open-based standards] (SIGTRAP): Likewise.
41361         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
41362         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
41363         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
41364         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
41365         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
41366         allow.
41367
41368 2012-05-08  Ian Wienand  <ianw@vmware.com>
41369
41370         [BZ #14080]
41371         * time/tzset.c (__tzset_parse_tz): Update default rules for
41372         daylight time changes in the Energy Policy Act of 2005.
41373
41374 2012-05-09  Andreas Jaeger  <aj@suse.de>
41375
41376         [BZ #13983]
41377         * elf/ldconfig.c (parse_conf): Change string to make clear that
41378         ldconfig only issued a warning if ld.so.conf does not exist.
41379
41380 2012-05-08  David S. Miller  <davem@davemloft.net>
41381
41382         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
41383         movxtod instead of popping the value on the stack.
41384
41385         * sysdeps/sparc/fpu/libm-test-ulps: Update.
41386
41387 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
41388
41389         * config.h.in: Add HAVE_ARM_PCS_VFP.
41390
41391 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
41392
41393         [BZ #13979]
41394         * include/features.h: Warn if user requests __FORTIFY_SOURCE
41395         checking but the checks are disabled for any reason.
41396
41397 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
41398
41399         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
41400         and ELF64_R_TYPE with ELFW(R_TYPE).
41401
41402 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
41403
41404         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
41405         (ulimit): Likewise.
41406
41407         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
41408         (settimeofday): Likewise.
41409
41410 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
41411
41412         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
41413         a struct th_u2 inside the union, and move tu_block/tu_code into
41414         a new th_u3 union of tu_block/tu_code inside of that.  Move
41415         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
41416         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
41417         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
41418         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
41419         (th_stuff): Change to th_u1.tu_stuff.
41420         (th_data): Define.
41421         (th_msg): Change to th_u1.th_u2.tu_data.
41422
41423 2012-05-07  David S. Miller  <davem@davemloft.net>
41424
41425         * sysdeps/sparc/fpu/libm-test-ulps: Update.
41426
41427         [BZ #14074]
41428         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
41429         (SETUP_PIC_REG): Use it.
41430         (SETUP_PIC_REG_LEAF): Use it.
41431
41432 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
41433
41434         [BZ #13885]
41435         [BZ #13923]
41436         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
41437         USE_AS_EXPM1L.
41438         (EXPL_FINITE): Likewise.
41439         (FLDLOG): Likewise.
41440         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
41441         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
41442         e_expl.S.
41443         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
41444         USE_AS_EXPM1L.
41445         (EXPL_FINITE): Likewise.
41446         (FLDLOG): Likewise.
41447         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
41448         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
41449         e_expl.S.
41450         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
41451         test of -max_value argument for long double.
41452         * sysdeps/i386/fpu/libm-test-ulps: Update.
41453         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41454
41455 2012-05-06  David S. Miller  <davem@davemloft.net>
41456
41457         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
41458         quad soft-float symbols whose references which are compiler
41459         generated.
41460         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
41461
41462 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
41463
41464         [BZ #13884]
41465         [BZ #13914]
41466         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
41467         USE_AS_EXP10L.
41468         (EXPL_FINITE): Likewise.
41469         (FLDLOG): Likewise.
41470         (c0): Likewise.
41471         (c1): Likewise.
41472         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
41473         Adjust comments for base varying.
41474         (__expl_finite): Change alias to EXPL_FINITE.
41475         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
41476         e_expl.S.
41477         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
41478         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
41479         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
41480         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
41481         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
41482         USE_AS_EXP10L.
41483         (EXPL_FINITE): Likewise.
41484         (FLDLOG): Likewise.
41485         (c0): Likewise.
41486         (c1): Likewise.
41487         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
41488         Adjust comments for base varying.
41489         (__expl_finite): Change alias to EXPL_FINITE.
41490         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
41491         tests for bugs.
41492         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
41493
41494         [BZ #14064]
41495         * math/libm-test.inc (check_float_internal): Correct ulp
41496         calculation for subnormal expected results.
41497
41498 2012-05-06  Andreas Jaeger  <aj@suse.de>
41499
41500         * Makeconfig (+math-flags): New, set to -frounding-math.
41501         (+cflags): Add +math-flags so that all of glibc gets compiled with
41502         it.
41503
41504         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
41505
41506 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
41507
41508         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
41509         Disable one test.
41510
41511         [BZ #13787]
41512         [BZ #13922]
41513         [BZ #14036]
41514         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
41515         (__ieee754_expl): Allow for and saturate large arguments.
41516         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
41517         (u_threshold): Likewise.
41518         (__exp): Call __ieee754_exp before checking for overflow and
41519         underflow.
41520         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
41521         (u_threshold): Likewise.
41522         (__expf): Call __ieee754_expf before checking for overflow and
41523         underflow.
41524         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
41525         (u_threshold): Likewise.
41526         (__expl): Call __ieee754_expl before checking for overflow and
41527         underflow.
41528         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
41529         (__ieee754_expl): Allow for and saturate large arguments.
41530         * math/libm-test.inc (exp_test): Add another test.  Do not allow
41531         missing overflow exception on overflow.
41532         (expm1_test): Do not allow missing overflow exception on overflow.
41533
41534         * sysdeps/i386/fpu/e_expl.c: Move to ...
41535         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
41536         rather than using inline asm.
41537         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
41538         * sysdeps/x86_64/fpu/e_expl.S: Copy from
41539         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
41540
41541         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
41542         (nice): Likewise.
41543         (poll): Likewise.
41544         (signal): Likewise.
41545         (time): Likewise.
41546         (times): Likewise.
41547
41548 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
41549
41550         * sysdeps/unix/syscalls.list (adjtime): Add entry from
41551         sysdeps/unix/common/syscalls.list.
41552         (fchmod): Likewise.
41553         (fchown): Likewise.
41554         (ftruncate): Likewise.
41555         (getrusage): Likewise.
41556         (gettimeofday): Likewise.
41557         (setpgid): Likewise.
41558         (setregid): Likewise.
41559         (setreuid): Likewise.
41560         (sigaction): Likewise.
41561         (truncate): Likewise.
41562         (vhangup): Likewise.
41563         * sysdeps/unix/common/syscalls.list: Remove file.
41564         * sysdeps/unix/bsd/Implies: Don't include unix/common.
41565         * sysdeps/unix/sysv/linux/Implies: Likewise.
41566
41567 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
41568
41569         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
41570         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
41571         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
41572         Moved to ...
41573         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
41574         Here.
41575         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
41576         to ...
41577         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
41578         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
41579         to ...
41580         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
41581         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
41582         to ...
41583         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
41584         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
41585         to ...
41586         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
41587         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
41588         to ...
41589         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
41590         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
41591         to ...
41592         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
41593         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
41594         to ...
41595         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
41596         Here.
41597         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
41598         to ...
41599         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
41600         Here.
41601         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
41602         to ...
41603         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
41604         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
41605         Moved to ...
41606         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
41607         Here.
41608         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
41609         to ...
41610         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
41611
41612 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
41613
41614         * sysdeps/unix/common/bits/dirent.h: Remove file.
41615         * sysdeps/unix/common/bits/fcntl.h: Likewise.
41616
41617         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
41618         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
41619         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
41620         * sysdeps/unix/bsd/isatty.c: Likewise.
41621         * sysdeps/unix/bsd/tcdrain.c: Likewise.
41622         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
41623         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
41624
41625 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41626
41627         [BZ #13563]
41628         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
41629         long double comparison inaccuracies.
41630         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
41631         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41632
41633 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
41634
41635         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
41636         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
41637
41638 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
41639
41640         [BZ #14049]
41641         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
41642         nonzero digits before rounding a hex value.
41643         * stdlib/tst-strtod.c (tests): Add another test.
41644
41645 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
41646
41647         * sysdeps/s390/fpu/libm-test-ulps: Update.
41648
41649 2012-05-03  Andreas Jaeger  <aj@suse.de>
41650
41651         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
41652         does not get optimized out.
41653         (malloc_opt_barrier): New.
41654
41655 2012-05-03  Andreas Jaeger  <aj@suse.de>
41656             Roland McGrath  <roland@hack.frob.com>
41657
41658         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
41659         intermediate file deletion.
41660         (generated): Add .symlist files.
41661
41662 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
41663
41664         [BZ #13775]
41665         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
41666         Redirect under this condition.
41667         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
41668         [__USE_GNU] (__dprintf_chk): Not under this condition.
41669         [__USE_GNU] (__vdprintf_chk): Likewise.
41670         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
41671         under this condition.
41672         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
41673         [__USE_XOPEN2K8] (dprintf): Define under this condition.
41674         [__USE_XOPEN2K8] (vdprintf): Likewise.
41675         [__USE_GNU] (__dprintf_chk): Not under this condition.
41676         [__USE_GNU] (__vdprintf_chk): Likewise.
41677         [__USE_GNU] (dprintf): Likewise.
41678         [__USE_GNU] (vdprintf): Likewise.
41679
41680 2012-05-03  Roland McGrath  <roland@hack.frob.com>
41681
41682         * elf/Makefile (common-generated): Set this instead of generated for
41683         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
41684         $(all-built-dso)-derived lists.
41685
41686 2012-05-03  Andreas Jaeger  <aj@suse.de>
41687
41688         * sysdeps/i386/fpu/libm-test-ulps: Update.
41689
41690         * FAQ: Removed.
41691         * FAQ.in: Likewise.
41692         * scripts/gen-FAQ.pl: Likewise.
41693         * manual/install.texi (Installation): Point to online location of
41694         FAQ.
41695         * Makefile (files-for-dist): Remove FAQ.
41696         (FAQ): Remove.
41697
41698 2012-05-02  Allan McRae  <allan@archlinux.org>
41699
41700         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
41701         (LDFLAGS-reldepmod5.so): Likewise.
41702         (LDFLAGS-reldep6mod1.so): Likewise.
41703         (LDFLAGS-reldep6mod4.so): Likewise.
41704         (LDFLAGS-reldep8mod3.so): Likewise.
41705         (LDFLAGS-unload4mod1.so): Likewise.
41706         (LDFLAGS-unload4mod2.so): Likewise.
41707         (LDFLAGS-tst-initorder): Likewise.
41708         (LDFLAGS-tst-initordera2.so): Likewise.
41709         (LDFLAGS-tst-initordera3.so): Likewise.
41710         (LDFLAGS-tst-initordera4.so): Likewise.
41711         (LDFLAGS-tst-initorderb2.so): Likewise.
41712         (LDFLAGS-noload): Likewise.
41713         (LDFLAGS-next): Likewise.
41714         (LDFLAGS-order2mod1.so): Likewise.
41715         (LDFLAGS-order2mod2.so): Likewise.
41716         (LDFLAGS-tst-initorder2): Likewise.
41717         (LDFLAGS-tst-initorder2a.so): Likewise.
41718         (LDFLAGS-tst-initorder2b.so): Likewise.
41719         (LDFLAGS-tst-initorder2c.so): Likewise.
41720         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
41721
41722 2012-05-02  David S. Miller  <davem@davemloft.net>
41723
41724         * sysdeps/sparc/fpu/libm-test-ulps: Update.
41725
41726 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
41727
41728         [BZ #14055]
41729         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
41730
41731 2012-05-02  Andreas Jaeger  <aj@suse.de>
41732
41733         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
41734         since we manipulate rounding mode.
41735         (CPPFLAGS-test-idouble.c): Likewise.
41736         (CPPFLAGS-test-ifloat.c): Likewise.
41737         (CFLAGS-test-ldouble.c): Likewise.
41738         (CFLAGS-test-double.c): Likewise.
41739         (CFLAGS-test-float.c): Likewise.
41740         (CFLAGS-test-misc.c): Likewise.
41741         (CFLAGS-test-test-fenv.c): Likewise.
41742
41743 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41744
41745         [BZ #2550]
41746         [BZ #2570]
41747         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
41748         comparisons to determine direction to adjust input.
41749
41750 2012-05-01  Roland McGrath  <roland@hack.frob.com>
41751
41752         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
41753         output to the target.
41754
41755         * scripts/localplt.awk: New file.
41756         * elf/Makefile ($(objpfx)check-localplt): Target removed.
41757         (check-localplt-CFLAGS): Variable removed.
41758         ($(all-built-dso:=.jmprel)): New static pattern rule.
41759         (generated): Add those targets.
41760         (localplt-built-dso): New variable.
41761         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
41762
41763         * elf/check-localplt.c: File removed.
41764
41765         * scripts/check-execstack.awk: New file.
41766         * elf/Makefile ($(objpfx)check-execstack): Target removed.
41767         (check-execstack-CFLAGS): Variable removed.
41768         ($(objpfx)check-execstack.h): Target removed.
41769         ($(objpfx)execstack-default): New target.
41770         (generated): Add that instead of check-execstack.h.
41771         ($(all-built-dso:=.phdr)): New static pattern rule.
41772         (generated): Add those targets.
41773         * elf/check-execstack.c: File removed.
41774
41775         * scripts/check-textrel.awk: New file.
41776         * elf/Makefile ($(objpfx)check-textrel): Target removed.
41777         (check-textrel-CFLAGS): Variable removed.
41778         (all-built-dso): Use := to define.o
41779         ($(all-built-dso:=.dyn)): New static pattern rule.
41780         (generated): Add those targets.
41781         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
41782         * config.make.in (READELF): New substituted variable.
41783         * elf/check-textrel.c: File removed.
41784
41785 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
41786
41787         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
41788         allow.
41789         * conform/data/ctype.h-data [C99-based standards] (isblank):
41790         Expect function.
41791         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
41792         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
41793         [ISO || ISO99 || ISO11] (*_t): Do not allow.
41794         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
41795         Specify type.  Require positive value.
41796         (EILSEQ): Likewise.
41797         (ERANGE): Likewise.
41798         [ISO || POSIX] (EILSEQ): Do not expect.
41799         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
41800         Specify type.  Require positive value.
41801         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
41802         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
41803         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
41804         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
41805         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
41806         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
41807         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
41808         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
41809         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
41810         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
41811         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
41812         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
41813         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
41814         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
41815         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
41816         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
41817         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
41818         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
41819         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
41820         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
41821         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
41822         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
41823         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
41824         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
41825         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
41826         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
41827         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
41828         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
41829         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
41830         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
41831         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
41832         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
41833         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
41834         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
41835         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
41836         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
41837         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
41838         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
41839         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
41840         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
41841         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
41842         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
41843         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
41844         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
41845         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
41846         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
41847         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
41848         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
41849         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
41850         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
41851         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
41852         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
41853         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
41854         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
41855         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
41856         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
41857         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
41858         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
41859         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
41860         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
41861         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
41862         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
41863         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
41864         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
41865         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
41866         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
41867         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
41868         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
41869         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
41870         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
41871         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
41872         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
41873         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
41874         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
41875         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
41876         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
41877         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
41878         Require >= 2.
41879         (FLT_ROUNDS): Expect as macro, not constant.
41880         (FLT_MANT_DIG): Use macro-int-constant.
41881         (DBL_MANT_DIG): Likewise.
41882         (LDBL_MANT_DIG): Likewise.
41883         (FLT_DIG): Likewise.
41884         (DBL_DIG): Likewise.
41885         (LDBL_DIG): Likewise.
41886         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
41887         (DBL_MIN_EXP): Likewise.
41888         (LDBL_MIN_EXP): Likewise.
41889         (FLT_MAX_EXP): Use macro-int-constant.
41890         (DBL_MAX_EXP): Likewise.
41891         (LDBL_MAX_EXP): Likewise.
41892         (FLT_MAX_10_EXP): Likewise.
41893         (DBL_MAX_10_EXP): Likewise.
41894         (LDBL_MAX_10_EXP): Likewise.
41895         (FLT_MAX): Use macro-constant.
41896         (DBL_MAX): Likewise.
41897         (LDBL_MAX): Likewise.
41898         (FLT_EPSILON): Use macro-constant.  Give upper bound.
41899         (DBL_EPSILON): Likewise.
41900         (LDBL_EPSILON): Likewise.
41901         (FLT_MIN): Likewise.
41902         (DBL_MIN): Likewise.
41903         (LDBL_MIN): Likewise.
41904         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
41905         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
41906         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
41907         [ISO11] (FLT_HAS_SUBNORM): Likewise.
41908         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
41909         [ISO11] (DBL_DECIMAL_DIG): Likewise.
41910         [ISO11] (FLT_DECIMAL_DIG): Likewise.
41911         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
41912         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
41913         [ISO11] (FLT_TRUE_MIN): Likewise.
41914         [ISO11] (LDBL_TRUE_MIN): Likewise.
41915         [ISO || ISO99 || ISO11] (*_t): Do not allow.
41916         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
41917         (SCHAR_MIN): Use macro-int-constant.  Specify type.
41918         (SCHAR_MAX): Likewise.
41919         (UCHAR_MAX): Likewise.
41920         (CHAR_MIN): Likewise.
41921         (CHAR_MAX): Likewise.
41922         (MB_LEN_MAX): Use macro-int-constant.
41923         (SHRT_MIN): Use macro-int-constant.  Specify type.
41924         (SHRT_MAX): Likewise.
41925         (USHRT_MAX): Likewise.
41926         (INT_MAX): Likewise.
41927         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
41928         bound negative.
41929         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
41930         bound with "U".
41931         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
41932         bound with "L".
41933         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
41934         bound negative.  Suffix upper bound with "L".
41935         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
41936         bound with "UL".
41937         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
41938         Specify type.
41939         [C99-based standards] (LLONG_MAX): Likewise.
41940         [C99-based standards] (ULLONG_MAX): Likewise.
41941         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
41942         == 0.
41943         [ISO11] (max_align_t): Require type.
41944         [ISO || ISO99 || ISO11] (*_t): Do not allow.
41945
41946         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
41947         from $CFLAGS, without defining away __attribute__ calls.
41948         (checknamespace): Use $CFLAGS_namespace.
41949
41950         * conform/conformtest.pl (@keywords): Only include C99 keywords
41951         for standards based on C99 or C11.
41952
41953         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
41954         Disable tests.
41955         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
41956         UNIX98]: Likewise.
41957
41958         * conform/conformtest.pl: Handle "macro-int-constant" and test for
41959         usability of symbols in #if.
41960
41961         * conform/conformtest.pl: If macro or constant types start
41962         "promoted:", expect the symbol to be of the following type
41963         promoted by the integer promotions.
41964
41965         * conform/conformtest.pl: Parse all "constant" and "macro" lines
41966         in one place.  Also handle "macro-constant".
41967
41968         * conform/conformtest.pl: Only accept expected macro values with
41969         "==".  Parse all "macro" lines in one place.
41970         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
41971
41972         * conform/conformtest.pl: Handle braced types on "constant" lines
41973         instead of handling "typed-constant".
41974         * conform/data/signal.h-data: Use "constant" instead of
41975         "typed-constant".
41976
41977         * conform/conformtest.pl: Handle "optional-" at start of lines in
41978         one place rather than duplicating several cases.  Handle each
41979         format of "macro" line with initial "optional-".
41980
41981         * conform/conformtest.pl: Only accept expected constant or
41982         optional-constant values with "==".  Parse all "constant" lines in
41983         one place.  Parse all "optional-constant" lines in one place.
41984         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
41985         * conform/data/fmtmsg.h-data: Likewise.
41986         * conform/data/netinet/in.h-data: Likewise.
41987         * conform/data/tar.h-data: Likewise.
41988         * conform/data/limits.h-data: Use "==" form on "constant" and
41989         "optional-constant" lines.
41990
41991         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
41992         Use -std=c99 for XOPEN2K.
41993         (@knownproblems): Remove.
41994         (newtoken): Don't check %isknown.
41995
41996         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
41997         Do not expect macro.
41998         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
41999         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
42000         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
42001         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
42002         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
42003         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
42004         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
42005         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
42006         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
42007         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
42008         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
42009         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
42010         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
42011         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
42012         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
42013         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
42014         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
42015         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
42016         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
42017         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
42018         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
42019         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
42020         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
42021         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
42022         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
42023         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
42024         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
42025         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
42026         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
42027         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
42028         [XPG3] (acosh): Likewise.
42029         [XPG3] (asinh): Likewise.
42030         [XPG3] (atanh): Likewise.
42031         [XPG3] (cbrt): Likewise.
42032         [XPG3] (expm1): Likewise.
42033         [XPG3] (ilogb): Likewise.
42034         [XPG3] (log1p): Likewise.
42035         [XPG3] (logb): Likewise.
42036         [XPG3] (nextafter): Likewise.
42037         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
42038         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
42039         [XPG3] (remainder): Likewise.
42040         [XPG3] (rint): Likewise.
42041         [XPG3 || XPG4 || UNIX98] (round): Likewise.
42042         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
42043         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
42044         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
42045         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
42046         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
42047         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
42048         [UNIX98 || XOPEN2K] (scalb): Expect.
42049         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
42050         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
42051         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
42052         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
42053         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
42054         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
42055         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
42056         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
42057         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
42058         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
42059         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
42060         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
42061         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
42062         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
42063         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
42064         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
42065         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
42066         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
42067         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
42068         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
42069         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
42070         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
42071         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
42072         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
42073         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
42074         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
42075         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
42076         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
42077         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
42078         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
42079         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
42080         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
42081         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
42082         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
42083         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
42084         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
42085         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
42086         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
42087         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
42088         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
42089         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
42090         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
42091         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
42092         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
42093         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
42094         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
42095         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
42096         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
42097         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
42098         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
42099         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
42100         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
42101         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
42102         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
42103         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
42104         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
42105         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
42106         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
42107         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
42108         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
42109         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
42110         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
42111         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
42112         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
42113         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
42114         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
42115         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
42116         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
42117         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
42118         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
42119         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
42120         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
42121         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
42122         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
42123         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
42124         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
42125         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
42126         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
42127         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
42128         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
42129         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
42130         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
42131         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
42132         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
42133         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
42134         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
42135         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
42136         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
42137         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
42138         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
42139         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
42140         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
42141         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
42142         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
42143         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
42144         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
42145         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
42146         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
42147         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
42148         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
42149         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
42150         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
42151         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
42152         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
42153         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
42154         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
42155         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
42156         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
42157         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
42158         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
42159         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
42160         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
42161         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
42162         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
42163         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
42164         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
42165         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
42166         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
42167         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
42168         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
42169         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
42170         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
42171         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
42172         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
42173         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
42174         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
42175         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
42176         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
42177         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
42178         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
42179         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
42180         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
42181         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
42182         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
42183         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
42184         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
42185         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
42186
42187         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
42188         _XOPEN_SOURCE_EXTENDED for XPG4.
42189
42190         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
42191
42192         * Makeconfig (localtime): Remove variable.
42193         (inst_localtime-file): Likewise.
42194
42195 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
42196
42197         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
42198         Update.
42199         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
42200         Update.
42201         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
42202         Update.
42203         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
42204         Update.
42205         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
42206         Update.
42207         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
42208         Update.
42209         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
42210         Update.
42211         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
42212         Update.
42213         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
42214         Update.
42215
42216 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
42217
42218         [BZ #2550]
42219         [BZ #2570]
42220         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
42221         comparisons to determine direction to adjust input.
42222         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
42223         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
42224         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
42225         Likewise.
42226         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
42227         Likewise.
42228         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
42229         Likewise.
42230         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
42231         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
42232         Likewise.
42233         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
42234         Likewise.
42235         * math/libm-test.inc (nexttoward_test): Add more tests.
42236
42237 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
42238
42239         [BZ #14040]
42240         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
42241         in version GLIBC_2.1, not GLIBC_2.0.
42242         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
42243         Likewise.
42244
42245 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
42246
42247         [BZ #13942]
42248         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
42249         (1 - x) * (1 + x).
42250         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
42251         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
42252         * math/libm-test.inc (acos_test): Add more tests.
42253         (asin_test): Likewise.
42254         * sysdeps/i386/fpu/libm-test-ulps: Update.
42255         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42256
42257         [BZ #14034]
42258         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
42259         of square root.
42260         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
42261         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
42262         * math/libm-test.inc (acos_test_tonearest): New function.
42263         (acos_test_towardzero): Likewise.
42264         (acos_test_downward): Likewise.
42265         (acos_test_upward): Likewise.
42266         (asin_test_tonearest): Likewise.
42267         (asin_test_towardzero): Likewise.
42268         (asin_test_downward): Likewise.
42269         (asin_test_upward): Likewise.
42270         (main): Call the new functions.
42271         * sysdeps/i386/fpu/libm-test-ulps: Update.
42272         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
42273
42274         [BZ #13884]
42275         [BZ #13924]
42276         * math/e_exp10.c: Include <float.h>.
42277         (__ieee754_exp10): Handle underflow here rather than multiplying
42278         large negative argument by M_LN10.
42279         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
42280         of __ieee754_expf.
42281         * math/e_exp10l.c: Include <float.h>.
42282         (__ieee754_exp10l): Handle underflow here rather than multiplying
42283         large negative argument by M_LN10l.
42284         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
42285         spurious overflow exception on underflow.
42286
42287 2012-04-29  Marek Polacek  <polacek@redhat.com>
42288
42289         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
42290         (__fortify_function): New macro.
42291         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
42292         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
42293         __extern_always_inline.
42294         * libio/bits/stdio2.h: Likewise.
42295         * libio/bits/stdio.h: Likewise.
42296         * string/string.h: Likewise.
42297         * string/bits/string3.h: Likewise.
42298         * include/stdio.h: Likewise.
42299         * stdlib/bits/stdlib.h: Likewise.
42300         * stdlib/stdlib.h: Likewise.
42301         * rt/bits/mqueue2.h: Likewise.
42302         * rt/mqueue.h: Likewise.
42303         * posix/bits/unistd.h: Likewise.
42304         * posix/unistd.h: Likewise.
42305         * io/bits/poll2.h: Likewise.
42306         * io/bits/fcntl2.h: Likewise.
42307         * io/fcntl.h: Likewise.
42308         * io/sys/poll.h: Likewise.
42309         * misc/bits/syslog.h: Likewise.
42310         * misc/bits/syslog-ldbl.h: Likewise.
42311         * misc/sys/syslog.h: Likewise.
42312         * socket/bits/socket2.h: Likewise.
42313         * socket/sys/socket.h: Likewise.
42314         * debug/tst-chk1.c: Likewise.
42315         * wcsmbs/bits/wchar2.h: Likewise.
42316         * wcsmbs/bits/wchar-ldbl.h: Likewise.
42317         * wcsmbs/wchar.h: Likewise.
42318
42319 2012-04-29  Andreas Jaeger  <aj@suse.de>
42320
42321         * Makerules (tests): Remove enable-check-abi protection.
42322         (check-abi-warn): Remove.
42323         (check-abi-%): Remove check-abi-warn usage.
42324
42325         * configure.in: Remove check-abi configure option.
42326         * configure: Regenerated.
42327         * config.make.in (enable-check-abi): Remove.
42328
42329 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
42330
42331         [BZ #14033]
42332         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
42333         double functions to double *_finite functions.
42334
42335         [BZ #13941]
42336         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
42337         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
42338         LDBL_MIN_EXP.
42339         * stdio-common/Makefile (tests): Add tst-sprintf3.
42340         * stdio-common/tst-sprintf3.c: New file.
42341
42342         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
42343         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
42344
42345 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
42346
42347         * conform/conformtest.pl: Remove duplicate typed-constant
42348         handling.
42349
42350 2012-04-28  David S. Miller  <davem@davemloft.net>
42351
42352         * Makerules (%.abilist): Add vpath on sysdep_dirs.
42353         (check-abi-%): Remove AWK script prerequisite and explicit
42354         abilist directory.
42355         (check-abi): Rewrite to just diff the symlist with the abilist.
42356         (config-tls, config-abi-config): Delete, no longer used.
42357         (update-abi-%): Remove AWK script and explicit abilist directory.
42358         (update-abi): Rewrite to simply compare and conditionally copy the
42359         symlist and the sysdep abilist file.  Remove update-abi-config
42360         checks.
42361         * abilist/ld.abilist: Remove.
42362         * abilist/libBrokenLocale.abilist: Remove.
42363         * abilist/libanl.abilist: Remove.
42364         * abilist/libcrypt.abilist: Remove.
42365         * abilist/libdl.abilist: Remove.
42366         * abilist/librt.abilist: Remove.
42367         * abilist/libthread_db.abilist: Remove.
42368         * abilist/libutil.abilist: Remove.
42369         * scripts/extract-abilist.awk: Remove.
42370         * scripts/merge-abilist.awk: Remove.
42371         * sysdeps/generic/libcidn.abilist: New file.
42372         * sysdeps/generic/libnss_compat.abilist: New file.
42373         * sysdeps/generic/libnss_db.abilist: New file.
42374         * sysdeps/generic/libnss_dns.abilist: New file.
42375         * sysdeps/generic/libnss_files.abilist: New file.
42376         * sysdeps/generic/libnss_hesiod.abilist: New file.
42377         * sysdeps/generic/libnss_nis.abilist: New file.
42378         * sysdeps/generic/libnss_nisplus.abilist: New file.
42379         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
42380         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
42381         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
42382         file.
42383         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
42384         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
42385         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
42386         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
42387         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
42388         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
42389         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
42390         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
42391         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
42392         file.
42393         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
42394         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
42395         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
42396         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
42397         file.
42398         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
42399         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
42400         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
42401         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
42402         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
42403         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
42404         file.
42405         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
42406         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
42407         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
42408         file.
42409         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
42410         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
42411         New file.
42412         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
42413         New file.
42414         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
42415         New file.
42416         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
42417         New file.
42418         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
42419         New file.
42420         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
42421         New file.
42422         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
42423         New file.
42424         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
42425         New file.
42426         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
42427         New file.
42428         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
42429         New file.
42430         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
42431         New file.
42432         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
42433         New file.
42434         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
42435         New file.
42436         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
42437         file.
42438         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
42439         New file.
42440         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
42441         New file.
42442         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
42443         file.
42444         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
42445         New file.
42446         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
42447         New file.
42448         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
42449         file.
42450         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
42451         New file.
42452         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
42453         New file.
42454         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
42455         New file.
42456         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
42457         New file.
42458         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
42459         New file.
42460         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
42461         New file.
42462         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
42463         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
42464         file.
42465         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
42466         New file.
42467         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
42468         file.
42469         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
42470         file.
42471         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
42472         file.
42473         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
42474         file.
42475         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
42476         file.
42477         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
42478         New file.
42479         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
42480         file.
42481         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
42482         file.
42483         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
42484         New file.
42485         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
42486         file.
42487         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
42488         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
42489         file.
42490         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
42491         New file.
42492         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
42493         file.
42494         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
42495         file.
42496         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
42497         file.
42498         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
42499         file.
42500         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
42501         file.
42502         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
42503         New file.
42504         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
42505         file.
42506         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
42507         file.
42508         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
42509         New file.
42510         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
42511         file.
42512         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
42513         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
42514         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
42515         file.
42516         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
42517         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
42518         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
42519         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
42520         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
42521         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
42522         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
42523         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
42524         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
42525         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
42526         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
42527         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
42528         file.
42529         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
42530         New file.
42531         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
42532         file.
42533         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
42534         file.
42535         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
42536         file.
42537         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
42538         file.
42539         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
42540         file.
42541         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
42542         New file.
42543         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
42544         New file.
42545         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
42546         file.
42547         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
42548         New file.
42549         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
42550         file.
42551         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
42552         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
42553         file.
42554         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
42555         New file.
42556         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
42557         file.
42558         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
42559         file.
42560         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
42561         file.
42562         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
42563         file.
42564         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
42565         file.
42566         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
42567         New file.
42568         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
42569         New file.
42570         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
42571         file.
42572         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
42573         New file.
42574         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
42575         file.
42576
42577 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
42578
42579         * conform/conformtest.pl: Fix typo in handling typed-constant from
42580         allow-header.
42581
42582 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
42583
42584         * README: Cut down references to pre-2.6 Linux kernels and
42585         Linuxthreads.  Update lists of configurations in libc and ports
42586         and sort alphabetically.  Say "or newer" with Linux kernel version
42587         requirements.
42588
42589         * config.h.in [IS_IN_build]: Allow compiling without optimization.
42590
42591 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
42592
42593         [BZ #887]
42594         * math/libm-test.inc (logb_test_downward): New test to expose
42595         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
42596         rounding mode.
42597
42598 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
42599
42600         [BZ #14027]
42601         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
42602         to be done.
42603         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
42604         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
42605
42606 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
42607
42608         * sysdeps/unix/i386/brk.S: Remove file.
42609         * sysdeps/unix/i386/dl-brk.S: Likewise.
42610         * sysdeps/unix/i386/pipe.S: Likewise.
42611         * sysdeps/unix/i386/sigreturn.S: Likewise.
42612         * sysdeps/unix/i386/syscall.S: Likewise.
42613         * sysdeps/unix/i386/vfork.S: Likewise.
42614         * sysdeps/unix/i386/wait.S: Likewise.
42615
42616         * sysdeps/unix/common/tcsendbrk.c: Move to ...
42617         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
42618
42619         * configure.in (arm*-none*): Do not allow without
42620         --enable-hacker-mode.
42621         (netbsd*): Remove case setting base_os.
42622         (386bsd*): Likewise.
42623         (freebsd*): Likewise.
42624         (bsdi*): Likewise.
42625         (osf*): Likewise.
42626         (sunos*): Likewise.
42627         (ultrix*): Likewise.
42628         (newsos*): Likewise.
42629         (dynix*): Likewise.
42630         (*bsd*): Likewise.
42631         (sysv*): Likewise.
42632         (isc*): Likewise.
42633         (esix*): Likewise.
42634         (sco*): Likewise.
42635         (minix*): Likewise.
42636         (irix4*): Likewise.
42637         (irix6*): Likewise.
42638         (solaris[2-9]*): Likewise.
42639         (none): Likewise.
42640         * configure: Regenerated.
42641
42642 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42643
42644         [BZ #11521]
42645         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
42646         overflow or cancellation in calculating denominator.
42647         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
42648         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
42649         down expression to avoid unexpected rounding in newer GCCs.
42650         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
42651
42652 2012-04-26  David S. Miller  <davem@davemloft.net>
42653
42654         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
42655         long-double compat symbols.
42656         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
42657         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
42658         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
42659         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
42660         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
42661         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
42662         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
42663         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
42664         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
42665         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
42666         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
42667         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
42668         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
42669
42670 2012-04-25  David S. Miller  <davem@davemloft.net>
42671
42672         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
42673         HWCAP_* values only after the memory barriers have been defined.
42674         (atomic_full_barrier): Define.
42675         (atomic_read_barrier): Define.
42676         (atomic_write_barrier): Define.
42677
42678 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
42679
42680         * shlib-versions: Add libgcc_s version information.
42681         * sysdeps/generic/libgcc_s.h: Remove.
42682         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
42683         libgcc_s.h.
42684         * sysdeps/gnu/unwind-resume.c: Likewise.
42685         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
42686
42687 2012-04-25  David S. Miller  <davem@davemloft.net>
42688
42689         * sysdeps/unix/sparc/brk.S: Delete.
42690         * sysdeps/unix/sparc/dl-brk.S: Delete.
42691         * sysdeps/unix/sparc/pipe.S: Delete.
42692         * sysdeps/unix/sparc/sysdep.S: Delete.
42693         * sysdeps/unix/sparc/sysdep.h: Delete.
42694         * sysdeps/unix/sparc/vfork.S: Delete.
42695         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
42696         (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
42697         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
42698         (ret_ERRVAL, r0, r1, MOVE): Define.
42699         (JUMPTARGET): Remove.
42700         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
42701         sysdeps/unix/sparc/sysdep.h
42702         (ENTRY, END): Remove.
42703         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
42704
42705 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
42706
42707         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
42708         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
42709         -DIS_IN_build.
42710
42711         * timezone/README: Update upstream location and email address for
42712         tzcode and tzdata.
42713         * timezone/zdump.c: Update from tzcode 2012b.
42714         * timezone/zic.c: Likewise.
42715
42716         * configure.in (libc_cv_as_needed): Remove test.
42717         * configure: Regenerated.
42718         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
42719         conditional definition.
42720         [$(have-as-needed) != yes] (no-as-needed): Likewise.
42721         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
42722         * config.make.in (have-as-needed): Remove variable.
42723
42724 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
42725             Paul Pluzhnikov  <ppluzhnikov@google.com>
42726
42727         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
42728         strings correctly.
42729
42730 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
42731
42732         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
42733         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
42734         * sysdeps/sh/strlen.S: Likewise.
42735
42736 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
42737
42738         * sysdeps/unix/fork.S: Remove file.
42739         * sysdeps/unix/i386/fork.S: Likewise.
42740         * sysdeps/unix/sparc/fork.S: Likewise.
42741
42742         * sysdeps/unix/system.c: Remove file.
42743         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
42744
42745         * sysdeps/unix/getegid.S: Remove file.
42746         * sysdeps/unix/geteuid.S: Likewise.
42747
42748 2012-04-24  Roland McGrath  <roland@hack.frob.com>
42749
42750         * scripts/check-localplt.awk: New file.
42751         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
42752         of diff.
42753         * scripts/data/localplt-generic.data: Add a comment.
42754
42755         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
42756         NODE when __dir_mkfile failed.
42757         * sysdeps/mach/hurd/symlinkat.c: Likewise.
42758         Reported by Ludovic Courtès <ludo@gnu.org>.
42759
42760 2012-04-24  Andreas Jaeger  <aj@suse.de>
42761
42762         * Makerules (common-clean): Also remove gen-as-const-headers
42763         files.
42764
42765 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
42766
42767         * Makerules (native-compile): Do not change working directory for
42768         build.  Use $(OUTPUT_OPTION) in command.
42769         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
42770
42771 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42772
42773         [BZ #13886]
42774         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
42775         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
42776         * math/libm-test.inc (floor_test): Add more tests.
42777         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
42778
42779 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
42780
42781         * sysdeps/unix/getdents.c: Remove file.
42782         * sysdeps/unix/sysv/getdents.c: Likewise.
42783         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
42784
42785         * sysdeps/unix/syscalls.list (madvise): Add syscall from
42786         sysdeps/unix/mman/syscalls.list.
42787         (mmap): Likewise.
42788         (mprotect): Likewise.
42789         (msync): Likewise.
42790         (munmap): Likewise.
42791         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
42792         * sysdeps/unix/mman/syscalls.list: Remove.
42793         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
42794
42795         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
42796         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
42797         * configure: Regenerated.
42798         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
42799         $(libgcc_s_suffix).
42800         * config.make.in (libgcc_s_suffix): Remove variable.
42801
42802 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
42803
42804         * sysdeps/unix/sysv/gethostname.c: Move to ...
42805         * sysdeps/posix/gethostname.c: ... here.
42806
42807         * sysdeps/unix/execve.S: Remove file.
42808
42809         * sysdeps/unix/_exit.S: Remove file.
42810
42811 2012-04-23  Andreas Jaeger  <aj@suse.de>
42812
42813         [BZ #13739]
42814         * manual/Makefile: Remove make dist support, there's no
42815         need for a stand-alone documentation tar ball.
42816         (TEXI2DVI): Define always, it's not in Makeconfig.
42817         (dist): Removed.
42818         (tar-it): Removed.
42819         (edition): Removed.
42820         (glibc-doc-$(edition).tar): Removed
42821         (%.Z): Removed.
42822         (%.gz): Removed.
42823         (%.uu): Removed.
42824         (ETAGS): Remove, it's in Makeconfig.
42825         (move-if-change): Remove, it's in Makeconfig.
42826
42827 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
42828
42829         [BZ #13970]
42830         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
42831         (strtod, strtof, strtold, strtol, strtoul, strtoq)
42832         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
42833         (strtod_l, strtof_l, strtold_l): Remove __wur.
42834         It is not necessarily an error to ignore strtol's return value.
42835         One can reliably look at the stored endptr to decide whether
42836         the number had valid syntax.
42837
42838 2012-04-21  Andreas Jaeger  <aj@suse.de>
42839
42840         [BZ #13739]
42841         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
42842
42843 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
42844
42845         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
42846         * sysdeps/unix/sysv/Versions: Remove file.
42847
42848 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
42849
42850         [BZ #13927]
42851         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
42852
42853 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
42854
42855         [BZ #7064]
42856         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
42857         version from __vm86.
42858
42859 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
42860
42861         * sysdeps/unix/common/lxstat.c: Remove file.
42862         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
42863
42864         * sysdeps/unix/sysv/Makefile: Remove file.
42865
42866         * sysdeps/unix/sysv/direct.h: Remove file.
42867
42868         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
42869         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
42870         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
42871         * sysdeps/unix/sysv/bits/signum.h: Likewise.
42872         * sysdeps/unix/sysv/bits/stat.h: Likewise.
42873         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
42874         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
42875
42876         * sysdeps/unix/sysv/setrlimit.c: Remove file.
42877
42878         * sysdeps/unix/xmknod.c: Remove file.
42879         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
42880
42881         * sysdeps/unix/sysv/settimeofday.c: Remove file.
42882
42883         * sysdeps/unix/sysv/i386/time.S: Remove file.
42884
42885         * sysdeps/unix/fxstat.c: Remove file.
42886         * sysdeps/unix/xstat.c: Likewise.
42887         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
42888
42889         * sysdeps/unix/sysv/sigaction.c: Remove file.
42890
42891         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
42892         (sysdep_headers): Remove variable.
42893         [termio.h not in sysdep_headers] (generated): Likewise.
42894         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
42895         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
42896         * sysdeps/unix/sysv/tcdrain.c: Likewise.
42897         * sysdeps/unix/sysv/tcflow.c: Likewise.
42898         * sysdeps/unix/sysv/tcflush.c: Likewise.
42899         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
42900         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
42901         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
42902         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
42903         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
42904
42905         * sysdeps/unix/siglist.c: Remove file.
42906
42907         * sysdeps/unix/getppid.S: Remove file.
42908
42909         * sysdeps/unix/mkdir.c: Remove file.
42910         * sysdeps/unix/rmdir.c: Likewise.
42911
42912 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
42913
42914         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
42915         ERR_MAX value.
42916         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
42917         errlist-compat value.
42918
42919 2012-04-18  David S. Miller  <davem@davemloft.net>
42920
42921         * sysdeps/generic/memcopy.h (reg_char): Delete.
42922         * debug/strcat_chk.c: Use char, not reg_char.
42923         * debug/strcpy_chk.c: Likewise.
42924         * debug/strncat_chk.c: Likewise.
42925         * debug/strncpy_chk.c: Likewise.
42926         * string/memchr.c: Likewise.
42927         * string/memrchr.c: Likewise.
42928         * string/rawmemchr.c: Likewise.
42929         * string/strcat.c: Likewise.
42930         * string/strchr.c: Likewise.
42931         * string/strchrnul.c: Likewise.
42932         * string/strcmp.c: Likewise.
42933         * string/strcpy.c: Likewise.
42934         * string/strncat.c: Likewise.
42935         * string/strncmp.c: Likewise.
42936         * string/strncpy.c: Likewise.
42937
42938 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
42939
42940         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
42941         __builtin_memcopy is called when src and dest ranges are known to not
42942         overlap.
42943
42944 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
42945
42946         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
42947         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
42948         fwd_align_merge macro call.
42949         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
42950         bwd_align_merge macro call.
42951         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
42952
42953 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
42954
42955         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
42956         bwd_align_merge macros.
42957         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
42958         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
42959         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
42960
42961 2012-04-18  David S. Miller  <davem@davemloft.net>
42962
42963         * sysdeps/sparc/sparc64/memcopy.h: Delete.
42964
42965 2012-04-18  Andreas Jaeger  <aj@suse.de>
42966
42967         [BZ# 6794]
42968         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
42969         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
42970         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
42971
42972         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
42973         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
42974         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
42975
42976         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
42977         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
42978         Adjust for changed ldbl-128 files.
42979
42980         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
42981         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
42982         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
42983
42984 2012-04-17  David S. Miller  <davem@davemloft.net>
42985
42986         * sysdeps/sparc/sparc32/memcopy.h: Delete.
42987
42988 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
42989
42990         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
42991         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
42992         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
42993         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
42994         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
42995         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
42996
42997 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42998
42999         [BZ #6794]
43000         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
43001         * math/libm-test.inc: Add ilogb errno and exception tests.
43002         * math/w_ilogb.c: New file: ilogb wrapper.
43003         * math/w_ilogbf.c: New file: ilogbf wrapper.
43004         * math/w_ilogbl.c: New file: ilogbl wrapper.
43005         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
43006         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
43007         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
43008         exception being thrown with 0.0 as argument.
43009         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
43010         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
43011         exception being thrown with 0.0 as argument.
43012         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
43013         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
43014         exception being thrown with 0.0 as argument.
43015         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
43016         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
43017         exception being thrown with 0.0 as argument.
43018         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
43019         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
43020         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
43021         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
43022         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
43023         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
43024         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
43025         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
43026         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
43027
43028 2012-04-17  Petr Baudis  <pasky@ucw.cz>
43029
43030         * include/sys/uio.h: Change __vector to __iovec to avoid clash
43031         with altivec.
43032
43033 2012-04-16  Marek Polacek  <polacek@redhat.com>
43034
43035         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
43036
43037 2012-04-16  Marek Polacek  <polacek@redhat.com>
43038
43039         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
43040         operands of fdivp instruction.
43041
43042 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
43043
43044         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
43045         * elf/tst-auditmod3b.c: Likewise.
43046         * elf/tst-auditmod4b.c: Likewise.
43047         * elf/tst-auditmod5b.c: Likewise.
43048         * elf/tst-auditmod6b.c: Likewise.
43049         * elf/tst-auditmod6c.c: Likewise.
43050         * elf/tst-auditmod7b.c: Likewise.
43051         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
43052         * sysdeps/x86_64/preconfigure.in: Likewise.
43053         * sysdeps/x86_64/preconfigure: Regenerated.
43054
43055 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
43056
43057         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
43058         __ILP32__.
43059
43060 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
43061
43062         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
43063         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
43064
43065 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
43066
43067         [BZ #13973]
43068         * locale/iso-639.def: Fix gl language name. Spotted by
43069         Yaron Shahrabani.
43070
43071 2012-04-12  Roland McGrath  <roland@hack.frob.com>
43072
43073         [BZ #2074]
43074         * libio/libio.h (__io_write_fn): Update comment.
43075
43076 2012-04-12  Petr Baudis  <pasky@ucw.cz>
43077
43078         [BZ #2074]
43079         * stdio.texi (Hook Functions): The user provided writer function
43080         is not allowed to return -1.
43081
43082 2012-04-11  David S. Miller  <davem@davemloft.net>
43083
43084         * sysdeps/sparc/fpu/libm-test-ulps: Update.
43085
43086 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
43087
43088         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
43089         Add a leading slash to rtkaio.
43090
43091 2012-04-11  Jim Meyering  <meyering@redhat.com>
43092
43093         [BZ #11959]
43094         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
43095         It is not necessarily an error to ignore fwrite's return
43096         value.  One can reliably use ferror to test for errors after
43097         the fact.
43098
43099 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
43100
43101         * bits/types.h (__snseconds_t): New type.
43102         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
43103
43104         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
43105         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
43106         (__SNSECONDS_T_TYPE): Likewise.
43107         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
43108         (__SNSECONDS_T_TYPE): Likewise.
43109         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
43110         (__SNSECONDS_T_TYPE): Likewise.
43111
43112 2012-04-10  Andreas Jaeger  <aj@suse.de>
43113
43114         [BZ #2636]
43115         * manual/time.texi (Processor Time): Return type of times is
43116         elapsed real time since an arbitrary point in the past.
43117         (CPU Time): Move CLK_TCK from here...
43118         (Processor Time): ...to here.  Correct description.
43119         * manual/conf.texi (Constants for Sysconf): Correct description of
43120         _SC_CLK_TCK.
43121
43122 2012-04-10  David S. Miller  <davem@davemloft.net>
43123
43124         [BZ #13967]
43125         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
43126         where the is a gap between DT_REL(A) and DT_JMPREL.
43127
43128 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
43129
43130         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
43131         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
43132         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
43133
43134 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
43135
43136         * elf/dl-support.c (_dl_inhibit_cache): New variable.
43137         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
43138         (dl_main): Handle --inhibit-cache.
43139         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
43140         _dl_inhibit_cache.
43141         * elf/dl-load.c (_dl_map_object): Use it.
43142         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
43143
43144 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
43145
43146         [BZ #13872]
43147         * sysdeps/i386/fpu/e_powl.S (p78): New object.
43148         (__ieee754_powl): Saturate large exponents rather than testing for
43149         overflow of y*log2(x).
43150         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
43151         * math/libm-test.inc (pow_test): Do not permit spurious overflow
43152         exceptions.
43153
43154         [BZ #11521]
43155         * math/s_ctan.c: Include <float.h>.
43156         (__ctan): Avoid internal overflow or cancellation in calculating
43157         denominator.
43158         * math/s_ctanf.c: Likewise.
43159         * math/s_ctanl.c: Likewise.
43160         * math/s_ctanh.c: Likewise.
43161         * math/s_ctanhf.c: Likewise.
43162         * math/s_ctanhl.c: Likewise.
43163         * math/libm-test.inc (ctan_test): Add more tests.
43164         (ctanh_test): Likewise.
43165         * sysdeps/i386/fpu/libm-test-ulps: Update.
43166         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43167
43168 2012-04-09  Andreas Jaeger  <aj@suse.de>
43169
43170         [BZ #6894]
43171         * manual/filesys.texi (Directory Entries): Mention that d_namlen
43172         is an optional BSD extension.
43173
43174         [BZ #10254]
43175         * manual/stdio.texi (Opening Streams): Document additional fopen
43176         parameters.
43177
43178 2012-04-09  Roland McGrath  <roland@hack.frob.com>
43179
43180         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
43181         %eax without telling the compiler.
43182
43183 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
43184
43185         [BZ # 13963]
43186         * manual/install.texi: Use sourceware.org.
43187
43188 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
43189
43190         [BZ #13873]
43191         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
43192         (__ieee754_pow): Generate overflow and underflow using huge*huge
43193         and tiny*tiny rather than just returning constant infinity or zero
43194         for large exponents.
43195         * math/libm-test.inc (pow_test): Require overflow exceptions for
43196         applicable cases of large exponents.
43197
43198         [BZ #706]
43199         * sysdeps/i386/fpu/e_pow.S (p10): New object.
43200         (__ieee754_pow): Use iterative multiplication algorithm only for
43201         integer exponents with absolute value below 1024.  Check for odd
43202         integer exponents when using algorithm for real exponents.
43203         * math/libm-test.inc (pow_test): Add more tests.
43204         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
43205
43206 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
43207
43208         [BZ #13705]
43209         * math/libm-test.inc (exp_test): Do not allow overflow exception
43210         on underflow test.
43211
43212 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
43213
43214         [BZ #13705]
43215         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
43216         instead of __kernel_standard_f.
43217
43218 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
43219
43220         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
43221         * sysdeps/x86_64/memset_chk.S: Likewise.
43222
43223 2012-04-08  Andreas Jaeger  <aj@suse.de>
43224
43225         [BZ #10153]
43226         * manual/startup.texi (Environment Access): Describe return value
43227         for putenv and setenv.
43228
43229         [BZ #6895]
43230         * manual/filesys.texi (Directory Entries): Add description for
43231         DT_LNK.
43232
43233         [BZ #6890]
43234         * manual/filesys.texi (Directory Entries): Clarify that it's file
43235         system not operating system in the description of DT_UNKNOWN.
43236
43237         [BZ #6578]
43238         * manual/syslog.texi (closelog): Fix reference, it's openlog.
43239
43240 2012-04-08  Stephen Compall  <s11@member.fsf.org>
43241
43242         [BZ #6649]
43243         * manual/llio.texi (Opening and Closing Files): Add cross
43244         reference to explain mode argument.
43245
43246 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
43247
43248         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
43249         * sysdeps/x86_64/memset_chk.S: Likewise.
43250
43251 2012-04-07  David S. Miller  <davem@davemloft.net>
43252
43253         * elf/elf.h (R_SPARC_WDISP10): Define.
43254         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
43255         R_SPARC_SIZE32.
43256         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
43257         R_SPARC_SIZE64 and R_SPARC_H34.
43258
43259 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
43260
43261         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
43262         conditions and remove no longer applicable assertion.
43263
43264 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
43265
43266         * bits/byteswap.h: Include <features.h>.
43267         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
43268         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
43269
43270 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
43271
43272         * bits/byteswap.h (__bswap_16): Removed.
43273         Include <bits/byteswap-16.h> to get __bswap_16.
43274         * sysdeps/i386/bits/byteswap.h: Likewise.
43275         * sysdeps/s390/bits/byteswap.h: Likewise.
43276         * sysdeps/x86_64/bits/byteswap.h: Likewise.
43277         * bits/byteswap-16.h: New file.
43278         * sysdeps/i386/bits/byteswap-16.h: Likewise.
43279         * sysdeps/s390/bits/byteswap-16.h: Likewise.
43280         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
43281         * string/Makefile (headers): Add bits/byteswap-16.h.
43282
43283 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
43284
43285         [BZ #13895]
43286         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
43287         extra indirection.
43288         * nss/Makefile (tests-static, tests): Add tst-nss-static.
43289         * nss/tst-nss-static.c: New.
43290
43291 2012-04-06  Robert Millan  <rmh@gnu.org>
43292
43293         [BZ #6486]
43294         * manual/llio.texi (File Position Primitive): lseek
43295         refers to WHENCE when it really means OFFSET.
43296
43297 2012-04-06  Andreas Jaeger  <aj@suse.de>
43298
43299         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
43300         strncmp declarations.
43301
43302         * abilist/libc.abilist: Add __poll and __ppoll.
43303
43304 2012-04-05  David S. Miller  <davem@davemloft.net>
43305
43306         * scripts/check-local-headers.sh: Accept a host triplet in the
43307         path matched by the exclude regexp.
43308
43309         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
43310         definition.
43311         * sysdeps/powerpc/powerpc32/dl-machine.h
43312         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
43313         * sysdeps/s390/s390-32/dl-machine.h
43314         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
43315         * sysdeps/sparc/sparc32/dl-machine.h
43316         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
43317         * sysdeps/sparc/sparc64/dl-machine.h
43318         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
43319
43320         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
43321         lazy binding.
43322         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
43323         undefined symbol errors.
43324
43325         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
43326         DT_NEEDED entries.
43327
43328 2012-04-05  Michael Matz  <matz@suse.de>
43329
43330         [BZ #13592]
43331         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
43332
43333 2012-04-05  Andreas Jaeger  <aj@suse.de>
43334
43335         [BZ #13908]
43336         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
43337         comment.
43338
43339 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
43340
43341         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
43342         which ROUND is no valid rounding mode.
43343
43344 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
43345
43346         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
43347         read again.
43348         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
43349
43350 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
43351
43352         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
43353         an exception using FPU order intentionally.
43354
43355 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
43356
43357         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
43358         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
43359         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
43360         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
43361
43362 2012-04-05  Simon Josefsson  <simon@josefsson.org>
43363
43364         [BZ #12340]
43365         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
43366         EINVAL when BUFLEN is too smal.
43367
43368 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
43369
43370         [BZ #13553]
43371         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
43372         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
43373
43374 2012-04-03  Andreas Jaeger  <aj@suse.de>
43375
43376         [BZ #13938]
43377         * manual/setjmp.texi (System V contexts): Fix sentence.
43378
43379         [BZ #13926]
43380         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
43381         New macro for this case.
43382         [!__GNUC__] (__bswap_64): New inline function for this case.
43383         * sysdeps/x86_64/bits/byteswap.h: Likewise.
43384         * bits/byteswap.h: Likewise.
43385         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
43386         ull, guard with __GLIBC_HAVE_LONG_LONG.
43387
43388         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
43389         __GLIBC_HAVE_LONG_LONG.
43390
43391         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
43392         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
43393
43394 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
43395
43396         [BZ #13691]
43397         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
43398         inptr and inend, rather than using last_ch.
43399
43400 2012-04-02  David S. Miller  <davem@davemloft.net>
43401
43402         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
43403         * stdio-common/printf-parse.h (read_int): Change return type to
43404         'int', return -1 on INT_MAX overflow.
43405         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
43406         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
43407         overflows INT_MAX.  Check for overflow of in-format-string precision
43408         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
43409         SIZE_MAX not INT_MAX for integer overflow test.
43410         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
43411         skip the construct in the format string but do not record anything.
43412         * stdio-common/bug22.c: Adjust to test both width/prevision
43413         INT_MAX overflow as well as total length INT_MAX overflow.  Check
43414         explicitly for proper errno values.
43415
43416 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
43417
43418         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
43419         CHAR_MAX.
43420         * string/test-strcmp.c [! WIDE]: Likewise.
43421         * time/tst-mktime2.c: Likewise for INT_MAX.
43422         * string/test-string.h: #include <sys/param.h> for MIN.
43423
43424         * csu/init-first.c (__libc_init_first): Call __ctype_init.
43425         * sysdeps/i386/init-first.c (init): Likewise.
43426         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
43427         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
43428         * sysdeps/sh/init-first.c (init): Likewise.
43429
43430 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
43431
43432         * po/ru.po: Update from translation team.
43433         * po/vi.po: Likewise.
43434
43435 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
43436
43437         * resolv/nss_dns/dns-host.c: Merge copyright years.
43438
43439 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
43440
43441         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
43442         Optimize memcpy with prefetch if
43443         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
43444         src, dst pointers have unequal 16 byte alignments.
43445
43446 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
43447
43448         [BZ #13928]
43449         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
43450         from a CNAME entry and return the minimum ttl for the query.
43451         (gaih_getanswer_slice): Likewise.
43452
43453 2012-03-30  Jeff Law  <law@redhat.com>
43454
43455         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
43456         due to long keys.
43457         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
43458         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
43459
43460         * resolv/nss_dns/dns-host.c: Update copyright year.
43461
43462 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
43463
43464         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
43465         requests to save a system call.  Fix check that all bytes are sent.
43466
43467         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
43468         comments for sendmmsg.
43469
43470 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
43471
43472         [BZ #13691]
43473         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
43474         with only 1 character between 0x0041 and 0x01b0.
43475         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
43476         * wcsmbs/tst-mbsnrtowcs.c: New file.
43477
43478 2012-03-29  David S. Miller  <davem@davemloft.net>
43479
43480         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
43481         small copies by hand.
43482
43483 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
43484
43485         [BZ #13761]
43486         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
43487         (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
43488         group memberships.
43489
43490 2012-03-28  David S. Miller  <davem@davemloft.net>
43491
43492         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
43493         that branches into memcpy.
43494         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
43495         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
43496         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
43497         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
43498         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
43499         bits.
43500         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
43501         implementation too.
43502         * sysdeps/sparc/mempcpy.S: New file.
43503
43504         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
43505         the IFUNC routine in the libc case.
43506         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
43507
43508         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
43509         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
43510         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
43511         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
43512         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
43513         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
43514         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
43515         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
43516
43517         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
43518         loop to 256 bytes instead of 64 bytes and fix test signedness.
43519
43520         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
43521         * sysdeps/sparc/sparc32/Makefile: rather than here...
43522         * sysdeps/sparc/sparc64/Makefile: and here.
43523
43524 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
43525
43526         * malloc/mallocbug.c: Avoid warnings about unused variables.
43527
43528 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
43529
43530         [BZ #13760]
43531         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
43532         in the right place. Discard and retry query if response is
43533         larger than input buffer size.
43534
43535 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
43536
43537         [BZ #369]
43538         [BZ #2678]
43539         [BZ #3866]
43540         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
43541         x for large integer exponent.
43542         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
43543         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
43544         sign of result as needed afterwards.
43545         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
43546         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
43547         result for underflowing pow the same as for overflow.
43548         (__kernel_standard_l): Handle powl overflow and underflow here
43549         rather than calling __kernel_standard.
43550         * math/libm-test.inc (pow_test): Add more tests.
43551
43552         [BZ #3868]
43553         [BZ #13879]
43554         [BZ #13910]
43555         [BZ #13911]
43556         [BZ #13912]
43557         [BZ #13913]
43558         [BZ #13915]
43559         [BZ #13916]
43560         [BZ #13917]
43561         [BZ #13918]
43562         [BZ #13919]
43563         [BZ #13920]
43564         [BZ #13921]
43565         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
43566         * sysdeps/ieee754/k_standard.c: Include <float.h>.
43567         (__kernel_standard_l): New function.
43568         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
43569         __kernel_standard.
43570         * math/w_acosl.c (__acosl): Likewise.
43571         * math/w_asinl.c (__asinl): Likewise.
43572         * math/w_atan2l.c (__atan2l): Likewise.
43573         * math/w_atanhl.c (__atanhl): Likewise.
43574         * math/w_coshl.c (__coshl): Likewise.
43575         * math/w_exp10l.c (__exp10l): Likewise.
43576         * math/w_exp2l.c (__exp2l): Likewise.
43577         * math/w_fmodl.c (__fmodl): Likewise.
43578         * math/w_hypotl.c (__hypotl): Likewise.
43579         * math/w_j0l.c (__j0l, __y0l): Likewise.
43580         * math/w_j1l.c (__j1l, __y1l): Likewise.
43581         * math/w_jnl.c (__jnl, __ynl): Likewise.
43582         * math/w_lgammal.c (__lgammal): Likewise.
43583         * math/w_log10l.c (__log10l): Likewise.
43584         * math/w_log2l.c (__log2l): Likewise.
43585         * math/w_logl.c (__logl): Likewise.
43586         * math/w_powl.c (__powl): Likewise.
43587         * math/w_remainderl.c (__remainderl): Likewise.
43588         * math/w_scalbl.c (sysv_scalbl): Likewise.
43589         * math/w_sinhl.c (__sinhl): Likewise.
43590         * math/w_sqrtl.c (__sqrtl): Likewise.
43591         * math/w_tgammal.c (__tgammal): Likewise.
43592         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
43593         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
43594         * math/libm-test.inc (acos_test): Add more tests.
43595         (acosh_test): Likewise.
43596         (asin_test): Likewise.
43597         (atanh_test): Likewise.
43598         (exp_test): Likewise.
43599         (exp10_test): Likewise.
43600         (exp2_test): Likewise.
43601         (expm1_test): Likewise.
43602         (lgamma_test): Likewise.
43603         (log_test): Likewise.
43604         (log10_test): Likewise.
43605         (log1p_test): Likewise.
43606         (log2_test): Likewise.
43607         (pow_test): Do not allow some spurious overflow exceptions.
43608         (sqrt_test): Add more tests.
43609         (tgamma_test): Likewise.
43610         (y0_test): Likewise.
43611         (y1_test): Likewise.
43612         (yn_test): Likewise.
43613
43614 2012-03-27  Anton Blanchard  <anton@samba.org>
43615
43616         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
43617         MAP_HUGETLB.
43618         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
43619         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
43620         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
43621
43622 2012-03-27  David S. Miller  <davem@davemloft.net>
43623
43624         * conform/Makefile: Run run-conformtest.sh using $(BASH).
43625
43626         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
43627         have-as-vis3 check.
43628
43629 2012-03-27  Andreas Jaeger  <aj@suse.de>
43630
43631         * sysdeps/x86_64/elf/configure.in: Moved to ...
43632         * sysdeps/x86_64/configure.in: ... here.
43633         * sysdeps/x86_64/elf/start.S: Moved to ...
43634         * sysdeps/x86_64/start.S: ... here.
43635         * sysdeps/x86_64/elf/configure: Delete.
43636
43637         * sysdeps/x86_64/configure.in: Merge contents from
43638         sysdeps/i386/configure.in (without i686 check).
43639
43640         * sysdeps/i386/elf/Versions: Merge into ...
43641         * sysdeps/i386/Versions: ... this.
43642         * sysdeps/i386/elf/Versions: Delete file.
43643         * sysdeps/i386/elf/start.S: Moved to ...
43644         * sysdeps/i386/start.S: ...here.
43645         * sysdeps/i386/elf/configure.in: Merge into...
43646         * sysdeps/i386/configure.in: ...here.
43647         * sysdeps/i386/elf/configure.in: Delete file.
43648         * sysdeps/i386/elf/configure: Delete file.
43649
43650         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
43651         * debug/backtracesyms.c: ... here.
43652         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
43653         * debug/backtracesymsfd.c: ... here.
43654         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
43655         * sysdeps/generic/ifunc-sel.h: ... here.
43656
43657         * sysdeps/unix/i386/start.c: Delete file.
43658         * sysdeps/unix/sparc/start.c: Delete file.
43659         * sysdeps/unix/start.c: Delete file.
43660
43661         * sysdeps/sh/elf/configure.in: Moved to ...
43662         * sysdeps/sh/configure.in: ... here.
43663         * sysdeps/sh/elf/start.S: Moved to ...
43664         * sysdeps/sh/start.S: ... here.
43665         * sysdeps/sh/elf/configure: Delete file.
43666
43667         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
43668         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
43669         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
43670         * sysdeps/powerpc/powerpc64/entry.h: ... here.
43671         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
43672         * sysdeps/powerpc/powerpc64/start.S: here.
43673         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
43674         * sysdeps/powerpc/powerpc64/Makefile: ... this.
43675         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
43676         * sysdeps/powerpc/powerpc64/configure.in: ... this.
43677         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
43678
43679         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
43680         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
43681         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
43682         * sysdeps/powerpc/powerpc32/start.S: ... here.
43683         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
43684         * sysdeps/powerpc/powerpc32/configure.in: ... this.
43685         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
43686
43687         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
43688         * sysdeps/powerpc/ifunc-sel.h: ... here.
43689         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
43690         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
43691
43692         * sysdeps/sparc/elf/configure.in: Moved to ...
43693         * sysdeps/sparc/configure.in: ... here.
43694         * sysdeps/sparc/elf/configure: Delete file.
43695         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
43696         * sysdeps/sparc/sparc32/start.S: ... here.
43697         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
43698         * sysdeps/sparc/sparc64/start.S: ... here.
43699         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
43700         * sysdeps/sparc/sparc32/Makefile: ... this.
43701         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
43702         * sysdeps/sparc/sparc64/Makefile: ... this.
43703
43704         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
43705         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
43706         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
43707         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
43708         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
43709         * sysdeps/s390/s390-32/setjmp.S: ... here.
43710         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
43711         * sysdeps/s390/s390-32/configure.in: ... here.
43712         * sysdeps/s390/s390-32/elf/configure: Delete file.
43713         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
43714         * sysdeps/s390/s390-32/start.S: ... here.
43715
43716         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
43717         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
43718         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
43719         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
43720         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
43721         * sysdeps/s390/s390-64/setjmp.S: ... here.
43722         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
43723         * sysdeps/s390/s390-64/configure.in: ... here
43724         * sysdeps/s390/s390-64/elf/configure: Delete file.
43725         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
43726         * sysdeps/s390/s390-64/start.S: ... here.
43727         * sysdeps/s390/s390-64/elf/configure: Delete.
43728
43729         * configure.in: Remove support for elf directories in sysdeps.
43730
43731         * configure: Regenerated.
43732         * sysdeps/i386/configure: Regenerated.
43733         * sysdeps/powerpc/powerpc32/configure: Regenerated.
43734         * sysdeps/powerpc/powerpc64/configure: Regenerated.
43735         * sysdeps/s390/s390-32/configure: Regenerated.
43736         * sysdeps/s390/s390-64/configure: Regenerated.
43737         * sysdeps/sh/configure: Regenerated.
43738         * sysdeps/sparc/configure: Regenerated.
43739         * sysdeps/x86_64/configure: Regenerated.
43740
43741 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
43742
43743         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43744
43745         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
43746         denormal result into account.
43747
43748 2012-03-25  Roland McGrath  <roland@hack.frob.com>
43749
43750         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
43751         Reported by Allan McRae <allan@archlinux.org>.
43752
43753 2012-03-23  Jeff Law  <law@redhat.com>
43754
43755         * nss/getnssent.c (__nss_getent): Fix typo.
43756
43757 2012-03-23  David S. Miller  <davem@davemloft.net>
43758
43759         * sysdeps/sparc/fpu/libm-test-ulps: Update.
43760
43761 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
43762
43763         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
43764         to pad to uint64_t for each field.
43765         (dl_tls_index): Replace unsigned long with uint64_t.
43766
43767 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
43768         Paul Pluzhnikov  <ppluzhnikov@google.com>
43769
43770         [BZ #6528]
43771         * grp/Makefile (otherlibs): Don't set it.
43772         * inet/Makefile (otherlibs): Likewise.
43773         * login/Makefile (otherlibs): Likewise.
43774         * nscd/Makefile (otherlibs): Likewise.
43775         * posix/Makefile (otherlibs): Likewise.
43776         * pwd/Makefile (otherlibs): Likewise.
43777         * rt/Makefile (otherlibs): Likewise.
43778         * sunrpc/Makefile (otherlibs): Likewise.
43779         * nss/Makefile (otherlibs): Likewise.
43780         Add libnss_files to routines and static-only-routines.
43781         ($(objpfx)getent): Remove rule.
43782         * resolv/Makefile: Add libnss_dns and libresolv to routines and
43783         static-only-routines.
43784
43785 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
43786
43787         [BZ #13892]
43788         * math/s_cexp.c: Include <float.h>.
43789         (__cexp): Handle exp result overflowing not necessarily
43790         overflowing both real and imaginary parts of result.
43791         * math/s_cexpf.c: Likewise.
43792         * math/s_cexpl.c: Likewise.
43793         * math/libm-test.inc (cexp_test): Add more tests.
43794         * sysdeps/i386/fpu/libm-test-ulps: Update.
43795         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43796
43797 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
43798
43799         * include/link.h (ELFW): New macro.
43800         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
43801         Replace ELF64_R_TYPE with ELFW(R_TYPE).
43802
43803 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
43804
43805         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
43806         with uint64_t.
43807
43808 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
43809
43810         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
43811         declaration.
43812         (struct La_x32_retval): Likewise.
43813
43814 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
43815
43816         * sysdeps/x86_64/preconfigure.in: New file.
43817         * sysdeps/x86_64/preconfigure: New generated file.
43818
43819 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
43820
43821         [BZ #13824]
43822         * math/e_exp2l.c: Include <float.h>.
43823         (__ieee754_exp2l): Handle overflow and underflow cases
43824         separately.  Only pass fractional part of argument to
43825         __ieee754_expl.
43826         * math/libm-test.inc (exp2_test): Add more tests.
43827
43828         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
43829         negating x to take absolute value.
43830         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
43831         Likewise.
43832         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
43833         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
43834         Likewise.
43835         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
43836         computing low part if x was negated.
43837         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
43838
43839 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
43840
43841         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
43842         la_x32_gnu_pltexit.
43843         (pltexit): Cast int_retval to ptrdiff_t.
43844         * elf/tst-auditmod3b.c: Likewise.
43845         * elf/tst-auditmod4b.c: Likewise.
43846         * elf/tst-auditmod5b.c: Likewise.
43847         * elf/tst-auditmod6b.c: Likewise.
43848         * elf/tst-auditmod6c.c: Likewise.
43849         * elf/tst-auditmod7b.c: Likewise.
43850
43851         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
43852         and x32_gnu_pltexit.
43853
43854         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
43855         __ELF_NATIVE_CLASS.
43856         (La_x32_regs): New macro.
43857         (La_x32_retval): Likewise.
43858         (la_x32_gnu_pltenter): New function prototype.
43859         (la_x32_gnu_pltexit): Likewise.
43860
43861 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
43862
43863         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
43864         exponent.
43865
43866         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43867
43868         * configure.in (libc_cv_cc_nofma): Check for option to disable
43869         generation of FMA instructions.
43870         * configure: Regenerate.
43871         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
43872         * sysdeps/ieee754/dbl-64/Makefile: New file.
43873         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
43874         Remove brandred-fma4.
43875         (CFLAGS-brandred-fma4.c): Remove.
43876         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
43877         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
43878         define.
43879         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
43880         define.
43881
43882 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
43883
43884         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
43885         LLONG_MAX != LONG_MAX.
43886         (_itoa_word): Use _ITOA_WORD_TYPE on value.
43887         (_fitoa_word): Likewise.
43888         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
43889         LLONG_MAX != LONG_MAX.
43890         * stdio-common/_itowa.h: Include <_itoa.h>.
43891         (_itowa_word): Use _ITOA_WORD_TYPE on value.
43892         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
43893         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
43894         only if not defined.
43895         (_ITOA_WORD_TYPE): Likewise.
43896         (_itoa_word): Use _ITOA_WORD_TYPE on value.
43897         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
43898
43899 2012-03-21  David S. Miller  <davem@davemloft.net>
43900
43901         * sysdeps/sparc/fpu/libm-test-ulps: Update.
43902
43903 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
43904
43905         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
43906         of x86_64 when setting libc_cv_slibdir, libdir and
43907         libc_cv_localedir.
43908         * sysdeps/unix/sysv/linux/configure: Regenerated.
43909
43910 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
43911
43912         * manual/lang.texi (Old Varargs): Remove section.
43913         (How Variadic): Update menu.
43914         (va_start): Do not mention varargs.h.
43915
43916 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
43917             Joseph Myers  <joseph@codesourcery.com>
43918
43919         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
43920         link test.
43921         * configure: Regenerated.
43922
43923 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
43924
43925         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
43926         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
43927         conformtest.pl
43928
43929 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
43930
43931         * NOTES: Remove.
43932         * Makefile (files-for-dist): Remove NOTES.
43933         (NOTES): Remove rule.
43934         * README: Don't refer to NOTES.
43935         * manual/creature.texi: Don't include macros.texi.
43936         * manual/intro.texi (creature.texi): Remove comment referring to
43937         NOTES.
43938
43939         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
43940         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
43941         * configure: Regenerated.
43942         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
43943         LIBC_TRY_CC_OPTION.
43944         (libc_cv_as_i686): Likewise.
43945         (libc_cv_cc_avx): Likewise.
43946         (libc_cv_cc_sse2avx): Likewise.
43947         (libc_cv_cc_fma4): Likewise.
43948         (libc_cv_cc_novzeroupper): Likewise.
43949         * sysdeps/i386/configure: Regenerated.
43950
43951         [BZ #13883]
43952         * sysdeps/i386/fpu/s_cexp.S: Remove.
43953         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
43954         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
43955         * math/libm-test.inc (cexp_test): Add more tests.
43956         * sysdeps/i386/fpu/libm-test-ulps: Update.
43957         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43958
43959 2012-03-21  Allan McRae  <allan@archlinux.org>
43960
43961         * timezone/Makefile: Do not install iso3166.tab and zone.tab
43962
43963 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
43964
43965         [BZ #13871]
43966         * math/w_exp2.c: Do not include <float.h>.
43967         (o_threshold, u_threshold): Remove.
43968         (__exp2): Calculate result before checking finiteness and calling
43969         __kernel_standard.
43970         * math/w_exp2f.c: Likewise.
43971         * math/w_exp2l.c: Likewise.
43972         * math/libm-test.inc (exp2_test): Require overflow exception for
43973         1e6 input.
43974
43975         [BZ #3866]
43976         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
43977         range of signed 64-bit integers before using fistpll.  Remove
43978         checks for whether integers fit in mantissa bits.
43979         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
43980         the range of signed 32-bit integers before using fistpl.  Remove
43981         checks for whether integers fit in mantissa bits.
43982         * sysdeps/i386/fpu/e_powl.S (p64): New object.
43983         (__ieee754_powl): Test for y outside the range of signed 64-bit
43984         integers before using fistpll.  Reduce 64-bit values to 63-bit
43985         ones as needed.
43986         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
43987         divide-by-zero is raised for zero to large negative powers.
43988         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
43989         (__ieee754_powl): Test for y outside the range of signed 64-bit
43990         integers before using fistpll.  Reduce 64-bit values to 63-bit
43991         ones as needed.
43992         * math/libm-test.inc (pow_test): Add more tests.
43993
43994 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
43995
43996         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
43997         <stdio-common/_itoa.h>.
43998         * debug/segfault.c: Likewise.
43999         * elf/dl-cache.c: Likewise.
44000         * elf/dl-minimal.c: Likewise.
44001         * elf/dl-misc.c: Likewise.
44002         * elf/dl-sysdep.c: Likewise.
44003         * elf/dl-version.c: Likewise.
44004         * elf/rtld.c: Likewise.
44005         * hurd/hurdsock.c: Likewise.
44006         * hurd/lookup-retry.c: Likewise.
44007         * malloc/malloc.c: Likewise.
44008         * malloc/mtrace.c: Likewise.
44009         * nscd/nscd_getgr_r.c: Likewise.
44010         * nscd/nscd_getpw_r.c: Likewise.
44011         * nscd/nscd_getserv_r.c: Likewise.
44012         * posix/getopt_init.c: Likewise.
44013         * posix/wordexp.c: Likewise.
44014         * stdio-common/_itoa.c: Likewise.
44015         * stdio-common/printf_fphex.c: Likewise.
44016         * stdio-common/vfprintf.c: Likewise.
44017         * string/_strerror.c: Likewise.
44018         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
44019         * sysdeps/i386/i686/hp-timing.h: Likewise.
44020         * sysdeps/mach/_strerror.c: Likewise.
44021         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
44022         * sysdeps/mach/hurd/sethostid.c: Likewise.
44023         * sysdeps/mach/hurd/xmknodat.c: Likewise.
44024         * sysdeps/mach/xpg-strerror.c: Likewise.
44025         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
44026         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
44027         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
44028         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
44029         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
44030         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
44031         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
44032         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
44033         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
44034         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
44035         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
44036         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
44037         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
44038         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
44039         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
44040         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
44041         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
44042         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
44043         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
44044         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
44045         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
44046
44047         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
44048
44049         * stdio-common/_itoa.h: Moved to ...
44050         * sysdeps/generic/_itoa.h: Here.
44051
44052         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
44053
44054         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
44055         instead of "_itoa.h" and "_itowa.h".
44056         * stdio-common/vfprintf.: Likewise.
44057
44058 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
44059
44060         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
44061         <bits/wordsize.h>.
44062         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
44063         (__signbit): Likwise.
44064         (llrintf): Likwise.
44065         (llrint): Likwise.
44066
44067 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
44068
44069         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
44070         __WORDSIZE != 64.
44071
44072 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
44073
44074         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
44075         OVERFLOW_EXCEPTION_OK.
44076         * math/libm-test.inc ("Philosophy"): Update comment about
44077         exception testing.
44078         (OVERFLOW_EXCEPTION): Define.
44079         (OVERFLOW_EXCEPTION_OK): Likewise.
44080         (INVALID_EXCEPTION_OK): Renumber.
44081         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
44082         (IGNORE_ZERO_INF_SIGN): Likewise.
44083         (test_exceptions): Handle FE_OVERFLOW.
44084         (exp10_test): Expect overflow exceptions.
44085         (exp2_test): Likewise.
44086         (expm1_test): Likewise.
44087         (nextafter_test): Likewise.
44088         (pow_test): Likewise.
44089         (scalbn_test): Likewise.
44090         (scalbln_test): Likewise.
44091
44092 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
44093
44094         * sysdeps/x86_64/bits/atomic.h
44095         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
44096         64bit integer.
44097         (atomic_exchange_acq): Likewise.
44098         (__arch_exchange_and_add_body): Likewise.
44099         (__arch_add_body): Likewise.
44100         (atomic_add_negative): Likewise.
44101         (atomic_add_zero): Likewise.
44102
44103 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
44104
44105         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
44106         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
44107
44108 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
44109
44110         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
44111         Check __x86_64__ instead of __WORDSIZE.
44112
44113 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
44114
44115         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
44116
44117 2012-03-19  David S. Miller  <davem@davemloft.net>
44118
44119         * sysdeps/sparc/fpu/libm-test-ulps: Update.
44120
44121         * sysdeps/sparc/fpu/fenv_private.h: New file.
44122         * sysdeps/sparc/fpu/math_private.h: Use it.
44123         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
44124         Remove.
44125         (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
44126         (libc_feholdexcept_setroundl): Remove.
44127         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
44128         Remove.
44129         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
44130         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
44131
44132 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
44133
44134         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
44135         int64_t instead of long int.
44136         (INSERT_WORDS64): Likwise.
44137
44138 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
44139
44140         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
44141         _Unwind_GetCFA return to _Unwind_Ptr first.
44142
44143 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
44144
44145         [BZ #13629]
44146         * math/s_clog.c: Include <float.h>.
44147         (__clog): Scale large or subnormal inputs.
44148         * math/s_clogf.c: Likewise.
44149         * math/s_clogl.c: Likewise.
44150         * math/s_clog10.c: Include <float.h>.
44151         (M_LOG10_2): Define.
44152         (__clog10): Scale large or subnormal inputs.
44153         * math/s_clog10f.c: Likewise.
44154         * math/s_clog10l.c: Likewise.
44155         * math/libm-test.inc (clog_test): Add more tests.
44156         (clog10_test): Likewise.
44157         * sysdeps/i386/fpu/libm-test-ulps: Update.
44158         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44159
44160         [BZ #11451]
44161         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
44162         x and y.
44163         * math/libm-test.inc (atan2_test): Add another test.
44164
44165         * Makerules (common-objdir-compile): Remove.
44166         * sysdeps/unix/Makefile (config-generated): Do not add
44167         $(unix-generated) to variable.
44168         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
44169         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
44170         Remove rule.
44171         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
44172         Likewise.
44173         [generic bits/local_lim.h] (before-compile): Do not append to
44174         variable.
44175         [generic bits/local_lim.h] (common-generated): Likewise.
44176         [generic sys/param.h] (before-compile): Do not append to variable.
44177         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
44178         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
44179         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
44180         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
44181         include.
44182         [generic sys/param.h] (sys/param.h-includes): Remove variable.
44183         [generic sys/param.h] (sys/param.h-includes): Remove rule.
44184         [generic sys/param.h] ($(addprefix
44185         $(common-objpfx),$(sys/param.h-includes))): Likewise.
44186         [generic sys/param.h] (common-generated): Do not append to
44187         variable.
44188         [generic sys/param.h] (sysdep_headers): Likewise.
44189         [generic bits/errno.h] (before-compile): Do not append to
44190         variable.
44191         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
44192         rule.
44193         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
44194         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
44195         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
44196         [generic bits/errno.h] (common-generated): Do not append to
44197         variable.
44198         [generic bits/ioctls.h] (before-compile): Do not append to
44199         variable.
44200         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
44201         rule.
44202         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
44203         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
44204         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
44205         rule.
44206         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
44207         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
44208         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
44209         [generic bits/ioctls.h] (common-generated): Do not append to
44210         variable.
44211         [generic sys/syscall.h] (syscall.h): Remove variable.
44212         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
44213         rule.
44214         [generic sys/syscall.h] (before-compile): Do not append to
44215         variable.
44216         [generic sys/syscall.h] (common-generated): Likewise.
44217         * sysdeps/unix/errnos-tmpl.c: Remove file.
44218         * sysdeps/unix/errnos.awk: Likewise.
44219         * sysdeps/unix/ioctls-tmpl.c: Likewise.
44220         * sysdeps/unix/ioctls.awk: Likewise.
44221         * sysdeps/unix/mk-local_lim.c: Likewise.
44222         * sysdeps/unix/snarf-ioctls: Likewise.
44223
44224 2012-03-19  Richard Henderson  <rth@twiddle.net>
44225
44226         * sysdeps/i386/fpu/fenv_private.h: New file.
44227         * sysdeps/i386/fpu/math_private.h: Use it.
44228         (math_opt_barrier, math_force_eval): Remove.
44229         (libc_feholdexcept_setround_53bit): Remove.
44230         (libc_feupdateenv_53bit): Remove.
44231         * sysdeps/x86_64/fpu/math_private.h: Likewise.
44232         (math_opt_barrier, math_force_eval): Remove.
44233         (libc_feholdexcept): Remove.
44234         (libc_feholdexcept_setround): Remove.
44235         (libc_fetestexcept, libc_fesetenv): Remove.
44236         (libc_feupdateenv_test): Remove.
44237         (libc_feupdateenv, libc_feholdsetround): Remove.
44238         (libc_feresetround): Remove.
44239
44240         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
44241         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
44242
44243         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
44244         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
44245         (libc_feupdateenv_testl): New.
44246         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
44247         (libc_feupdateenv_testf): New.
44248         (libc_feupdateenv): Use libc_feupdateenv_test.
44249         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
44250         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
44251
44252         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
44253         (libc_feholdsetroundf, libc_feholdsetroundl): New.
44254         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
44255         (libc_feresetround_noex): New.
44256         (libc_feresetround_noexf): New.
44257         (libc_feresetround_noexl): New.
44258         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
44259         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
44260         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
44261         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
44262         SET_RESTORE_ROUND.
44263         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
44264         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
44265         (__cos): Likewise.
44266         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
44267         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
44268         SET_RESTORE_ROUND_NOEX.
44269         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
44270         SET_RESTORE_ROUND_NOEXF.
44271         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
44272         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
44273         (libc_feholdsetroundf): New.
44274         (libc_feresetround, libc_feresetroundf): New.
44275
44276         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
44277         (libc_feholdexcept_setround_53bit): Convert from macro to function.
44278         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
44279
44280         * sysdeps/generic/math_private.h: Include <fenv.h>.
44281         (default_libc_feholdexcept): New.
44282         (default_libc_feholdexcept_setround): New.
44283         (default_libc_fesetenv, default_libc_feupdateenv): New.
44284         (libc_feholdexcept): Only define if undefined.
44285         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
44286         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
44287         (libc_feholdexcept_setroundl): Likewise.
44288         (libc_feholdexcept_setround_53bit): Likewise.
44289         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
44290         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
44291         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
44292         (libc_feupdateenv_53bit): Likewise.
44293         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
44294         (libc_feholdexcept): Convert from macro to inline function.
44295         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
44296         (libc_fesetenv, libc_feupdateenv): Likewise.
44297
44298         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
44299         not previously defined.
44300         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
44301         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
44302         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
44303         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
44304         * sysdeps/ieee754/flt-32/math_private.h: New file.
44305         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
44306         math_private.h below SET_FLOAT_WORD.
44307         (__isnan, __isinf_ns, __finite): Remove.
44308         (__isnanf, __isinf_nsf, __finitef): Remove.
44309
44310 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
44311
44312         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
44313
44314 2012-03-17  David S. Miller  <davem@davemloft.net>
44315
44316         [BZ #6471]
44317         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
44318         for 2.16.
44319
44320 2012-03-16  David S. Miller  <davem@davemloft.net>
44321
44322         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
44323         warnings.
44324
44325         [BZ #6471]
44326         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
44327         properly.
44328         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
44329         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
44330         sysdep_routines when subdir is sysvipc.
44331         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
44332         __getshmlba helper.
44333
44334         * sysdeps/sparc/fpu/libm-test/ulps: Update.
44335
44336 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
44337
44338         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
44339         [__LP64__].
44340
44341 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
44342
44343         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
44344         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
44345         (__lround): Renamed to ...
44346         (__llround): This.  Replace long int with long long int.
44347         Define lround functions as aliases of llround functions.
44348         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
44349
44350 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
44351
44352         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
44353         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
44354         adresses to uintptr_t.  Replace "long int" and "unsigned long
44355         int" with "greg_t" on va_arg.
44356
44357 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
44358
44359         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
44360         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
44361
44362         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
44363         Move e_machine check before EI_CLASS check.  Handle x32
44364         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
44365         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
44366         SKIP_EM_IA_64 and include
44367         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
44368
44369         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
44370         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
44371         (add_system_dir): New macro.
44372
44373         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
44374         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
44375
44376 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
44377
44378         [BZ #2551]
44379         [BZ #2552]
44380         [BZ #2553]
44381         [BZ #2554]
44382         [BZ #2562]
44383         [BZ #2563]
44384         [BZ #2565]
44385         [BZ #2566]
44386         [BZ #2576]
44387         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
44388         (y0): Likewise.
44389         * math/w_j0f.c (j0f): Likewise.
44390         (y0f): Likewise.
44391         * math/w_j0l.c (__j0l): Likewise.
44392         (__y0l): Likewise.
44393         * math/w_j1.c (j1): Likewise.
44394         (y1): Likewise.
44395         * math/w_j1f.c (j1f): Likewise.
44396         (y1f): Likewise.
44397         * math/w_j1l.c (__j1l): Likewise.
44398         (__y1l): Likewise.
44399         * math/w_jn.c (jn): Likewise.
44400         (yn): Likewise.
44401         * math/w_jnf.c (jnf): Likewise.
44402         (ynf): Likewise.
44403         * math/w_jnl.c (__jnl): Likewise.
44404         (__ynl): Likewise.
44405         * math/libm-test.inc (j0_test): Add more tests.
44406         (j1_test): Likewise.
44407         (jn_test): Likewise.  Add trailing semicolon to existing test.
44408         (y0_test): Likewise.
44409         (y1_test): Likewise.
44410         * sysdeps/i386/fpu/libm-test-ulps: Update.
44411         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44412
44413         [BZ #13851]
44414         [BZ #13854]
44415         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
44416         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
44417         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
44418         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
44419         (__tanl): Set errno for infinite argument.
44420         * sysdeps/i386/fpu/mptan.c: Remove.
44421         * sysdeps/i386/fpu/s_tan.S: Likewise.
44422         * sysdeps/i386/fpu/s_tanl.S: Likewise.
44423         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
44424         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
44425         * math/libm-test.inc (tan_test): Add more tests and enable more
44426         tests for double and long double.
44427         * sysdeps/i386/fpu/libm-test-ulps: Update.
44428         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44429
44430 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
44431
44432         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
44433         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
44434
44435 2012-03-16  Roland McGrath  <roland@hack.frob.com>
44436
44437         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
44438         * configure.in: Use it for both main tree and add-ons.
44439         * configure: Regenerated.
44440
44441 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
44442
44443         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
44444
44445 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
44446
44447         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
44448         in comment.
44449
44450         [BZ #13851]
44451         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
44452         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
44453         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
44454         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
44455         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
44456         infinite argument.
44457         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
44458         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
44459         != 0 for prec == 2.
44460         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
44461         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
44462         * sysdeps/i386/fpu/s_cosl.S: Likewise.
44463         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
44464         * sysdeps/i386/fpu/s_sinl.S: Likewise.
44465         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
44466         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
44467         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
44468         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
44469         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
44470         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
44471         * math/libm-test.inc (cos_test): Add more tests and enable more
44472         tests for long double.
44473         (sin_test): Likewise.
44474         (sincos_test): Likewise.
44475         * sysdeps/i386/fpu/libm-test-ulps: Update.
44476         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44477
44478 2012-03-16  David S. Miller  <davem@davemloft.net>
44479
44480         * sysdeps/sparc/fpu/math_private.h: New file.
44481
44482 2012-03-15  David S. Miller  <davem@davemloft.net>
44483
44484         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
44485         file.
44486         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
44487         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
44488         file.
44489         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
44490         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
44491         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
44492         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
44493         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
44494         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
44495         sysdep routines.
44496         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
44497
44498         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
44499         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
44500
44501         * sysdeps/sparc/sparc-ifunc.h: New file.
44502         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
44503         sparc-ifunc.h
44504         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
44505         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
44506         Likewise.
44507         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
44508         Likewise.
44509         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
44510         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
44511         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
44512         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
44513         Likewise.
44514         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
44515         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
44516         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
44517         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
44518         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
44519         Likewise.
44520         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
44521         Likewise.
44522         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
44523         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
44524         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
44525         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
44526         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
44527         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
44528         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
44529         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
44530         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
44531         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
44532         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
44533         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
44534         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
44535         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
44536         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
44537         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
44538         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
44539         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
44540         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
44541         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
44542         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
44543         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
44544         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
44545         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
44546
44547 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
44548
44549         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
44550         scaling.
44551         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
44552
44553 2012-03-15  Andreas Jaeger  <aj@suse.de>
44554
44555         [BZ #13852]
44556         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
44557         ieee754/flt-32 implementation for sin, cos and sincos.
44558         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
44559         * sysdeps/i386/fpu/s_cosf.S: Likewise.
44560         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
44561         * sysdeps/i386/fpu/s_sinf.S: Likewise.
44562         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
44563         ieee754/flt-32 implementation for tan.
44564
44565         * math/libm-test.inc (cos_test): Enable some large input tests for
44566         float as well
44567         (sin_test): Likewise.
44568         (sincos_test): Likewise.
44569         (tan_test): Add tests for large input.
44570
44571         * sysdeps/i386/fpu/libm-test-ulps: Update.
44572
44573 2012-03-15  Andreas Jaeger  <aj@suse.de>
44574
44575         [BZ #13658]
44576         * math/libm-test.inc (cos_test): Add more test cases.
44577         (sin_test): Likewise.
44578         (sincos_test): Likewise.
44579
44580 2012-03-15  Andreas Jaeger  <aj@suse.de>
44581
44582         [BZ #13837]
44583         * math/libm-test.inc (cos_test): Add a test case for large input
44584         value.
44585         (sin_test): Likewise.
44586         (sincos_test): Likewise.
44587
44588 2012-03-15  Andreas Jaeger  <aj@suse.de>
44589             Joseph Myers  <joseph@codesourcery.com>
44590
44591         [BZ #13658]
44592         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
44593         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
44594         * sysdeps/i386/fpu/branred.c: Likewise.
44595         * sysdeps/i386/fpu/dosincos.c: Likewise.
44596         * sysdeps/i386/fpu/mpa.c: Likewise.
44597         * sysdeps/i386/fpu/s_cos.S: Likewise.
44598         * sysdeps/i386/fpu/s_sin.S: Likewise.
44599         * sysdeps/i386/fpu/s_sincos.S: Likewise.
44600         * sysdeps/i386/fpu/sincos32.c: Likewise.
44601
44602         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
44603         Define.
44604         (libc_feupdateenv_53bit): Define.
44605         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
44606         Define.
44607         (libc_feupdateenv_53bit): Define.
44608
44609         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
44610         53 bit (without extend i386 double precision).
44611
44612         * math/libm-test.inc (sincos_test): Add tests for large input.
44613         (sin): Likewise.
44614         (cos): Likewise.
44615
44616         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
44617
44618 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
44619
44620         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
44621
44622 2012-03-15  David S. Miller  <davem@davemloft.net>
44623
44624         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
44625         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
44626         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
44627         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
44628         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
44629         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
44630         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
44631         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
44632         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
44633         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
44634         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
44635         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
44636         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
44637         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
44638         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
44639         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
44640         file.
44641         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
44642         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
44643         file.
44644         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
44645         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
44646         file.
44647         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
44648         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
44649         file.
44650         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
44651         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
44652         fmin/fmax sysdep routines.
44653         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
44654
44655 2012-03-14  David S. Miller  <davem@davemloft.net>
44656
44657         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
44658         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
44659         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
44660         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
44661         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
44662         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
44663         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
44664         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
44665         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
44666         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
44667         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
44668         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
44669         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
44670         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
44671         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
44672         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
44673         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
44674         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
44675         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
44676         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
44677         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
44678         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
44679         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
44680         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
44681         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
44682         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
44683         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
44684         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
44685         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
44686         routines.
44687         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
44688         file.
44689         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
44690         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
44691         file.
44692         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
44693         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
44694         file.
44695         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
44696         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
44697         file.
44698         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
44699         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
44700         file.
44701         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
44702         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
44703         file.
44704         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
44705         file.
44706         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
44707         file.
44708         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
44709         file.
44710         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
44711         New file.
44712         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
44713         file.
44714         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
44715         file.
44716         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
44717         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
44718         file.
44719         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
44720         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
44721         file.
44722         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
44723         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
44724         file.
44725         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
44726         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
44727         VIS3 routines.
44728
44729         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
44730         New file.
44731
44732         * sysdeps/sparc/fpu/libm-test-ulps: Update.
44733
44734         * sysdeps/sparc/configure.in: New file.
44735         * sysdeps/sparc/configure: Generate.
44736         * configure.in (libc_cv_sparc_as_vis3): Substitute.
44737         * configure: Regenerate.
44738         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
44739         * config.make.in (have-as-vis3): New.
44740         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
44741         available use -Av9d instead of -Av9a.
44742         * sysdeps/sparc/sparc64/Makefile: Likewise.
44743         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
44744         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
44745         New file.
44746         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
44747         file.
44748         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
44749         New file.
44750         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
44751         file.
44752         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
44753         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
44754         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
44755         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
44756         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
44757
44758         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
44759         fzeros/fnegs to load 0x80000000 into a float register instead of
44760         using the stack.
44761         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
44762
44763 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
44764
44765         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
44766         bits/syscall.h.
44767         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
44768         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
44769         ($(inst_includedir)/bits/syscall.h): Remove rule.
44770         ($(objpfx)bits/syscall.d): Include instead of
44771         $(objpfx)syscall-list.d.
44772         (generated): Change syscall-list.h and syscall-list.d to
44773         bits/syscall.h and bits/syscall.d.
44774
44775 2012-03-14  Roland McGrath  <roland@hack.frob.com>
44776
44777         [BZ #13846]
44778         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
44779
44780 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
44781
44782         [BZ #13841]
44783         * math/s_csqrt.c: Include <float.h>.
44784         (__csqrt): Scale large or subnormal inputs.
44785         * math/s_csqrtf.c: Likewise.
44786         * math/s_csqrtl.c: Likewise.
44787         * math/libm-test.inc (csqrt_test): Add more tests.
44788         * sysdeps/i386/fpu/libm-test-ulps: Update.
44789         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44790
44791         [BZ #13840]
44792         * math/libm-test.inc (hypot_test): Add more tests.
44793
44794 2012-03-13  David S. Miller  <davem@davemloft.net>
44795
44796         [BZ #13840]
44797         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
44798         double-precision for the calculation instead of scaling.
44799
44800 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
44801
44802         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
44803         manipulate bits before adding and subtracting TWO52[sx].
44804         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
44805         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
44806         Likewise.
44807         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
44808
44809 2012-03-13  David S. Miller  <davem@davemloft.net>
44810
44811         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
44812         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
44813         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
44814         rtld-global-offsets.h
44815         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
44816
44817         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
44818         large parameters.
44819
44820         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
44821
44822         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
44823         'err' in the ifdef scope in which it is actually used.
44824
44825         * nss/nss_db/db-init.c: Include string.h
44826
44827 2012-03-12  David S. Miller  <davem@davemloft.net>
44828
44829         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
44830         masking out of the most significant byte of random value used.
44831         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
44832         Fix coding style in previous change.
44833
44834         * sysdeps/unix/sysv/linux/kernel-features.h
44835         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
44836         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
44837         expression.
44838         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
44839         later.
44840
44841 2012-03-11  David S. Miller  <davem@davemloft.net>
44842
44843         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
44844         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
44845         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
44846         for 'resultvar' otherwise things get truncated on 64-bit.
44847
44848         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
44849         Fix masking out of the most significant byte of random value used.
44850
44851         * sysdeps/sparc/fpu/libm-test-ulps: Update.
44852
44853 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
44854
44855         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
44856
44857 2012-03-09  David S. Miller  <davem@davemloft.net>
44858
44859         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
44860         variables with appropriate CPP guards.
44861         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
44862         from the frame pointer, not the stack pointer.  Correct layout
44863         comments.  Fix test on resulting framesize and the management of
44864         the outregs buffer for pltexit.  Preserve floating point return
44865         values across _dl_call_pltexit call.
44866         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
44867         framesize and the management of the outregs buffer for pltexit.
44868         Preserve floating point return values across _dl_call_pltexit
44869         call.
44870         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
44871         (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
44872         (la_sparc64_gnu_pltexit): New functions.
44873         (print_exit): Fix format string for return register value.
44874
44875 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
44876
44877         * sunrpc/Makefile (others): Add rpcgen.
44878         ($(objpfx)rpcgen): Remove special build rule and dependency on
44879         libc.
44880         * sunrpc/rpcgen.c: New file.
44881
44882 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
44883
44884         [BZ #13673]
44885         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
44886         * stdio-common/bug-vfprintf-nargs.c: Likewise.
44887         * sysdeps/i386/crti.S: Likewise.
44888         * sysdeps/i386/crtn.S: Likewise.
44889         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
44890         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
44891         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
44892         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
44893         * sysdeps/sh/crti.S: Likewise.
44894         * sysdeps/sh/crtn.S: Likewise.
44895         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
44896
44897         [BZ #13673]
44898         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
44899         with URL.
44900         * locale/programs/locfile-kw.gperf: Likewise.
44901         * locale/programs/charmap-kw.h: Regenerated.
44902         * locale/programs/locfile-kw.h: Likewise.
44903
44904         [BZ #13673]
44905         * intl/plural.y: Replace FSF snail mail address with URL.
44906         * intl/plural.c: Regenerated.
44907
44908 2012-03-09  Richard Henderson  <rth@twiddle.net>
44909
44910         * include/math_private.h: Remove file.
44911         * math/math_private.h: Move file ...
44912         * sysdeps/generic/math_private.h: ... here.
44913
44914         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
44915         * sysdeps/powerpc/fpu/math_private.h: Likewise.
44916         * sysdeps/x86_64/fpu/math_private.h: Likewise.
44917
44918         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
44919         and <math_private.h>.
44920         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
44921         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
44922         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
44923         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
44924         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
44925         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
44926         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
44927         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
44928         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
44929         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
44930         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
44931         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
44932         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
44933         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
44934         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
44935         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
44936         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
44937         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
44938         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
44939         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
44940         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
44941         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
44942         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
44943         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
44944         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
44945         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
44946         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
44947         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
44948         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
44949         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
44950         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
44951         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
44952         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
44953         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
44954         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
44955         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
44956         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
44957         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
44958         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
44959         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
44960         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
44961         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
44962         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
44963         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
44964         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
44965         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
44966         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
44967         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
44968         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
44969         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
44970         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
44971         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
44972         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
44973         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
44974         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
44975         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
44976         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
44977         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
44978         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
44979         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
44980         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
44981         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
44982         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
44983         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
44984         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
44985         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
44986         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
44987         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
44988         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
44989         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
44990         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
44991         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
44992         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
44993         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
44994         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
44995         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
44996         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
44997         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
44998         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
44999         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
45000         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
45001         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
45002         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
45003         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
45004         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
45005         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
45006         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
45007         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
45008         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
45009         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
45010         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
45011         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
45012         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
45013         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
45014         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
45015         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
45016         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
45017         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
45018         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
45019         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
45020         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
45021         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
45022         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
45023         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
45024         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
45025         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
45026         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
45027         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
45028         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
45029         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
45030         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
45031         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
45032         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
45033         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
45034         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
45035         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
45036         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
45037         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
45038         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
45039         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
45040         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
45041         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
45042         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
45043         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
45044         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
45045         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
45046         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
45047         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
45048         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
45049         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
45050         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
45051         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
45052         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
45053         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
45054         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
45055         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
45056         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
45057         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
45058         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
45059         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
45060         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
45061         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
45062         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
45063         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
45064         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
45065         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
45066         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
45067         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
45068         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
45069         * sysdeps/ieee754/k_standard.c: Likewise.
45070         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
45071         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
45072         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
45073         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
45074         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
45075         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
45076         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
45077         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
45078         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
45079         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
45080         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
45081         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
45082         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
45083         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
45084         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
45085         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
45086         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
45087         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
45088         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
45089         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
45090         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
45091         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
45092         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
45093         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
45094         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
45095         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
45096         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
45097         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
45098         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
45099         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
45100         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
45101         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
45102         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
45103         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
45104         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
45105         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
45106         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
45107         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
45108         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
45109         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
45110         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
45111         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
45112         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
45113         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
45114         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
45115         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
45116         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
45117         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
45118         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
45119         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
45120         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
45121         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
45122         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
45123         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
45124         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
45125         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
45126         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
45127         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
45128         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
45129         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
45130         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
45131         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
45132         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
45133         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
45134         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
45135         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
45136         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
45137         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
45138         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
45139         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
45140         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
45141         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
45142         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
45143         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
45144         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
45145         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
45146         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
45147         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
45148         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
45149         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
45150         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
45151         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
45152         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
45153         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
45154         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
45155         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
45156         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
45157         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
45158         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
45159         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
45160         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
45161         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
45162         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
45163         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
45164         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
45165         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
45166         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
45167         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
45168         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
45169         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
45170         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
45171         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
45172         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
45173         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
45174         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
45175         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
45176         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
45177         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
45178         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
45179         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
45180         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
45181         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
45182         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
45183         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
45184         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
45185         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
45186         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
45187         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
45188         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
45189         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
45190         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
45191         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
45192         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
45193         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
45194         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
45195         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
45196         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
45197         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
45198         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
45199         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
45200         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
45201         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
45202         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
45203         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
45204         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
45205         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
45206         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
45207         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
45208         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
45209         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
45210         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
45211         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
45212         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
45213         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
45214         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
45215         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
45216         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
45217         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
45218         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
45219         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
45220         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
45221         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
45222         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
45223         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
45224         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
45225         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
45226         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
45227         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
45228         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
45229         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
45230         * sysdeps/ieee754/s_lib_version.c: Likewise.
45231         * sysdeps/ieee754/s_matherr.c: Likewise.
45232         * sysdeps/ieee754/s_signgam.c: Likewise.
45233         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
45234         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
45235         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
45236         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
45237         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
45238         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
45239         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
45240         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
45241         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
45242         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
45243         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
45244         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
45245         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
45246         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
45247         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
45248         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
45249         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
45250         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
45251         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
45252         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
45253         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
45254
45255 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
45256
45257         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
45258         * sunrpc/rpc_main.c: Likewise.
45259         * sunrpc/rpc_svcout.c: Likewise.
45260
45261 2012-03-09  David S. Miller  <davem@davemloft.net>
45262
45263         * include/math_private.h: New file.
45264
45265 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
45266
45267         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
45268         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
45269         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
45270         from <bits/socket_type.h>.
45271         (enum __socket_type): Don't define here.
45272         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
45273         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
45274         bits/socket_type.h.
45275
45276         [BZ #13566]
45277         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
45278         checking __USE_GNU.
45279
45280         * Makerules ($(inst_includedir)/%.h): New rule.
45281         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
45282         (install-others): Remove variable setting.
45283         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
45284
45285 2012-03-08  Richard Henderson  <rth@twiddle.net>
45286
45287         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
45288         from macro to inline function; merge with the
45289         !__LIBC_INTERNAL_MATH_INLINES version.
45290         (__ieee754_sqrtf): Likewise.
45291
45292         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
45293         to inline function.
45294         (__rintf, __floor, __floorf): Likewise.
45295
45296         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
45297         macro to inline function.
45298         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
45299
45300         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
45301         not <math/math_private.h>.
45302
45303 2012-03-08  David S. Miller  <davem@davemloft.net>
45304
45305         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
45306         copyright year.
45307         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
45308
45309 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
45310
45311         * resolv/gai_misc.c (handle_requests): Fix struct timespec
45312         normalization.
45313         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
45314         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
45315
45316 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
45317
45318         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
45319         be defined individually, they must be defined as a block.  Define
45320         S for printing a string instead of hidint the different by using a
45321         macro for adding the 'l'.
45322         * stdio-common/tst-fphex-wide.c: Adjust.
45323
45324 2012-03-07  Marek Polacek  <polacek@redhat.com>
45325
45326         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
45327
45328 2012-03-08  Marek Polacek  <polacek@redhat.com>
45329
45330         [BZ #13806]
45331         * stdio-common/Makefile (tests): Add tst-fphex-wide.
45332         * stdio-common/tst-fphex.c: Define a few macros to make the
45333         test reusable.  Use them.
45334         * stdio-common/tst-fphex-wide.c: New file.
45335
45336 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
45337
45338         [BZ #6911]
45339         * manual/macros.texi (gnusystems): New macro.
45340         (nongnusystems): Likewise.
45341         (gnulinuxhurdsystems): Likewise.
45342         (gnuhurdsystems): Likewise..
45343         (gnulinuxsystems): Likewise.
45344         * manual/charset.texi: Use new macros or @theglibc{} to refer to
45345         variants of the GNU system, not "GNU system".
45346         * manual/conf.texi: Likewise.
45347         * manual/errno.texi: Likewise.  Update example of errno macro
45348         expansion.
45349         * manual/filesys.texi: Likewise.
45350         (getumask): Document as specific to GNU/Hurd.
45351         * manual/install.texi: Likewise.  Reword some references to
45352         GNU/Linux.
45353         * manual/intro.texi: Likewise.
45354         * manual/io.texi: Likewise.
45355         (File Name Portability): Detail which constraints are inapplicable
45356         to all GNU systems and which are only inapplicable to GNU/Hurd.
45357         * manual/job.texi: Likewise.
45358         * manual/llio.texi: Likewise.
45359         (O_NOCTTY): Document as present on GNU/Linux.
45360         * manual/maint.texi: Likewise.
45361         * manual/memory.texi: Likewise.
45362         * manual/pattern.texi: Likewise.
45363         * manual/pipe.texi: Likewise.
45364         * manual/process.texi: Likewise.
45365         * manual/resource.texi: Likewise.
45366         (RUSAGE_CHILDREN): Remove statement about specifying a particular
45367         child on GNU/Hurd.
45368         * manual/setjmp.texi: Likewise.
45369         * manual/signal.texi: Likewise.
45370         * manual/startup.texi: Likewise.
45371         * manual/stdio.texi: Likewise.
45372         * manual/terminal.texi: Likewise.
45373         (ONLCR): Document as POSIX.
45374         (OXTABS): Document availability on GNU/Linux as XTABS.
45375         (ONOEOT): Document availability separately from other bits.
45376         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
45377         * manual/time.texi: Likewise.
45378         * manual/users.texi: Likewise.
45379         * INSTALL: Regenerated.
45380         * sysdeps/gnu/errlist.c: Regenerated.
45381
45382         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
45383         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
45384         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
45385         puts.
45386         * configure: Regenerated.
45387
45388 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
45389
45390         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
45391         default includes instead of AC_HEADER_CHECK.
45392         * sysdeps/i386/configure: Regenerated.
45393
45394         [BZ #10716]
45395         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
45396         * math/s_cacoshf.c (__cacoshf): Likewise.
45397         * math/s_cacoshl.c (__cacoshl): Likewise.
45398         * math/s_casinh.c (__casinh): Set signs of result from argument.
45399         * math/s_casinhf.c (__casinhf): Likewise.
45400         * math/s_casinhl.c (__casinhl): Likewise.
45401         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
45402         (casinh_test): Add more tests.
45403         * sysdeps/i386/fpu/libm-test-ulps: Update.
45404         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45405
45406 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
45407
45408         * po/zh_TW.po: Update from translation team.
45409
45410         * login/Makefile (distribute): Remove variable.
45411         * catgets/Makefile: Likewise.
45412         * mach/Makefile: Likewise.
45413         * malloc/Makefile: Likewise.
45414         * misc/Makefile: Likewise.
45415         * iconv/Makefile: Likewise.
45416         * nscd/Makefile: Likewise.
45417         * hurd/Makefile: Likewise.
45418         * manual/Makefile: Likewise.
45419         * locale/Makefile: Likewise.
45420         * intl/Makefile: Likewise.
45421         * conform/Makefile: Likewise.
45422         * nss/Makefile: Likewise.
45423         * time/Makefile: Likewise.
45424         * soft-fp/Makefile: Likewise.
45425         * dirent/Makefile: Likewise.
45426         * gmon/Makefile: Likewise.
45427         * po/Makefile: Likewise.
45428         * rt/Makefile: Likewise.
45429         * socket/Makefile: Likewise.
45430         * math/Makefile: Likewise.
45431         * signal/Makefile: Likewise.
45432         * debug/Makefile: Likewise.
45433         * elf/Makefile: Likewise.
45434         * timezone/Makefile: Likewise.
45435         * stdlib/Makefile: Likewise.
45436         * iconvdata/Makefile: Likewise.
45437         * sunrpc/Makefile: Likewise.
45438         * io/Makefile: Likewise.
45439         * argp/Makefile: Likewise.
45440         * inet/Makefile: Likewise.
45441         * hesiod/Makefile: Likewise.
45442         * grp/Makefile: Likewise.
45443         * csu/Makefile: Likewise.
45444         * wctype/Makefile: Likewise.
45445         * crypt/Makefile: Likewise.
45446         * libio/Makefile: Likewise.
45447         * string/Makefile: Likewise.
45448         * nis/Makefile: Likewise.
45449         * resolv/Makefile: Likewise.
45450         * stdio-common/Makefile: Likewise.
45451         * wcsmbs/Makefile: Likewise.
45452         * dlfcn/Makefile: Likewise.
45453         * posix/Makefile: Likewise.
45454
45455         [BZ #6959]
45456         * timezone/Makefile: Don't install timezone files, just the programs
45457         and scripts.
45458
45459 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
45460
45461         * nss/databases.def: Add missing gshadow entry.
45462
45463         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
45464
45465 2012-03-06  Marek Polacek  <polacek@redhat.com>
45466
45467         [BZ #13726]
45468         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
45469         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
45470         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
45471         * stdio-common/tst-long-dbl-fphex.c: New file.
45472
45473 2012-03-06  David S. Miller  <davem@davemloft.net>
45474
45475         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
45476         (set_obp_int): New function.
45477         (get_obp_int): New function.
45478         (__get_clockfreq_via_dev_openprom): Likewise.
45479         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
45480         Avoid unused variable warnings on 'val' and use builtin_expect.
45481         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
45482         __builtin_expect.
45483         (INLINE_CLONE_SYSCALL): Likewise.
45484
45485 2012-03-05  David S. Miller  <davem@davemloft.net>
45486
45487         * sysdeps/sparc/fpu/libm-test-ulps: Update.
45488
45489 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
45490
45491         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45492
45493         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
45494         only for |x| >= 40.
45495         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
45496
45497 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
45498
45499         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
45500         Replace gettimeofday with __vdso_gettimeofday.
45501
45502         * sysdeps/unix/sysv/linux/x86_64/init-first.c
45503         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
45504         __vdso_clock_gettime and __vdso_getcpu.
45505
45506         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
45507         time with __vdso_time.
45508
45509 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
45510
45511         * manual/lang.texi (size_t): Note types to which size_t may be
45512         equivalent with the GNU C Library, but do not describe when
45513         differences between them are significant.
45514
45515 2012-03-05  Andreas Jaeger  <aj@suse.de>
45516
45517         * sysdeps/i386/fpu/libm-test-ulps: Update.
45518
45519 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
45520
45521         [BZ #3976]
45522         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
45523         (__ieee754_pow): Save and restore rounding mode and use
45524         round-to-nearest for main computations.
45525         * math/libm-test.inc (pow_test_tonearest): New function.
45526         (pow_test_towardzero): Likewise.
45527         (pow_test_downward): Likewise.
45528         (pow_test_upward): Likewise.
45529         (main): Call the new functions.
45530         * sysdeps/i386/fpu/libm-test-ulps: Update.
45531         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45532
45533         [BZ #3976]
45534         * math/libm-test.inc (cosh_test_tonearest): New function.
45535         (cosh_test_towardzero): Likewise.
45536         (cosh_test_downward): Likewise.
45537         (cosh_test_upward): Likewise.
45538         (sinh_test_tonearest): Likewise.
45539         (sinh_test_towardzero): Likewise.
45540         (sinh_test_downward): Likewise.
45541         (sinh_test_upward): Likewise.
45542         (main): Call the new functions.
45543         * sysdeps/i386/fpu/libm-test-ulps: Update.
45544         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45545
45546 2012-03-05  Tom de Vries  <tom@codesourcery.com>
45547
45548         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
45549         default stack guard is set in last bytes.
45550         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
45551
45552 2012-03-05  Kees Cook  <keescook@chromium.org>
45553
45554         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
45555
45556         [BZ #13656]
45557         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
45558         possibly allocate from heap instead of stack.
45559         * stdio-common/bug-vfprintf-nargs.c: New file.
45560         * stdio-common/Makefile (tests): Add nargs overflow test.
45561
45562 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
45563
45564         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45565
45566 2012-03-03  Marek Polacek  <polacek@redhat.com>
45567
45568         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
45569         * math/math_private.h: Likewise.
45570         * stdlib/tst-strtod.c: Likewise.
45571         * sysdeps/i386/i486/bits/atomic.h: Likewise.
45572         * sysdeps/x86_64/bits/atomic.h: Likewise.
45573
45574 2012-03-02  David S. Miller  <davem@davemloft.net>
45575
45576         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
45577         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
45578         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
45579         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
45580         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
45581         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
45582         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
45583         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
45584
45585 2012-03-02  Roland McGrath  <roland@hack.frob.com>
45586
45587         [BZ #13792]
45588         * manual/examples/README: New file, says the example source files
45589         can be used under GPL>=2.
45590         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
45591         line containing just "*/".
45592         * manual/examples/add.c: Add copyright header (GPL>=2).
45593         * manual/examples/argp-ex1.c: Likewise.
45594         * manual/examples/argp-ex2.c: Likewise.
45595         * manual/examples/argp-ex3.c: Likewise.
45596         * manual/examples/argp-ex4.c: Likewise.
45597         * manual/examples/atexit.c: Likewise.
45598         * manual/examples/db.c: Likewise.
45599         * manual/examples/dir.c: Likewise.
45600         * manual/examples/dir2.c: Likewise.
45601         * manual/examples/execinfo.c: Likewise.
45602         * manual/examples/filecli.c: Likewise.
45603         * manual/examples/filesrv.c: Likewise.
45604         * manual/examples/fmtmsgexpl.c: Likewise.
45605         * manual/examples/genpass.c: Likewise.
45606         * manual/examples/inetcli.c: Likewise.
45607         * manual/examples/inetsrv.c: Likewise.
45608         * manual/examples/isockad.c: Likewise.
45609         * manual/examples/longopt.c: Likewise.
45610         * manual/examples/memopen.c: Likewise.
45611         * manual/examples/memstrm.c: Likewise.
45612         * manual/examples/mkfsock.c: Likewise.
45613         * manual/examples/mkisock.c: Likewise.
45614         * manual/examples/mygetpass.c: Likewise.
45615         * manual/examples/pipe.c: Likewise.
45616         * manual/examples/popen.c: Likewise.
45617         * manual/examples/rprintf.c: Likewise.
45618         * manual/examples/search.c: Likewise.
45619         * manual/examples/select.c: Likewise.
45620         * manual/examples/setjmp.c: Likewise.
45621         * manual/examples/sigh1.c: Likewise.
45622         * manual/examples/sigusr.c: Likewise.
45623         * manual/examples/stpcpy.c: Likewise.
45624         * manual/examples/strdupa.c: Likewise.
45625         * manual/examples/strftim.c: Likewise.
45626         * manual/examples/strncat.c: Likewise.
45627         * manual/examples/subopt.c: Likewise.
45628         * manual/examples/swapcontext.c: Likewise.
45629         * manual/examples/termios.c: Likewise.
45630         * manual/examples/testopt.c: Likewise.
45631         * manual/examples/testpass.c: Likewise.
45632         * manual/examples/timeval_subtract.c: Likewise.
45633
45634         [BZ #13792]
45635         * manual/time.texi (Elapsed Time): Move timeval_subtract example
45636         function to ...
45637         * manual/timeval_subtract.c.texi: ... here, new file.
45638
45639 2012-03-02  David S. Miller  <davem@davemloft.net>
45640
45641         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
45642
45643 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
45644
45645         [BZ #3976]
45646         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
45647         (__sin): Save and restore rounding mode and use round-to-nearest
45648         for all computations.
45649         (__cos): Save and restore rounding mode and use round-to-nearest
45650         for all computations.
45651         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
45652         <fenv.h>.
45653         (tan): Save and restore rounding mode and use round-to-nearest for
45654         all computations.
45655         * math/libm-test.inc (cos_test_tonearest): New function.
45656         (cos_test_towardzero): Likewise.
45657         (cos_test_downward): Likewise.
45658         (cos_test_upward): Likewise.
45659         (sin_test_tonearest): Likewise.
45660         (sin_test_towardzero): Likewise.
45661         (sin_test_downward): Likewise.
45662         (sin_test_upward): Likewise.
45663         (tan_test_tonearest): Likewise.
45664         (tan_test_towardzero): Likewise.
45665         (tan_test_downward): Likewise.
45666         (tan_test_upward): Likewise.
45667         (main): Call the new functions.
45668         * sysdeps/i386/fpu/libm-test-ulps: Update.
45669         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45670
45671         [BZ #10135]
45672         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
45673         small n, then large n, before computing and testing k+n.
45674         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
45675         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
45676         Likewise.
45677         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
45678         Likewise.
45679         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
45680         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
45681         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
45682         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
45683         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
45684         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
45685         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
45686         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
45687         * math/libm-test.inc (scalbn_test): Add more tests.
45688         (scalbln_test): Likewise.
45689
45690         * manual/filesys.texi (mode_t): Describe constraints on size and
45691         signedness, not exact equivalence to a particular type.
45692         (ino_t): Likewise.
45693         (ino64_t): Likewise.
45694         (dev_t): Likewise.
45695         (nlink_t): Likewise.
45696         (blkcnt_t): Likewise.
45697         (blkcnt64_t): Likewise.
45698         * manual/llio.texi (off_t): Likewise.
45699
45700         [BZ #3976]
45701         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
45702         (__ieee754_exp): Save and restore rounding mode and use
45703         round-to-nearest for all computations.
45704         * math/libm-test.inc (exp_test_tonearest): New function.
45705         (exp_test_towardzero): Likewise.
45706         (exp_test_downward): Likewise.
45707         (exp_test_upward): Likewise.
45708         (main): Call the new functions.
45709         * sysdeps/i386/fpu/libm-test-ulps: Update.
45710         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45711
45712 2012-03-01  Chris Demetriou  <cgd@google.com>
45713
45714         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
45715         have predictable order.
45716
45717 2012-03-01  David S. Miller  <davem@davemloft.net>
45718
45719         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
45720
45721         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
45722         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
45723         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
45724         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
45725
45726         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
45727         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
45728         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
45729         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
45730         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
45731         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
45732         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
45733         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
45734         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
45735
45736         * sysdeps/sparc/fpu/libm-test-ulps: Update.
45737
45738         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
45739         * sysdeps/sparc/fpu/libm-test-ulps: to here.
45740         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
45741
45742         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
45743         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
45744         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
45745         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
45746         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
45747         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
45748         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
45749         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
45750         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
45751         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
45752         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
45753         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
45754         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
45755         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
45756         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
45757         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
45758         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
45759         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
45760         * sysdeps/sparc/elf/configure: Regenerated.
45761
45762 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
45763
45764         * configure.in (AS, LD): Require binutils 2.20 or later.
45765         * configure: Regenerated.
45766         * manual/install.texi (Tools for Compilation): Give binutils 2.20
45767         as required minimum version.
45768         * INSTALL: Regenerated.
45769
45770         [BZ #2541]
45771         [BZ #4108]
45772         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
45773         before squaring exponent.
45774         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
45775         bottom long double and 27 bits of top long double before squaring
45776         exponent.
45777         * math/libm-test.inc (erfc_test): Add more tests.
45778         * sysdeps/i386/fpu/libm-test-ulps: Update.
45779         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
45780         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45781
45782 2012-03-01  Kai Tietz  <ktietz@redhat.com>
45783
45784         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
45785         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
45786         containing bit-fields.
45787         * soft-fp/extended.h (_FP_UNION_E): Likewise.
45788         * soft-fp/single.h (_FP_UNION_S): Likewise.
45789         * soft-fp/double.h (_FP_UNION_D): Likewise.
45790
45791 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
45792
45793         [BZ #13786]
45794         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
45795         not include ../strcmp.S.
45796         [USE_AS_STRNCASECMP_L]: Likewise.
45797         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
45798         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
45799         * sysdeps/i386/i686/multiarch/strncase_l-c.c
45800         (__strncasecmp_l_ia32): Define as alias to
45801         __strncasecmp_l_nonascii.
45802
45803         [BZ #5794]
45804         * math/libm-test.inc (expm1_test): Add test for bug 5794.
45805         * sysdeps/i386/fpu/libm-test-ulps: Update.
45806         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45807
45808         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
45809         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45810
45811 2012-02-29  Jeff Law  <law@redhat.com>
45812
45813         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
45814         out of bounds read.
45815
45816 2012-02-29  Marek Polacek  <polacek@redhat.com>
45817
45818         [BZ #13706]
45819         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
45820         * elf/Makefile: Add rules to run tst-unused-dep.out.
45821
45822 2012-02-28  David S. Miller  <davem@davemloft.net>
45823
45824         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
45825         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
45826         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
45827         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
45828         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
45829         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
45830
45831 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
45832
45833         * math/libm-test.inc (llround_test): Move one test from
45834         lround_test.  Use TEST_f_L in moved test.
45835         (lround_test): Move misplaced test to llround_test.  Add testcase
45836         from bug 2561.
45837
45838 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
45839
45840         * sysdeps/x86_64/fpu/e_expf.S: New file.
45841         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
45842
45843 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
45844
45845         [BZ #13637]
45846         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
45847         of remain_len that may cause incomplete multi-byte character and
45848         false match.
45849         * posix/bug-regex33.c: New file.
45850         * posix/Makefile (tests): Add bug-regex33.
45851
45852 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
45853
45854         * manual/macros.texi: New file.
45855         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
45856         * manual/libc.texinfo: Include macros.texi.
45857         * manual/creatute.texi: Likewise.
45858         * manual/install.texi: Likewise.
45859         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
45860         @glibcadj{} in references to the GNU C Library.
45861         * manual/charset.texi: Likewise.
45862         * manual/conf.texi: Likewise.
45863         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
45864         when not using those macros.
45865         * manual/creature.texi: Likewise.
45866         * manual/crypt.texi: Likewise.
45867         * manual/errno.texi: Likewise.
45868         * manual/filesys.texi: Likewise.
45869         * manual/header.texi: Likewise.
45870         * manual/install.texi: Likewise.
45871         * manual/intro.texi: Likewise.
45872         * manual/io.texi: Likewise.
45873         * manual/job.texi: Likewise.
45874         * manual/lang.texi: Likewise.
45875         * manual/libc.texiinfo: Likewise.
45876         * manual/llio.texi: Likewise.
45877         * manual/locale.texi: Likewise.
45878         * manual/maint.texi: Likewise.
45879         * manual/math.texi: Likewise.
45880         * manual/memory.texi: Likewise.
45881         * manual/message.texi: Likewise.
45882         * manual/nss.texi: Likewise.
45883         * manual/pattern.texi: Likewise.
45884         * manual/process.texi: Likewise.
45885         * manual/resource.texi: Likewise.
45886         * manual/search.texi: Likewise.
45887         * manual/setjmp.texi: Likewise.
45888         * manual/signal.texi: Likewise.
45889         * manual/socket.texi: Likewise.
45890         * manual/startup.texi: Likewise.
45891         * manual/stdio.texi: Likewise.
45892         * manual/string.texi: Likewise.
45893         * manual/sysinfo.texi: Likewise.
45894         * manual/syslog.texi: Likewise.
45895         * manual/terminal.texi: Likewise.
45896         * manual/time.texi: Likewise.
45897         * manual/users.texi: Likewise.
45898         * INSTALL: Regenerated.
45899         * NOTES: Regenerated.
45900         * sysdeps/gnu/errlist.c: Regenerated.
45901
45902 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
45903
45904         * include/dirent.h: Include <dirstream.h> before
45905         <dirent/dirent.h>.
45906
45907 2012-02-28  David S. Miller  <davem@davemloft.net>
45908
45909         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
45910         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
45911         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
45912         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
45913
45914 2012-02-27  David S. Miller  <davem@davemloft.net>
45915
45916         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
45917         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
45918         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
45919         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
45920
45921         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
45922         frame pointer instead of stack pointer relative arg slot.
45923         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
45924         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
45925         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
45926
45927 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
45928
45929         [BZ #3992]
45930         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
45931
45932 2012-02-27  David S. Miller  <davem@davemloft.net>
45933
45934         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
45935         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
45936         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
45937         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
45938         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
45939         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
45940         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
45941         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
45942
45943 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
45944
45945         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
45946         later.  Allow versions 5-9.
45947         * configure: Regenerated.
45948         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
45949         required minimum version and 4.6 as recommended version.  Do not
45950         mention bugs in GCC 2.7 and 2.8.
45951         * INSTALL: Regenerated.
45952
45953 2012-02-27  David S. Miller  <davem@davemloft.net>
45954
45955         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
45956         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
45957         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
45958         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
45959         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
45960         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
45961         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
45962         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
45963
45964         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
45965         manipulate bits before adding and subtracting TWO112[sx].
45966         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
45967
45968 2012-02-27  Roland McGrath  <roland@hack.frob.com>
45969
45970         [BZ #13775]
45971         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
45972         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
45973         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
45974         being in POSIX, because they are in 1003.1-2008.
45975
45976         * rt/tst-aio.c: Include <fcntl.h>.
45977         * rt/tst-aio7.c: Likewise.
45978         * rt/tst-aio64.c: Likewise.
45979
45980         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
45981
45982 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
45983
45984         * manual/install.texi (--with-headers): Describe headers as
45985         interface headers, not private headers.
45986         (Specific advice for GNU/Linux systems): Describe use of headers
45987         from "make headers_install", not private headers from older
45988         kernels.
45989         * INSTALL: Regenerated.
45990         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
45991         Change to 2.6.19.
45992         * sysdeps/unix/sysv/linux/configure: Regenerated.
45993
45994         * manual/llio.texi (fclean): Remove documentation.
45995
45996         * manual/Makefile (libc-texi-generated): New variable.  Include
45997         version.texi.
45998         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
45999         $(libc-texi-generated), not duplicated list of files.
46000         (version.texi, stamp-version): New rules.
46001         (realclean): Remove $(libc-texi-generated), not individual files
46002         from that list.  Do not remove dir-add.texinfo.
46003         * manual/libc.texinfo: Comment out uses of edition numbers and
46004         references to printed manual.  Remove last-updated dates.
46005         (EDITION): Comment out.
46006         (ISBN): Likewise.
46007         (VERSION, UPDATED): Remove.
46008         (version.texi): Include.
46009
46010 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
46011
46012         * sysdeps/posix/spawni.c: Include <signal.h>.
46013         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
46014         * sysdeps/pthread/aio_fsync.c: Likewise.
46015
46016 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
46017
46018         * conform/Makefile (tests): Run only when not cross-compiling and
46019         when fast-check is not defined.
46020
46021         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
46022         * conform/data/limits.h-data: Fixes for POSIX2008.
46023         * conform/run-conformtest.sh: Run all tests.
46024         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
46025         headers.
46026         * include/bits/dlfcn.h: Likewise.
46027         * include/langinfo.h: Likewise.
46028         * include/monetary.h: Likewise.
46029         * include/sys/poll.h: Likewise.
46030
46031         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
46032         for __USE_GNU.
46033         * posix/spawn.h: Define __need_sigset_t.
46034         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
46035         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
46036         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
46037         to get sigevent_t only.
46038         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
46039         only for __USE_GNU.
46040         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
46041         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
46042         process_vm_writev only for __USE_GNU.
46043         * termios/termios.h: Declare tcgetsid also for POSIX2008.
46044
46045         * conform/Makefile: For now ignore errors from run-conformtest.
46046         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
46047         POSIX to avoid namespace pollution.  Don't prepend headers.
46048         * conform/data/aio.h-data: Fixes for POSIX testing.
46049         * conform/data/fcntl.h-data: Likewise.
46050         * conform/data/glob.h-data: Likewise.
46051         * conform/data/grp.h-data: Likewise.
46052         * conform/data/pthread.h-data: Likewise.
46053         * conform/data/pwd.h-data: Likewise.
46054         * conform/data/signal.h-data: Likewise.
46055         * conform/data/spawn.h-data: Likewise.
46056         * conform/data/stdio.h-data: Likewise.
46057         * conform/data/stdlib.h-data: Likewise.
46058         * conform/data/stropts.h-data: Likewise.
46059         * conform/data/sys/mman.h-data: Likewise.
46060         * conform/data/sys/stat.h-data: Likewise.
46061         * conform/data/sys/types.h-data: Likewise.
46062         * conform/data/sys/wait.h-data: Likewise.
46063         * conform/data/time.h-data: Likewise.
46064         * conform/data/unistd.h-data: Likewise.
46065         * conform/data/utime.h-data: Likewise.
46066
46067         * io/sys/stat.h: fchmod was always in POSIX.
46068         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
46069         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
46070         * rt/aio.h: Define __need_timespec before including <time.h>.
46071         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
46072         struct.  Add forward declaration of pthread_attr_t and use it in
46073         sigevent.
46074         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
46075         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
46076         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
46077         always remove CLK_TCK definition.
46078
46079 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
46080
46081         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
46082
46083 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
46084
46085         * conform/run-conformtest.sh: New file.
46086         * conform/Makefile: Run run-conformtest for tests.
46087         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
46088         support.
46089
46090         * conform/data/uchar.h-data: New file.
46091         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
46092         * conform/data/arpa/inet.h-data: Likewise.
46093         * conform/data/assert.h-data: Likewise.
46094         * conform/data/complex.h-data: Likewise.
46095         * conform/data/cpio.h-data: Likewise.
46096         * conform/data/ctype.h-data: Likewise.
46097         * conform/data/dirent.h-data: Likewise.
46098         * conform/data/dlfcn.h-data: Likewise.
46099         * conform/data/errno.h-data: Likewise.
46100         * conform/data/fcntl.h-data: Likewise.
46101         * conform/data/float.h-data: Likewise.
46102         * conform/data/fmtmsg.h-data: Likewise.
46103         * conform/data/fnmatch.h-data: Likewise.
46104         * conform/data/ftw.h-data: Likewise.
46105         * conform/data/glob.h-data: Likewise.
46106         * conform/data/grp.h-data: Likewise.
46107         * conform/data/iconv.h-data: Likewise.
46108         * conform/data/inttypes.h-data: Likewise.
46109         * conform/data/langinfo.h-data: Likewise.
46110         * conform/data/libgen.h-data: Likewise.
46111         * conform/data/limits.h-data: Likewise.
46112         * conform/data/locale.h-data: Likewise.
46113         * conform/data/math.h-data: Likewise.
46114         * conform/data/monetary.h-data: Likewise.
46115         * conform/data/mqueue.h-data: Likewise.
46116         * conform/data/ndbm.h-data: Likewise.
46117         * conform/data/net/if.h-data: Likewise.
46118         * conform/data/netdb.h-data: Likewise.
46119         * conform/data/netinet/in.h-data: Likewise.
46120         * conform/data/nl_types.h-data: Likewise.
46121         * conform/data/poll.h-data: Likewise.
46122         * conform/data/pthread.h-data: Likewise.
46123         * conform/data/pwd.h-data: Likewise.
46124         * conform/data/regex.h-data: Likewise.
46125         * conform/data/sched.h-data: Likewise.
46126         * conform/data/search.h-data: Likewise.
46127         * conform/data/semaphore.h-data: Likewise.
46128         * conform/data/setjmp.h-data: Likewise.
46129         * conform/data/signal.h-data: Likewise.
46130         * conform/data/spawn.h-data: Likewise.
46131         * conform/data/stdarg.h-data: Likewise.
46132         * conform/data/stdio.h-data: Likewise.
46133         * conform/data/stdlib.h-data: Likewise.
46134         * conform/data/string.h-data: Likewise.
46135         * conform/data/strings.h-data: Likewise.
46136         * conform/data/stropts.h-data: Likewise.
46137         * conform/data/sys/ipc.h-data: Likewise.
46138         * conform/data/sys/mman.h-data: Likewise.
46139         * conform/data/sys/msg.h-data: Likewise.
46140         * conform/data/sys/resource.h-data: Likewise.
46141         * conform/data/sys/select.h-data: Likewise.
46142         * conform/data/sys/sem.h-data: Likewise.
46143         * conform/data/sys/shm.h-data: Likewise.
46144         * conform/data/sys/socket.h-data: Likewise.
46145         * conform/data/sys/stat.h-data: Likewise.
46146         * conform/data/sys/statvfs.h-data: Likewise.
46147         * conform/data/sys/time.h-data: Likewise.
46148         * conform/data/sys/timeb.h-data: Likewise.
46149         * conform/data/sys/times.h-data: Likewise.
46150         * conform/data/sys/types.h-data: Likewise.
46151         * conform/data/sys/uio.h-data: Likewise.
46152         * conform/data/sys/un.h-data: Likewise.
46153         * conform/data/sys/utsname.h-data: Likewise.
46154         * conform/data/sys/wait.h-data: Likewise.
46155         * conform/data/syslog.h-data: Likewise.
46156         * conform/data/tar.h-data: Likewise.
46157         * conform/data/termios.h-data: Likewise.
46158         * conform/data/utime.h-data: Likewise.
46159         * conform/data/utmpx.h-data: Likewise.
46160         * conform/data/varargs.h-data: Likewise.
46161         * conform/data/wchar.h-data: Likewise.
46162         * conform/data/wctype.h-data: Likewise.
46163         * conform/data/wordexp.h-data: Likewise.
46164
46165         * include/stropts.h: New file.
46166         * include/uchar.h: New file.
46167         * include/aio.h: Changes to allow conformtest.pl to use the headers.
46168         * include/assert.h: Likewise.
46169         * include/ctype.h: Likewise.
46170         * include/dirent.h: Likewise.
46171         * include/dlfcn.h: Likewise.
46172         * include/fcntl.h: Likewise.
46173         * include/fnmatch.h: Likewise.
46174         * include/glob.h: Likewise.
46175         * include/grp.h: Likewise.
46176         * include/libio.h: Likewise.
46177         * include/locale.h: Likewise.
46178         * include/math.h: Likewise.
46179         * include/net/if.h: Likewise.
46180         * include/netdb.h: Likewise.
46181         * include/netinet/in.h: Likewise.
46182         * include/pthread.h: Likewise.
46183         * include/pwd.h: Likewise.
46184         * include/regex.h: Likewise.
46185         * include/sched.h: Likewise.
46186         * include/search.h: Likewise.
46187         * include/setjmp.h: Likewise.
46188         * include/signal.h: Likewise.
46189         * include/stdio.h: Likewise.
46190         * include/stdlib.h: Likewise.
46191         * include/string.h: Likewise.
46192         * include/sys/cdefs.h: Likewise.
46193         * include/sys/mman.h: Likewise.
46194         * include/sys/msg.h: Likewise.
46195         * include/sys/resource.h: Likewise.
46196         * include/sys/select.h: Likewise.
46197         * include/sys/socket.h: Likewise.
46198         * include/sys/stat.h: Likewise.
46199         * include/sys/statvfs.h: Likewise.
46200         * include/sys/time.h: Likewise.
46201         * include/sys/times.h: Likewise.
46202         * include/sys/uio.h: Likewise.
46203         * include/sys/utsname.h: Likewise.
46204         * include/sys/wait.h: Likewise.
46205         * include/termios.h: Likewise.
46206         * include/time.h: Likewise.
46207         * include/ulimit.h: Likewise.
46208         * include/unistd.h: Likewise.
46209         * include/utime.h: Likewise.
46210         * include/wchar.h: Likewise.
46211         * include/wctype.h: Likewise.
46212         * include/wordexp.h: Likewise.
46213
46214         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
46215
46216         * time/time.h: TIME_UTC must be a macro.
46217         Make timespec_get available for ISO C11 only as well.
46218
46219 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
46220
46221         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
46222         Reported by Peng Haitao <penght@cn.fujitsu.com>.
46223
46224 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
46225
46226         * configure.in: Use -o not -a in test for unsupported multi-arch.
46227
46228 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
46229
46230         * manual/texinfo.tex: Update to version 2012-01-19.16.
46231
46232 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
46233
46234         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
46235
46236 2012-02-24  Roland McGrath  <roland@hack.frob.com>
46237
46238         [BZ #13738]
46239         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
46240         * manual/fdl-1.3.texi: New file.
46241         * manual/fdl-1.1.texi: File removed.
46242
46243         [BZ #13738]
46244         * manual/libc.texinfo (FDL_VERSION): New @set.
46245         Use it for mention of FDL in cover text.
46246         (Documentation License): Use it in @include file name.
46247
46248 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
46249             Roland McGrath  <roland@hack.frob.com>
46250
46251         [BZ #5461]
46252         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
46253         (not LONG_LONG_MAX and LONG_LONG_MIN.
46254         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
46255         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
46256         name.
46257         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
46258
46259 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
46260
46261         [BZ #2547]
46262         [BZ #11365]
46263         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
46264         manipulate bits before adding and subtracting TWO23[sx].
46265         * math/libm-test.inc (nearbyint_test): Add more tests.
46266
46267 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
46268
46269         [BZ #2548]
46270         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
46271         bits before adding and subtracting TWO23[sx].
46272         * math/libm-test.inc (rint_test): Add more tests.
46273         (rint_test_tonearest): Likewise.
46274         (rint_test_towardzero): Likewise.
46275         (rint_test_downward): Likewise.
46276         (rint_test_upward: Likewise.
46277
46278 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
46279
46280         [BZ #10110]
46281         * include/stdc-predef.h: New file.  Extracted from features.h.
46282         * include/features.h: Include stdc-predef.h.
46283         * Makefile (headers): Add stdc-predef.h.
46284         * CONFORMANCE (Compiler limitations): Update.
46285
46286 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
46287
46288         * manual/libc.texinfo (VERSION, UPDATED): Revert.
46289
46290 2012-02-21  David S. Miller  <davem@davemloft.net>
46291
46292         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
46293         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
46294
46295 2012-02-20  David S. Miller  <davem@davemloft.net>
46296
46297         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
46298         using a normal save/restore sequence, rather than allocating a
46299         dummy stack frame just to store a frame pointer and restore.
46300         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
46301
46302 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
46303
46304         * manual/install.texi: Fix stray word in line-wrapped comment.
46305
46306 2012-02-20  David S. Miller  <davem@davemloft.net>
46307
46308         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
46309         both binutils and gcc support GOTDATA.
46310
46311         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
46312         "rd %pc" in the PIC register setup sequences.
46313
46314         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
46315         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
46316         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
46317         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
46318         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
46319         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
46320         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
46321         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
46322         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
46323         (SYSCALL_ERROR_HANDLER): Likewise.
46324         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
46325         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
46326         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
46327         (SYSCALL_ERROR_HANDLER): Likewise.
46328
46329         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
46330         (HAVE_GCC_GOTDATA): New.
46331         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
46332         relocation support in both binutils and gcc.
46333         * sysdeps/sparc/elf/configure: Regenerate.
46334
46335         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
46336         * sysdeps/sparc/sparc32/elf/configure: Delete.
46337         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
46338         * sysdeps/sparc/sparc64/elf/configure: Delete.
46339         * sysdeps/sparc/elf/configure.in: New file.
46340         * sysdeps/sparc/elf/configure: Generate.
46341
46342         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
46343         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
46344         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
46345         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
46346         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
46347
46348 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
46349
46350         * manual/install.texi: Do not mention specific glibc version
46351         numbers.
46352         * manual/libc.texinfo (VERSION, UPDATED): Update.
46353         (@copying): Use @copyright{} and range of years.
46354
46355 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
46356
46357         [BZ #13695]
46358         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
46359         [crti.S not in sysdirs] (generated): Do not append.
46360         [crti.S not in sysdirs] (omit-deps): Likewise.
46361         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
46362         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
46363         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
46364         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
46365         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
46366         Likewise.
46367         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
46368         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
46369         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
46370         * csu/defs.awk: Remove file.
46371         * sysdeps/generic/initfini.c: Likewise.
46372         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
46373         variable.
46374         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
46375         Likewise.
46376
46377 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
46378
46379         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
46380         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
46381         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
46382         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
46383         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
46384         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
46385         <bits/epoll.h>.
46386         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
46387         (__EPOLL_PACKED): Define to empty if not defined by
46388         <bits/epoll.h>.
46389         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
46390         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
46391         bits/epoll.h.
46392
46393 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
46394
46395         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
46396         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
46397         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
46398         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
46399         <bits/timerfd.h>.
46400         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
46401         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
46402         bits/timerfd.h.
46403
46404 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
46405
46406         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
46407         in C locale.
46408         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
46409         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
46410         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
46411         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46412
46413 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
46414
46415         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
46416         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
46417
46418 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
46419
46420         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
46421         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
46422         defined.
46423         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
46424         Likewise.
46425         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
46426         entry for 2.16.
46427
46428 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
46429
46430         * math/w_acos.c: Use non-signaling floating-point comparisons.
46431         * math/w_acosf.c: Likewise.
46432         * math/w_acosh.c: Likewise.
46433         * math/w_acoshf.c: Likewise.
46434         * math/w_acoshl.c: Likewise.
46435         * math/w_acosl.c: Likewise.
46436         * math/w_asin.c: Likewise.
46437         * math/w_asinf.c: Likewise.
46438         * math/w_asinl.c: Likewise.
46439         * math/w_atanh.c: Likewise.
46440         * math/w_atanhf.c: Likewise.
46441         * math/w_atanhl.c: Likewise.
46442         * math/w_exp2.c: Likewise.
46443         * math/w_exp2f.c: Likewise.
46444         * math/w_exp2l.c: Likewise.
46445         * math/w_j0.c: Likewise.
46446         * math/w_j0f.c: Likewise.
46447         * math/w_j0l.c: Likewise.
46448         * math/w_j1.c: Likewise.
46449         * math/w_j1f.c: Likewise.
46450         * math/w_j1l.c: Likewise.
46451         * math/w_jn.c: Likewise.
46452         * math/w_jnf.c: Likewise.
46453         * math/w_log.c: Likewise.
46454         * math/w_log10.c: Likewise.
46455         * math/w_log10f.c: Likewise.
46456         * math/w_log10l.c: Likewise.
46457         * math/w_log2.c: Likewise.
46458         * math/w_log2f.c: Likewise.
46459         * math/w_log2l.c: Likewise.
46460         * math/w_logf.c: Likewise.
46461         * math/w_logl.c: Likewise.
46462         * math/w_sqrt.c: Likewise.
46463         * math/w_sqrtf.c: Likewise.
46464         * math/w_sqrtl.c: Likewise.
46465         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
46466         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
46467         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
46468         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
46469         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
46470
46471 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
46472
46473         [BZ #9739]
46474         * manual/string.texi (strnlen): Use correct parameter name in
46475         equivalent expression.
46476
46477 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
46478
46479         [BZ #11174]
46480         * manual/users.texi (seteuid): Consistently use neweuid for
46481         argument name.
46482
46483 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
46484
46485         [BZ #13704]
46486         * manual/nss.texi (Services in the NSS configuration): Correct
46487         list of services in example configuration file.
46488
46489 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
46490
46491         [BZ #11322]
46492         * manual/arith.texi: Remove statements about negative zero
46493         behaving identically to zero.
46494
46495 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
46496
46497         [BZ #5993]
46498         * manual/install.texi: Do not document upgrading from libc5.
46499
46500 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
46501
46502         [BZ #4596]
46503         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
46504
46505 2012-02-18  David S. Miller  <davem@davemloft.net>
46506
46507         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
46508         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
46509         %o7 across the call.
46510         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
46511         instead.
46512         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
46513         SETUP_PIC_REG_LEAF.
46514         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
46515         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
46516         * sysdeps/sparc/crtn.S: Likewise.
46517
46518 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
46519
46520         * aout/Makefile: Remove.
46521
46522 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
46523
46524         [BZ #13058]
46525         * manual/examples/argp-ex1.c (main): Format definition in GNU
46526         style.
46527         * manual/examples/argp-ex2.c (main): Likewise.
46528         * manual/examples/argp-ex3.c (main): Likewise.
46529         * manual/examples/argp-ex4.c (main): Likewise.
46530         * manual/examples/longopt.c (main): Use new-style prototype
46531         definition.
46532         * manual/examples/strncat.c (main): Specify return type and use
46533         (void) for arguments.
46534         * manual/examples/subopt.c (main): Use char **argv argument.
46535
46536 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
46537
46538         [BZ #5077]
46539         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
46540         rounding modes.
46541
46542 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
46543
46544         [BZ #6907]
46545         * manual/string.texi (strchr): Change when strchrnul is
46546         recommended.
46547
46548 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
46549
46550         [BZ #174]
46551         * manual/locale.texi (setlocale): Document LOCPATH.
46552
46553 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
46554
46555         [BZ #10210]
46556         * manual/process.texi (execle): Move @dots{} before last argument.
46557
46558 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
46559
46560         [BZ #12047]
46561         * manual/charset.texi (Generic Charset Conversion): Fix typo
46562         (LC_TYPE -> LC_CTYPE).
46563
46564 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
46565
46566         [BZ #5805]
46567         * manual/arith.texi (scalbn): Use @var{} on parameter names.
46568         (scalbnf): Likewise.
46569         (scalbnl): Likewise.
46570         (scalbln): Likewise.
46571         (scalblnf): Likewise.
46572         (scalblnl): Likewise.
46573         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
46574         (vwarnx): Likewise.
46575         (verr): Likewise.
46576         (verrx): Likewise.
46577         * manual/filesys.texi (telldir): Use braces around return type.
46578         * manual/llio.texi (mmap): Add space after comma.
46579         (mmap64): Likewise.
46580         * manual/math.texi (jn): Use @var{} on parameter names.
46581         (jnf): Likewise.
46582         (jnl): Likewise.
46583         (yn): Likewise.
46584         (ynf): Likewise.
46585         (ynl): Likewise.
46586         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
46587         line.
46588         * manual/resource.texi (ulimit): Use @dots{} instead of literal
46589         "...".
46590         (sched_get_priority_min): Remove semicolon on @deftypefun line.
46591         (sched_get_priority_max): Likewise.
46592         * manual/signal.texi (sigvec): Add space after comma.
46593         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
46594         names.
46595         (if_indextoname): Likewise.
46596         (if_freenameindex): Likewise.
46597         (sendto): Use ',' instead of '.' in prototype.
46598         * manual/startup.texi (syscall): Use @dots{} instead of literal
46599         "...".
46600         * manual/stdio.texi (__fpending): Separate initial words of
46601         paragraph from @deftypefun line.
46602         * manual/syslog.texi (syslog): Use @dots{} instead of literal
46603         "...".
46604         (vsyslog): Use @var{} on parameter names.
46605         * manual/terminal.texi (stty): Use @var{} on parameter names.
46606         * manual/users.texi (getutmp): Use @var{} on parameter names.
46607         (getutmpx): Likewise.
46608
46609 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
46610
46611         [BZ #6884]
46612         * manual/stdio.texi (fopen): Fix typos in description of
46613         ",ccs=STRING".
46614
46615 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
46616
46617         [BZ #4026]
46618         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
46619         get clock_id definition.
46620
46621 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
46622
46623         [BZ #4822]
46624         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
46625         (madvise): Cast every argument to void on its own.
46626
46627 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
46628
46629         [BZ #9902]
46630         * manual/startup.texi (Exit Status): Fix typo.
46631
46632 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
46633
46634         [BZ #10140]
46635         * manual/examples/argp-ex1.c: Include <stdlib.h>.
46636         * manual/examples/argp-ex2.c: Likewise.
46637         * manual/examples/argp-ex3.c: Likewise.
46638
46639 2012-02-16  Richard Henderson  <rth@redhat.com>
46640
46641         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
46642         * sysdeps/s390/s390-32/initfini.c: Remove.
46643         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
46644         * sysdeps/s390/s390-64/initfini.c: Remove.
46645
46646 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
46647
46648         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
46649         compiler output for sysdeps/generic/initfini.c.
46650         * sysdeps/sh/elf/initfini.c: Remove file.
46651
46652 2012-02-16  David S. Miller  <davem@davemloft.net>
46653
46654         [BZ #11494]
46655         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
46656
46657         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
46658         * sysdeps/sparc/crti.S: New file.
46659         * sysdeps/sparc/crtn.S: New file.
46660         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
46661         * sysdeps/sparc/sparc64/Makefile: Likewise.
46662
46663 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
46664
46665         [BZ #3335]
46666         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
46667
46668 2012-02-15  Roland McGrath  <roland@hack.frob.com>
46669
46670         [BZ #4822]
46671         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
46672
46673         * mach/devstream.c (cookie_io_functions_t): Macro removed.
46674         (write, read, close): Likewise.
46675         Patch by Aurelien Jarno <aurelien@aurel32.net>.
46676
46677 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
46678
46679         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
46680         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
46681         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
46682         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
46683         <bits/signalfd.h>.
46684         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
46685         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
46686         bits/signalfd.h.
46687
46688 2012-02-14  Marek Polacek  <polacek@redhat.com>
46689
46690         * sysdeps/x86_64/crti.S: New file.
46691         * sysdeps/x86_64/crtn.S: New file.
46692         * sysdeps/x86_64/elf/initfini.c: Remove file.
46693
46694 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
46695
46696         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
46697         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
46698         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
46699         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
46700         <bits/inotify.h>.
46701         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
46702         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
46703         bits/inotify.h.
46704
46705 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
46706
46707         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
46708         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
46709         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
46710         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
46711         <bits/eventfd.h>.
46712         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
46713         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
46714         bits/eventfd.h.
46715
46716 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
46717
46718         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
46719         __feraiseexcept instead of feraiseexcept.
46720
46721         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
46722         nanosleep invocations.
46723         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
46724         strings, and add error checking for a nanosleep invocations.
46725
46726 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
46727
46728         Replace FSF snail mail address with URLs, as per GNU coding standards.
46729         Most of the snail mail addresses were wrong anyway, and omitting
46730         them makes the source code easier to maintain.  Almost all of the
46731         changes are to license notices and to locale LC_IDENTIFICATION
46732         addresses, except for this one:
46733         * manual/libc.texinfo: In "Published by", give the FSF's URL,
46734         not its snail mail address.
46735
46736 2012-02-09  Richard Henderson  <rth@twiddle.net>
46737
46738         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
46739         of kernel-features.h.
46740
46741         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
46742
46743 2012-02-08  Marek Polacek  <polacek@redhat.com>
46744
46745         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
46746         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
46747         * sysdeps/gnu/_G_config.h: Likewise.
46748         * sysdeps/generic/_G_config.h: Likewise.
46749
46750 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
46751
46752         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
46753         tests.
46754         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46755
46756         * sysdeps/powerpc/powerpc32/crti.S: New file.
46757         * sysdeps/powerpc/powerpc32/crtn.S: New file.
46758         * sysdeps/powerpc/powerpc64/crti.S: New file.
46759         * sysdeps/powerpc/powerpc64/crtn.S: New file.
46760
46761         * Makeconfig (have-initfini): Don't set.
46762         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
46763         * configure.in (nopic_initfini): Don't substitute.
46764         * config.h.in (HAVE_INITFINI): Don't #undef.
46765         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
46766         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
46767
46768 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
46769
46770         Support crti.S and crtn.S provided directly by architectures.
46771         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
46772         [crti.S in sysdirs] (omit-deps): Likewise.
46773         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
46774         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
46775         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
46776         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
46777         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
46778         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
46779         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
46780         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
46781         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
46782         compiler output for sysdeps/generic/initfini.c.
46783         * sysdeps/i386/elf/Makefile: Remove file.
46784         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
46785
46786 2012-02-07  Marek Polacek  <polacek@redhat.com>
46787
46788         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
46789         * sysdeps/gnu/_G_config.h: Likewise.
46790         * sysdeps/mach/hurd/_G_config.h: Likewise.
46791
46792 2012-02-07  Marek Polacek  <polacek@redhat.com>
46793
46794         * math/Makefile (tests): Add tst-CMPLX2.
46795         * math/tst-CMPLX2.c: New file.
46796
46797 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
46798
46799         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
46800
46801         * math/libm-test.inc (jn_test): Add missing L suffix.
46802
46803 2012-02-06  Marek Polacek  <polacek@redhat.com>
46804
46805         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
46806         * sysdeps/i386/fpu/e_powf.S: Likewise.
46807         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
46808         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
46809         * sysdeps/i386/fpu/e_acosh.S: Likewise.
46810         * sysdeps/i386/fpu/e_pow.S: Likewise.
46811         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
46812         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
46813         * sysdeps/i386/fpu/s_expm1.S: Likewise.
46814         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
46815         * sysdeps/i386/fpu/e_log2.S: Likewise.
46816         * sysdeps/i386/fpu/e_log2l.S: Likewise.
46817         * sysdeps/i386/fpu/e_scalb.S: Likewise.
46818         * sysdeps/i386/fpu/e_powl.S: Likewise.
46819         * sysdeps/i386/fpu/s_log1p.S: Likewise.
46820         * sysdeps/i386/fpu/e_log10f.S: Likewise.
46821         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
46822         * sysdeps/i386/fpu/e_logl.S: Likewise.
46823         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
46824         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
46825         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
46826         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
46827         * sysdeps/i386/fpu/e_log2f.S: Likewise.
46828         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
46829         * sysdeps/i386/fpu/e_log.S: Likewise.
46830         * sysdeps/i386/fpu/s_cexp.S: Likewise.
46831         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
46832         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
46833         * sysdeps/i386/fpu/e_logf.S: Likewise.
46834         * sysdeps/i386/fpu/e_log10l.S: Likewise.
46835         * sysdeps/i386/fpu/e_atanh.S: Likewise.
46836         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
46837         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
46838         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
46839         * sysdeps/i386/fpu/e_log10.S: Likewise.
46840         * sysdeps/i386/fpu/s_frexp.S: Likewise.
46841         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
46842         * sysdeps/i386/fpu/s_asinh.S: Likewise.
46843         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
46844         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
46845         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
46846         * sysdeps/i386/asm-syntax.h: Likewise.
46847         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
46848         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
46849         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
46850         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
46851         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
46852         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
46853         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
46854         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
46855         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
46856         * sysdeps/powerpc/sysdep.h: Likewise.
46857         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
46858         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
46859
46860 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
46861
46862         [BZ #411]
46863         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
46864
46865 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
46866
46867         * sysdeps/i386/sysdep.h: Include <features.h>.
46868         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
46869         version.
46870
46871 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
46872
46873         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
46874         Define.
46875         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
46876         LOAD_PIC_REG_STR.
46877
46878 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
46879
46880         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
46881         (SETUP_PIC_REG): Use GET_PC_THUNK.
46882         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
46883         macro.
46884
46885 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
46886
46887         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
46888         for non-PIC compilation.
46889         (SETUP_PIC_REG): Add .p2align directive.
46890         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
46891         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
46892         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
46893         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
46894         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
46895         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
46896         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
46897         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
46898         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
46899         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
46900         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
46901         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
46902         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
46903         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
46904         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
46905         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
46906         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
46907         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
46908         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
46909         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
46910         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
46911         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
46912         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
46913         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
46914         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
46915         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
46916         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
46917         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
46918         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
46919         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
46920         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
46921         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
46922         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
46923         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
46924         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
46925         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
46926         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
46927         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
46928         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
46929         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
46930         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
46931
46932 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
46933
46934         * math/tst-CMPLX.c: Include <stdio.h>.
46935
46936 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
46937
46938         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
46939         float.
46940         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
46941         * sysdeps/sparc/bits/mathdef.h: Likewise.
46942
46943 2012-01-31  Marek Polacek  <polacek@redhat.com>
46944
46945         * libio/libio.h: Don't define _PARAMS.
46946         * locale/programs/config.h: Don't define PARAMS.
46947         * stdlib/strtol_l.c: Likewise.
46948         (__strtol_l): Remove PARAMS from the prototype.
46949
46950 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
46951
46952         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
46953         names.  Just use the correct names.  Remove unnecessary wrapper
46954         functions.
46955         * malloc/arena.c: Likewise.
46956         * malloc/hooks.c: Likewise.
46957
46958         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
46959         ARENA_TEST says not to.  Simplify test for creation of a new arena.
46960         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
46961
46962 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
46963
46964         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
46965         into tail calls.
46966         (update_get_addr): New function.
46967         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
46968         GET_ADDR_MODULE parameter.
46969
46970 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
46971
46972         * crypt/cert.c: Remove __STDC__ conditionals.
46973         * crypt/crypt-entry.c: Likewise.
46974         * crypt/crypt_util.c: Likewise.
46975         * libio/filedoalloc.c: Likewise.
46976         * libio/fileops.c: Likewise.
46977         * libio/genops.c: Likewise.
46978         * libio/iofclose.c: Likewise.
46979         * libio/iofdopen.c: Likewise.
46980         * libio/iofopen.c: Likewise.
46981         * libio/iofopen64.c: Likewise.
46982         * libio/iogetdelim.c: Likewise.
46983         * libio/iopopen.c: Likewise.
46984         * libio/obprintf.c: Likewise.
46985         * libio/oldfileops.c: Likewise.
46986         * libio/oldiofclose.c: Likewise.
46987         * libio/oldiofdopen.c: Likewise.
46988         * libio/oldiofopen.c: Likewise.
46989         * libio/oldiopopen.c: Likewise.
46990         * libio/wfiledoalloc.c: Likewise.
46991         * libio/wgenops.c: Likewise.
46992         * locale/programs/xmalloc.c: Likewise.
46993         * misc/syslog.c: Likewise.
46994         * stdio-common/xbug.c: Likewise.
46995         * string/memchr.c: Likewise.
46996         * string/memcmp.c: Likewise.
46997         * string/memrchr.c: Likewise.
46998         * string/rawmemchr.c: Likewise.
46999         * sysdeps/posix/getcwd.c: Likewise.
47000         * time/strftime_l.c: Likewise.
47001
47002 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
47003
47004         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
47005         * config.make.in (config-cflags-sse2avx): Define.
47006         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
47007         Fix typo.
47008
47009 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
47010
47011         * scripts/config.guess: Update from upstream config git repository.
47012         * scripts/config.sub: Likewise.
47013
47014 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
47015
47016         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
47017         (EM_NUM): Update.
47018         (R_TILEPRO_*, R_TILEGX_*): New macros.
47019
47020         * scripts/firstversions.awk: Fix bug in version range handling.
47021
47022         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
47023
47024         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
47025
47026         * include/sys/epoll.h: New file.
47027         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
47028         libc_hidden_def.
47029
47030 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
47031
47032         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
47033         Avoid unnecessary __WORDSIZE == 64 test.
47034         (fmaxf): Use VEX format if possible.
47035         (fmax): Likewise.
47036         (fminf): Likewise.
47037         (fmin): Likewise.
47038
47039         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
47040         * math/math_private.h: Remove libc_fegetround* and
47041         libc_fesetround*.
47042         * sysdeps/i386/configure.in: Check for -msse2avx.
47043         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
47044         also if SSE2AVX is defined.
47045         Remove libc_fegetround* and libc_fesetround*.
47046         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
47047         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
47048         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
47049         of HAS_YMM_USABLE.
47050         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
47051         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
47052         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
47053         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
47054         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
47055
47056         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
47057
47058 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47059
47060         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
47061         size is not set.
47062         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
47063
47064 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
47065
47066         [BZ #13618]
47067         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
47068         relocation.
47069         * Makeconfig (libm): Define.
47070         * elf/Makefile: Add rules to build and run tst-relsort1.
47071         * elf/tst-relsort1.c: New file.
47072         * elf/tst-relsort1mod1.c: New file.
47073         * elf/tst-relsort1mod2.c: New file.
47074
47075 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
47076
47077         * math/s_ldexp.c: Remove __STDC__ conditionals.
47078         * math/s_ldexpf.c: Likewise.
47079         * math/s_ldexpl.c: Likewise.
47080         * math/s_nextafter.c: Likewise.
47081         * math/s_nexttowardf.c: Likewise.
47082         * math/s_significand.c: Likewise.
47083         * math/s_significandf.c: Likewise.
47084         * math/s_significandl.c: Likewise.
47085         * math/w_jnl.c: Likewise.
47086         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
47087         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
47088         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
47089         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
47090         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
47091         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
47092         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
47093         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
47094         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
47095         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
47096         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
47097         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
47098         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
47099         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
47100         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
47101         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
47102         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
47103         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
47104         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
47105         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
47106         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
47107         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
47108         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
47109         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
47110         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
47111         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
47112         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
47113         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
47114         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
47115         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
47116         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
47117         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
47118         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
47119         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
47120         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
47121         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
47122         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
47123         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
47124         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
47125         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
47126         * sysdeps/ieee754/k_standard.c: Likewise.
47127         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
47128         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
47129         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
47130         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
47131         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
47132         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
47133         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
47134         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
47135         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
47136         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
47137         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
47138         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
47139         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
47140         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
47141         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
47142         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
47143         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
47144         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
47145         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
47146         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
47147         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
47148         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
47149         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
47150         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
47151         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
47152         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
47153         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
47154         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
47155         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
47156         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
47157         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
47158         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
47159         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
47160         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
47161         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
47162         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
47163         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
47164         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
47165         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
47166         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
47167         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
47168         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
47169         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
47170         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
47171         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
47172         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
47173         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
47174         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
47175         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
47176         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
47177         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
47178         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
47179         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
47180         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
47181         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
47182         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
47183         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
47184         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
47185         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
47186         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
47187         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
47188         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
47189         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
47190         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
47191         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
47192         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
47193         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
47194         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
47195         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
47196         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
47197         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
47198         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
47199         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
47200         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
47201         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
47202         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
47203         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
47204         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
47205         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
47206         * sysdeps/ieee754/s_matherr.c: Likewise.
47207         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
47208         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
47209         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
47210         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
47211
47212 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
47213
47214         * crypt/md5.h: Remove __STDC__ conditionals.
47215         * libio/libioP.h: Likewise.
47216         * locale/programs/config.h: Likewise.
47217         * sysdeps/generic/sysdep.h: Likewise.
47218         * sysdeps/i386/asm-syntax.h: Likewise.
47219         * sysdeps/s390/asm-syntax.h: Likewise.
47220         * sysdeps/unix/sysdep.h: Likewise.
47221         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
47222         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
47223
47224 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
47225
47226         * libio/libio.h: Remove __STDC__ conditionals.
47227         * malloc/obstack.h: Likewise.
47228         * math/complex.h: Likewise.
47229         * math/math.h: Likewise.
47230         * sysdeps/generic/_G_config.h: Likewise.
47231         * sysdeps/gnu/_G_config.h: Likewise.
47232         * sysdeps/mach/hurd/_G_config.h: Likewise.
47233         * sysdeps/powerpc/bits/mathdef.h: Likewise.
47234         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
47235         * sysdeps/sparc/bits/mathdef.h: Likewise.
47236
47237 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
47238
47239         [BZ #13583]
47240         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
47241         Clean up HAS_* macros.
47242         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
47243         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
47244         possible.
47245         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
47246         HAS_AVX.
47247         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
47248         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
47249         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
47250         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
47251         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
47252
47253 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
47254
47255         * elf/tst-unique3.cc (gets): Remove declaration.
47256         * elf/tst-unique3lib.cc (gets): Likewise.
47257         * elf/tst-unique3lib2.cc (gets): Likewise.
47258         * elf/tst-unique4.cc (gets): Likewise.
47259
47260 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
47261
47262         * include/stdio.h: Add C++ protection.  Add gets declarations and
47263         definitions.
47264         * debug/tst-chk1.c: Don't declare gets here.
47265         * stdio-common/tst-gets.c: Likewise.
47266
47267 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
47268
47269         * posix/glob: Remove directory.
47270
47271 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
47272
47273         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
47274
47275 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
47276
47277         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
47278         of the non-standard EPFNOSUPPORT.
47279
47280 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
47281
47282         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
47283         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
47284         ANYWHERE set to 1 only on KERN_NO_SPACE error.
47285
47286 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
47287
47288         * wcsmbs/uchar.h: Test __STDC_VERSION__.
47289
47290 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
47291
47292         * nscd/aicache.c (addhstaiX): Do not cache negative results of
47293         transient errors.
47294         * nscd/grpcache.c (cache_addgr): Likewise.
47295         * nscd/hstcache.c (cache_addhst): Likewise.
47296         * nscd/initgrcache.c (addinitgroupsX): Likewise.
47297         * nscd/pwdcache.c (cache_addpw): Likewise.
47298         * nscd/servicescache.c (cache_addserv): Likewise.
47299
47300 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
47301
47302         * malloc/malloc.c: Various cleanups.
47303         * malloc/hooks.c: Likewise.
47304
47305         * stdlib/Makefile (tests): Add bug-fmtmsg1.
47306         * stdlib/bug-fmtmsg1.c: New file.
47307
47308         * stdlib/fmtmsg.c (init): Add missing unlock.
47309         Patch by Peng Haitao <penght@cn.fujitsu.com>.
47310
47311 2012-01-12  Marek Polacek  <polacek@redhat.com>
47312
47313         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
47314         and _GNU_SOURCE.
47315
47316 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
47317
47318         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
47319         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
47320         macro to ensure uniqueness of label name.
47321         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
47322         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
47323
47324 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
47325
47326         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
47327
47328         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
47329         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
47330         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
47331         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
47332
47333 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
47334
47335         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
47336
47337         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
47338         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
47339         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
47340
47341         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
47342
47343         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
47344         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
47345         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
47346         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
47347
47348         * math/bits/math-finite.h: Add ldexp support.
47349
47350 2012-01-10  Marek Polacek  <polacek@redhat.com>
47351
47352         * locale/programs/localedef.h (show_archive_content): Add noreturn
47353         attribute.
47354
47355 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
47356
47357         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
47358
47359 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
47360
47361         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
47362
47363         * io/Makefile (headers): Add bits/poll2.h.
47364
47365 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
47366
47367         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
47368         typo #include statement.
47369
47370 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
47371
47372         * include/sys/cdefs.h: Define __attribute_alloc_size.
47373         * catgets/gencat.c: Add alloc_size attribute and apply consistently
47374         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
47375         * elf/pldd.c: Likewise.
47376         * iconv/iconv_charmap.c: Likewise.
47377         * iconv/iconvconfig.c: Likewise.
47378         * iconv/strtab.c: Likewise.
47379         * locale/programs/locale.c: Likewise.
47380         * locale/programs/localedef.h: Likewise.
47381         * locale/programs/simple-hash.c: Likewise.
47382         * nscd/nscd.h: Likewise.
47383         * nss/makedb.c: Likewise.
47384         * sysdeps/generic/ldconfig.h: Likewise.
47385         * locale/programs/localedef.c: Remove xmalloc prototype.
47386         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
47387
47388 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
47389
47390         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
47391         appropriate.
47392
47393 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
47394
47395         * math/Makefile (tests): Add tst-CMPLX.
47396         * math/tst-CMPLX.c: New file.
47397
47398         * math/complex.h (CMPLXL): Fix typo.
47399
47400         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
47401         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
47402         GLIBC_2.16.
47403         * debug/tst-chk1.c: Add poll and ppoll tests.
47404         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
47405         * include/sys/poll.h: Add hidden proto for ppoll.
47406         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
47407         * sysdeps/mach/hurd/ppoll.c: Likewise.
47408         * io/ppoll.c: Likewise.
47409         * debug/poll_chk.c: New file.
47410         * debug/ppoll_chk.c: New file.
47411         * include/bits/poll2.h: New file.
47412         * io/bits/poll2.h: New file.
47413
47414         [BZ #1350]
47415         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
47416
47417         * configure.in: static is always set to yes.  Remove.
47418         * config.make.in: Don't set build-static.
47419         * Makeconfig: Remove use of build-static.
47420         * dlfcn/Makefile: Likewise.
47421         * elf/Makefile: Likewise.
47422         * math/Makefile: Likewise.
47423         * misc/Makefile: Likewise.
47424         * nptl/Makefile: Likewise.
47425         * sysdeps/mach/hurd/Makefile: Likewise.
47426
47427         * configure.in: PWD_P is not used anymore.
47428         * config.make.in: Remove PWD_P entry.
47429
47430         * configure.in: Remove last remnants of RANLIB.
47431         No need to check for signed size_t anymore.
47432         Don't set libc_commonpagesize and libc_relro_required here for Alpha
47433         and IA-64.
47434         Remove __builtin_expect test because we require at least gcc 3.4.
47435         * aclocal.m4: Likewise.
47436
47437         * wcsmbs/mbrtoc16.c: Implement using towc function.
47438         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
47439         * wcsmbs/wcsmbsload.c: Likewise.
47440         * iconv/gconv_simple.c: Likewise.
47441         * iconv/gconv_int.h: Likewise.
47442         * iconv/gconv_builtin.h: Likewise.
47443         * iconv/iconv_prog.c: Remove CHAR16 handling.
47444
47445         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
47446
47447         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
47448
47449         * configure.in: Remove --with-elf and --enable-bounded options.
47450         Dont set base_machine for ia64.  More non-ELF conditions removed.
47451         Remove testing and setting of leading underscore information.
47452         * config.make.in (build-bounded): Set to no.
47453         * config.h.in: Remove NO_UNDERSCORES entry.
47454         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
47455         them.
47456         * csu/start.c: Remove !NO_UNDERSCORE code.
47457         * locale/localeinfo.h: Likewise.
47458         * sysdeps/generic/machine-gmon.h: Likewise.
47459         * sysdeps/generic/sysdep.h: Likewise.
47460         * sysdeps/i386/sysdep.h: Likewise.
47461         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
47462         * sysdeps/mach/sysdep.h: Likewise.
47463         * sysdeps/s390/s390-32/sysdep.h: Likewise.
47464         * sysdeps/s390/s390-64/sysdep.h: Likewise.
47465         * sysdeps/sh/sysdep.h: Likewise.
47466         * sysdeps/sparc/sparc32/alloca.S: Likewise.
47467         * sysdeps/unix/i386/sysdep.S: Likewise.
47468         * sysdeps/unix/sparc/start.c: Likewise.
47469         * sysdeps/unix/sparc/sysdep.S: Likewise.
47470         * sysdeps/unix/sparc/sysdep.h: Likewise.
47471         * sysdeps/unix/start.c: Likewise.
47472         * sysdeps/unix/x86_64/sysdep.S: Likewise.
47473         * sysdeps/x86_64/sysdep.h: Likewise.
47474
47475 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
47476
47477         [BZ #13553]
47478         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
47479         for non-gcc.
47480         * argp/argp-fmtstream.h: Use const instead __const.
47481         * argp/argp.h: Likewise.
47482         * assert/assert.h: Likewise.
47483         * bits/fenv.h: Likewise.
47484         * bits/sched.h: Likewise.
47485         * bits/sigset.h: Likewise.
47486         * bits/sigthread.h: Likewise.
47487         * catgets/nl_types.h: Likewise.
47488         * conform/data/pthread.h-data: Likewise.
47489         * crypt/crypt-private.h: Likewise.
47490         * crypt/crypt.h: Likewise.
47491         * crypt/crypt_util.c: Likewise.
47492         * ctype/ctype.h: Likewise.
47493         * debug/execinfo.h: Likewise.
47494         * debug/mbsnrtowcs_chk.c: Likewise.
47495         * debug/mbsrtowcs_chk.c: Likewise.
47496         * debug/wcsnrtombs_chk.c: Likewise.
47497         * debug/wcsrtombs_chk.c: Likewise.
47498         * debug/wcstombs_chk.c: Likewise.
47499         * dirent/dirent.h: Likewise.
47500         * dlfcn/dlfcn.h: Likewise.
47501         * elf/neededtest4.c: Likewise.
47502         * grp/grp.h: Likewise.
47503         * gshadow/gshadow.h: Likewise.
47504         * iconv/gconv.h: Likewise.
47505         * iconv/gconv_int.h: Likewise.
47506         * iconv/gconv_simple.c: Likewise.
47507         * iconv/iconv.h: Likewise.
47508         * iconv/loop.c: Likewise.
47509         * iconv/skeleton.c: Likewise.
47510         * include/aio.h: Likewise.
47511         * include/aliases.h: Likewise.
47512         * include/argz.h: Likewise.
47513         * include/arpa/inet.h: Likewise.
47514         * include/assert.h: Likewise.
47515         * include/dirent.h: Likewise.
47516         * include/dlfcn.h: Likewise.
47517         * include/execinfo.h: Likewise.
47518         * include/fcntl.h: Likewise.
47519         * include/fenv.h: Likewise.
47520         * include/glob.h: Likewise.
47521         * include/grp.h: Likewise.
47522         * include/libintl.h: Likewise.
47523         * include/mntent.h: Likewise.
47524         * include/netdb.h: Likewise.
47525         * include/pwd.h: Likewise.
47526         * include/rpc/netdb.h: Likewise.
47527         * include/sched.h: Likewise.
47528         * include/search.h: Likewise.
47529         * include/shadow.h: Likewise.
47530         * include/signal.h: Likewise.
47531         * include/stdio.h: Likewise.
47532         * include/stdlib.h: Likewise.
47533         * include/string.h: Likewise.
47534         * include/sys/socket.h: Likewise.
47535         * include/sys/stat.h: Likewise.
47536         * include/sys/statfs.h: Likewise.
47537         * include/sys/statvfs.h: Likewise.
47538         * include/sys/syslog.h: Likewise.
47539         * include/sys/time.h: Likewise.
47540         * include/sys/uio.h: Likewise.
47541         * include/time.h: Likewise.
47542         * include/unistd.h: Likewise.
47543         * include/utmp.h: Likewise.
47544         * include/wchar.h: Likewise.
47545         * include/wctype.h: Likewise.
47546         * inet/aliases.h: Likewise.
47547         * inet/arpa/inet.h: Likewise.
47548         * inet/netinet/ether.h: Likewise.
47549         * inet/netinet/in.h: Likewise.
47550         * intl/libintl.h: Likewise.
47551         * io/bits/fcntl2.h: Likewise.
47552         * io/fcntl.h: Likewise.
47553         * io/ftw.h: Likewise.
47554         * io/sys/poll.h: Likewise.
47555         * io/sys/stat.h: Likewise.
47556         * io/sys/statfs.h: Likewise.
47557         * io/sys/statvfs.h: Likewise.
47558         * io/utime.h: Likewise.
47559         * libio/bits/stdio.h: Likewise.
47560         * libio/bits/stdio2.h: Likewise.
47561         * libio/libio.h: Likewise.
47562         * libio/libioP.h: Likewise.
47563         * libio/stdio.h: Likewise.
47564         * locale/lc-ctype.c: Likewise.
47565         * locale/locale.h: Likewise.
47566         * login/utmp.h: Likewise.
47567         * malloc/arena.c: Likewise.
47568         * malloc/malloc.c: Likewise.
47569         * malloc/malloc.h: Likewise.
47570         * malloc/mcheck.c: Likewise.
47571         * malloc/mtrace.c: Likewise.
47572         * math/bits/mathcalls.h: Likewise.
47573         * math/fenv.h: Likewise.
47574         * math/math_private.h: Likewise.
47575         * misc/bits/error.h: Likewise.
47576         * misc/bits/syslog.h: Likewise.
47577         * misc/err.h: Likewise.
47578         * misc/error.h: Likewise.
47579         * misc/fstab.h: Likewise.
47580         * misc/mntent.h: Likewise.
47581         * misc/regexp.h: Likewise.
47582         * misc/search.h: Likewise.
47583         * misc/sgtty.h: Likewise.
47584         * misc/sys/mman.h: Likewise.
47585         * misc/sys/syslog.h: Likewise.
47586         * misc/sys/uio.h: Likewise.
47587         * misc/sys/xattr.h: Likewise.
47588         * misc/ttyent.h: Likewise.
47589         * nis/rpcsvc/ypclnt.h: Likewise.
47590         * nss/nss.h: Likewise.
47591         * posix/bits/unistd.h: Likewise.
47592         * posix/fnmatch.h: Likewise.
47593         * posix/glob.h: Likewise.
47594         * posix/sched.h: Likewise.
47595         * posix/spawn.h: Likewise.
47596         * posix/sys/wait.h: Likewise.
47597         * posix/unistd.h: Likewise.
47598         * posix/wordexp.h: Likewise.
47599         * pwd/pwd.h: Likewise.
47600         * resolv/netdb.h: Likewise.
47601         * resource/sys/resource.h: Likewise.
47602         * rt/aio.h: Likewise.
47603         * rt/bits/mqueue2.h: Likewise.
47604         * rt/mqueue.h: Likewise.
47605         * shadow/shadow.h: Likewise.
47606         * signal/signal.h: Likewise.
47607         * socket/send.c: Likewise.
47608         * socket/sendto.c: Likewise.
47609         * socket/sys/socket.h: Likewise.
47610         * stdio-common/printf.h: Likewise.
47611         * stdlib/bits/stdlib.h: Likewise.
47612         * stdlib/fmtmsg.h: Likewise.
47613         * stdlib/monetary.h: Likewise.
47614         * stdlib/stdlib.h: Likewise.
47615         * stdlib/ucontext.h: Likewise.
47616         * streams/stropts.h: Likewise.
47617         * string/argz.h: Likewise.
47618         * string/bits/string2.h: Likewise.
47619         * string/string.h: Likewise.
47620         * string/strings.h: Likewise.
47621         * sunrpc/rpc/auth.h: Likewise.
47622         * sunrpc/rpc/auth_des.h: Likewise.
47623         * sunrpc/rpc/clnt.h: Likewise.
47624         * sunrpc/rpc/netdb.h: Likewise.
47625         * sunrpc/rpc/pmap_clnt.h: Likewise.
47626         * sunrpc/rpc/xdr.h: Likewise.
47627         * sysdeps/generic/inttypes.h: Likewise.
47628         * sysdeps/generic/net/if.h: Likewise.
47629         * sysdeps/generic/sys/swap.h: Likewise.
47630         * sysdeps/gnu/net/if.h: Likewise.
47631         * sysdeps/gnu/utmpx.h: Likewise.
47632         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
47633         * sysdeps/i386/i486/bits/string.h: Likewise.
47634         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
47635         * sysdeps/s390/bits/string.h: Likewise.
47636         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
47637         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
47638         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
47639         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
47640         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
47641         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
47642         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
47643         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
47644         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
47645         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
47646         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
47647         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
47648         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
47649         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
47650         * sysdeps/unix/sysv/linux/readv.c: Likewise.
47651         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
47652         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
47653         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
47654         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
47655         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
47656         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
47657         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
47658         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
47659         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
47660         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
47661         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
47662         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
47663         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
47664         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
47665         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
47666         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
47667         * sysvipc/sys/ipc.h: Likewise.
47668         * sysvipc/sys/msg.h: Likewise.
47669         * sysvipc/sys/sem.h: Likewise.
47670         * sysvipc/sys/shm.h: Likewise.
47671         * termios/termios.h: Likewise.
47672         * time/sys/time.h: Likewise.
47673         * time/time.h: Likewise.
47674         * wcsmbs/bits/wchar2.h: Likewise.
47675         * wcsmbs/uchar.h: Likewise.
47676         * wcsmbs/wchar.h: Likewise.
47677         * wctype/wctype.h: Likewise.
47678
47679         [BZ #13551]
47680         * Makeconfig: Remove all but ELF support including AIX support.
47681         * Makerules: Likewise.
47682         * config.h.in: Likewise.
47683         * config.make.in: Likewise.
47684         * configure: Likewise.
47685         * configure.in: Likewise.
47686         * csu/Makefile: Likewise.
47687         * csu/version.c: Likewise.
47688         * debug/Makefile: Likewise.
47689         * dlfcn/Makefile: Likewise.
47690         * elf/Makefile: Likewise.
47691         * extra-lib.mk: Likewise.
47692         * iconv/Makefile: Likewise.
47693         * include/libc-symbols.h: Likewise.
47694         * include/shlib-compat.h: Likewise.
47695         * resolv/Makefile: Likewise.
47696         * resolv/res_libc.c: Likewise.
47697         * rt/Makefile: Likewise.
47698         * sysdeps/i386/asm-syntax.h: Likewise.
47699         * sysdeps/i386/sysdep.h: Likewise.
47700         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
47701         * sysdeps/mach/sysdep.h: Likewise.
47702         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
47703         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
47704         * sysdeps/s390/asm-syntax.h: Likewise.
47705         * sysdeps/s390/s390-32/sysdep.h: Likewise.
47706         * sysdeps/s390/s390-64/sysdep.h: Likewise.
47707         * sysdeps/sh/sysdep.h: Likewise.
47708         * sysdeps/unix/sparc/sysdep.h: Likewise.
47709         * sysdeps/wordsize-32/divdi3.c: Likewise.
47710         * sysdeps/x86_64/sysdep.h: Likewise.
47711
47712         * argp/Versions: Remove _argp_unlock_xxx.
47713
47714         [BZ #13559]
47715         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
47716         * abilist/libBrokenLocale.abilist: Likewise.
47717         * abilist/libanl.abilist: Likewise.
47718         * abilist/libc.abilist: Likewise.
47719         * abilist/libcrypt.abilist: Likewise.
47720         * abilist/libdl.abilist: Likewise.
47721         * abilist/libm.abilist: Likewise.
47722         * abilist/libnsl.abilist: Likewise.
47723         * abilist/libpthread.abilist: Likewise.
47724         * abilist/libresolv.abilist: Likewise.
47725         * abilist/librt.abilist: Likewise.
47726         * abilist/libthread_db.abilist: Likewise.
47727         * abilist/libutil.abilist: Likewise.
47728         * abilist/libnss_db.abilist: New file.
47729
47730         * scripts/abilist.awk: Add support for indirect functions.
47731
47732         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
47733
47734         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
47735
47736         * shlib-versions: Remove entries for ports architectures.
47737
47738         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
47739         files in ports.
47740         * elf/stackguard-macros.h: Remove support for IA-64.
47741         * elf/tst-auditmod1.c: Likewise.
47742         * sysdeps/generic/ldsodefs.h: Likewise.
47743
47744         * sysdeps/unix/sysv/linux/configure.in: Ports should define
47745         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
47746         configure files.
47747
47748         [BZ #13552]
47749         * configure.in: Remove --enable-omitfp support.
47750         * FAQ.in: Adjust.
47751         * config.make.in: Likewise.
47752         * Makeconfig: Likewise.
47753         * manual/install.texi: Likewise.
47754
47755         In case anyone cares, the IA-64 architecture could move to ports.
47756         * sysdeps/ia64/*: Removed.
47757         * sysdeps/unix/sysv/linux/ia64/*: Removed.
47758         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
47759
47760         [BZ #13555]
47761         * configure.in: Remove entries for unsupported architectures.
47762
47763         [BZ #13533]
47764         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
47765         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
47766         routines.
47767         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
47768         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
47769         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
47770         fall back to using wcrtomb.
47771         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
47772         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
47773         renaming.
47774         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
47775         * wcsmbs/tst-c16c32-1.c: New file.
47776
47777         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
47778         local variable.
47779
47780         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
47781
47782         * elf/tst-unique3.cc: Add explicit declaration of gets.
47783         * elf/tst-unique3lib.cc: Likewise.
47784         * elf/tst-unique3lib2.cc: Likewise.
47785         * elf/tst-unique4.cc: Likewise.
47786
47787         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
47788
47789 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
47790
47791         [BZ #13566]
47792         * assert/assert.h (static_assert): Don't define for C++.
47793         * libio/stdio.h (gets): Do declare for C++ <= C++11.
47794         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
47795
47796 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
47797
47798         * iconv/loop.c (single loop): Fix assertion in storing of
47799         remaining bytes.
47800
47801         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
47802
47803 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
47804
47805         * posix/getconf.c: Update copyright year.
47806         * nss/getent.c: Likewise.
47807         * nss/makedb.c: Likewise.
47808         * iconv/iconvconfig.c: Likewise.
47809         * iconv/iconv_prog.c: Likewise.
47810         * elf/ldconfig.c: Likewise.
47811         * elf/pldd.c: Likewise.
47812         * elf/sotruss.ksh: Likewise.
47813         * catgets/gencat.c: Likewise.
47814         * csu/version.c: Likewise.
47815         * elf/ldd.bash.in: Likewise.
47816         * elf/sprof.c (print_version): Likewise.
47817         * locale/programs/locale.c: Likewise.
47818         * locale/programs/localedef.c: Likewise.
47819         * login/programs/pt_chown.c: Likewise.
47820         * nscd/nscd.c (print_version): Likewise.
47821         * debug/xtrace.sh: Likewise.
47822         * malloc/memusage.sh: Likewise.
47823         * malloc/mtrace.pl: Likewise.
47824         * debug/catchsegv.sh: Likewise.
47825
47826 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
47827
47828         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
47829         pure attribute.
47830
47831 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
47832
47833         [BZ #13533]
47834         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
47835         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
47836         transformations.
47837         * iconv/gconv_int.h: Likewise.
47838         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
47839         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
47840         from libc for GLIBC_2.16.
47841         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
47842         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
47843         * wcsmbs/uchar.h: Really define mbstate_t.
47844         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
47845         * wcsmbs/c16rtomb.c: New file.
47846         * wcsmbs/mbrtoc16.c: New file.
47847         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
47848         for C/POSIX locale.
47849         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
47850         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
47851
47852         * wcsmbs/wchar.h: Add missing __restrict.
47853
47854 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
47855
47856         [BZ #13532]
47857         * time/Makefile (routines): Add timespec_get.
47858         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
47859         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
47860         timespec for ISO C11.
47861         * time/timespec_get.c: New file.
47862         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
47863         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
47864
47865         [BZ #13531]
47866         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
47867         * stdlib/stdlib.h: Declare aligned_alloc.
47868         * Versions.def: Add GLIBC_2.16 for libc.
47869         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
47870
47871         [BZ 13527]
47872         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
47873         ISO C11.
47874
47875         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
47876         code.
47877
47878         [BZ #13528]
47879         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
47880
47881         [BZ #13529]
47882         * assert/assert.h (static_assert): Define.
47883
47884         * version.h: Update for 2.16 development version.
47885
47886         [BZ #13526]
47887         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
47888         _ISOC11_SOURCE.
47889
47890         * version.h (RELEASE): Bump for 2.15 release.
47891         * include/features.h (__GLIBC_MINOR__): Bump to 15.
47892
47893         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
47894         Patch by Marek Polacek <mpolacek@redhat.com>.
47895
47896         * bits/byteswap.h: Protect long long constants with __extension__.
47897         * sysdeps/i386/bits/byteswap.h: Likewise.
47898         * sysdeps/ia64/bits/byteswap.h: Likewise.
47899         * sysdeps/s390/bits/byteswap.h: Likewise.
47900         * sysdeps/x86_64/bits/byteswap.h: Likewise.
47901
47902 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
47903
47904         [BZ #13540]
47905         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
47906         destination buffer.
47907         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
47908
47909 2011-12-23  Marek Polacek  <polacek@redhat.com>
47910
47911         * elf/dl-addr.c (determine_info): Add inline keyword.
47912         * elf/tst-auditmod4b.c (check_avx): Likewise.
47913         * elf/tst-auditmod6b.c (check_avx): Likewise.
47914         * elf/tst-auditmod6c.c (check_avx): Likewise.
47915         * elf/tst-auditmod7b.c (check_avx): Likewise.
47916
47917 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
47918
47919         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
47920         !__SSE_MATH__.
47921
47922 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
47923
47924         [BZ #13540]
47925         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
47926         processing for last bytes.
47927
47928 2011-08-06  Bruno Haible  <bruno@clisp.org>
47929
47930         [BZ #13061]
47931         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
47932         U+0385, not to U+1FEE.
47933
47934         [BZ #13062]
47935         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
47936         entry for U+00A5 U+0301.
47937
47938 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
47939
47940         [BZ #13166]
47941         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
47942         buffer for the output is too small.
47943
47944         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
47945         optimization.
47946
47947         [BZ #13185]
47948         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
47949         SSE flags if possible.
47950
47951 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
47952
47953         [BZ #13540]
47954         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
47955         processing for last bytes.
47956
47957 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
47958
47959         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
47960         (syscall-list-default-options, syscall-list-default-condition)
47961         (syscall-list-includes): Define.
47962         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
47963         list of ABIs and options and #if conditions for each ABI.  Do not
47964         handle common syscalls between ABIs specially.
47965         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
47966         Remove.
47967         (syscall-list-variants, syscall-list-32bit-options)
47968         (syscall-list-32bit-condition, syscall-list-64bit-options)
47969         (syscall-list-64bit-condition): Define.
47970         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
47971         (syscall-list-variants, syscall-list-32bit-options)
47972         (syscall-list-32bit-condition, syscall-list-64bit-options)
47973         (syscall-list-64bit-condition): Define.
47974         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
47975         Remove.
47976         (syscall-list-variants, syscall-list-32bit-options)
47977         (syscall-list-32bit-condition, syscall-list-64bit-options)
47978         (syscall-list-64bit-condition): Define.
47979         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
47980         Remove.
47981         (syscall-list-variants, syscall-list-32bit-options)
47982         (syscall-list-32bit-condition, syscall-list-64bit-options)
47983         (syscall-list-64bit-condition): Define.
47984
47985 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
47986
47987         * locale/iso-639.def: Add brx entry.
47988
47989         [BZ #13328]
47990         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
47991         Proposed by Mariusz_Cukr <marcukr@op.pl>.
47992
47993         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
47994         __feraiseexcept_renamed.
47995
47996 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
47997
47998         [BZ #13538]
47999         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
48000         EPOLLET with unsigned values.
48001         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
48002         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
48003
48004         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
48005         to large cancellation.
48006         * math/s_cacoshf.c: Likewise.
48007         * math/s_cacoshl.c: Likewise.
48008
48009 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
48010
48011         [BZ #13305]
48012         [BZ #12786]
48013         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
48014         * math/s_cacoshf.c: Likewise.
48015         * math/s_cacoshl.c: Likewise.
48016
48017 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
48018
48019         [BZ #13439]
48020         * iconv/gconv.h: Define __GCONV_SWAP.
48021         * iconvdata/unicode.c: The swap bit must be stored in __flags.
48022         * iconvdata/utf-16.c: Likewise.
48023         * iconvdata/utf-32.c: Likewise.
48024
48025 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
48026
48027         [BZ #13524]
48028         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
48029         numerator after shifting it by one limb.
48030
48031 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
48032
48033         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
48034         under [__USE_EXTERN_INLINES].
48035
48036 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
48037
48038         [BZ #13446]
48039         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
48040
48041 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48042
48043         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
48044         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
48045         optimized code.
48046         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
48047         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
48048         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
48049         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
48050         for strncasecmp/strncasecmp_l compilation.
48051         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
48052         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
48053
48054 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
48055
48056         [BZ #13484]
48057         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
48058         of __asm__.
48059
48060 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
48061
48062         [BZ #13506]
48063         * time/tzfile.c (__tzfile_read): Check values from file header.
48064
48065 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
48066
48067         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
48068         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
48069         * powerpc/powerpc32/dl-start.S: Likewise.
48070         * powerpc/powerpc32/elf/start.S: Likewise.
48071         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
48072         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
48073         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
48074         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
48075         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
48076         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
48077         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
48078         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
48079         * powerpc/powerpc32/fpu/s_round.S: Likewise.
48080         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
48081         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
48082         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
48083         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
48084         * powerpc/powerpc32/memset.S: Likewise.
48085         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
48086         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
48087         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
48088         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
48089         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
48090         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
48091         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
48092         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
48093         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
48094         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
48095         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
48096         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
48097         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
48098
48099 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48100
48101         * math/libm-test.inc: Added more nearbyint tests.
48102         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
48103         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
48104         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
48105         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
48106
48107 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
48108
48109         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
48110         FD_CLOEXEC.
48111
48112 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
48113
48114         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
48115         Add wcscpy-ssse3 wcscpy-c.
48116         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
48117         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
48118         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
48119         * sysdeps/x86_64/wcschr.S: New file.
48120         * sysdeps/x86_64/wcsrchr.S: New file.
48121         * string/test-strcmp.c: Remove checking of wcscmp function for
48122         wrong alignments.
48123         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
48124         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
48125         wcsrchr-sse2 wcsrchr-c.
48126         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
48127         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
48128         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
48129         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
48130         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
48131         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
48132         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
48133         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
48134         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
48135         * wcsmbc/wcschr.c (WCSCHR): New macro.
48136
48137 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
48138
48139         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
48140         * wcsmbs/test-wcsrchr.c: New file.
48141         * string/test-strrchr.c: Add wcsrchr support.
48142         (WIDE): New macro.
48143         * wcsmbs/test-wcscpy.c: New file.
48144         * string/test-strcpy.c: Add wcscpy support.
48145         (WIDE): New macro.
48146
48147 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
48148
48149         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
48150         the inner loop.
48151
48152 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
48153
48154         [BZ #13472]
48155         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
48156
48157 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
48158
48159         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
48160         Minor optimizations.
48161
48162         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
48163         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
48164         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
48165
48166 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
48167
48168         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
48169         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
48170         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
48171         for gcc to avoid warnings.
48172         * inet/Makefile (tests): Add tst-checks.
48173         * inet/tst-checks.c: New file.
48174
48175         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
48176         warning.
48177
48178         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
48179         __wmemcmp_sse2.
48180
48181         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
48182         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
48183
48184         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
48185
48186 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
48187
48188         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
48189         problem.
48190
48191         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
48192
48193 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
48194
48195         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
48196         conditional on GCC version.
48197         (__arch_compare_and_exchange_val_8_acq)
48198         (__arch_compare_and_exchange_val_16_acq)
48199         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
48200         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
48201         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
48202
48203 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
48204
48205         * sysdeps/sh/backtrace.c: New file.
48206
48207 2011-12-02  Andreas Schwab  <schwab@redhat.com>
48208
48209         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
48210         parenthesis.
48211
48212 2011-12-01  Andreas Schwab  <schwab@redhat.com>
48213
48214         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
48215         falling back to utime.
48216
48217 2011-11-30  Andreas Schwab  <schwab@redhat.com>
48218
48219         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
48220         expectations for float.
48221
48222 2011-11-29  Andreas Schwab  <schwab@redhat.com>
48223
48224         * locale/weight.h (findidx): Add parameter len.
48225         * locale/weightwc.h (findidx): Likewise.
48226         * posix/fnmatch_loop.c (FCT): Adjust caller.
48227         * posix/regcomp.c (build_equiv_class): Likewise.
48228         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
48229         * posix/regexec.c (check_node_accept_bytes): Likewise.
48230         * string/strcoll_l.c (STRCOLL): Likewise.
48231         * string/strxfrm_l.c (STRXFRM): Likewise.
48232
48233 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
48234
48235         * Makefile.in: Remove CVSOPT handling.
48236         * configure.in: Remove use of AC_REVISION.
48237         * iconvdata/Makefile (distribute): No need to filter out CVS.
48238         * scripts/list-sources.sh: Remove CVS, subversion and monotone
48239         handling.
48240
48241 2011-11-16  Andreas Schwab  <schwab@redhat.com>
48242
48243         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
48244         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
48245         [USE_AS_STRNCASECMP_L]: Likewise.
48246         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
48247         NO_TLS_DIRECT_SEG_REFS.
48248         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
48249         Fix argument offsets for non-PIC.
48250         [USE_AS_STRNCASECMP_L]: Likewise.
48251         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
48252         NO_TLS_DIRECT_SEG_REFS.
48253
48254 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
48255
48256         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
48257         O_CLOEXEC.
48258         * locale/loadlocale.c (_nl_load_locale): Likewise.
48259
48260 2011-11-15  Andreas Schwab  <schwab@redhat.com>
48261
48262         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
48263         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
48264         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
48265         (SYSCALL_GETTIME): Set errno on error.
48266
48267         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
48268         count references to noai6ai_cached.
48269
48270 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
48271
48272         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
48273
48274         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
48275         FD_CLOEXEC for /proc/self/maps.
48276
48277         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
48278         FD_CLOEXEC for /proc/meminfo.
48279
48280         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
48281         gai.conf.
48282
48283         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
48284         FD_CLOEXEC for given file.
48285
48286         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
48287
48288         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
48289         FD_CLOEXEC for /etc/hosts.
48290         (_gethtent): Likewise.
48291
48292         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
48293
48294         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
48295         cancellation and set FD_CLOEXEC for /etc/netgroup.
48296
48297         * nss/nss_files/files-key.c (search): Don't allow cancellation when
48298         reading /etc/publickey.
48299
48300         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
48301         allow cancellation when reading /etc/group.
48302
48303         * nss/nss_files/files-alias.c (internal_setent): Don't allow
48304         cancellation.
48305         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
48306
48307         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
48308         when using data file.
48309
48310         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
48311
48312         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
48313         (write_nis_obj): Use "c" and "e" in fopen.
48314
48315         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
48316
48317         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
48318
48319         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
48320
48321         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
48322
48323         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
48324         locale.alias.
48325
48326         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
48327
48328         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
48329
48330         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
48331
48332         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
48333         file parsing and set FD_CLOEXEC.
48334
48335 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
48336
48337         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
48338
48339 2011-11-14  Andreas Schwab  <schwab@redhat.com>
48340
48341         * malloc/arena.c (arena_get2): Don't call reused_arena when
48342         _int_new_arena failed.
48343
48344 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
48345
48346         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
48347         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
48348         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
48349         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
48350         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
48351         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
48352         to compile strcasecmp and strncasecmp.
48353         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
48354         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
48355
48356         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
48357
48358 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
48359
48360         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
48361         locale-defines.sym to gen-as-const-headers.
48362         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
48363         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
48364         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
48365         to compile strcasecmp and strncasecmp.
48366         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
48367         strcasecmp_l and strncasecmp_l.
48368         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
48369         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
48370         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
48371         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
48372         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
48373         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
48374         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
48375         * sysdeps/i386/i686/multiarch/strncase.S: New file.
48376         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
48377         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
48378         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
48379
48380 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
48381
48382         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
48383         result of SYSDEP_GETTIME_CPU to retval.
48384         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
48385         parameter list to macro.  Remove trailing semicolon.  Adjust users.
48386
48387         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
48388         variable.
48389
48390         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
48391         mantissa words.
48392         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
48393
48394         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
48395         from unused variable.
48396
48397         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
48398         DWARF definitions.
48399         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
48400         for assembling.
48401
48402         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
48403         over namespaces.
48404
48405         * sunrpc/rpc_prot.c (rejected): Fix case value.
48406
48407         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
48408         unsigned long long int to avoid warnings in shift.
48409
48410         * posix/regex_internal.c (re_string_reconstruct): Actually use result
48411         of use of trans.
48412         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
48413         variable tmp.
48414
48415         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
48416         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
48417         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
48418
48419         * nis/nis_table.c (nis_list): Use variable of correct type for
48420         result of __follow_path call.
48421
48422 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48423
48424         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
48425         of math functions ceil, trunc, floor, round, and sqrt, when
48426         avaliable on the platform.
48427         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
48428         name clash.
48429         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
48430         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
48431         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
48432
48433 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
48434
48435         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
48436         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
48437
48438 2011-11-11  Roland McGrath  <roland@hack.frob.com>
48439
48440         * include/unistd.h: Fix __readlink return type.
48441         Reported by Chris Metcalf <cmetcalf@tilera.com>.
48442
48443 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
48444
48445         * stdlib/ucontext.h: Undo last change for makecontext.
48446
48447 2011-11-11  Andreas Schwab  <schwab@redhat.com>
48448
48449         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
48450
48451         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
48452         * setjmp/setjmp.h: Mark functions as non-leaf.
48453         * setjmp/bits/setjmp2.h: Likewise.
48454         * stdlib/ucontext.h: Likewise.
48455
48456 2011-11-10  Andreas Schwab  <schwab@redhat.com>
48457
48458         * malloc/arena.c (_int_new_arena): Don't increment narenas.
48459         (reused_arena): Don't check arena limit.
48460         (arena_get2): Atomically check arena limit.
48461
48462 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
48463
48464         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
48465         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
48466
48467         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
48468         instructions.
48469
48470 2011-11-07  Andreas Schwab  <schwab@redhat.com>
48471
48472         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
48473         handler when locking.
48474
48475         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
48476         Fix size of allocated buffer.
48477
48478 2011-11-04  Andreas Schwab  <schwab@redhat.com>
48479
48480         [BZ #10103]
48481         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
48482         declarations for long double functions.
48483         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
48484
48485         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
48486
48487 2011-11-03  Andreas Schwab  <schwab@redhat.com>
48488
48489         * nscd/nscd.c (main): Don't start AVC thread until credentials are
48490         installed.
48491
48492         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
48493         is disabled.
48494
48495 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
48496
48497         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
48498
48499 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
48500
48501         * include/alloca.h (stackinfo_alloca_round): Define.
48502         (extend_alloca): Use it.
48503         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
48504         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
48505         here.
48506
48507         * scripts/check-local-headers.sh: Ignore libaudit.h.
48508
48509         * nscd/Makefile (extra-objs): Make recursively expanded.
48510
48511 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
48512
48513         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
48514         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
48515
48516         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
48517         * posix/tst-rfc3484-2.c: Likewise.
48518         * posix/tst-rfc3484-3.c: Likewise.
48519
48520         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
48521         process_vm_writev.
48522         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
48523         process_vm_writev.
48524         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
48525         process_vm_writev from libc using GLIBC_2.15 version.
48526
48527         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
48528
48529 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
48530
48531         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
48532         stack usage.
48533
48534 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
48535
48536         [BZ #13367]
48537         * nss/getent.c (initgroups_keys): Show error message in case no group
48538         names are given.
48539
48540         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
48541         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
48542         __bump_nl_timestamp.
48543         * nscd/connections (nscd_init): When host database is served open
48544         netlink socket and request notification about configuration changes.
48545         (main_loop_poll): Track netlink file descriptor and bump timestamp
48546         in case data becomes available.
48547         (main_loop_epoll): Likewise.
48548         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
48549         (database_pers_head): Add extra_data fileds.
48550         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
48551         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
48552         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
48553         Adjust caller.
48554         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
48555         in6ai data, call __free_in6ai.
48556         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
48557         Add -DHAVE_NETLINK.
48558         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
48559         interface information.  Reuse previous data if netlink timestamp
48560         is not changed.
48561         (__bump_nl_timestamp): New function.
48562         (__free_in6ai): New function.
48563
48564 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
48565
48566         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
48567         close_not_cancel_no_status here.
48568         (__check_pf): Reorganize code a bit to not call close twice if OOM.
48569
48570 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
48571
48572         [BZ #13276]
48573         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
48574         return value.
48575
48576         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
48577         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
48578         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
48579
48580 2011-07-03  Andreas Jaeger  <aj@suse.de>
48581
48582         [BZ #10709]
48583         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
48584         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
48585         * math/libm-test.inc (sin_test): Add test case.
48586
48587 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
48588
48589         [BZ #13337]
48590         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
48591         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
48592
48593         * elf/chroot_canon.c (chroot_canon): Cleanups.
48594
48595         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
48596
48597         [BZ #13335]
48598         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
48599         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
48600
48601         * string/test-strchr.c: Make usable for strchrnul testing.
48602         * string/test-strchrnul.c: New file.
48603         * string/Makefile (strop-tests): Add strchrnul.
48604
48605         * po/it.po: Update from translation team.
48606         * po/es.po: Likewise.
48607
48608 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
48609
48610         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
48611         the three constants needed as parameters.  Drop the others.
48612         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
48613         __m128i_strloadu_tolower.
48614         Create and initialize variable zero and use it in all the places
48615         where _mm_setzero_si128 was used.
48616
48617         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
48618         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
48619         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
48620         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
48621         anymore.
48622         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
48623         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
48624         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
48625         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
48626         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
48627         __mpranred, __mptan.
48628         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
48629         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
48630         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
48631         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
48632         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
48633         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
48634         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
48635         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
48636         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
48637
48638 2011-10-28  Andreas Schwab  <schwab@redhat.com>
48639
48640         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
48641         redefine if SHARED.
48642         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
48643
48644         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
48645         wide char related routines to wcsmbs subdir.
48646
48647 2011-10-27  Andreas Schwab  <schwab@redhat.com>
48648
48649         [BZ #13344]
48650         * misc/sys/cdefs.h (__THROWNL): Define.
48651         * posix/unistd.h: Use __THREADNL instead of __THREAD
48652         for memory synchronization functions.
48653
48654 2011-10-26  Roland McGrath  <roland@hack.frob.com>
48655
48656         [BZ #13349]
48657         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
48658         doesn't exist.
48659         * manual/stdio.texi (Obstack Streams): Node removed.
48660
48661 2011-10-26  Andreas Schwab  <schwab@redhat.com>
48662
48663         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
48664         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
48665         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
48666
48667         * math/math_private.h (math_force_eval): Allow non-addressable
48668         arguments.
48669         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
48670
48671 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
48672
48673         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
48674         file is not needed.
48675
48676         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
48677         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
48678         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
48679         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
48680         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
48681         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
48682         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
48683         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
48684         Add AVX variants.
48685         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
48686         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
48687         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
48688         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
48689         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
48690         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
48691         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
48692         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
48693         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
48694         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
48695         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
48696         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
48697         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
48698         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
48699         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
48700         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
48701         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
48702         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
48703         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
48704
48705         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
48706         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
48707
48708         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
48709         place.  Use VEX encoding when compiling for AVX.
48710
48711 2011-10-25  Andreas Schwab  <schwab@redhat.com>
48712
48713         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
48714         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
48715
48716         * string/test-strchr.c (do_test): Don't generate NUL bytes.
48717
48718 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
48719
48720         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
48721         useless if() expression.
48722         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
48723         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
48724         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
48725         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
48726         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
48727         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
48728         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
48729         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
48730         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
48731         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
48732         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
48733         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
48734         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
48735         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
48736         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
48737         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
48738         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
48739         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
48740         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
48741
48742         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
48743
48744 2011-10-25  Andreas Schwab  <schwab@redhat.com>
48745
48746         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
48747         condition.
48748         * elf/dl-fini.c (_dl_sort_fini): Likewise.
48749
48750 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
48751
48752         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
48753         .text section.  Avoid duplicate constants.
48754         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
48755         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
48756         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
48757         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
48758         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
48759         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
48760         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
48761         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
48762         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
48763         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
48764         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
48765         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
48766         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
48767         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
48768         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
48769         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
48770         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
48771         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
48772         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
48773         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
48774         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
48775         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
48776         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
48777         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
48778         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
48779         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
48780         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
48781         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
48782         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
48783         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
48784         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
48785         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
48786         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
48787         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
48788         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
48789         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
48790         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
48791         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
48792         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
48793         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
48794         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
48795         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
48796         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
48797         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
48798         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
48799
48800 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
48801
48802         * sysdeps/x86_64/dla.h: Move to ...
48803         * sysdeps/x86_64/fpu/dla.h: ...here.
48804         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
48805         situations.  Use __builtin_fma only for gcc 4.6 and up.
48806
48807         * config.make.in: Add have-mfma4 entry.
48808         * configure.in: Substitute libc_cv_cc_fma4.
48809         * math/Makefile (dbl-only-routines): Add sincostab.
48810         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
48811         Use __sincostab not sincos.
48812         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
48813         name is a macro.
48814         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
48815         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
48816         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
48817         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
48818         using __copysign.
48819         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
48820         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
48821         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
48822         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
48823         and __inv.
48824         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
48825         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
48826         __copysign.
48827         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
48828         define aliases when function name is a macro.
48829         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
48830         sysdeps/ieee754/dbl-64/sincos.tbl.
48831         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
48832         fma4-enabled routines.
48833         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
48834         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
48835         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
48836         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
48837         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
48838         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
48839         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
48840         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
48841         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
48842         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
48843         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
48844         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
48845         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
48846         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
48847         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
48848         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
48849         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
48850         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
48851         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
48852         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
48853         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
48854         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
48855         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
48856         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
48857         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
48858         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
48859         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
48860         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
48861         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
48862         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
48863
48864         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
48865         rename.
48866         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
48867         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
48868         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
48869         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
48870         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
48871         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
48872         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
48873         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
48874
48875 2011-10-24  Andreas Schwab  <schwab@redhat.com>
48876
48877         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
48878
48879 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
48880
48881         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
48882
48883         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
48884         prediction.
48885         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
48886
48887         * string/strnlen.c: Don't define STRNLEN, reverse logic.
48888         Remove unused variable magic_bits.
48889         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
48890
48891         * string/strnlen.c: Define and use STRNLEN macro.
48892         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
48893         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
48894         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
48895         * wcsmbs/wcslen.c: Define and use WCSLEN.
48896         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
48897         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
48898         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
48899         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
48900         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
48901         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
48902         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
48903
48904 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
48905
48906         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
48907         strnlen-sse2-no-bsf.
48908         Rename strlen-no-bsf to strlen-sse2-no-bsf.
48909         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
48910         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
48911         Add strnlen support.
48912         (USE_AS_STRNLEN): New macro.
48913         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
48914         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
48915         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
48916         * sysdeps/x86_64/wcslen.S: New file.
48917
48918 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
48919
48920         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
48921         XMM-moves are used for copying on small sizes.
48922
48923 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
48924
48925         * wcsmbs/Makefile (strop-tests): Add wcschr.
48926         * wcsmbs/test-wcschr.c: New file.
48927         * string/test-strchr.c: Update.
48928         Add wcschr support.
48929         (WIDE): New macro.
48930
48931 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
48932
48933         * wcsmbs/Makefile (strop-tests): Add wcslen.
48934         * wcsmbs/test-wcslen.c: New file.
48935         * string/test-strlen.c: Update.
48936         Add wcslen support.
48937         (WIDE): New macro.
48938
48939 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
48940
48941         * po/it.po: Update from translation team.
48942
48943 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
48944
48945         * sysdeps/x86_64/wcscmp.S: Update.
48946         Fix wrong comparison semantics.
48947         wcscmp shall use signed comparison not unsigned.
48948         Don't use substraction to avoid overflow bug.
48949         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
48950         * wcsmbc/wcscmp.c: Likewise.
48951         * string/test-strcmp.c: Likewise.
48952         Add new tests to check cases with negative values.
48953
48954 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
48955
48956         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
48957         * sysdeps/x86_64/dla.h: ...here.  New file.
48958         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
48959         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
48960         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
48961         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
48962         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
48963         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
48964         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
48965         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
48966         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
48967
48968 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
48969
48970         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
48971         __ynl_finite aliases.
48972
48973 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
48974
48975         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
48976
48977         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
48978         define DLA_FMA.
48979         [DLA_FMA] (EMULV): Use DLA_FMA.
48980         [DLA_FMA] (MUL12): Use EMULV.
48981         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
48982         that are not needed.
48983         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
48984         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
48985         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
48986         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
48987         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
48988         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
48989         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
48990
48991 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
48992
48993         * math/s_nan.c: Undef __nan.
48994         * math/s_nanf.c: Undef __nanf.
48995         * math/s_nanl.c: Undef __nanl.
48996         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
48997         "math_private.h".
48998
48999 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
49000
49001         * math/s_catan.c: Add branch predictions.
49002         * math/s_catanf.c: Likewise.
49003         * math/s_catanh.c: Likewise.
49004         * math/s_catanhf.c: Likewise.
49005         * math/s_catanhl.c: Likewise.
49006         * math/s_catanl.c: Likewise.
49007         * math/s_cexp.c: Likewise.
49008         * math/s_cexpf.c: Likewise.
49009         * math/s_cexpl.c: Likewise.
49010         * math/s_clog.c: Likewise.
49011         * math/s_clog10.c: Likewise.
49012         * math/s_clog10f.c: Likewise.
49013         * math/s_clog10l.c: Likewise.
49014         * math/s_clogf.c: Likewise.
49015         * math/s_clogl.c: Likewise.
49016         * math/s_csqrt.c: Likewise.
49017         * math/s_csqrtf.c: Likewise.
49018         * math/s_csqrtl.c: Likewise.
49019         * math/s_ctanf.c: Likewise.
49020         * math/s_ctanh.c: Likewise.
49021         * math/s_ctanhf.c: Likewise.
49022         * math/s_ctanhl.c: Likewise.
49023         * math/s_ctanl.c: Likewise.
49024
49025         * math/math_private.h: Define __nan, __nanf, __nanl.
49026         * math/s_cacosh.c: Include <math_private.h>.
49027         * math/s_cacoshl.c: Likewise.
49028         * math/s_casinh.c: Likewise.
49029         * math/s_casinhf.c: Likewise.
49030         * math/s_casinhl.c: Likewise.
49031         * math/s_ccos.c: Rely entire on ccosh.
49032         * math/s_ccosf.c: Rely entire on ccoshf.
49033         * math/s_ccosl.c: Rely entirely on ccoshl.
49034         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
49035         Remove tests for FE_INVALID.
49036         * math/s_ccoshf.c: Likewise.
49037         * math/s_ccoshl.c: Likewise.
49038         * math/s_csin.c: Likewise.
49039         * math/s_csinf.c: Likewise.
49040         * math/s_csinh.c Likewise.
49041         * math/s_csinhf.c: Likewise.
49042         * math/s_csinhl.c: Likewise.
49043         * math/s_csinl.c: Likewise.
49044         * math/s_ctan.c: Likewise.
49045         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
49046         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
49047         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
49048
49049 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
49050
49051         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
49052         compilation problems.
49053
49054         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
49055         __builtin_expect.
49056
49057 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
49058
49059         * sysdeps/i386/configure.in: Test for -mfma4 option.
49060         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
49061         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
49062         COMMON_CPUID_INDEX_80000001.
49063         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
49064         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
49065         use it if FMA3 is not supported.
49066         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
49067
49068         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
49069         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
49070
49071 2011-10-20  Andreas Schwab  <schwab@redhat.com>
49072
49073         [BZ #12892]
49074         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
49075         it would create a cycle with a link time dependency.
49076
49077 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
49078
49079         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
49080         instruction.
49081         * string/Makefile (strop-tests): Add rawmemchr.
49082         * string/test-rawmemchr.c: New file.
49083
49084         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
49085         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
49086         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
49087         when compiling str{,n}casecmp and when AVX is available.  Hook up
49088         new optimized code in initializers.
49089
49090 2011-10-19  Andreas Schwab  <schwab@redhat.com>
49091
49092         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
49093         __feraiseexcept instead of feraiseexcept.
49094
49095 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
49096
49097         * math/math_private.h: Define defaults for libc_fetestexcept and
49098         libc_feupdateenv.
49099         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
49100         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
49101         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
49102         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
49103         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
49104         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
49105         libc_fetestexcept and libc_feupdateenv.
49106
49107         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
49108         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
49109         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
49110         * sysdeps/x86_64/fpu/math_private.h: Define special version of
49111         libc_feholdexcept_setround.
49112
49113         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
49114         Add s_nearbyint-c and s_nearbyintf-c.
49115         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
49116         nearbyintf inlines.
49117         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
49118         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
49119         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
49120         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
49121
49122         * math/math_private.h: Define defaults for libc_fegetround,
49123         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
49124         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
49125         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
49126         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
49127         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
49128         standard functions.
49129         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
49130         Remove comments and hacks for old compiler versions.
49131         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
49132         libc_fegetround, libc_fesetround, libc_feholdexcept, and
49133         libc_feholdexceptl.
49134
49135 2011-10-18  Andreas Schwab  <schwab@redhat.com>
49136
49137         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
49138         (__feraiseexcept_renamed): Add __NTH.
49139         (feraiseexcept): Add __NTH.  Rename local variables to fix
49140         namespace violations.
49141
49142 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
49143
49144         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
49145
49146         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
49147
49148         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
49149         recently added interfaces.
49150         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
49151
49152         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
49153         about macro parameter expansion.
49154
49155         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
49156         __NO_MATH_INLINES is defined.  Cleanups.
49157
49158         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
49159         and __floorf is target has SSE4.1.
49160         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
49161         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
49162         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
49163         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
49164
49165         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
49166         name.
49167         (floorf): Likewise.
49168
49169         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
49170
49171 2011-10-17  Andreas Schwab  <schwab@redhat.com>
49172
49173         * misc/sys/cdefs.h: Fix last change.
49174
49175         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
49176         database lookup.
49177
49178 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
49179
49180         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
49181
49182         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
49183         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
49184         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
49185         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
49186         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
49187         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
49188         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
49189         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
49190         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
49191         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
49192         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
49193         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
49194         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
49195         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
49196         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
49197         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
49198         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
49199         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
49200         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
49201         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
49202         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
49203         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
49204
49205         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
49206         ceil, ceilf, floor, floorf.
49207
49208         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
49209         Perform IRELATIVE relocations last.
49210
49211         * elf/do-rel.h: Add another parameter nrelative, replacing the
49212         local variable with the same name.  Change name of the function
49213         to end in Rel or Rela (uppercase).
49214         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
49215         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
49216         elf_dynamic_do_##reloc function.
49217
49218 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
49219
49220         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
49221         is sufficient, at least on modern CPUs.
49222
49223         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
49224
49225         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
49226         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
49227
49228         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
49229         __expl_finite.
49230         * math/bits/math-finite.h: Add entries for exp.
49231         * math/e_expl.c: Add __*_finite alias.
49232         * sysdeps/i386/fpu/e_exp.S: Likewise.
49233         * sysdeps/i386/fpu/e_expf.S: Likewise.
49234         * sysdeps/i386/fpu/e_expl.c: Likewise.
49235         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
49236         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
49237         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
49238         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
49239         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
49240         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
49241         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
49242
49243         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
49244         is sufficient, at least on modern CPUs.
49245
49246         * ctype/ctype-info.c (__ctype_init): Define.
49247         * include/ctype.h (__ctype_init): Declare.
49248         (__ctype_b_loc): The variable is always initialized.
49249         (__ctype_toupper_loc): Likewise.
49250         (__ctype_tolower_loc): Likewise.
49251         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
49252         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
49253
49254 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
49255
49256         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
49257
49258         * configure.in: Also look in $cxxmachine/include for C++ system
49259         headers.
49260
49261 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
49262
49263         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
49264         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
49265         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
49266         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
49267         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
49268         (USE_AS_WMEMCMP): New macro.
49269         Fixing indents.
49270         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
49271         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
49272         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
49273         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
49274         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
49275         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
49276         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
49277         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
49278         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
49279         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
49280         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
49281         (USE_AS_WMEMCMP): New macro.
49282         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
49283         * sysdeps/string/test-memcmp.c: Update.
49284         Fix simple_wmemcmp.
49285         Add new tests.
49286         * wcsmbs/wmemcmp.c: Update.
49287         (WMEMCMP): New macro.
49288         Fix overflow bug.
49289
49290 2011-10-12  Andreas Jaeger  <aj@suse.de>
49291
49292         [BZ #13268]
49293         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
49294
49295 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
49296
49297         * libio/iofwide.c (do_length): Avoid warning.
49298
49299         * ctype/ctype.h (__isctype_f): Add missing __THROW.
49300
49301 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
49302
49303         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
49304
49305         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
49306         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
49307         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
49308         * sysdeps/i386/i686/fpu/e_log.S: New file.
49309         * sysdeps/i386/i686/fpu/e_logf.S: New file.
49310         * sysdeps/i386/i686/fpu/e_logl.S: New file.
49311
49312         * ctype/ctype.h: Add support for inlined isXXX functions when
49313         compiling C++ code.
49314
49315 2011-10-14  Andreas Schwab  <schwab@redhat.com>
49316
49317         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
49318
49319         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
49320
49321 2011-10-13  Roland McGrath  <roland@hack.frob.com>
49322
49323         [BZ #13291]
49324         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
49325
49326 2011-10-13  Andreas Schwab  <schwab@redhat.com>
49327
49328         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
49329         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
49330         feraiseexcept.
49331
49332         * sysdeps/x86_64/memrchr.S: Check for zero size.
49333
49334         * string/stratcliff.c: Add memrchr tests.
49335
49336 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
49337
49338         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
49339         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
49340         rawmemchr-sse2 rawmemchr-sse2-bsf.
49341         * sysdeps/i386/i686/multiarch/memchr.S: New file.
49342         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
49343         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
49344         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
49345         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
49346         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
49347         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
49348         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
49349         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
49350         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
49351         * string/memrchr.c (MEMRCHR): New macro.
49352
49353 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
49354
49355         Add integration with gcc's -ffinite-math-only and optimize wrapper
49356         functions in libm.
49357         * Versions.def: Define GLIBC_2.15 version for libm.
49358         * math/Makefile (headers): Add bits/math-finite.h.
49359         * math/bits/math-finite.h: New file.
49360         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
49361         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
49362         * math/e_acoshl.c: Add __*_finite alias.
49363         * math/e_acosl.c: Likewise.
49364         * math/e_asinl.c: Likewise.
49365         * math/e_atan2l.c: Likewise.
49366         * math/e_atanhl.c: Likewise.
49367         * math/e_coshl.c: Likewise.
49368         * math/e_exp10.c: Likewise.
49369         * math/e_exp10f.c: Likewise.
49370         * math/e_exp10l.c: Likewise.
49371         * math/e_exp2l.c: Likewise.
49372         * math/e_fmodl.c: Likewise.
49373         * math/e_gammal_r.c: Likewise.
49374         * math/e_hypotl.c: Likewise.
49375         * math/e_j0l.c: Likewise.
49376         * math/e_j1l.c: Likewise.
49377         * math/e_jnl.c: Likewise.
49378         * math/e_lgammal_r.c: Likewise.
49379         * math/e_log10l.c: Likewise.
49380         * math/e_log2l.c: Likewise.
49381         * math/e_logl.c: Likewise.
49382         * math/e_powl.c: Likewise.
49383         * math/e_sinhl.c: Likewise.
49384         * math/e_sqrtl.c: Likewise.
49385         * math/e_scalb.c: Completely rewritten and optimized.
49386         * math/e_scalbf.c: Likewise.
49387         * math/e_scalbl.c: Likewise.
49388         * math/w_acos.c: Likewise.
49389         * math/w_acosf.c: Likewise.
49390         * math/w_acosl.c: Likewise.
49391         * math/w_acosh.c: Likewise.
49392         * math/w_acoshf.c: Likewise.
49393         * math/w_acoshl.c: Likewise.
49394         * math/w_asin.c: Likewise.
49395         * math/w_asinf.c: Likewise.
49396         * math/w_asinl.c: Likewise.
49397         * math/w_atan2.c: Likewise.
49398         * math/w_atan2f.c: Likewise.
49399         * math/w_atan2l.c: Likewise.
49400         * math/w_atanh.c: Likewise.
49401         * math/w_atanhf.c: Likewise.
49402         * math/w_atanhl.c: Likewise.
49403         * math/w_exp10.c: Likewise.
49404         * math/w_exp10f.c: Likewise.
49405         * math/w_exp10l.c: Likewise.
49406         * math/w_fmod.c: Likewise.
49407         * math/w_fmodf.c: Likewise.
49408         * math/w_fmodl.c: Likewise.
49409         * math/w_j0.c: Likewise.
49410         * math/w_j0f.c: Likewise.
49411         * math/w_j0l.c: Likewise.
49412         * math/w_j1.c: Likewise.
49413         * math/w_j1f.c: Likewise.
49414         * math/w_j1l.c: Likewise.
49415         * math/w_jn.c: Likewise.
49416         * math/w_jnf.c: Likewise.
49417         * math/w_log.c: Likewise.
49418         * math/w_logf.c: Likewise.
49419         * math/w_logl.c: Likewise.
49420         * math/w_log10.c: Likewise.
49421         * math/w_log10f.c: Likewise.
49422         * math/w_log10l.c: Likewise.
49423         * math/w_log2.c: Likewise.
49424         * math/w_log2f.c: Likewise.
49425         * math/w_log2l.c: Likewise.
49426         * math/w_pow.c: Likewise.
49427         * math/w_powf.c: Likewise.
49428         * math/w_powl.c: Likewise.
49429         * math/w_remainder.c: Likewise.
49430         * math/w_remainderf.c: Likewise.
49431         * math/w_remainderl.c: Likewise.
49432         * math/w_scalb.c: Likewise.
49433         * math/w_scalbf.c: Likewise.
49434         * math/w_scalbl.c: Likewise.
49435         * math/w_sqrt.c: Likewise.
49436         * math/w_sqrtf.c: Likewise.
49437         * math/w_sqrtl.c: Likewise.
49438         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
49439         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
49440         used.
49441         * math/math_private.h: Declare __kernel_standard_f.
49442         * math/w_cosh.c: Remove cruft and optimize a bit.
49443         * math/w_coshf.c: Likewise.
49444         * math/w_coshl.c: Likewise.
49445         * math/w_exp2.c: Likewise.
49446         * math/w_exp2f.c: Likewise.
49447         * math/w_exp2l.c: Likewise.
49448         * math/w_hypot.c: Likewise.
49449         * math/w_hypotf.c: Likewise.
49450         * math/w_hypotl.c: Likewise.
49451         * math/w_lgamma.c: Likewise.
49452         * math/w_lgamma_r.c: Likewise.
49453         * math/w_lgammaf.c: Likewise.
49454         * math/w_lgammaf_r.c: Likewise.
49455         * math/w_lgammal.c: Likewise.
49456         * math/w_lgammal_r.c: Likewise.
49457         * math/w_sinh.c: Likewise.
49458         * math/w_sinhf.c: Likewise.
49459         * math/w_sinhl.c: Likewise.
49460         * math/w_tgamma.c: Likewise.
49461         * math/w_tgammaf.c: Likewise.
49462         * math/w_tgammal.c: Likewise.
49463         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
49464         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
49465         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
49466         Minor optimizations.  Pretty printing.  Remove cruft.
49467         * sysdeps/i386/fpu/e_acosf.S: Likewise.
49468         * sysdeps/i386/fpu/e_acosh.S: Likewise.
49469         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
49470         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
49471         * sysdeps/i386/fpu/e_acosl.c: Likewise.
49472         * sysdeps/i386/fpu/e_asin.S: Likewise.
49473         * sysdeps/i386/fpu/e_asinf.S: Likewise.
49474         * sysdeps/i386/fpu/e_atan2.S: Likewise.
49475         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
49476         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
49477         * sysdeps/i386/fpu/e_atanh.S: Likewise.
49478         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
49479         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
49480         * sysdeps/i386/fpu/e_exp10.S: Likewise.
49481         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
49482         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
49483         * sysdeps/i386/fpu/e_exp2.S: Likewise.
49484         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
49485         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
49486         * sysdeps/i386/fpu/e_fmod.S: Likewise.
49487         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
49488         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
49489         * sysdeps/i386/fpu/e_hypot.S: Likewise.
49490         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
49491         * sysdeps/i386/fpu/e_log.S: Likewise.
49492         * sysdeps/i386/fpu/e_log10.S: Likewise.
49493         * sysdeps/i386/fpu/e_log10f.S: Likewise.
49494         * sysdeps/i386/fpu/e_log10l.S: Likewise.
49495         * sysdeps/i386/fpu/e_log2.S: Likewise.
49496         * sysdeps/i386/fpu/e_log2f.S: Likewise.
49497         * sysdeps/i386/fpu/e_log2l.S: Likewise.
49498         * sysdeps/i386/fpu/e_logf.S: Likewise.
49499         * sysdeps/i386/fpu/e_logl.S: Likewise.
49500         * sysdeps/i386/fpu/e_pow.S: Likewise.
49501         * sysdeps/i386/fpu/e_powf.S: Likewise.
49502         * sysdeps/i386/fpu/e_powl.S: Likewise.
49503         * sysdeps/i386/fpu/e_remainder.S: Likewise.
49504         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
49505         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
49506         * sysdeps/i386/fpu/e_scalb.S: Likewise.
49507         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
49508         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
49509         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
49510         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
49511         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
49512         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
49513         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
49514         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
49515         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
49516         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
49517         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
49518         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
49519         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
49520         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
49521         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
49522         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
49523         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
49524         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
49525         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
49526         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
49527         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
49528         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
49529         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
49530         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
49531         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
49532         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
49533         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
49534         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
49535         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
49536         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
49537         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
49538         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
49539         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
49540         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
49541         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
49542         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
49543         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
49544         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
49545         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
49546         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
49547         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
49548         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
49549         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
49550         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
49551         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
49552         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
49553         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
49554         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
49555         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
49556         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
49557         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
49558         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
49559         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
49560         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
49561         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
49562         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
49563         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
49564         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
49565         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
49566         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
49567         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
49568         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
49569         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
49570         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
49571         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
49572         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
49573         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
49574         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
49575         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
49576         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
49577         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
49578         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
49579         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
49580         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
49581         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
49582         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
49583         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
49584         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
49585         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
49586         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
49587         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
49588         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
49589         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
49590         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
49591         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
49592         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
49593         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
49594         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
49595         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
49596         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
49597         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
49598         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
49599         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
49600         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
49601         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
49602         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
49603         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
49604         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
49605         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
49606         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
49607         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
49608         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
49609         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
49610         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
49611         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
49612         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
49613         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
49614         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
49615         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
49616         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
49617         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
49618         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
49619         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
49620         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
49621         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
49622         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
49623         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
49624         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
49625         (__isnanf): Likewise.
49626         (__isinf_ns): Likewise.
49627         (__isinf_nsf): Likewise.
49628         (__finite): Likewise.
49629         (__finitef): Likewise.
49630         (__ieee754_sqrt): Define as macro.
49631         (__ieee754_sqrtf): Define as macro.
49632         (__ieee754_sqrtl): Define as macro.
49633         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
49634         inlined copy.
49635         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
49636         __FINITE_MATH_ONLY__ consistent.
49637         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
49638
49639 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
49640
49641         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
49642         of rawmemchr.
49643
49644         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
49645
49646 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
49647
49648         * po/ja.po: Update from translation team.
49649
49650 2011-10-08  Roland McGrath  <roland@hack.frob.com>
49651
49652         * locale/programs/locarchive.c (prepare_address_space): New function.
49653         (create_archive, enlarge_archive, open_archive): Use it.
49654
49655         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
49656         inside [SHARED], where it is used.
49657
49658         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
49659
49660         * nss/getent.c (netgroup_keys): Remove unused variable.
49661         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
49662
49663 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
49664
49665         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
49666         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
49667         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
49668         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
49669         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
49670         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
49671         * math/Makefile (libm-calls): Add s_isinf_ns.
49672         * math/divtc3.c: Use __isinf_nsl instead of isinf.
49673         * math/multc3.c: Likewise.
49674         * math/s_casin.c: Likewise.
49675         * math/s_casinf.c: Likewise.
49676         * math/s_casinl.c: Likewise.
49677         * math/s_ccos.c: Likewise.
49678         * math/s_ccosf.c: Likewise.
49679         * math/s_ccosl.c: Likewise.
49680         * math/s_ctan.c: Likewise.
49681         * math/s_ctanf.c: Likewise.
49682         * math/s_ctanh.c: Likewise.
49683         * math/s_ctanhf.c: Likewise.
49684         * math/s_ctanhl.c: Likewise.
49685         * math/s_ctanl.c: Likewise.
49686         * math/w_fmod.c: Likewise.
49687         * math/w_fmodf.c: Likewise.
49688         * math/w_fmodl.c: Likewise.
49689         * math/w_remainder.c: Likewise.
49690         * math/w_remainderf.c: Likewise.
49691         * math/w_remainderl.c: Likewise.
49692         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
49693         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
49694         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
49695         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
49696         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
49697         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
49698         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
49699         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
49700
49701         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
49702         of the number.
49703         * stdio-common/printf_fphex.c: Likewise.
49704         * stdio-common/printf_size.c: Likewise.
49705
49706         * math/e_exp10.c: Include math_private.h using <...> not "...".
49707         * math/e_exp10f.c: Likewise.
49708         * math/e_exp10l.c: Likewise.
49709         * math/e_exp2l.c: Likewise.
49710         * math/e_j0l.c: Likewise.
49711         * math/e_j1l.c: Likewise.
49712         * math/e_jnl.c: Likewise.
49713         * math/e_lgammal_r.c: Likewise.
49714         * math/e_rem_pio2l.c: Likewise.
49715         * math/e_scalb.c: Likewise.
49716         * math/e_scalbf.c: Likewise.
49717         * math/e_scalbl.c: Likewise.
49718         * math/k_cosl.c: Likewise.
49719         * math/k_sinl.c: Likewise.
49720         * math/k_tanl.c: Likewise.
49721         * math/s_cacoshf.c: Likewise.
49722         * math/s_catan.c: Likewise.
49723         * math/s_catanf.c: Likewise.
49724         * math/s_catanh.c: Likewise.
49725         * math/s_catanhf.c: Likewise.
49726         * math/s_catanhl.c: Likewise.
49727         * math/s_catanl.c: Likewise.
49728         * math/s_ccosh.c: Likewise.
49729         * math/s_ccoshf.c: Likewise.
49730         * math/s_ccoshl.c: Likewise.
49731         * math/s_cexp.c: Likewise.
49732         * math/s_cexpf.c: Likewise.
49733         * math/s_cexpl.c: Likewise.
49734         * math/s_clog.c: Likewise.
49735         * math/s_clog10.c: Likewise.
49736         * math/s_clog10f.c: Likewise.
49737         * math/s_clog10l.c: Likewise.
49738         * math/s_clogf.c: Likewise.
49739         * math/s_clogl.c: Likewise.
49740         * math/s_csin.c: Likewise.
49741         * math/s_csinf.c: Likewise.
49742         * math/s_csinh.c: Likewise.
49743         * math/s_csinhf.c: Likewise.
49744         * math/s_csinhl.c: Likewise.
49745         * math/s_csinl.c: Likewise.
49746         * math/s_csqrt.c: Likewise.
49747         * math/s_csqrtf.c: Likewise.
49748         * math/s_csqrtl.c: Likewise.
49749         * math/s_ctan.c: Likewise.
49750         * math/s_ctanf.c: Likewise.
49751         * math/s_ctanh.c: Likewise.
49752         * math/s_ctanhf.c: Likewise.
49753         * math/s_ctanhl.c: Likewise.
49754         * math/s_ctanl.c: Likewise.
49755         * math/s_ldexp.c: Likewise.
49756         * math/s_ldexpf.c: Likewise.
49757         * math/s_ldexpl.c: Likewise.
49758         * math/s_significand.c: Likewise.
49759         * math/s_significandf.c: Likewise.
49760         * math/s_significandl.c: Likewise.
49761         * math/w_acos.c: Likewise.
49762         * math/w_acosf.c: Likewise.
49763         * math/w_acosh.c: Likewise.
49764         * math/w_acoshf.c: Likewise.
49765         * math/w_acoshl.c: Likewise.
49766         * math/w_acosl.c: Likewise.
49767         * math/w_asin.c: Likewise.
49768         * math/w_asinf.c: Likewise.
49769         * math/w_asinl.c: Likewise.
49770         * math/w_atan2.c: Likewise.
49771         * math/w_atan2f.c: Likewise.
49772         * math/w_atan2l.c: Likewise.
49773         * math/w_atanh.c: Likewise.
49774         * math/w_atanhf.c: Likewise.
49775         * math/w_atanhl.c: Likewise.
49776         * math/w_cosh.c: Likewise.
49777         * math/w_coshf.c: Likewise.
49778         * math/w_coshl.c: Likewise.
49779         * math/w_dremf.c: Likewise.
49780         * math/w_exp10.c: Likewise.
49781         * math/w_exp10f.c: Likewise.
49782         * math/w_exp10l.c: Likewise.
49783         * math/w_exp2.c: Likewise.
49784         * math/w_exp2f.c: Likewise.
49785         * math/w_fmod.c: Likewise.
49786         * math/w_fmodf.c: Likewise.
49787         * math/w_fmodl.c: Likewise.
49788         * math/w_hypot.c: Likewise.
49789         * math/w_hypotf.c: Likewise.
49790         * math/w_hypotl.c: Likewise.
49791         * math/w_j0.c: Likewise.
49792         * math/w_j0f.c: Likewise.
49793         * math/w_j0l.c: Likewise.
49794         * math/w_j1.c: Likewise.
49795         * math/w_j1f.c: Likewise.
49796         * math/w_j1l.c: Likewise.
49797         * math/w_jn.c: Likewise.
49798         * math/w_jnf.c: Likewise.
49799         * math/w_jnl.c: Likewise.
49800         * math/w_lgamma.c: Likewise.
49801         * math/w_lgamma_r.c: Likewise.
49802         * math/w_lgammaf.c: Likewise.
49803         * math/w_lgammaf_r.c: Likewise.
49804         * math/w_lgammal.c: Likewise.
49805         * math/w_lgammal_r.c: Likewise.
49806         * math/w_log.c: Likewise.
49807         * math/w_log10.c: Likewise.
49808         * math/w_log10f.c: Likewise.
49809         * math/w_log10l.c: Likewise.
49810         * math/w_log2.c: Likewise.
49811         * math/w_log2f.c: Likewise.
49812         * math/w_log2l.c: Likewise.
49813         * math/w_logf.c: Likewise.
49814         * math/w_logl.c: Likewise.
49815         * math/w_pow.c: Likewise.
49816         * math/w_powf.c: Likewise.
49817         * math/w_powl.c: Likewise.
49818         * math/w_remainder.c: Likewise.
49819         * math/w_remainderf.c: Likewise.
49820         * math/w_remainderl.c: Likewise.
49821         * math/w_scalb.c: Likewise.
49822         * math/w_scalbf.c: Likewise.
49823         * math/w_scalbl.c: Likewise.
49824         * math/w_sinh.c: Likewise.
49825         * math/w_sinhf.c: Likewise.
49826         * math/w_sinhl.c: Likewise.
49827         * math/w_sqrt.c: Likewise.
49828         * math/w_sqrtf.c: Likewise.
49829         * math/w_sqrtl.c: Likewise.
49830         * math/w_tgamma.c: Likewise.
49831         * math/w_tgammaf.c: Likewise.
49832         * math/w_tgammal.c: Likewise.
49833
49834         * po/ja.po: Update from translation team.
49835
49836 2011-09-29  Andreas Jaeger  <aj@suse.de>
49837
49838         [BZ #13179]
49839         * sunrpc/netname.c (netname2host): Fix logic.
49840
49841         [BZ #6779]
49842         [BZ #6783]
49843         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
49844         correctly.
49845         * math/w_remainder.c (__remainder): Likewise.
49846         * math/w_remainderf.c (__remainderf): Likewise.
49847         * math/libm-test.inc (remainder_test): Add test cases.
49848
49849 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
49850
49851         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
49852         sdiv_qrnnd.
49853
49854 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
49855
49856         * string/test-memcmp.c: Avoid unncessary #defines.
49857         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
49858
49859 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
49860
49861         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
49862         Use new sse2 version for core i3 - i7 as it's faster
49863         than sse42 version.
49864         (bit_Prefer_PMINUB_for_stringop): New.
49865         * sysdeps/x86_64/rawmemchr.S: Update.
49866         Replace with faster SSE2 version.
49867         * sysdeps/x86_64/memrchr.S: New file.
49868         * sysdeps/x86_64/memchr.S: Update.
49869         Replace with faster SSE2 version.
49870
49871 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
49872
49873         * elf/dl-load.c (lose): Add cast to avoid warning.
49874
49875 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
49876
49877         * po/ca.po: Update from translation team.
49878
49879         * inet/getnetgrent_r.c: Hook up nscd.
49880         * nscd/Makefile (routines): Add nscd_netgroup.
49881         (nscd-modules): Add netgroupcache.
49882         (CFLAGS-netgroupcache.c): Define.
49883         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
49884         (cache_search): Add const to second parameter.
49885         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
49886         INNETGR.
49887         (dbs): Add netgrdb entry.
49888         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
49889         (verify_persistent_db): Handle netgrdb.
49890         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
49891         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
49892         GETFDNETGR.
49893         (netgroup_response_header): Define.
49894         (innetgroup_response_header): Define.
49895         (datahead): Add netgroup_response_header and innetgroup_response_header
49896         elements.
49897         * nscd/nscd.conf: Add entries for netgroup cache.
49898         * nscd/nscd.h (dbtype): Add netgrdb.
49899         (_PATH_NSCD_NETGROUP_DB): Define.
49900         (netgroup_iov_disabled): Declare.
49901         (xmalloc, xcalloc, xrealloc): Move declarations here.
49902         (cache_search): Adjust prototype.
49903         Add netgroup-related prototypes.
49904         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
49905         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
49906         (__nscd_innetgr): Declare.
49907         * nscd/selinux.c (perms): Use access_vector_t as element type and
49908         add netgroup-related initializers.
49909         * nscd/netgroupcache.c: New file.
49910         * nscd/nscd_netgroup.c: New file.
49911         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
49912         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
49913         For four parameters use innetgr.
49914         * nss/nss_files/files-init.c: Add definition and callback for netgr.
49915         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
49916         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
49917         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
49918
49919         * nscd/connections.c (register_traced_file): Don't register file
49920         for disabled databases.
49921
49922 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
49923
49924         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
49925
49926         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
49927         from tree and freeing node.
49928
49929 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
49930
49931         * nss/nsswitch.c (__nss_database_lookup): Handle
49932         nss_parse_service_list out of memory case.
49933
49934 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
49935
49936         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
49937         out of memory case.
49938
49939 2011-10-04  Andreas Schwab  <schwab@redhat.com>
49940
49941         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
49942         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
49943         pass it down.
49944         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
49945         elf_machine_rela, elf_machine_lazy_rel.
49946         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
49947         (ELF_DYNAMIC_DO_REL): Likewise.
49948         (ELF_DYNAMIC_DO_RELA): Likewise.
49949         (ELF_DYNAMIC_RELOCATE): Likewise.
49950         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
49951         to ELF_DYNAMIC_DO_REL.
49952         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
49953         (dl_main): In trace mode always set __RTLD_NOIFUNC.
49954         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
49955         elf_machine_rela.
49956         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
49957         skip_ifunc, don't call ifunc function if non-zero.
49958         (elf_machine_rela): Likewise.
49959         (elf_machine_lazy_rel): Likewise.
49960         (elf_machine_lazy_rela): Likewise.
49961         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
49962         (elf_machine_lazy_rel): Likewise.
49963         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
49964         Likewise.
49965         (elf_machine_lazy_rel): Likewise.
49966         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
49967         Likewise.
49968         (elf_machine_lazy_rel): Likewise.
49969         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
49970         (elf_machine_lazy_rel): Likewise.
49971         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
49972         (elf_machine_lazy_rel): Likewise.
49973         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
49974         (elf_machine_lazy_rel): Likewise.
49975         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
49976         (elf_machine_lazy_rel): Likewise.
49977         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
49978         (elf_machine_lazy_rel): Likewise.
49979         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
49980         (elf_machine_lazy_rel): Likewise.
49981
49982 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
49983
49984         * nss/nss_files/files-init.c (_nss_files_init): Use static
49985         initialization for all the *_traced_file variables.
49986
49987 2011-09-28  Andreas Schwab  <schwab@redhat.com>
49988
49989         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
49990
49991 2011-09-27  Roland McGrath  <roland@hack.frob.com>
49992
49993         [BZ #13226]
49994         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
49995
49996 2011-09-27  Andreas Schwab  <schwab@redhat.com>
49997
49998         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
49999         Reread the line before reparsing it.
50000
50001 2011-09-26  Andreas Schwab  <schwab@redhat.com>
50002
50003         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
50004
50005 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
50006             Maxim Kuvyrkov  <maxim@codesourcery.com>
50007             Joseph Myers  <joseph@codesourcery.com>
50008
50009         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
50010         if needed for __stack_chk_guard.
50011
50012 2011-09-19  Roland McGrath  <roland@hack.frob.com>
50013
50014         * sysdeps/posix/spawni.c (script_execute): Always define it.
50015         It will be optimized away if unused.
50016         (maybe_script_execute): New function.
50017         (__spawni): Call it.
50018
50019         * Makerules: Don't include tls.make.
50020         (config-tls): Always set to thread.
50021         * tls.make.c: File removed.
50022
50023 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
50024
50025         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
50026         * config.make.in (CPPFLAGS-config): New substituted variable.
50027
50028 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
50029
50030         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
50031
50032         [BZ #13192]
50033         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
50034         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
50035
50036 2011-09-15  Roland McGrath  <roland@hack.frob.com>
50037
50038         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
50039         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
50040         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
50041         (CALL_FAIL): Likewise.
50042         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
50043         (CALL_FAIL): Macro removed.
50044         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
50045
50046 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
50047
50048         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
50049         for __FINITE_MATH_ONLY__ == 1.
50050
50051 2011-09-15  Andreas Schwab  <schwab@redhat.com>
50052
50053         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
50054         __ieee754_sqrt instead of sqrt.
50055         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
50056         __ieee754_sqrtf instead of sqrtf.
50057         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
50058         __floorf instead of floorf.
50059         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
50060         __floorf, __truncf instead of floorf, truncf.
50061
50062 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
50063
50064         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
50065
50066         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
50067         __extern_always_inline.
50068         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
50069         32-bit.
50070
50071 2011-09-14  Andreas Schwab  <schwab@redhat.com>
50072
50073         * elf/rtld.c (dl_main): Also relocate in dependency order when
50074         doing symbol dependency testing.
50075
50076 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
50077
50078         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
50079         Always define `refsym'.
50080
50081 2011-09-13  Andreas Schwab  <schwab@redhat.com>
50082
50083         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
50084         (__FD_ELT): Renamed from __FDELT.
50085         * misc/bits/select2.h (__FD_ELT): Likewise.
50086         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
50087         __FD_MASK instead of __FDELT, __FDMASK.
50088         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
50089         Likewise.
50090         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
50091         Likewise.
50092
50093         * elf/Makefile (gen-ldd): Fix pattern.
50094
50095         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
50096         (init_tls): Likewise.
50097
50098 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
50099
50100         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
50101
50102 2011-09-12  Andreas Schwab  <schwab@redhat.com>
50103
50104         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
50105         `struct cmsghdr *' instead of `void *'.
50106         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
50107         Likewise.
50108
50109 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
50110
50111         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
50112         if non-absolute.
50113         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
50114         ldd_rewrite_script.
50115
50116 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
50117
50118         * configure.in: Remove --with-tls option.
50119         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
50120         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
50121         out in case it is missing.
50122         * sysdeps/ia64/elf/configure.in: Likewise.
50123         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
50124         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
50125         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
50126         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
50127         * sysdeps/sh/elf/configure.in: Likewise.
50128         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
50129         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
50130         * sysdeps/x86_64/elf/configure.in: Likewise.
50131         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
50132         * sysdeps/mach/hurd/tls.h: Likewise.
50133
50134         [BZ #13067]
50135         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
50136
50137         [BZ #13090]
50138         * configure.in: Fix use of AC_INIT.
50139
50140         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
50141
50142 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
50143
50144         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
50145         __set_errno.
50146         * malloc/hooks.c: Likewise.
50147
50148         [BZ #11929]
50149         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
50150         variables statically.
50151         (narenas): Initialize.
50152         (list_lock): Initialize.
50153         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
50154         initializtion of main_arena and list_lock.  Small cleanups.
50155         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
50156         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
50157         Add initializers to main_arena and mp_.
50158         (malloc_state): Remove pagesize member.  Change all users to use
50159         GLRO(dl_pagesize).
50160
50161         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
50162         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
50163         is always initialized.
50164
50165         * malloc/malloc.c: Removed unused configurations and dead code.
50166         * malloc/arena.c: Likewise.
50167         * malloc/hooks.c: Likewise.
50168         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
50169
50170         * include/tls.h: Removed.  USE___THREAD must always be defined.
50171         * bits/libc-tsd.h: Don't handle !USE___THREAD.
50172         * elf/dl-libc.c: Likewise.
50173         * elf/dl-tsd.c: Likewise.
50174         * include/errno.h: Likewise.
50175         * include/netdb.h: Likewise.
50176         * include/resolv.h: Likewise.
50177         * inet/herrno-loc.c: Likewise.
50178         * inet/herrno.c: Likewise.
50179         * malloc/arena.c: Likewise.
50180         * malloc/hooks.c: Likewise.
50181         * malloc/malloc.c: Likewise.
50182         * resolv/res-state.c: Likewise.
50183         * resolv/res_libc.c: Likewise.
50184         * sysdeps/i386/dl-machine.h: Likewise.
50185         * sysdeps/ia64/dl-machine.h: Likewise.
50186         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
50187         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
50188         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
50189         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
50190         * sysdeps/sh/dl-machine.h: Likewise.
50191         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
50192         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
50193         * sysdeps/unix/i386/sysdep.S: Likewise.
50194         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
50195         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
50196         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
50197         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
50198         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
50199         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
50200         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
50201         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
50202         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
50203         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
50204         * sysdeps/unix/x86_64/sysdep.S: Likewise.
50205         * sysdeps/x86_64/dl-machine.h: Likewise.
50206         * tls.make.c: Likewise.
50207
50208         * configure.in: Remove --with-__thread option.  Make tests for
50209         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
50210         tls_model attribute fail if no support is available.  Remove
50211         USE_IN_LIBIO.
50212         * Makeconfig: Adjust for dropped configure option.  All features are
50213         now mandatory.
50214         * Makerules: Likewise.
50215         * Versions.def: Likewise.
50216         * argp/argp-fmtstream.c: Likewise.
50217         * argp/argp-fmtstream.h: Likewise.
50218         * argp/argp-help.c: Likewise.
50219         * assert/assert.c: Likewise.
50220         * config.h.in: Likewise.
50221         * config.make.in: Likewise.
50222         * configure: Likewise.
50223         * configure.in: Likewise.
50224         * csu/Versions: Likewise.
50225         * csu/init.c: Likewise.
50226         * elf/tst-audit2.c: Likewise.
50227         * elf/tst-tls10.c: Likewise.
50228         * elf/tst-tls10.h: Likewise.
50229         * elf/tst-tls11.c: Likewise.
50230         * elf/tst-tls12.c: Likewise.
50231         * elf/tst-tls14.c: Likewise.
50232         * elf/tst-tlsmod11.c: Likewise.
50233         * elf/tst-tlsmod12.c: Likewise.
50234         * elf/tst-tlsmod13.c: Likewise.
50235         * elf/tst-tlsmod13a.c: Likewise.
50236         * elf/tst-tlsmod14a.c: Likewise.
50237         * elf/tst-tlsmod15b.c: Likewise.
50238         * elf/tst-tlsmod16a.c: Likewise.
50239         * elf/tst-tlsmod16b.c: Likewise.
50240         * elf/tst-tlsmod7.c: Likewise.
50241         * elf/tst-tlsmod8.c: Likewise.
50242         * elf/tst-tlsmod9.c: Likewise.
50243         * gmon/gmon.c: Likewise.
50244         * grp/fgetgrent_r.c: Likewise.
50245         * grp/putgrent.c: Likewise.
50246         * hurd/fopenport.c: Likewise.
50247         * include/libc-symbols.h: Likewise.
50248         * include/tls.h: Likewise.
50249         * intl/gettextP.h: Likewise.
50250         * intl/loadinfo.h: Likewise.
50251         * locale/global-locale.c: Likewise.
50252         * locale/localeinfo.h: Likewise.
50253         * mach/devstream.c: Likewise.
50254         * malloc/arena.c: Likewise.
50255         * malloc/set-freeres.c: Likewise.
50256         * misc/err.c: Likewise.
50257         * misc/getttyent.c: Likewise.
50258         * misc/mntent_r.c: Likewise.
50259         * posix/getopt.c: Likewise.
50260         * posix/wordexp.c: Likewise.
50261         * pwd/fgetpwent_r.c: Likewise.
50262         * resolv/Versions: Likewise.
50263         * resolv/res_hconf.c: Likewise.
50264         * shadow/fgetspent_r.c: Likewise.
50265         * shadow/putspent.c: Likewise.
50266         * stdio-common/printf_fphex.c: Likewise.
50267         * stdio-common/tmpfile.c: Likewise.
50268         * stdlib/abort.c: Likewise.
50269         * stdlib/fmtmsg.c: Likewise.
50270         * sunrpc/auth_unix.c: Likewise.
50271         * sunrpc/clnt_perr.c: Likewise.
50272         * sunrpc/clnt_tcp.c: Likewise.
50273         * sunrpc/clnt_udp.c: Likewise.
50274         * sunrpc/clnt_unix.c: Likewise.
50275         * sunrpc/openchild.c: Likewise.
50276         * sunrpc/svc_simple.c: Likewise.
50277         * sunrpc/svc_tcp.c: Likewise.
50278         * sunrpc/svc_udp.c: Likewise.
50279         * sunrpc/svc_unix.c: Likewise.
50280         * sunrpc/xdr.c: Likewise.
50281         * sunrpc/xdr_array.c: Likewise.
50282         * sunrpc/xdr_rec.c: Likewise.
50283         * sunrpc/xdr_ref.c: Likewise.
50284         * sunrpc/xdr_stdio.c: Likewise.
50285
50286 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
50287
50288         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
50289
50290 2011-07-03  Andreas Jaeger  <aj@suse.de>
50291
50292         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
50293         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
50294         regenerate with gen-libm-tests.pl.
50295
50296 2010-05-12  Petr Baudis  <pasky@suse.cz>
50297
50298         [BZ #11589]
50299         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
50300         around j0() zero points by switching to j1().
50301         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
50302         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
50303         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
50304         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
50305
50306 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
50307
50308         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
50309         instead of 0.
50310         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
50311         instead of 0.
50312         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
50313         Patch in part by Pavel Roskin <proski@gnu.org>.
50314
50315         [BZ #13138]
50316         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
50317         realloc.
50318         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
50319         Free memory block if necessary.
50320
50321         [BZ #12847]
50322         * libio/genops.c (INTDEF): For string streams the _lock pointer can
50323         be NULL.  Don't lock in this case.
50324
50325 2011-09-09  Roland McGrath  <roland@hack.frob.com>
50326
50327         * elf/elf.h (ELFOSABI_GNU): New macro.
50328         (ELFOSABI_LINUX): Define to that.
50329
50330 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
50331
50332         * string/strncat.c (strncat): Undef the symbol in case it has been
50333         defined in bits/string.h.
50334
50335 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
50336
50337         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
50338
50339         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
50340         link map.
50341
50342 2011-08-17  Andreas Jaeger  <aj@suse.de>
50343
50344         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
50345
50346 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
50347             Ian Lance Taylor  <iant@google.com>
50348
50349         * math/libm-test.inc (lround_test): New testcase.
50350         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
50351
50352 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
50353
50354         * Makefile: Remove support for automatic cvs check-ins.
50355         * Makerules: Likewise.
50356         * config.make.in: Likewise.
50357         * configure.in: Likewise.
50358         * intl/Makefile: Likewise.
50359         * locale/Makefile: Likewise.
50360         * po/Makefile: Likewise.
50361         * posix/Makefile: Likewise.
50362         * sysdeps/gnu/Makefile: Likewise.
50363         * sysdeps/mach/hurd/Makefile: Likewise.
50364         * sysdeps/sparc/sparc32/Makefile: Likewise.
50365
50366         [BZ #13118]
50367         * posix/Makefile (bug-regex32-ENV): Define.
50368         Patch by John Stanley <jpsinthemix@verizon.net>.
50369
50370         * misc/Makefile (headers): Add bits/select2.h.
50371         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
50372         * misc/bits/select2.h: New file.
50373         * include/bits/select2.h: New file.
50374         * debug/Makefile (routines): Add fdelt_chk.
50375         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
50376         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
50377         FD_ISSET.
50378         * debug/fdelt_chk.c: New file.
50379
50380         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
50381         * wcsmbs/test-wmemcmp.c: Likewise.
50382         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
50383         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
50384
50385 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
50386
50387         * string/Makefile (strop-tests): Add memcmp.
50388         * string/test-wmemcmp.c: New file.
50389         * string/test-memcmp.c: Add wmemcmp support.
50390
50391 2011-09-08  Roland McGrath  <roland@hack.frob.com>
50392
50393         [BZ #13153]
50394         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
50395         2011-07-19 change.
50396
50397         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
50398         garbage value in a __mach_port_mod_refs call in the cases of the
50399         task-self and thread-self ports.
50400
50401 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
50402
50403         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
50404
50405 2011-09-08  Andreas Schwab  <schwab@redhat.com>
50406
50407         * elf/dl-load.c (lose): Check for non-null L.
50408
50409 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
50410
50411         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
50412
50413         * elf/dl-libc.c (dlerror_run): Pass back error code from
50414         dl_catch_error.
50415
50416         [BZ #13123]
50417         * elf/dl-load.c (lose): Free l_origin if it is valid.
50418
50419         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
50420         names.
50421         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
50422         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
50423         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
50424         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
50425         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
50426         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
50427
50428 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50429
50430         * sysdeps/powerpc/fpu/e_hypot.c: New file.
50431         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
50432         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
50433         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
50434         * sysdeps/powerpc/fpu/k_cosf.c: New file.
50435         * sysdeps/powerpc/fpu/k_sinf.c: New file.
50436         * sysdeps/powerpc/fpu/s_cosf.c: New file.
50437         * sysdeps/powerpc/fpu/s_sinf.c: New file.
50438         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
50439         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
50440
50441 2011-08-15  Alan Modra  <amodra@gmail.com>
50442
50443         [BZ #13092]
50444         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
50445         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
50446         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
50447         ppc_mcount to static-only-routines.
50448         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
50449         __mcount_internal.
50450         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
50451         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
50452
50453 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
50454
50455         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
50456         for finite and infinity parameters.
50457
50458 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
50459
50460         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
50461         and add nop instructions for throughput optimization.
50462         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
50463
50464 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
50465
50466         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
50467         aligned copy for power7 with vector-scalar instructions.
50468         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
50469
50470 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
50471
50472         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
50473         AVX check.
50474
50475 2011-09-07  Andreas Schwab  <schwab@redhat.com>
50476
50477         [BZ #13144]
50478         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
50479         last change.
50480
50481 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
50482
50483         * sysdeps/unix/sysv/linux/x86_64/init-first.c
50484         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
50485         syscall wrapper around clock_gettime in __vdso_clock_gettime.
50486         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
50487         clock_gettime.
50488
50489 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
50490
50491         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
50492         Forgot to demangle the pointer.
50493
50494         * sysdeps/i386/sysdep.h: Define atom_text_section.
50495         * sysdeps/x86_64/sysdep.h: Likewise.
50496         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
50497         section with atom_text_section.
50498         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
50499         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
50500         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
50501         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
50502         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
50503
50504         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
50505         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
50506         already be defined.  Change to take two parameters and don't assign
50507         result to variable.  Adjust all users.
50508         Define INTERNAL_GETTIME if not already defined.
50509         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
50510         call.
50511         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
50512         HAVE_CLOCK_GETTIME_VSYSCALL.
50513         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
50514
50515         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
50516         gettimeofday vsyscall, just use time.
50517
50518 2011-09-06  Andreas Schwab  <schwab@redhat.com>
50519
50520         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
50521         <errno.h>.
50522
50523 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
50524
50525         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
50526         syscall on x86-64.
50527         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
50528         syscall.
50529         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
50530         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
50531         syscall if possible.
50532
50533 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
50534
50535         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
50536         e_ident.  Don't pass to find_mapsXX.
50537         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
50538
50539 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
50540
50541         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
50542         strchr-sse2-no-bsf strrchr-sse2-no-bsf
50543         * sysdeps/x86_64/multiarch/strchr.S: Update.
50544         Check bit_slow_BSF bit.
50545         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
50546         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
50547         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
50548
50549 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
50550
50551         [BZ #13134]
50552         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
50553         before glibc 2.15.
50554         (tryshell): Define.
50555         (__spawni): Change last parameter to be flag.  Test
50556         SPAWN_XFLAGS_USE_PATH flag to use path or not.
50557         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
50558         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
50559         * posix/spawni.c: Likewise.
50560         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
50561         * posix/spawnp.c: Likewise.  Change normal version to use
50562         SPAWN_XFLAGS_USE_PATH.
50563         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
50564         SPAWN_XFLAGS_TRY_SHELL.
50565
50566         [BZ #13150]
50567         * posix/glob.h: Remove gcc 1.x support.
50568
50569         [BZ #13068]
50570         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
50571
50572 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
50573
50574         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
50575         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
50576         strrchr-sse2-bsf
50577         * sysdeps/i386/i686/multiarch/strchr.S: New file.
50578         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
50579         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
50580         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
50581         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
50582         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
50583
50584 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
50585
50586         * sysdeps/x86_64/wcscmp.S: New file.
50587
50588         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
50589         wcscmp-c wcscmp-sse2
50590         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
50591         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
50592         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
50593         * wcsmbs/wcscmp.c: Allow renaming.
50594
50595 2011-09-05  David S. Miller  <davem@davemloft.net>
50596
50597         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
50598         stack slot, rather than the struct return pointer slot.
50599         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
50600         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
50601         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
50602         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
50603
50604 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
50605
50606         * po/ja.po: Update from translation team.
50607
50608         [BZ #13144]
50609         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
50610         kernel in 64-bit binaries.
50611
50612 2011-09-01  David S. Miller  <davem@davemloft.net>
50613
50614         * elf/elf.h (HWCAP_SPARC_*): Move to..
50615         * sysdeps/sparc/sysdep.h: this new file and add new values.
50616         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
50617         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
50618         _DL_HWCAP_COUNT to 24.
50619         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
50620         entries.
50621         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
50622         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
50623         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
50624         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
50625         instead of magic constants.
50626         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
50627
50628 2011-08-31  David S. Miller  <davem@davemloft.net>
50629
50630         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
50631         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
50632         Reimplement to do errno handling inline.
50633         (SYSCALL_ERROR_HANDLER): New macro.
50634         (__SYSCALL_STRING): Do not do errno handling in asm.
50635         (__CLONE_SYSCALL_STRING): Delete.
50636         (__INTERNAL_SYSCALL_STRING): Delete.
50637         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
50638         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
50639         (PSEUDO): Reimplement to do errno handling inline.
50640         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
50641         (SYSCALL_ERROR_HANDLER): New macro.
50642         (__SYSCALL_STRING): Do not do errno handling in asm.
50643         (__CLONE_SYSCALL_STRING): Delete.
50644         (__INTERNAL_SYSCALL_STRING): Delete.
50645         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
50646         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
50647         i386.
50648         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
50649         (inline_syscall*): Add 'err' argument.
50650         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
50651         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
50652         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
50653         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
50654
50655         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
50656         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
50657
50658 2011-08-30  Andreas Schwab  <schwab@redhat.com>
50659
50660         * elf/rtld.c (dl_main): Relocate objects in dependency order.
50661
50662 2011-08-29  Jiri Olsa <jolsa@redhat.com>
50663
50664         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
50665         directive.
50666
50667 2011-08-24  David S. Miller  <davem@davemloft.net>
50668
50669         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
50670
50671 2011-08-24  Andreas Schwab  <schwab@redhat.com>
50672
50673         * elf/Makefile: Add rules to build and run unload8 test.
50674         * elf/unload8.c: New file.
50675         * elf/unload8mod1.c: New file.
50676         * elf/unload8mod1x.c: New file.
50677         * elf/unload8mod2.c: New file.
50678         * elf/unload8mod3.c: New file.
50679
50680         * elf/dl-close.c (_dl_close_worker): Reset private search list if
50681         it wasn't used.
50682
50683 2011-08-23  David S. Miller  <davem@davemloft.net>
50684
50685         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
50686         subtract stack bias.
50687         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
50688         %sp not %fp in calculations.
50689         (_JMPBUF_UNWINDS_ADJ): Likewise.
50690
50691         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
50692         (aio_suspend): Call it to force an exception region around the
50693         AIO_MISC_WAIT() invocation.
50694
50695 2011-08-23  Andreas Schwab  <schwab@redhat.com>
50696
50697         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
50698         backslash.
50699
50700 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
50701
50702         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
50703         protection macro.
50704         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
50705         and <dl-machine.h>.
50706         (Elf64_FuncDesc): Remove.
50707
50708 2011-08-22  David S. Miller  <davem@davemloft.net>
50709
50710         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
50711         sigaltstack check, add missing cfi directives.
50712         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
50713         missing cfi directives, and sigaltstack handling.
50714
50715 2011-08-16  Andreas Schwab  <schwab@redhat.com>
50716
50717         [BZ #11724]
50718         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
50719         object is seen twice.
50720         * elf/dl-fini.c (_dl_sort_fini): Likewise.
50721
50722         * elf/Makefile (distribute): Add tst-initorder2.c.
50723         (tests): Add tst-initorder2.
50724         (modules-names): Add tst-initorder2a tst-initorder2b
50725         tst-initorder2c tst-initorder2d.  Add rules to build them.
50726         ($(objpfx)tst-initorder2.out): New rule.
50727         * elf/tst-initorder2.c: New file.
50728         * elf/tst-initorder2.exp: New file.
50729
50730 2011-08-22  Andreas Schwab  <schwab@redhat.com>
50731
50732         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
50733
50734         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
50735         dependencies back to end of function.
50736
50737         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
50738         $(elfobjdir)/ld.so.
50739
50740 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
50741
50742         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
50743         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
50744         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
50745         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
50746         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
50747         of __vdso_gettimeofday.
50748         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
50749         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
50750         attribute_hidden.
50751         (_libc_vdso_platform_setup): Remove initialization of
50752         __vdso_gettimeofday and __vdso_time.
50753
50754 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
50755
50756         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
50757         and fgetc_unlocked.
50758         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
50759         getc_unlocked.
50760
50761         * elf/dl-open.c (add_to_global): Report additions to the global scope
50762         for LD_DEBUG=scopes.
50763         (dl_open_worker): Also print scope of newly loaded dependencies.
50764         (_dl_show_scope): Indicate if there is no scope.
50765
50766         [BZ #13114]
50767         * stdio-common/Makefile (tests): Add bug24.
50768         * stdio-common/bug24.c: New file.
50769
50770 2011-08-19  Andreas Jaeger  <aj@suse.de>
50771
50772         [BZ #13114]
50773         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
50774         non-existant file when using close-on-exec mode.
50775
50776 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
50777
50778         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
50779         the very first instruction.
50780
50781         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
50782         the CFI state in the end.
50783         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
50784         inclusion of dl-trampoline.h.
50785         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
50786
50787 2011-08-19  Andreas Schwab  <schwab@redhat.com>
50788
50789         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
50790         expectations for long double.
50791
50792         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
50793         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
50794
50795 2011-08-14  David S. Miller  <davem@davemloft.net>
50796
50797         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
50798         artificual limit depends upon the system page size.
50799
50800 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
50801
50802         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
50803         * resolv/Makefile: Define CFLAGS-libresolv.
50804
50805 2011-08-17  Andreas Schwab  <schwab@redhat.com>
50806
50807         * nss/makedb.c (compute_tables): Make variables used in nested
50808         function static.
50809
50810 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
50811
50812         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
50813         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
50814         if buffer was too small.
50815
50816         * elf/pldd.c (main): Attach to all threads in the process.
50817         Rewrite /proc handling to use *at functions.
50818
50819 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
50820
50821         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
50822         specifies first scope to show.
50823         (dl_open_worker): Update callers.  Move printing scope of new
50824         object to before the relocation.
50825         * elf/rtld.c (dl_main): Update _dl_show_scope call.
50826         * sysdeps/generic/ldsodefs.h: Update declaration.
50827
50828         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
50829         string for the scope number.
50830
50831 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
50832
50833         * nscd/servicescache.c (cache_addserv): Make sure written is always
50834         initialized.
50835
50836 2011-08-14  Roland McGrath  <roland@hack.frob.com>
50837
50838         * sysdeps/i386/i486/bits/atomic.h
50839         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
50840         statement expression, so as to suppress "set but not used" warning.
50841         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
50842
50843         * string/strncat.c (STRNCAT): Use prototype definition.
50844
50845         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
50846         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
50847         -Iprograms here.
50848         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
50849         (localedef-modules): Add localedef.
50850         (locale-modules): Add locale.
50851
50852         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
50853         * elf/rtld.c (dl_main): Invert order of assignment in last change,
50854         to avoid a warning.
50855
50856 2011-08-14  David S. Miller  <davem@davemloft.net>
50857
50858         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
50859         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
50860
50861 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
50862
50863         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
50864         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
50865         * elf/rtld.c (dl_main): Set l_name of vDSO.
50866         Call _dl_show_scope when DL_DEBUG_SCOPES.
50867         (process_dl_debug): Recognize scopes flag and also set it for all.
50868         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
50869         Declare _dl_show_scope.
50870
50871         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
50872         (do_dlopen): Pass caller_dlopen to dl_open.
50873         (__libc_dlopen_mode): Initialize caller_dlopen.
50874
50875         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
50876         of libc.  Make tolower call locale-independent.  Optimize a bit by
50877         using isdigit instead of isalnum.
50878         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
50879
50880 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
50881
50882         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
50883         was a dependency or dynamically loaded.
50884
50885 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
50886
50887         * intl/l10nflist.c: Allow architecture-specific pop function.
50888         * sysdeps/x86_64/l10nflist.c: New file.
50889
50890         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
50891         classification.
50892
50893 2011-08-10  Andreas Schwab  <schwab@redhat.com>
50894
50895         * include/dirent.h: Add libc_hidden_proto for scandirat and
50896         scandirat64.  Don't declare __scandirat64.
50897         * dirent/scandirat.c: Add libc_hidden_def.
50898         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
50899         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
50900
50901 2011-08-10  David S. Miller  <davem@davemloft.net>
50902
50903         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
50904         enum.
50905         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
50906         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
50907         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
50908
50909 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
50910
50911         * Versions.def [libc]: Add GLIBC_2.15.
50912         * dirent/Makefile (routines): Add scandirat and scandirat64.
50913         * dirent/Versions [libc]: Export scandirat and scandirat64 for
50914         GLIBC_2.15.
50915         * dirent/dirent.h: Declare scandirat and scandirat64.
50916         * dirent/scandirat.c: New file.
50917         * dirent/scandirat64.c: New file.
50918         * sysdeps/wordsize-64/scandirat.c: New file.
50919         * sysdeps/wordsize-64/scandirat64.c: New file.
50920         * dirent/opendir.c: Define opendirat.
50921         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
50922         using scandirat.
50923         * dirent/scandir64.c: Adjust for scandir.c change.
50924         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
50925         __scandirat64, and __scandir_cancel_handler.
50926         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
50927         additional parameter and use openat instead of open (outside of ld.so).
50928         Add new __opendir as wrapper around __opendirat.
50929         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
50930         here without requiring old scandirat implementation.
50931
50932 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
50933
50934         * dirent/scandir.c (cancel_handler): Renamed to
50935         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
50936         defined.  Adjust users.
50937         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
50938         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
50939
50940 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
50941
50942         * string/test-string.h (IMPL): Use __STRING to expand name and then
50943         stringify it.
50944
50945         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
50946         of cleanups.
50947
50948 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
50949
50950         * string/Makefile: Update.
50951         (strop-tests): Append strncat.
50952         * string/test-wcscmp.c: New file.
50953         New comprehensive test for wcscmp.
50954         * string/test-strcmp.c: Update.
50955         (WIDE): New define.
50956
50957 2011-07-22  Andreas Schwab  <schwab@redhat.com>
50958
50959         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
50960         line.
50961
50962 2011-07-26  Andreas Schwab  <schwab@redhat.com>
50963
50964         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
50965         encoding to ACE if AI_IDN.
50966
50967 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
50968
50969         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
50970         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
50971
50972 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
50973
50974         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
50975         Fix overflow bug in strncat.
50976         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
50977
50978         * string/test-strncat.c: Update.
50979         Add new tests for checking overflow bugs.
50980
50981 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
50982
50983         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
50984         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
50985         * sysdeps/i386/i686/multiarch/strcat.S: New file.
50986         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
50987         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
50988         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
50989         * sysdeps/i386/i686/multiarch/strncat.S: New file.
50990         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
50991         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
50992
50993         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
50994         (USE_AS_STRCAT): Define.
50995         Add strcat and strncat support.
50996         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
50997
50998 2011-07-25  Andreas Schwab  <schwab@redhat.com>
50999
51000         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
51001         __n bigger than INT_MAX+1.
51002         (__strncmp_g): Likewise.
51003
51004 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
51005
51006         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
51007         * libio/stido.h: Likewise.
51008
51009         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
51010         (AF_NFC): Define.
51011         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
51012         (AF_NFC): Define.
51013
51014         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
51015         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
51016         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
51017         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
51018         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
51019
51020         [BZ #13021]
51021         * scripts/test-installation.pl: Don't expect libnss_test1 to be
51022         installed.
51023
51024         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
51025         typo.
51026         (_dl_x86_64_save_sse): Likewise.
51027
51028 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
51029
51030         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
51031         OSXSAVE.
51032         (_dl_x86_64_save_sse): Likewise.
51033
51034         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
51035
51036         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
51037
51038 2011-07-21  Andreas Schwab  <schwab@redhat.com>
51039
51040         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
51041         change.
51042         (_dl_x86_64_save_sse): Use correct AVX check.
51043
51044 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
51045
51046         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
51047         bug in strncpy/strncat.
51048         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
51049
51050 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
51051
51052         * string/tester.c (test_strcat): Add tests for different alignments
51053         of source and destination.
51054         (test_strncat): Likewise.
51055
51056 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
51057
51058         [BZ #12852]
51059         * posix/glob.c (glob): Check passed in values before using them in
51060         expressions to avoid some overflows.
51061         (glob_in_dir): Likewise.
51062
51063         [BZ #13007]
51064         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
51065         check for AVX enablement so that we don't crash with old kernels and
51066         new hardware.
51067         * elf/tst-audit4.c: Add same checks here.
51068         * elf/tst-audit6.c: Likewise.
51069
51070         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
51071
51072 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
51073
51074         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
51075
51076 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
51077
51078         * po/cs.po: Update from translation team.
51079         * po/bg.po: Likewise.
51080
51081 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
51082
51083         * misc/sys/cdefs.h: Add support for const attribute.
51084         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
51085         to gnu_dev_{major,minor,makedev} functions.
51086
51087 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
51088
51089         * intl/dcigettext.c (get_output_charset): Add missing bracket.
51090
51091 2011-07-20  Andreas Schwab  <schwab@redhat.com>
51092
51093         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
51094         strlen results.
51095
51096 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
51097
51098         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
51099         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
51100         register in order to avoid conflicts with the soft frame pointer
51101         being held in r11 when necessary.
51102         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
51103         (INTERNAL_VSYSCALL_NCS): Likewise.
51104
51105 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
51106
51107         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
51108         * elf/dl-fini.c (_dl_fini): Adjust caller.
51109         * elf/dl-close.c (_dl_close_worker): Likewise.
51110         * sysdeps/generic/ldsodefs.h: Adjust declaration.
51111
51112 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
51113
51114         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
51115         "aux_cache->nlibs < 0".
51116
51117         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
51118         in the reload-count case.
51119
51120 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
51121
51122         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
51123         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
51124         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
51125         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
51126         * sysdeps/x86_64/multiarch/strcat.S: New file.
51127         * sysdeps/x86_64/multiarch/strncat.S: New file.
51128         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
51129         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
51130         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
51131         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
51132         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
51133         (USE_AS_STRCAT): Define.
51134         Add strcat and strncat support.
51135         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
51136         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
51137         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
51138         * string/strncat.c: Update.
51139         (USE_AS_STRNCAT): Define.
51140         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
51141         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
51142         and i7.
51143         * sysdeps/x86_64/multiarch/init-arch.h
51144         (bit_Prefer_PMINUB_for_stringop): New.
51145         (index_Prefer_PMINUB_for_stringop): Likewise.
51146         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
51147         bit_Prefer_PMINUB_for_stringop.
51148
51149 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
51150
51151         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
51152         buffer64.
51153         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
51154         of casting of buffer.
51155         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
51156         buffer32 and buffer64.
51157         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
51158         writes instead of casting of buffer.
51159         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
51160         buffer32.
51161         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
51162         casting of buffer.
51163
51164 2011-07-19  Andreas Schwab  <schwab@redhat.com>
51165
51166         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
51167
51168 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
51169
51170         * nscd/nscd.c (termination_handler): Don't do anything for a database
51171         if it has not yet been initialized.
51172
51173 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
51174
51175         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
51176
51177 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
51178
51179         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
51180
51181 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
51182
51183         * po/nl.po: Update from translation team.
51184         * po/sv.po: Likewise.
51185
51186 2011-07-16  Roland McGrath  <roland@hack.frob.com>
51187
51188         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
51189         now disallowed by GCC.
51190
51191         * configure.in (use-default-link): Default to yes if a test -shared
51192         link meets our qualifications.
51193         * configure: Regenerated.
51194
51195         * config.make.in (output-format): New variable.
51196         * configure.in: Check for ld --print-output-format support.
51197         * configure: Regenerated.
51198         * Makerules ($(common-objpfx)format.lds)
51199         [$(output-format) != unknown]: Just use $(output-format),
51200         instead of the linker-script munging.
51201
51202 2011-07-14  Roland McGrath  <roland@hack.frob.com>
51203
51204         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
51205         of $(common-objpfx)shlib.lds.
51206         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
51207
51208         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
51209         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
51210
51211         * configure.in (-z relro check): Adjust test code to add a large
51212         writable data section after it.
51213         * configure: Regenerated.
51214
51215 2011-07-11  Roland McGrath  <roland@hack.frob.com>
51216
51217         * configure.in (-z relro check): Fix test code to make the variable
51218         truly const.
51219         * configure: Regenerated.
51220
51221 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
51222
51223         * nscd/nscd.h (struct traced_file): Define.
51224         (struct database_dyn): Remove inotify_descr, reset_res, and filename
51225         elements.  Add traced_files.
51226         (inotify_fd): Declare.
51227         (register_traced_file): Declare.
51228         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
51229         (inotify_fd): Export.
51230         (resolv_conf_descr): Remove.
51231         (nscd_init): Move inotify descriptor creation to main.
51232         Don't register files for notification here.
51233         (register_traced_file): New function.
51234         (invalidate_cache): Don't use reset_res to determine whether to call
51235         res_init, go through the list of registered files.
51236         (main_loop_poll): The inotify descriptors are now stored in the
51237         structures for the traced files.
51238         (main_loop_epoll): Likewise
51239         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
51240         to __nss_disable_nscd.
51241         * nscd/cache.c (prune_cache): There is no single inotify descriptor
51242         for a database anymore.  Check the records for all the registered
51243         files instead.
51244         * nss/Makefile (libnss_files-routines): Add files-init.
51245         (libnss_db-routines): Add db-init.
51246         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
51247         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
51248         * nss/nss_db/db-init.c: New file.
51249         * nss/nss_files/files-init.c: New file.
51250         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
51251         __nss_lookup_function.
51252         (__nss_lookup_function): Call nss_load_library.
51253         (nss_load_all_libraries): New function.
51254         (__nss_disable_nscd): Take parameter with callback function for files
51255         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
51256         used for the cached services.
51257         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
51258         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
51259         options for features to all the files in nscd.
51260
51261         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
51262
51263 2011-07-10  Roland McGrath  <roland@hack.frob.com>
51264
51265         * csu/elf-init.c (__libc_csu_init): Comment typo.
51266
51267 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
51268
51269         * po/pl.po: Update from translation team.
51270         * po/ja.po: Likewise.
51271         * po/ru.po: Likewise.
51272         * po/ko.po: Likewise.
51273         * po/fr.po: Likewise.
51274
51275 2011-07-09  Roland McGrath  <roland@hack.frob.com>
51276
51277         * configure.in (.ctors/.dtors header and trailer check):
51278         Use an empirical test on a built program.
51279         * configure: Regenerated.
51280
51281         * configure.in (-z relro check): Use an empirical test on a built DSO.
51282         Detect, but do not require, on ia64.
51283         * configure: Regenerated.
51284
51285         * configure.in (READELF): Find it with AC_CHECK_TOOL.
51286         Update tests that use readelf to use $READELF instead.
51287         * configure: Regenerated.
51288
51289 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
51290
51291         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
51292         if the result is not used.
51293
51294 2011-07-05  Andreas Jaeger  <aj@suse.de>
51295
51296         [BZ#9696]
51297         * stdlib/tst-strtod.c: Add testcase.
51298
51299 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
51300
51301         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
51302         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
51303         The latter has a higher limit.  Take additional parameter to pass to
51304         the new function.
51305         (__pathconf): Pass file to __statfs_link_max.
51306         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
51307         __statfs_link_max.
51308         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
51309         __statfs_link_max.
51310
51311         [BZ #12868]
51312         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
51313         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
51314         Handle Lustre.
51315         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
51316         (__statfs_filesize_max): Likewise.
51317         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
51318
51319 2011-07-05  Andreas Jaeger  <aj@suse.de>
51320
51321         * resolv/res_comp.c (dn_skipname): Remove unused variable.
51322
51323 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
51324
51325         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
51326         `status' variable.
51327         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
51328         Likewise.
51329
51330 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
51331
51332         * Makefile (strop-tests): Add strncat.
51333         * string/test-strncat.c: New file.
51334
51335 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
51336
51337         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
51338
51339 2011-06-21  Andreas Jaeger  <aj@suse.de>
51340
51341         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
51342         Copy rule from iconvdata/Makefile.
51343
51344 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
51345
51346         [BZ #12922]
51347         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
51348         but no long options are defined, just return 'W'.
51349
51350 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
51351
51352         [BZ #9696]
51353         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
51354
51355 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
51356
51357         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
51358         netgroups to read.
51359         (innetgr): Likewise.
51360
51361 2011-07-05  Roland McGrath  <roland@hack.frob.com>
51362
51363         * config.make.in (install_root): Default to $(DESTDIR).
51364
51365 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
51366
51367         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
51368
51369 2011-07-02  Roland McGrath  <roland@hack.frob.com>
51370
51371         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
51372
51373         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
51374         containing directory rather than embedding absolute directory names.
51375
51376         * scripts/check-local-headers.sh: Rewritten using awk.
51377         Match by word, not by line.  Print error messages for matches.
51378         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
51379
51380         * Makerules [shlib-lds-flags empty]:
51381         ($(common-objpfx)libc_pic.opts): New target.
51382         ($(common-objpfx)libc_pic.os.clean): New target.
51383         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
51384
51385         * config.make.in (OBJCOPY): New variable.
51386         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
51387         * configure: Regenerated.
51388
51389         * config.make.in (use-default-link): New variable.
51390         * configure.in (use_default_link): Grok --with-default-link to set it.
51391         * configure: Regenerated.
51392         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
51393         (shlib-lds, shlib-lds-flags): Define to empty.
51394
51395         * Makerules (shlib-lds): New variable.
51396         (shlib-lds-flags): New variable.
51397         (build-shlib, build-moduile, build-module-asneeded): Use it.
51398         ($(common-objpfx)libc.so): Use $(shlib-lds).
51399         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
51400         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
51401
51402         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
51403         DT_FLAGS/DT_FLAGS_1 with zero flags.
51404
51405         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
51406         linker script munging.
51407
51408 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
51409
51410         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
51411         as 128-bit value.
51412         * crypt/sha512.c (sha512_process_block): Perform total addition using
51413         128-bit if possible.
51414         (__sha512_finish_ctx): Likewise.
51415         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
51416         as 64-bit value.
51417         * crypt/sha256.c (SWAP64): Define.
51418         (sha256_process_block): Perform total addition using 64-bit if
51419         possible.
51420         (__sha256_finish_ctx): Likewise.
51421
51422 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
51423
51424         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
51425         * nscd/initgrcache.c (addinitgroupsX): Likewise.
51426         * nscd/hstcache.c (cache_addhst): Likewise.
51427         * nscd/grpcache.c (cache_addgr): Likewise.
51428         * nscd/aicache.c (addhstaiX): Likewise
51429         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
51430
51431 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
51432
51433         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
51434         * nscd/initgrcache.c (addinitgroupsX): Likewise.
51435         * nscd/hstcache.c (cache_addhst): Likewise.
51436         * nscd/grpcache.c (cache_addgr): Likewise.
51437         * nscd/aicache.c (addhstaiX): Likewise
51438
51439 2011-07-01  Andreas Schwab  <schwab@redhat.com>
51440
51441         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
51442         domain only when needed.
51443
51444 2011-06-30  Andreas Schwab  <schwab@redhat.com>
51445
51446         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
51447         is always restored.
51448
51449 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
51450
51451         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
51452         are re-adding the entry.
51453         * nscd/servicescache.c (cache_addserv): Likewise.
51454
51455 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
51456
51457         * sysdeps/generic/dl-irel.h: fix protection against multiple
51458         inclusions.
51459         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
51460
51461 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
51462
51463         [BZ #12935]
51464         * malloc/memusage.sh: Fix quoting in message.
51465         * debug/xtrace.sh: Likewise.
51466
51467         * configure.in: Remove support for --experimental-malloc option, make
51468         it the default.
51469         * config.make.in: Likewise.
51470         * malloc/Makefile: Likewise.
51471
51472 2011-06-27  Andreas Schwab  <schwab@redhat.com>
51473
51474         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
51475         two-byte characters.
51476
51477 2011-06-27  Roland McGrath  <roland@hack.frob.com>
51478
51479         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
51480         AC_CACHE_CHECK invocation.
51481         * configure: Regenerated.
51482
51483         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
51484
51485 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
51486
51487         [BZ #12350]
51488         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
51489         bit from old_res_options.
51490
51491         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
51492
51493         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
51494         value type for setfct.
51495
51496 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
51497
51498         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
51499         __gettimeofday instead of gettimeofday.
51500
51501 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
51502
51503         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
51504
51505 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
51506
51507         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
51508
51509         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
51510         info.
51511
51512 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
51513
51514         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
51515         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
51516         strcpy-sse2-unaligned strncpy-sse2-unaligned
51517         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
51518         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
51519         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
51520         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
51521         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
51522         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
51523         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
51524         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
51525         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
51526         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
51527         (STRCPY): Support SSE2 and SSSE3 versions.
51528
51529 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
51530
51531         [BZ #12874]
51532         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
51533         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
51534         kernels which artificially limit size of requests.
51535
51536 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
51537
51538         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
51539         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
51540         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
51541         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
51542         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
51543         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
51544         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
51545         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
51546         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
51547         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
51548         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
51549         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
51550         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
51551         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
51552         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
51553         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
51554         Enable unaligned load optimization for Intel Core i3, i5 and i7
51555         processors.
51556         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
51557         Define.
51558         (index_Fast_Unaligned_Load): Define.
51559         (HAS_FAST_UNALIGNED_LOAD): Define.
51560
51561 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
51562
51563         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
51564
51565 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
51566
51567         [BZ #12907]
51568         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
51569         until it is clear that the information is realy needed.
51570         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
51571
51572 2011-06-22  Andreas Schwab  <schwab@redhat.com>
51573
51574         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
51575
51576 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
51577
51578         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
51579         /sys/devices/system/cpu/online if it is usable.
51580
51581         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
51582         reading the information from the /proc filesystem to once a second.
51583
51584 2011-06-21  Andreas Jaeger  <aj@suse.de>
51585
51586         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
51587         NULL after inclusion of kernel headers.
51588
51589 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
51590
51591         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
51592         calls to internal_setent.
51593
51594         [BZ #12885]
51595         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
51596         addresses using gethostbyname4_r ignore IPv4 addresses.
51597
51598         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
51599         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
51600
51601         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
51602
51603 2011-06-20  David S. Miller  <davem@davemloft.net>
51604
51605         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
51606         inclusions.
51607         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
51608
51609         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
51610         (elf_irel): Use it.
51611         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
51612         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
51613         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
51614         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
51615         * sysdeps/x86_64/dl-irel.h: Likewise.
51616
51617         * elf/dl-runtime.c: Use elf_ifunc_invoke.
51618         * elf/dl-sym.c: Likewise.
51619
51620 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
51621
51622         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
51623         need to dereference resplen2.
51624
51625 2011-06-14  Andreas Schwab  <schwab@redhat.com>
51626
51627         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
51628
51629 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
51630
51631         * Makeconfig: Define vardbdir and inst_vardbdir.
51632         * nss/Makefile: Add rules to install db-Makefile.
51633
51634         * nss/nss_db/db-XXX.c: Cleanup.
51635
51636         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
51637         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
51638         GLIBC_PRIVATE.
51639         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
51640         * nss/makedb.c: Implement -g option to specify that value strings
51641         are generated and should not be added to table iterated over for
51642         get*ent calls.
51643         * nss/nss_db/db-initgroups.c: New file.
51644
51645         * nss/getent.c: Add support for initgroups lookups through getgrouplist
51646         interface.
51647
51648         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
51649         (internal_getgrouplist): Adjust to name change.
51650         Update use_initgroups_entry if this is not the first call.
51651         * nss/databases.def: Add initgroups entry.
51652
51653         * nss/makedb.c (compute_tables): Check result of multiple hash table
51654         sizes to minimize maximum chain length.
51655
51656 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
51657
51658         * Versions.def: Add entry for libnss_db.
51659         * shlib-versions: Likewise.
51660         * nss/Makefile: Add rules to build libnss_db.
51661         * nss/Versions: Add libnss_db information.  Organize libnss_files
51662         entries better.
51663         * nss/db-Makefile: Add gshadow support.  Change rules for the new
51664         makedb progra.  Some minor improvements to generate smaller files.
51665         * nss/nss_db/nss_db.h: Move NSS database header data structures to
51666         here from...
51667         * nss/makedb.c: ...here.
51668         Improve database format to be smaller and require less memory at
51669         runtime.
51670         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
51671         db anymore.
51672         * nss/nss_db/db-netgrp.c: Likewise.
51673         * nss/nss_db/db-open.c: Likewise.
51674         * nss/nss_files/flies-XXX.x: Adjust comments.
51675         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
51676         * nss/nss_files/files-grp.c: Likewise.
51677         * nss/nss_files/files-hosts.c: Likewise.
51678         * nss/nss_files/files-network.c: Likewise.
51679         * nss/nss_files/files-proto.c: Likewise.
51680         * nss/nss_files/files-pwd.c: Likewise.
51681         * nss/nss_files/files-rpc.c: Likewise.
51682         * nss/nss_files/files-service.c: Likewise.
51683         * nss/nss_files/files-sgrp.c: Likewise.
51684         * nss/nss_files/files-spwd.c: Likewise.
51685         * nss/nss_db/db-alias.c: Removed.
51686         * nss/nss_db/dummy-db.h: Removed.
51687
51688 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
51689
51690         * nss/makedb.c: Rewritten to not use database library.
51691         * nss/Makefile: Update to build new makedb program.
51692
51693 2011-06-14  Andreas Jaeger  <aj@suse.de>
51694
51695         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
51696         memset declaration.
51697
51698 2011-06-10  Andreas Schwab  <schwab@redhat.com>
51699
51700         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
51701         tmpbuf.
51702
51703 2011-06-10  Roland McGrath  <roland@hack.frob.com>
51704
51705         * Makerules (shlib.lds): Fail if the linker script comes out empty.
51706         * elf/Makefile ($(objpfx)ld.so): Likewise.
51707
51708         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
51709         Don't list ld.so twice in dependencies.
51710
51711         * posix/bug-regex31.c: Include <stdlib.h>.
51712
51713         * nscd/hstcache.c (cache_addhst): Remove unused variable.
51714
51715         * nis/nss_compat/compat-spwd.c
51716         (getspent_next_nss_netgr): Remove unused variable.
51717         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
51718
51719         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
51720         nonmembers" output to use the right array.
51721
51722         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
51723
51724         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
51725
51726         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
51727         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
51728         * catgets/gencat.c (read_input_file): Likewise.
51729         * locale/programs/locarchive.c (enlarge_archive): Likewise.
51730
51731         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
51732         variable definition inside #if's controlling its use.
51733
51734         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
51735
51736         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
51737
51738         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
51739
51740         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
51741         unreachable code.
51742
51743         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
51744
51745         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
51746         * configure: Regenerated.
51747
51748         * Makerules: Revert last change.
51749         * elf/Makefile: Likewise.
51750
51751 2011-06-09  Roland McGrath  <roland@hack.frob.com>
51752
51753         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
51754         * elf/Makefile ($(objpfx)librtld.os): Likewise.
51755         (reloc-link): Likewise.
51756
51757 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
51758
51759         * elf/Makefile: Add rules to build pldd.
51760         * elf/pldd.c: New file.
51761         * elf/pldd-xx.c: New file.
51762
51763 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
51764
51765         * version.h: Update for 2.15 development version.
51766
51767 2011-06-07  David S. Miller  <davem@davemloft.net>
51768
51769         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
51770         ifuncs.
51771         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
51772         elf_machine_lazy_rel): Likewise.
51773         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
51774         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
51775         elf_machine_lazy_rel): Likewise.
51776         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
51777         dl_hwcap via passed in argument.
51778         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
51779         Likewise.
51780
51781 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
51782
51783         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
51784
51785 2011-06-06  Roland McGrath  <roland@hack.frob.com>
51786
51787         [BZ #12849]
51788         * manual/fdl-1.1.texi: New file, verbatim from:
51789         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
51790         * manual/lgpl-2.1.texi: New file, verbatim from:
51791         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
51792         * manual/Makefile (licenses): New variable, list those new file names.
51793         (texis): Use it.
51794         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
51795
51796         * manual/fdl.texi: File removed.
51797         * manual/lesser.texi: File removed.
51798         * manual/libc.texinfo (Copying, Documentation License):
51799         Use new @include file names, put @appendix directive before @include.
51800
51801 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
51802
51803         [BZ #12841]
51804         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
51805         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
51806         (mq_open): Add __NTH.
51807
51808 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
51809
51810         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
51811         Assume Intel Core i3/i5/i7 processor if AVX is available.
51812
51813 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
51814
51815         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
51816         typo.
51817
51818 2011-05-31  Andreas Schwab  <schwab@redhat.com>
51819
51820         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
51821         memory.  Use alloca_account.  Fix memory leak when retrying.
51822
51823 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
51824
51825         * version.h (RELEASE): Bump for 2.14 release.
51826         * include/features.h (__GLIBC_MINOR__): Bump to 14.
51827
51828         * config.make.in (RANLIB): Remove entry.
51829
51830 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
51831
51832         * po/Makefile (po-sed-cmd): Add ksh to extensions.
51833         (libc.pot): Work around missing support for .ksh extension in xgettext.
51834
51835         [BZ #12684]
51836         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
51837         if both request failed.
51838         (send_dg): In case of server errors clear resplen or *resplen2.
51839
51840         [BZ #12454]
51841         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
51842         when there are multiple maps.
51843         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
51844         (_dl_fini): Remove test here.
51845
51846         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
51847
51848 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
51849
51850         [BZ #12350]
51851         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
51852         bit from old_res_options.
51853         (gaih_inet): Likewise.
51854
51855         [BZ #11099]
51856         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
51857         as signed.
51858
51859         * resolv/res_init.c (res_setoptions): Make the code more compact.
51860
51861         [BZ #11558]
51862         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
51863         set RES_USEVC.
51864
51865         [BZ #11634]
51866         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
51867
51868         * malloc/malloc.h: Mark malloc hook variables as deprecated.
51869
51870         [BZ #11781]
51871         * malloc/malloc.h: Declare malloc hook variables as volatile.
51872
51873         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
51874         in last patch.
51875
51876         [BZ #11799]
51877         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
51878         raise in the comment.
51879         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
51880         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
51881         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
51882
51883 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
51884
51885         [BZ #12811]
51886         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
51887         grow the buffers more if it already has to be sufficient.
51888         (build_wcs_upper_buffer): Likewise.
51889         * posix/regexec.c (check_matching): Likewise.
51890         (clean_state_log_if_needed): Likewise.
51891         (extend_buffers): Don't enlarge buffers beyond size of the input
51892         buffer.
51893         Patches mostly by Emil Wojak <emil@wojak.eu>.
51894         * posix/bug-regex32.c: New file.
51895         * posix/Makefile (tests): Add bug-regex32.
51896
51897         * locale/findlocale.c (_nl_find_locale): Return right away if
51898         _nl_explode_name failed.
51899         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
51900
51901         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
51902
51903         * debug/xtrace.sh: Unify messages.
51904         * malloc/memusage.sh: Likewise.
51905
51906         [BZ #12813]
51907         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
51908         time symbol from vDSO.  Substitute with vsyscall if not available.
51909         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
51910         __vdso_time.
51911
51912         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
51913         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
51914         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
51915         Add sendmmsg and internal_sendmmsg.
51916         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
51917         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
51918         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
51919
51920         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
51921         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
51922         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
51923
51924 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
51925
51926         [BZ #12813]
51927         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
51928         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
51929         available.
51930         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
51931         __vdso_getcpu.
51932
51933         [BZ #12814]
51934         * iconvdata/Makefile (tests): Add bug-iconv9.
51935         * iconvdata/bug-iconv9.c: New file.
51936
51937 2011-05-27  Andreas Schwab  <schwab@redhat.com>
51938
51939         [BZ #12814]
51940         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
51941
51942 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
51943
51944         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
51945         (struct user_regs_struct): Change intcs field back to cs.
51946
51947 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
51948
51949         * po/ja.po: Update from translation team.
51950
51951 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
51952
51953         [BZ #12795]
51954         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
51955         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
51956
51957 2011-05-20  Andreas Schwab  <schwab@redhat.com>
51958
51959         * stdlib/longlong.h: Update from GCC.
51960
51961 2011-05-23  Andreas Schwab  <schwab@redhat.com>
51962
51963         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
51964         parameter name.
51965         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
51966         Add parameter name.
51967         (__sysconf): Pass it down.
51968
51969 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
51970
51971         [BZ #12671]
51972         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
51973         some situations.
51974         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
51975         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
51976         add in in __libc_use_alloca calls.  Adjust callers.
51977         (glob): Use malloc in some situations.
51978
51979         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
51980         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
51981         pltexit.
51982
51983 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
51984
51985         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
51986         and CLOCK_BOOTTIME_ALARM.
51987
51988         [BZ #12782]
51989         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
51990         is returned.
51991
51992         * string/_strerror.c (__strerror_r): Print negative errors as signed
51993         numbers.
51994
51995         [BZ #12777]
51996         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
51997         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
51998         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
51999
52000         * configure.in: Fix typo in redirection and correct removal of test
52001         files in two cases.
52002
52003         [BZ #12788]
52004         * locale/setlocale.c (new_composite_name): Fix test to check for
52005         identical name of all categories.
52006
52007         [BZ #12792]
52008         * libio/filedoalloc.c (local_isatty): New function.
52009         (_IO_file_doallocate): Use local_isatty.
52010         * stdio-common/perror.c (perror): In case a new stream is used
52011         forward the stream error.
52012         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
52013         error flag.
52014
52015 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
52016
52017         [BZ #11869]
52018         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
52019         alloca.
52020         * include/alloca.h (extend_alloca_account): Define.
52021
52022         [BZ #11857]
52023         * posix/regex.h: Fix comments with documentation of user-accessible
52024         fields after compilation and describe correct free'ing of pattern
52025         after re_compile_pattern.
52026         Patch by Reuben Thomas <rrt@sc3d.org>.
52027
52028 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
52029
52030         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
52031         and -mno-altivec to prevent the compiler from using Altivec and/or
52032         VSX instructions when the corresponding registers are not available.
52033
52034 2011-05-19  Andreas Schwab  <schwab@redhat.com>
52035
52036         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
52037
52038 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
52039
52040         * libio/freopen.c (freopen): Use __dup2, not dup2.
52041         * libio/freopen64.c (freopen64): Likewise.
52042
52043 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
52044
52045         [BZ #12775]
52046         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
52047         * math/Makefile (tests): Add test-powl.
52048         (CFLAGS-test-powl.c): Define.
52049         * math/test-powl.c: New file.
52050
52051 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
52052
52053         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
52054
52055 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
52056
52057         [BZ #11837]
52058         * iconvdata/gb18030.c: Update to GB18020-2005.
52059
52060 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
52061
52062         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
52063         RE_SYNTAX_POSIX_AWK): Update to match recent development.
52064         Patch by Aharon Robbins <arnold@skeeve.com>.
52065
52066         [BZ #11892]
52067         * stdlib/putenv.c (putenv): Don't always create copy of the variable
52068         on the stack.
52069
52070         [BZ #11895]
52071         * misc/pselect.c (__pselect): Handle timeout value errors hidden
52072         through underflows.
52073
52074         [BZ #12766]
52075         * misc/error.c (error_at_line): Ensure file_name and old_file_name
52076         point to strings before performing equality test for error_one_per_line
52077         mode.
52078
52079         [BZ #11697]
52080         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
52081
52082         [BZ #11820]
52083         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
52084         (struct user_fpregs_struct): Avoid __uint*_t types.
52085
52086         [BZ #6420]
52087         * malloc/mtrace.c (tr_where): Add additional parameter to point to
52088         symbol info.  Use it instead of calling _dl_addr locally.
52089         (lock_and_info): New function.
52090         (tr_freehook): Call lock_and_info and pass symbol info as additional
52091         parameter to tr_where.
52092         (tr_mallochook): Likewise.
52093         (tr_reallochook): Likewise.
52094         (tr_memalignhook): Likewise.
52095
52096         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
52097         used and couldn't be at all thread-safe.
52098
52099 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
52100
52101         * libio/freopen.c (freopen): Don't close old file descriptor
52102         before the new one is opened.  Instead dup the new file descriptor
52103         to the old one after the new stream is created.
52104         * libio/freopen64.c (freopen64): Likewise.
52105         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
52106         * libio/fileops.c (_IO_new_file_close_it): Handle new
52107         _IO_FLAGS2_NOCLOSE flag.
52108         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
52109         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
52110         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
52111         _IO_FLAGS2_NOCLOSE flag.
52112         * include/unistd.h: Add hidden_proto for dup3.
52113         Define __have_dup3.
52114         * io/dup3.c: Define hidden symbol.
52115         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
52116
52117         [BZ #7101]
52118         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
52119         when an incomplete long option is used.
52120         * posix/tst-getopt_long1.c: New file.
52121         * posix/Makefile (tests): Add tst-getopt_long1.
52122
52123         [BZ #10138]
52124         * scripts/config.guess: Update from autoconf-2.68.
52125         * scripts/config.sub: Likewise.
52126
52127         [BZ #10157]
52128         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
52129         tests into ...
52130         (has_cpuclock): ...this.  New function.
52131         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
52132         macro here based on has_cpuclock code.
52133
52134         [BZ #10149]
52135         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
52136         First byte (not low byte) is now always NUL.
52137         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
52138
52139         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
52140         Use non-cancelable interfaces.
52141
52142         [BZ #9809]
52143         * locale/iso-639.def: Add entry for Sorani.
52144
52145         [BZ #11901]
52146         * include/stdlib.h: Move include protection to the right place.
52147         Define abort_msg_s.  Declare __abort_msg with it.
52148         * stdlib/abort.c (__abort_msg): Adjust type.
52149         * assert/assert.c (__assert_fail_base): New function.  Majority
52150         of code from __assert_fail.  Allocate memory for __abort_msg with
52151         mmap.
52152         (__assert_fail): Now call __assert_fail_base.
52153         * assert/assert-perr.c: Remove bulk of implementation.  Use
52154         __assert_fail_base.
52155         * include/assert.hL Declare __assert_fail_base.
52156         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
52157         mmap.
52158         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
52159
52160 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
52161
52162         [BZ #11952]
52163         [BZ #12453]
52164         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
52165         until all modules are registered in the DTV.
52166         * elf/Makefile: Add rules to build and run tst-tls19.
52167         * elf/tst-tls19.c: New file.
52168         * elf/tst-tls19mod1.c: New file.
52169         * elf/tst-tls19mod2.c: New file.
52170         * elf/tst-tls19mod3.c: New file.
52171         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
52172
52173         [BZ #12083]
52174         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
52175         correctly.
52176
52177         [BZ #12601]
52178         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
52179         two-byte sequence errors.
52180         * iconvdata/Makefile (tests): Add bug-iconv8.
52181         * iconvdata/bug-iconv8.c: New file.
52182
52183         [BZ #12626]
52184         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
52185         buf2 definition.
52186
52187         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
52188
52189         [BZ #12432]
52190         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
52191         (dummy_getcfa): New function.
52192         (init): Get _Unwind_GetCFA address, use dummy if not found.
52193         (backtrace_helper): In recursion check, also check whether CFA changes.
52194         (__backtrace): Completely initialize arg.
52195
52196         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
52197         storing incomplete byte sequence in state object.  Avoid testing for
52198         guaranteed too small input if we know there is enough data available.
52199
52200 2011-05-11  Andreas Schwab  <schwab@redhat.com>
52201
52202         * Makeconfig (+link-pie): Indent.
52203         * Rules (binaries-pie): Define if $(have-fpie) and
52204         $(build-shared).
52205         (binaries-shared): Also filter out $(binaries-pie).
52206         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
52207         * nscd/Makefile (others-pie): Add nscd.
52208         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
52209         ($(objpfx)nscd): Remove command override.
52210         * login/Makefile (others-pie): Add pt_chown.
52211         ($(objpfx)pt_chown): Remove command override.
52212         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
52213         remove command overrides.
52214
52215 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
52216
52217         * libio/tst_putwc.c: Fix error messages.
52218
52219         [BZ #12724]
52220         * libio/fileops.c (_IO_new_file_close_it): Always flush when
52221         currently writing and seek to current position when not.
52222         * libio/Makefile (tests): Add bug-fclose1.
52223         * libio/bug-fclose1.c: New file.
52224
52225 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
52226
52227         [BZ #12511]
52228         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
52229         don't set DF_1_NODELETE here.
52230         (do_lookup_x): When entering new entry test for copy relocation
52231         and if necessary set DF_1_NODELETE flag.
52232         * elf/tst-unique4.cc: New file.
52233         * elf/tst-unique4.h: New file.
52234         * elf/tst-unique4lib.cc: New file.
52235         * elf/Makefile: Add rules to build and run tst-unique4.
52236         Patch by Piotr Bury <pbury@goahead.com>.
52237
52238 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
52239
52240         [BZ #12052]
52241         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
52242
52243         [BZ #12625]
52244         * misc/mntent_r.c (addmntent): Flush the stream after the output
52245
52246         [BZ #12393]
52247         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
52248         (is_trusted_path_normalize): Skip initial colon.  Append slash
52249         to empty buffer.  Duplicate is_trusted_path code but allow
52250         constructed patch to be prefix.
52251         (is_dst): Allow $ORIGIN followed by /.
52252         (_dl_dst_substitute): Correct clearing of check_for_trusted.
52253         Correct testing of result of is_trusted_path_normalize
52254         (decompose_rpath): Fix warning.
52255
52256 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
52257
52258         [BZ #11257]
52259         * grp/initgroups.c (internal_getgrouplist): When we found the service
52260         list through the initgroups entry in nsswitch.conf do not always
52261         continue on a successful lookup.  Don't always use the
52262         __nss_group_database value if it is set.
52263         * nss/nsswitch.conf (initgroups): Change action for successful db
52264         lookup to continue for compatibility.
52265
52266 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
52267
52268         [BZ #11532]
52269         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
52270         and CP774 modules.
52271         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
52272         and CP774 modules.
52273         * iconvdata/tst-tables.sh: Likewise.
52274         * iconvdata/cp770.c: New file.
52275         * iconvdata/cp771.c: New file.
52276         * iconvdata/cp772.c: New file.
52277         * iconvdata/cp773.c: New file.
52278         * iconvdata/cp774.c: New file.
52279         * iconvdata/testdata/CP770: New file.
52280         * iconvdata/testdata/CP770..UTF8: New file.
52281         * iconvdata/testdata/CP771: New file.
52282         * iconvdata/testdata/CP771..UTF8: New file.
52283         * iconvdata/testdata/CP772: New file.
52284         * iconvdata/testdata/CP772..UTF8: New file.
52285         * iconvdata/testdata/CP773: New file.
52286         * iconvdata/testdata/CP773..UTF8: New file.
52287         * iconvdata/testdata/CP774: New file.
52288         * iconvdata/testdata/CP774..UTF8: New file.
52289
52290         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
52291         END CHARMAP line.
52292         * iconvdata/gen-8bit-gap.sh: Likewise.
52293         * iconvdata/gen-8bit.sh: Likewise.
52294
52295         * locale/iso-639.def: Add ary entry.
52296
52297         [BZ #11258]
52298         * locale/C-translit.h.in: Add U20A1 transliteration.
52299
52300         [BZ #12178]
52301         * locale/iso-639.def: Add wae entry.
52302         Patch by Kevin Bortis <bortis@translate-wae.ch>.
52303
52304         [BZ #12545]
52305         * locale/programs/localedef.c (construct_output_path): Use ssize_t
52306         for n.
52307
52308         [BZ #12711]
52309         * locale/C-translit.h.in: Add entry for U20B9.
52310         Patch by pravin.d.s@gmail.com.
52311
52312 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
52313
52314         [BZ #12713]
52315         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
52316         ENAMETOOLONG use generic getcwd.
52317         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
52318         in rtld.  Use *stat64.
52319         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
52320         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
52321         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
52322         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
52323         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
52324         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
52325         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
52326         __fstatat64 macros.
52327         * include/dirent.h: Add libc_hidden_proto for rewinddir.
52328         * dirent/rewinddir.c: Add libc_hidden_def.
52329         * sysdeps/mach/hurd/rewinddir.c: Likewise.
52330         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
52331
52332         * include/dirent.h (__alloc_dir): Add flags parameter.
52333         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
52334         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
52335         __alloc_dir.
52336         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
52337         from fdopendir if O_CLOEXEC is already set.
52338
52339 2011-03-15  Alan Modra  <amodra@gmail.com>
52340
52341         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
52342         l_tls_firstbyte_offset non-zero.  Save padding offset in
52343         l_tls_firstbyte_offset for later use.
52344         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
52345         freeing static tls block.
52346
52347 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
52348
52349         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
52350         where #ifdef was intended.  The intent is to prevent ARG_MAX from
52351         being defined by the kernel headers.
52352
52353 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
52354
52355         [BZ #12734]
52356         * resolv/resolv.h: Define RES_NOTLDQUERY.
52357         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
52358         no-tld-query and set RES_NOTLDQUERY.
52359         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
52360         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
52361         modern BIND to search name as TLD unless forbidden.
52362
52363 2011-05-07  Petr Baudis  <pasky@suse.cz>
52364             Ulrich Drepper  <drepper@gmail.com>
52365
52366         [BZ #12393]
52367         * elf/dl-load.c (fillin_rpath): Move trusted path check...
52368         (is_trusted_path): ...to here.
52369         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
52370         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
52371         using is_trusted_path_normalize() in setuid scripts.
52372
52373 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
52374
52375         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
52376         __BEGIN/__END_DECLS.
52377
52378 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
52379
52380         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
52381         NSS_STATUS_NOTFOUND if no record was found.
52382
52383 2011-05-05  Andreas Schwab  <schwab@redhat.com>
52384
52385         * sunrpc/Makefile (headers): Add rpc/netdb.h.
52386         (headers-not-in-tirpc): Remove rpc/netdb.h
52387         * resolv/netdb.h: Revert last change.
52388
52389 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
52390
52391         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
52392         circular dependency between libgcc.a and libc.a.
52393
52394 2011-05-05  Andreas Schwab  <schwab@redhat.com>
52395
52396         * resolv/netdb.h: Don't include <rpc/netdb.h>.
52397         * nis/Makefile: Don't install rpcsvc/*.
52398         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
52399         instead of <rpc/types.h>.
52400         (MAXHOSTNAMELEN): Define.
52401
52402 2011-05-03  Andreas Schwab  <schwab@redhat.com>
52403
52404         * elf/ldconfig.c (add_dir): Don't crash on empty path.
52405
52406 2011-04-28  Maciej Babinski  <mbabinski@google.com>
52407
52408         [BZ #12714]
52409         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
52410         gethostbyname4_r when IPv6 results are possible.
52411
52412 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
52413
52414         [BZ #12723]
52415         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
52416         _PC_PIPE_BUF handling.
52417
52418 2011-04-30  Bruno Haible  <bruno@clisp.org>
52419
52420         [BZ #12717]
52421         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
52422         * resolv/netdb.h (getnameinfo): Change type of flags parameter
52423         to 'int'.
52424         * inet/getnameinfo.c (getnameinfo): Likewise.
52425
52426 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
52427
52428         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
52429         to groups setting in database lookup.
52430         * nss/nsswitch.conf: Add initgroups entry.
52431
52432 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
52433
52434         [BZ #12685]
52435         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
52436         mode string.
52437         Patch by Eric Blake <eblake@redhat.com>.
52438
52439 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
52440
52441         * sunrpc/Makefile (need-export-routines): Add svc_run.
52442         (routines): Remove svc_run.
52443         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
52444         * sunrpc/clnt_perr.c (clnt_perrno): Export.
52445         * sunrpc/svc_run.c (svc_run): Likewise.
52446         * sunrpc/svc_udp.c (svcudp_create): Likewise.
52447
52448 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
52449
52450         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
52451         problem in reallocation in last patch.
52452
52453 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
52454
52455         * sunrpc/Makefile: Move inclusion of Rules.
52456
52457 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
52458
52459         * nss/nss_files/files-initgroups.c: New file.
52460         * nss/Makefile (libnss_files-routines): Add files-initgroups.
52461         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
52462         _nss_files_initgroups_dyn.
52463
52464 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
52465
52466         * elf/elf.h (R_ARM_IRELATIVE): Define.
52467
52468 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
52469
52470         * po/ru.po: Update from translation team.
52471
52472 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
52473
52474         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
52475         dependencies.
52476
52477 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
52478
52479         [BZ #12653]
52480         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
52481         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
52482         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
52483         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
52484         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
52485
52486 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
52487
52488         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
52489         differing bytes.
52490         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
52491         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
52492         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
52493
52494 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
52495
52496         [BZ #12420]
52497         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
52498         storing it.
52499         * stdlib/bug-getcontext.c: New file.
52500         * stdlib/Makefile: Add rules to build and run bug-getcontext.
52501
52502 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
52503
52504         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
52505         instructions into .machine "z9-109".
52506         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
52507         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
52508
52509 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
52510
52511         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
52512         between environment variables and auxiliary vector.
52513
52514 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
52515
52516         * Makefile: Add rules to build linkobj/libc.so.
52517         * include/libc-symbols.h: Define libc_hidden_nolink.
52518         * include/rpc/auth.h: Mark functions which are to be hidden.
52519         * include/rpc/auth_des.h: Likewise.
52520         * include/rpc/auth_unix.h: Likewise.
52521         * include/rpc/clnt.h: Likewise.
52522         * include/rpc/des_crypt.h: Likewise.
52523         * include/rpc/key_prot.h: Likewise.
52524         * include/rpc/pmap_clnt.h: Likewise.
52525         * include/rpc/pmap_prot.h: Likewise.
52526         * include/rpc/pmap_rmt.h: Likewise.
52527         * include/rpc/rpc_msg.h: Likewise.
52528         * include/rpc/svc.h: Likewise.
52529         * include/rpc/svc_auth.h: Likewise.
52530         * include/rpc/xdr.h: Likewise.
52531         * nis/Makefile: Link all DSOs against linkobj/libc.so.
52532         * nss/Makefile: Likewise.
52533         * sunrpc/Makefile: Don't install headers.  Build library with normal
52534         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
52535         * sunrpc/auth_des.c: Hide exported symbols by default, export some
52536         for the compat linking library.  Remove use of INTDEF/INTUSE.
52537         * sunrpc/auth_none.c: Likewise.
52538         * sunrpc/auth_unix.c: Likewise.
52539         * sunrpc/authdes_prot.c: Likewise.
52540         * sunrpc/authuxprot.c: Likewise.
52541         * sunrpc/clnt_gen.c: Likewise.
52542         * sunrpc/clnt_perr.c: Likewise.
52543         * sunrpc/clnt_raw.c: Likewise.
52544         * sunrpc/clnt_simp.c: Likewise.
52545         * sunrpc/clnt_tcp.c: Likewise.
52546         * sunrpc/clnt_udp.c: Likewise.
52547         * sunrpc/clnt_unix.c: Likewise.
52548         * sunrpc/des_crypt.c: Likewise.
52549         * sunrpc/des_soft.c: Likewise.
52550         * sunrpc/get_myaddr.c: Likewise.
52551         * sunrpc/key_call.c: Likewise.
52552         * sunrpc/key_prot.c: Likewise.
52553         * sunrpc/netname.c: Likewise.
52554         * sunrpc/pm_getmaps.c: Likewise.
52555         * sunrpc/pm_getport.c: Likewise.
52556         * sunrpc/pmap_clnt.c: Likewise.
52557         * sunrpc/pmap_prot.c: Likewise.
52558         * sunrpc/pmap_prot2.c: Likewise.
52559         * sunrpc/pmap_rmt.c: Likewise.
52560         * sunrpc/publickey.c: Likewise.
52561         * sunrpc/rpc_cmsg.c: Likewise.
52562         * sunrpc/rpc_common.c: Likewise.
52563         * sunrpc/rpc_dtable.c: Likewise.
52564         * sunrpc/rpc_prot.c: Likewise.
52565         * sunrpc/rpc_thread.c: Likewise.
52566         * sunrpc/rtime.c: Likewise.
52567         * sunrpc/svc.c: Likewise.
52568         * sunrpc/svc_auth.c: Likewise.
52569         * sunrpc/svc_authux.c: Likewise.
52570         * sunrpc/svc_raw.c: Likewise.
52571         * sunrpc/svc_run.c: Likewise.
52572         * sunrpc/svc_simple.c: Likewise.
52573         * sunrpc/svc_tcp.c: Likewise.
52574         * sunrpc/svc_udp.c: Likewise.
52575         * sunrpc/svc_unix.c: Likewise.
52576         * sunrpc/svcauth_des.c: Likewise.
52577         * sunrpc/xcrypt.c: Likewise.
52578         * sunrpc/xdr.c: Likewise.
52579         * sunrpc/xdr_array.c: Likewise.
52580         * sunrpc/xdr_float.c: Likewise.
52581         * sunrpc/xdr_intXX_t.c: Likewise.
52582         * sunrpc/xdr_mem.c: Likewise.
52583         * sunrpc/xdr_rec.c: Likewise.
52584         * sunrpc/xdr_ref.c: Likewise.
52585         * sunrpc/xdr_sizeof.c: Likewise.
52586         * sunrpc/xdr_stdio.c: Likewise.
52587
52588 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
52589
52590         [BZ #12650]
52591         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
52592         * sysdeps/ia64/dl-tls.h: Likewise.
52593         * sysdeps/powerpc/dl-tls.h: Likewise.
52594         * sysdeps/s390/dl-tls.h: Likewise.
52595         * sysdeps/sh/dl-tls.h: Likewise.
52596         * sysdeps/sparc/dl-tls.h: Likewise.
52597         * sysdeps/x86_64/dl-tls.h: Likewise.
52598         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
52599
52600 2011-03-14  Andreas Schwab  <schwab@redhat.com>
52601
52602         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
52603         rpath element also skip the following colon.
52604         (expand_dynamic_string_token): Add is_path parameter and pass
52605         down to DL_DST_REQUIRED and _dl_dst_substitute.
52606         (decompose_rpath): Call expand_dynamic_string_token with
52607         non-zero is_path.  Ignore empty rpaths.
52608         (_dl_map_object_from_fd): Call expand_dynamic_string_token
52609         with zero is_path.
52610
52611 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
52612
52613         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
52614         Make cancelable.
52615
52616 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
52617
52618         [BZ #12655]
52619         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
52620         Patch by Filipe David Manana <fdmanana@apache.org>.
52621
52622 2011-04-07  Andreas Schwab  <schwab@redhat.com>
52623
52624         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
52625         Maintain aligned stack.
52626         (CHECK_RSP): Remove unused macro.
52627
52628 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
52629
52630         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
52631         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
52632
52633 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
52634
52635         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
52636
52637         * include/features.h: Mention __USE_XOPEN2K8 in comment.
52638
52639 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
52640
52641         [BZ #12518]
52642         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
52643         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
52644         * sysdeps/x86_64/memmove.c: New file.
52645         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
52646         (memcpy): Renamed to ...
52647         (__new_memcpy): This.
52648         (memcpy): Provide GLIBC_2_14 memcpy.
52649         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
52650         (memcpy): Provide GLIBC_2_2_5 memcpy.
52651
52652 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
52653
52654         [BZ #12631]
52655         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
52656
52657 2011-03-30  Andreas Schwab  <schwab@redhat.com>
52658
52659         * misc/syncfs.c: New file.
52660         * misc/Makefile (routines): Add syncfs.
52661         * posix/unistd.h: Declare syncfs.
52662         * sysdeps/unix/syscalls.list: Add syncfs.
52663
52664 2011-04-01  Andreas Schwab  <schwab@redhat.com>
52665
52666         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
52667         open_by_handle_at.
52668         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
52669         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
52670         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
52671         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
52672         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
52673         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
52674         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
52675
52676 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
52677
52678         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
52679         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
52680         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
52681         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
52682         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
52683         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
52684         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
52685
52686         * io/Makefile: Compile fallocate.c, fallocate64.c, and
52687         sync_file_range.c with -fexceptions.
52688         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
52689         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
52690         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
52691         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
52692         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
52693         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
52694         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
52695         sync_file_range as cancellation point
52696         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
52697         now a wrapper around __call_sync_file_range with cancellation handling.
52698         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
52699         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
52700         function name to __call_sync_file_range.
52701         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
52702         Add call_sync_file_range.
52703
52704 2011-04-01  Andreas Schwab  <schwab@redhat.com>
52705
52706         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
52707         bits/timex.h.
52708
52709 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
52710
52711         * iconv/iconv.h: Fix typo in comment.
52712         * io/fcntl.h: Likewise.
52713         * libio/stdio.h: Likewise.
52714         * posix/spawn.h: Likewise.
52715         * posix/unistd.h: Likewise.
52716         * stdlib/stdlib.h: Likewise.
52717         * time/time.h: Likewise.
52718         * wcsmbs/wchar.h: Likewise.
52719
52720         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
52721         open_by_handle): Add.
52722         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
52723         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
52724         Augment a few comments.
52725         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
52726         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
52727         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
52728         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
52729         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
52730         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
52731         open_by_handle.
52732
52733         * io/fcntl.h (AT_EMPTY_PATH): Define.
52734
52735 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
52736
52737         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
52738         * sysdeps/unix/sysv/linux/bits/time.h: New file.
52739         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
52740         to...
52741         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
52742         * Versions.def: Add GLIBC_2.14.
52743         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
52744         Export.
52745
52746 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
52747
52748         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
52749         round counter.
52750         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
52751
52752 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
52753
52754         [BZ #12597]
52755         * string/test-strncmp.c (do_page_test): New function.
52756         (check2): Likewise.
52757         (test_main): Call check2.
52758         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
52759
52760 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
52761
52762         [BZ #12587]
52763         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
52764         Handle cache information in CPU leaf 4.
52765         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
52766
52767 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
52768
52769         [BZ #12583]
52770         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
52771         character representation.
52772         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
52773
52774 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
52775
52776         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
52777         END(__isnan) to END(__isnanf) to match function entry point/label
52778         EALIGN(__isnanf,...).
52779
52780 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
52781
52782         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
52783
52784 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
52785
52786         [BZ #12510]
52787         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
52788         copy from the symbol referenced in the relocation to initialize the
52789         used variable.
52790         Patch by Piotr Bury <pbury@goahead.com>.
52791         * elf/Makefile: Add rules to build and tst-unique3.
52792         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
52793         * elf/tst-unique3.cc: New file.
52794         * elf/tst-unique3.h: New file.
52795         * elf/tst-unique3lib.cc: New file.
52796         * elf/tst-unique3lib2.cc: New file.
52797
52798         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
52799
52800 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
52801
52802         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
52803         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
52804         to _start.
52805
52806 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
52807
52808         * elf/dl-load.c (_dl_map_object): If we are looking for the first
52809         to-be-loaded object along a path to loader is ld.so.
52810
52811 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
52812             Ulrich Drepper  <drepper@gmail.com>
52813
52814         * sysdeps/x86_64/memset.S: After aligning destination, code
52815         branches to different locations depending on the value of
52816         misalignment, when multiarch is enabled. Fix this.
52817
52818 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
52819
52820         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
52821         Set _x86_64_preferred_memory_instruction for AMD processsors.
52822         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
52823         Set bit_Prefer_SSE_for_memop for AMD processors.
52824
52825 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
52826
52827         * libio/fmemopen.c (fmemopen): Optimize a bit.
52828
52829 2011-03-03  Andreas Schwab  <schwab@redhat.com>
52830
52831         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
52832
52833 2011-03-03  Roland McGrath  <roland@redhat.com>
52834
52835         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
52836
52837 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
52838
52839         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
52840         __bzero_ultra1 instead of __memset_ultra1.
52841
52842 2011-02-23  Andreas Schwab  <schwab@redhat.com>
52843             Ulrich Drepper  <drepper@gmail.com>
52844
52845         [BZ #12509]
52846         * include/link.h (struct link_map): Add l_orig_initfini.
52847         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
52848         returning unsuccessfully.
52849         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
52850         close of a file loaded at startup, restore the original l_initfini
52851         list.
52852         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
52853         list, store the pointer.
52854         * elf/Makefile ($(objpfx)noload-mem): New rule.
52855         (noload-ENV): Define.
52856         (tests): Add $(objpfx)noload-mem.
52857         * elf/noload.c: Include <memcheck.h>.
52858         (main): Call mtrace.  Close all opened handles.
52859
52860 2011-02-17  Andreas Schwab  <schwab@redhat.com>
52861
52862         [BZ #12454]
52863         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
52864         dependencies are missing.
52865
52866 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
52867
52868         Fix __if_freereq crash: Unlike the generic version which uses free,
52869         Hurd needs munmap.
52870         * sysdeps/mach/hurd/ifreq.h: New file.
52871
52872 2011-01-27  Petr Baudis  <pasky@suse.cz>
52873             Ulrich Drepper  <drepper@gmail.com>
52874
52875         [BZ 12445]#
52876         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
52877         to extend_alloca().
52878         * stdio-common/bug23.c: New file.
52879         * stdio-common/Makefile (tests): Add bug23.
52880
52881 2010-09-28  Andreas Schwab  <schwab@redhat.com>
52882             Ulrich Drepper  <drepper@gmail.com>
52883
52884         [BZ #12489]
52885         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
52886         before performing relro protection.  At old place add assertion
52887         to make sure nothing changed.
52888
52889 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
52890             Glauber de Oliveira Costa  <glommer@gmail.com>
52891
52892         * elf/elf.h: Add new ARM TLS relocs.
52893
52894 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
52895
52896         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
52897         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
52898         cast from r3.
52899         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
52900         'tests' variable.
52901         * sysdeps/wordsize-64/tst-writev.c: New file.
52902
52903 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
52904
52905         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
52906         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
52907         insns in _dl_start to prevent a TOC reference before relocs are
52908         resolved.
52909
52910 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
52911
52912         [BZ #12469]
52913         * Makeconfig: Remove RANLIB definition.
52914         * Makerules: Don't use RANLIB.
52915         * aclocal.m4: Remove ranlib test.
52916         * configure.in: No need to check for ranlib.
52917         * elf/rtld-Rules: Don't use RANLIB.
52918
52919 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
52920
52921         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
52922         protection macro.
52923         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
52924         inclusion protection macro.
52925
52926         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
52927         SIGRTMIN and SIGRTMAX and print information in that case only when
52928         SIGRTMIN is defined.
52929
52930 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
52931
52932         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
52933         arginfo fn returning -1.
52934
52935         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
52936         and thousands string is zero terminated.
52937
52938 2011-02-03  Andreas Schwab  <schwab@redhat.com>
52939
52940         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
52941         sysdeps/unix/sysv/linux/bits/socket.h.
52942
52943 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
52944
52945         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
52946         (__CPU_COUNT): Remove old macros.
52947         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
52948         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
52949         (__CPU_ALLOC, __CPU_FREE): Add macros.
52950         (__sched_cpualloc, __sched_cpufree): Add declarations.
52951
52952 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
52953
52954         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
52955         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
52956         * nscd/aicache.c (addhstaiX): Return timeout of added value.
52957         (readdhstai): Return value of addhstaiX call.
52958         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
52959         (addgrbyX): Return value returned by cache_addgr.
52960         (readdgrbyname): Return value returned by addgrbyX.
52961         (readdgrbygid): Likewise.
52962         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
52963         (addpwbyX): Return value returned by cache_addpw.
52964         (readdpwbyname): Return value returned by addhstbyX.
52965         (readdpwbyuid): Likewise.
52966         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
52967         (addservbyX): Return value returned by cache_addserv.
52968         (readdservbyname): Return value returned by addservbyX:
52969         (readdservbyport): Likewise.
52970         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
52971         (addhstbyX): Return value returned by cache_addhst.
52972         (readdhstbyname): Return value returned by addhstbyX.
52973         (readdhstbyaddr): Likewise.
52974         (readdhstbynamev6): Likewise.
52975         (readdhstbyaddrv6): Likewise.
52976         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
52977         (readdinitgroups): Return value returned by addinitgroupsX.
52978         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
52979         (prune_cache): Keep track of timeout value of re-added entries.
52980         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
52981         * nscd/nscd.h: Adjust prototypes of readd* functions.
52982
52983 2011-02-04  Roland McGrath  <roland@redhat.com>
52984
52985         * nis/nis_server.c (nis_servstate): Use the right name for 0.
52986         (nis_stats): Likewise.
52987         * nis/nis_modify.c (nis_modify): Likewise.
52988         * nis/nis_remove.c (nis_remove): Likewise.
52989         * nis/nis_add.c (nis_add): Likewise.
52990
52991         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
52992
52993         * posix/fnmatch_loop.c: Add some consts.
52994
52995         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
52996
52997 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
52998
52999         [BZ #12460]
53000         * config.make.in (config-cflags-novzeroupper): Define.
53001         * configure.in: Substitute libc_cv_cc_novzeroupper.
53002         * elf/Makefile (AVX-CFLAGS): Define.
53003         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
53004         (CFLAGS-tst-auditmod4a.c): Likewise.
53005         (CFLAGS-tst-auditmod4b.c): Likewise.
53006         (CFLAGS-tst-auditmod6b.c): Likewise.
53007         (CFLAGS-tst-auditmod6c.c): Likewise.
53008         (CFLAGS-tst-auditmod7b.c): Likewise.
53009         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
53010
53011 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
53012
53013         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
53014         function to the callback.
53015         Patch partly by Jiri Olsa <jolsa@redhat.com>.
53016
53017 2011-02-02  Andreas Schwab  <schwab@redhat.com>
53018
53019         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
53020         of errno.
53021
53022 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
53023
53024         [BZ #11724]
53025         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
53026         of constructors.
53027         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
53028         of destructors.
53029         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
53030
53031         [BZ #11724]
53032         * elf/Makefile: Add rules to build and run new test.
53033         * elf/tst-initorder.c: New file.
53034         * elf/tst-initorder.exp: New file.
53035         * elf/tst-initordera1.c: New file.
53036         * elf/tst-initordera2.c: New file.
53037         * elf/tst-initordera3.c: New file.
53038         * elf/tst-initordera4.c: New file.
53039         * elf/tst-initorderb1.c: New file.
53040         * elf/tst-initorderb2.c: New file.
53041         * elf/tst-order-a1.c: New file.
53042         * elf/tst-order-a2.c: New file.
53043         * elf/tst-order-a3.c: New file.
53044         * elf/tst-order-a4.c: New file.
53045         * elf/tst-order-b1.c: New file.
53046         * elf/tst-order-b2.c: New file.
53047         * elf/tst-order-main.c: New file.
53048         New test case by George Gensure <werkt0@gmail.com>.
53049
53050 2010-10-01  Andreas Schwab  <schwab@redhat.com>
53051
53052         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
53053         decoding ACE if AI_CANONIDN.
53054
53055 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
53056
53057         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
53058
53059 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
53060
53061         * version.h (RELEASE): Bump for 2.13 release.
53062         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
53063
53064         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
53065
53066         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
53067         MADV_NOHUGEPAGE.
53068         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
53069         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
53070         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
53071         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
53072         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
53073         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
53074
53075         * posix/getconf.c: Update copyright year.
53076         * catgets/gencat.c: Likewise.
53077         * csu/version.c: Likewise.
53078         * debug/catchsegv.sh: Likewise.
53079         * debug/xtrace.sh: Likewise.
53080         * elf/ldconfig.c: Likewise.
53081         * elf/ldd.bash.in: Likewise.
53082         * elf/sprof.c (print_version): Likewise.
53083         * iconv/iconv_prog.c: Likewise.
53084         * iconv/iconvconfig.c: Likewise.
53085         * locale/programs/locale.c: Likewise.
53086         * locale/programs/localedef.c: Likewise.
53087         * malloc/memusage.sh: Likewise.
53088         * malloc/mtrace.pl: Likewise.
53089         * nscd/nscd.c (print_version): Likewise.
53090         * nss/getent.c: Likewise.
53091
53092         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
53093         PF_CAIF, and PF_ALG.
53094         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
53095
53096 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
53097
53098         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
53099         (modules-names): Use them.
53100         (ifunc-test-modules, ifunc-pie-tests): Define.
53101         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
53102         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
53103         (test-extras): Likewise.
53104         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
53105         $(compile-command.c).
53106         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
53107         (all-built-dso): Define.
53108         (check-textrel.out, check-execstack.out): Depend on it.
53109
53110         * configure.in: Don't override --enable-multi-arch.
53111
53112 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
53113
53114         [BZ #6812]
53115         * nscd/hstcache.c (tryagain): Define.
53116         (cache_addhst): Return tryagain not notfound for temporary errors.
53117         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
53118         failed.
53119
53120 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
53121
53122         [BZ #10563]
53123         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
53124         to make the syscall.
53125         * sysdeps/unix/sysv/linux/setgroups.c: New file.
53126
53127         [BZ #12378]
53128         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
53129         and fall back to matching as normal character if the string ends before
53130         the matching ']' is found.  This is what POSIX requires.
53131         * posix/testfnm.c: Adjust test result.
53132         * posix/globtest.sh: Adjust test result.  Add new test.
53133         * posix/tst-fnmatch.input: Likewise.
53134         * posix/tst-fnmatch2.c: Add new test.
53135
53136 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
53137
53138         * elf/Makefile (check-execstack): Revert last change.  Depend on
53139         check-execstack.h.
53140         (check-execstack.h): New target.
53141         (generated): Add check-execstack.h.
53142         * elf/check-execstack.c: Include "check-execstack.h".
53143         (main): Revert last change.
53144         (handle_file): Return zero if GNU_STACK is absent and
53145         DEFAULT_STACK_PERMS doesn't include PF_X.
53146
53147 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
53148
53149         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
53150         in child fails because the descriptor is already closed.
53151         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
53152         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
53153         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
53154
53155         [BZ #12397]
53156         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
53157         syscall.
53158
53159         [BZ #10484]
53160         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
53161         temporary buffer used to handle multi lookups locally.
53162         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
53163
53164 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
53165
53166         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
53167         loader is ld.so.
53168
53169 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
53170
53171         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
53172         alignment for SSE2.
53173
53174 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
53175
53176         [BZ #12394]
53177         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
53178         characters.  When rounding increased number of integer digits recompute
53179         number of groups.
53180         * stdio-common/tst-grouping.c: New file.
53181         * stdio-common/Makefile: Add rules to build and run tst-grouping.
53182
53183 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
53184
53185         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
53186         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
53187
53188         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
53189         void.
53190         * bits/select.h: Likewise.
53191
53192 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
53193
53194         * po/ja.po: Update from translation team.
53195
53196 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
53197
53198         [BZ #11155]
53199         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
53200         implementation just like for lxstat, fxstatat, et al.
53201
53202 2010-12-27  Jim Meyering  <meyering@redhat.com>
53203
53204         [BZ #12348]
53205         * posix/regexec.c (build_trtable): Return failure indication upon
53206         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
53207
53208 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
53209
53210         [BZ #12201]
53211         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
53212         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
53213         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
53214         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
53215
53216         [BZ #12207]
53217         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
53218
53219         [BZ #12204]
53220         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
53221         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
53222
53223 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
53224
53225         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
53226         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
53227         script has SORT_BY_INIT_PRIORITY.
53228         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
53229         NO_CTORS_DTORS_SECTIONS is defined.
53230         * elf/soinit.c: Likewise.
53231         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
53232         NO_CTORS_DTORS_SECTIONS is defined.
53233         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
53234         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
53235         * sysdeps/sh/init-first.c: Likewise.
53236         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
53237
53238 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
53239
53240         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
53241         always use the slow path.
53242
53243 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
53244
53245         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
53246         similar rule which adds the sysdep directories to the header search in
53247         order to pick up the correct platform stackinfo.h.
53248         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
53249         perform test if it is, otherwise return successfully without testing.
53250         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
53251         DEFAULT_STACK_PERMS define in stackinfo.h.
53252         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
53253         defined in stackinfo.h.
53254         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
53255         DEFAULT_STACK_PERMS defined in stackinfo.h.
53256         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
53257         * sysdeps/ia64/stackinfo.h: Likewise.
53258         * sysdeps/s390/stackinfo.h: Likewise.
53259         * sysdeps/sh/stackinfo.h: Likewise.
53260         * sysdeps/sparc/stackinfo.h: Likewise.
53261         * sysdeps/x86_64/stackinfo.h: Likewise.
53262         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
53263         PF_X for powerpc64.  Retain PF_X for powerpc32.
53264
53265 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
53266
53267         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
53268         accurately.
53269         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
53270         GETDENTS_64BIT_ALIGNED.
53271
53272 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
53273
53274         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
53275
53276 2010-12-10  Andreas Schwab  <schwab@redhat.com>
53277
53278         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
53279         _GNU_SOURCE.
53280
53281         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
53282         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
53283         Remove __restrict.
53284         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
53285         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
53286
53287 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
53288
53289         [BZ #11655]
53290         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
53291         are initialized.
53292
53293 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
53294
53295         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
53296
53297 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
53298
53299         * po/it.po: Update from translation team.
53300
53301 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
53302
53303         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
53304         unused codes.
53305
53306 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
53307
53308         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
53309
53310 2010-11-24  Andreas Schwab  <schwab@redhat.com>
53311
53312         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
53313         specially.
53314         (gaih_getanswer_slice): Likewise.
53315
53316 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
53317
53318         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
53319
53320 2010-05-31  Petr Baudis  <pasky@suse.cz>
53321
53322         [BZ #11149]
53323         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
53324         silently even in the chroot mode.
53325
53326 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
53327
53328         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
53329         last patch a bit.  Pretty printing
53330
53331 2010-05-31  Petr Baudis <pasky@suse.cz>
53332
53333         [BZ #10085]
53334         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
53335         initialization of skip_initgroups_dyn.
53336
53337 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
53338
53339         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
53340         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
53341
53342 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
53343
53344         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
53345
53346 2010-11-11  Andreas Schwab  <schwab@redhat.com>
53347
53348         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
53349         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
53350         (tst-fnmatch-ENV): Set MALLOC_TRACE.
53351         ($(objpfx)tst-fnmatch-mem): New rule.
53352         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
53353         * posix/tst-fnmatch.c (main): Call mtrace.
53354
53355 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
53356
53357         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
53358         Support Intel processor model 6 and model 0x2c.
53359
53360 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
53361
53362         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
53363           signed comparison.
53364
53365 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
53366
53367         [BZ #12205]
53368         * string/test-strncasecmp.c (check_result): New function.
53369         (do_one_test): Use it.
53370         (check1): New function.
53371         (test_main): Use it.
53372         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
53373         Support strcasecmp and strncasecmp.
53374
53375 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
53376
53377         [BZ #12194]
53378         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
53379         * sysdeps/x86_64/bits/byteswap.h: Likewise.
53380
53381 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
53382
53383         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
53384         IFUNC support.
53385         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
53386         memset-x86-64.
53387         * sysdeps/x86_64/multiarch/bzero.S: New file.
53388         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
53389         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
53390         * sysdeps/x86_64/multiarch/memset.S: New file.
53391         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
53392         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
53393         Set bit_Prefer_SSE_for_memop for Intel processors.
53394         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
53395         Define.
53396         (index_Prefer_SSE_for_memop): Define.
53397         (HAS_PREFER_SSE_FOR_MEMOP): Define.
53398
53399 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
53400
53401         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
53402         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
53403
53404 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
53405
53406         [BZ #12191]
53407         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
53408         (__x86_64_raw_data_cache_size_half): Likewise.
53409         (__x86_64_raw_shared_cache_size): Likewise.
53410         (__x86_64_raw_shared_cache_size_half): Likewise.
53411
53412         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
53413         (__x86_64_raw_data_cache_size_half): Likewise.
53414         (__x86_64_raw_shared_cache_size): Likewise.
53415         (__x86_64_raw_shared_cache_size_half): Likewise.
53416         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
53417         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
53418         and __x86_64_raw_shared_cache_size_half.  Round
53419         __x86_64_data_cache_size_half, __x86_64_data_cache_size
53420         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
53421         to multiple of 256 bytes.
53422
53423 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
53424
53425         [BZ #12167]
53426         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
53427         of inacessible symlinks.  Verify result of symlink before returning it.
53428         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
53429         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
53430
53431 2010-10-28  Erich Ritz  <erichritz@gmail.com>
53432
53433         * math/math.h (isinf): Fix typo in comment.
53434
53435 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
53436
53437         * po/da.po: Update from translation team.
53438
53439 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
53440
53441         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
53442         is added to the list.
53443
53444 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
53445             Ulrich Drepper  <drepper@gmail.com>
53446
53447         * elf/dl-object.c (_dl_new_object): Don't append the new object to
53448         the global list here.  Move code to...
53449         (_dl_add_to_namespace_list): ...here.  New function.
53450         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
53451         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
53452         * elf/dl-load.c (lose): Don't remove the element from the list.
53453         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
53454         (_dl_map_object): Likewise.
53455
53456 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
53457
53458         [BZ #12159]
53459         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
53460         into all bytes of SSE register.
53461         Patch by Richard Li <richardpku@gmail.com>.
53462
53463 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
53464
53465         [BZ #12140]
53466         * malloc/malloc.c (_int_free): Fill correct number of bytes when
53467         perturbing.
53468
53469 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
53470
53471         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
53472         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
53473         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
53474         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
53475         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
53476         submachine.
53477         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
53478
53479 2010-10-22  Andreas Schwab  <schwab@redhat.com>
53480
53481         * include/dlfcn.h (__RTLD_SECURE): Define.
53482         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
53483         mode & __RTLD_SECURE instead.
53484         (open_path): Rename preloaded parameter to secure.
53485         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
53486         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
53487         * elf/dl-deps.c (openaux): Likewise.
53488         * elf/rtld.c (struct map_args): Remove is_preloaded.
53489         (map_doit): Don't use it.
53490         (dl_main): Likewise.
53491         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
53492         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
53493
53494 2010-09-09  Andreas Schwab  <schwab@redhat.com>
53495
53496         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
53497         (sysd-rules-targets): Remove duplicates.
53498         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
53499         rtld-%.$o dependency.
53500
53501 2010-10-18  Andreas Schwab  <schwab@redhat.com>
53502
53503         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
53504         _dl_map_object do it.
53505
53506 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
53507
53508         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
53509         fast fma builtins, define the macros in the C99 standard.
53510         (FP_FAST_FMAF): Likewise.
53511         (FP_FAST_FMAL): Likewise.
53512         * sysdeps/x86_64/bits/mathdef.h: Likewise.
53513
53514         * bits/mathdef.h: Update copyright year.
53515         * sysdeps/powerpc/bits/mathdef.h: Likewise.
53516
53517 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
53518
53519         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
53520         builtins, define the macros in the C99 standard.
53521         (FP_FAST_FMAF): Likewise.
53522         (FP_FAST_FMAL): Likewise.
53523         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
53524         multiply/add.
53525         (FP_FAST_FMAF): Likewise.
53526
53527 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
53528
53529         [BZ #3268]
53530         * math/libm-test.inc (fma_test): Some new testcases.
53531         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
53532         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
53533         y and infinite z.  Do multiplication by C already in long double.
53534         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
53535         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
53536         y and infinite z.  Do bitwise or of inexact bit into u.d.
53537         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
53538         * sysdeps/i386/fpu/s_fmaf.S: Removed.
53539         * sysdeps/i386/fpu/s_fma.S: Removed.
53540         * sysdeps/i386/fpu/s_fmal.S: Removed.
53541
53542 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
53543
53544         [BZ #3268]
53545         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
53546         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
53547         computation is not scheduled after fetestexcept.  Fix value
53548         of minimum denormal long double.
53549
53550 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
53551
53552         [BZ #3268]
53553         * math/libm-test.inc (fma_test): Add some more tests.
53554         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
53555         correctly.
53556
53557 2010-10-15  Andreas Schwab  <schwab@redhat.com>
53558
53559         * scripts/data/localplt-s390-linux-gnu.data: New file.
53560         * scripts/data/localplt-s390x-linux-gnu.data: New file.
53561
53562 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
53563
53564         [BZ #3268]
53565         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
53566         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
53567         instead of dbl-64.
53568         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
53569         inlines.
53570         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
53571         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
53572         if one of x and y is very large and the other is subnormal.
53573         * sysdeps/s390/fpu/s_fmaf.c: New file.
53574         * sysdeps/s390/fpu/s_fma.c: New file.
53575         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
53576         * sysdeps/powerpc/fpu/s_fma.S: New file.
53577         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
53578         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
53579         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
53580
53581 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
53582
53583         [BZ #3268]
53584         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
53585         fma tests.
53586         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
53587         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
53588         * sysdeps/i386/i686/multiarch/s_fma.c: Include
53589         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
53590         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
53591         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
53592         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
53593
53594 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
53595
53596         [BZ #12078]
53597         * posix/regcomp.c (parse_branch): One more memory leak plugged.
53598         * posix/bug-regex31.input: Add test case.
53599
53600 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
53601
53602         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
53603         * posix/bug-regex31.input: New file.
53604
53605         [BZ #12078]
53606         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
53607         (parse_sub_exp): Fix last change, use postorder.
53608
53609         * posix/bug-regex31.c: New file.
53610         * posix/Makefile: Add rules to build and run bug-regex31.
53611
53612         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
53613
53614         [BZ #12078]
53615         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
53616
53617         [BZ #12108]
53618         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
53619         to have entries in sys_siglist.
53620
53621         [BZ #12093]
53622         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
53623         be NULL.
53624
53625 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
53626
53627         [BZ #3268]
53628         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
53629         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
53630         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
53631         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
53632         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
53633         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
53634         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
53635         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
53636         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
53637         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
53638         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
53639         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
53640         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
53641         * math/ftestexcept.c (fetestexcept): Likewise.
53642         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
53643         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
53644         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
53645         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
53646         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
53647         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
53648         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
53649
53650 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
53651
53652         [BZ #12107]
53653         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
53654         newline.
53655
53656 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
53657
53658         * string/bug-strstr1.c: New file.
53659         * string/Makefile: Add rules to build and run bug-strstr1.
53660
53661 2010-10-05  Eric Blake  <eblake@redhat.com>
53662
53663         [BZ #12092]
53664         * string/str-two-way.h (two_way_long_needle): Always clear memory
53665         when skipping input due to the shift table.
53666
53667 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
53668
53669         [BZ #12005]
53670         * malloc/mcheck.c: Handle large requests.
53671
53672         [BZ #12077]
53673         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
53674         for strncmp and strncasecmp.
53675         * string/stratcliff.c: Add tests for strcmp and strncmp.
53676         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
53677
53678 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
53679
53680         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
53681         __set_fpscr.
53682
53683 2010-09-30  Andreas Jaeger  <aj@suse.de>
53684
53685         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
53686         (CGROUP_SUPER_MAGIC): Define.
53687         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
53688         Handle btrfs and cgroup file systems.
53689         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
53690         Likewise.
53691
53692 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
53693
53694         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
53695         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
53696
53697 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
53698
53699         [BZ #12067]
53700         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
53701         trying to locate the ELF header.
53702
53703 2010-09-27  Andreas Schwab  <schwab@redhat.com>
53704
53705         [BZ #11611]
53706         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
53707         Mask out sign-bit copies when constructing f_fsid.
53708
53709 2010-09-24  Petr Baudis <pasky@suse.cz>
53710
53711         * debug/stack_chk_fail_local.c: Add missing licence exception.
53712         * debug/warning-nop.c: Likewise.
53713
53714 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
53715
53716         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
53717         implementing getdents64 using getdents syscall, set d_type if
53718         __ASSUME_GETDENTS32_D_TYPE.
53719
53720 2010-09-16  Andreas Schwab  <schwab@redhat.com>
53721
53722         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
53723         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
53724
53725 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
53726
53727         [BZ #12037]
53728         * posix/unistd.h: Undo change of feature selection for ftruncate from
53729         2010-01-11.
53730
53731 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
53732
53733         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
53734         detection.
53735
53736 2010-09-20  Andreas Schwab  <schwab@redhat.com>
53737
53738         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
53739         fanotify_mark.
53740         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
53741
53742 2010-09-14  Andreas Schwab  <schwab@redhat.com>
53743
53744         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
53745         variables after CHECK_SP call.
53746         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
53747
53748 2010-09-13  Andreas Schwab  <schwab@redhat.com>
53749             Ulrich Drepper  <drepper@redhat.com>
53750
53751         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
53752         re-relocationg ld.so.
53753         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
53754         _dl_init_paths call.
53755         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
53756         here anymore.
53757
53758 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
53759
53760         * resolv/res_init.c (__res_vinit): Count the default server we added.
53761
53762 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
53763             Ulrich Drepper  <drepper@redhat.com>
53764
53765         [BZ #11968]
53766         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
53767         (____longjmp_chk): Use %ebx for saving value across system call.
53768         Add unwind info.
53769
53770 2010-09-06  Andreas Schwab  <schwab@redhat.com>
53771
53772         * manual/Makefile: Don't mix pattern rules with normal rules.
53773
53774 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
53775
53776         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
53777         operation.
53778         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
53779         * libio/iofopncook.c (_IO_cookie_init): Likewise.
53780         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
53781         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
53782         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
53783         Likewise.
53784
53785 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
53786
53787         [BZ #11979]
53788         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
53789         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
53790
53791 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
53792
53793         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
53794         * sysdeps/x86_64/addmul_1.S: Likewise.
53795         * sysdeps/x86_64/lshift.S: Likewise.
53796         * sysdeps/x86_64/mul_1.S: Likewise.
53797         * sysdeps/x86_64/rshift.S: Likewise.
53798         * sysdeps/x86_64/sub_n.S: Likewise.
53799         * sysdeps/x86_64/submul_1.S: Likewise.
53800
53801 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
53802
53803         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
53804         Define __sched_param instead of SCHED_* and sched_param when
53805         <bits/sched.h> is included with __need_schedparam defined.
53806         * bits/sched.h [__need_schedparam]
53807         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
53808         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
53809         (__defined_schedparam): Define to 1.
53810         (__sched_param): New structure, identical to sched_param.
53811         (__need_schedparam): Undefine.
53812
53813 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
53814
53815         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
53816         (epoll_create1): Declare.
53817
53818         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
53819
53820 2010-08-31  Andreas Schwab  <schwab@redhat.com>
53821
53822         [BZ #7066]
53823         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
53824         shifting retval into place.
53825
53826 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
53827
53828         * nis/rpcsvc/nis.h: Update copyright notice.
53829         * nis/rpcsvc/nis.x: Likewise.
53830         * nis/rpcsvc/nis_callback.h: Likewise.
53831         * nis/rpcsvc/nis_callback.x: Likewise.
53832         * nis/rpcsvc/nis_object.x: Likewise.
53833         * nis/rpcsvc/nis_tags.h: Likewise.
53834         * nis/rpcsvc/yp.h: Likewise.
53835         * nis/rpcsvc/yp.x: Likewise.
53836         * nis/rpcsvc/ypupd.h: Likewise.
53837         * nis/yp_xdr.c: Likewise.
53838         * nis/ypupdate_xdr.c: Likewise.
53839
53840         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
53841         mainly the body of pmap_getport.  Add parameters to specify timeouts.
53842         (pmap_getport): Use __libc_rpc_getport.
53843         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
53844         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
53845         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
53846
53847 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
53848
53849         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
53850         fanotify_mark.
53851
53852 2010-08-27  Roland McGrath  <roland@redhat.com>
53853
53854         * sysdeps/i386/i686/multiarch/Makefile
53855         (CFLAGS-varshift.c): New variable.
53856
53857 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
53858
53859         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
53860         * sysdeps/i386/i686/multiarch/varshift.c: New file.
53861
53862         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
53863
53864         * sysdeps/x86_64/strlen.S: Minimal code improvement.
53865
53866 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
53867
53868         * sysdeps/x86_64/strlen.S: Unroll the loop.
53869         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
53870         strlen-sse2 strlen-sse2-bsf.
53871         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
53872         __strlen_no_bsf if bit_Slow_BSF is set.
53873         (__strlen_sse42): Removed.
53874         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
53875         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
53876
53877 2010-08-25  Roland McGrath  <roland@redhat.com>
53878
53879         * sysdeps/x86_64/multiarch/varshift.S: File removed.
53880         * sysdeps/x86_64/multiarch/varshift.c: New file.
53881         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
53882         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
53883         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
53884         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
53885
53886 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
53887
53888         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
53889         strlen-sse2 strlen-sse2-bsf.
53890         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
53891         __strlen_sse2_bsf if bit_Slow_BSF is unset.
53892         (__strlen_sse2): Removed.
53893         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
53894         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
53895         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
53896         bit_Slow_BSF for Atom.
53897         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
53898         (index_Slow_BSF): Define.
53899         (HAS_SLOW_BSF): Define.
53900
53901 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
53902
53903         [BZ #10851]
53904         * resolv/res_init.c (__res_vinit): When no server address at all
53905         is given default to loopback.
53906
53907 2010-08-24  Roland McGrath  <roland@redhat.com>
53908
53909         * configure.in: Remove config-name.h generation.
53910         * configure: Regenerated.
53911         * config-name.in: File removed.
53912         * scripts/config-uname.sh: New file.
53913         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
53914         ($(objdir)config-name.h): New target.
53915
53916         * sunrpc/rpc_parse.h: Avoid nested comment.
53917
53918 2010-08-24  Richard Henderson  <rth@redhat.com>
53919             Ulrich Drepper  <drepper@redhat.com>
53920             H.J. Lu  <hongjiu.lu@intel.com>
53921
53922         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
53923         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
53924         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
53925         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
53926         _mm_alignr_epi8 with _mm_loadu_si128.
53927         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
53928         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
53929         (__m128i_shift_right): Removed.
53930         * sysdeps/i386/i686/multiarch/varshift.h: New file.
53931         * sysdeps/i386/i686/multiarch/varshift.S: New file.
53932         * sysdeps/x86_64/multiarch/varshift.h: New file.
53933         * sysdeps/x86_64/multiarch/varshift.S: New file.
53934
53935 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
53936
53937         * configure.in: Move assembler checks to before sysdep dir checking.
53938
53939 2010-08-20  Petr Baudis  <pasky@suse.cz>
53940
53941         * LICENSES: Sync the sunrpc license.
53942
53943 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
53944
53945         * sunrpc/auth_des.c: Update copyright notice once again.
53946         * sunrpc/auth_none.c: Likewise.
53947         * sunrpc/auth_unix.c: Likewise.
53948         * sunrpc/authdes_prot.c: Likewise.
53949         * sunrpc/authuxprot.c: Likewise.
53950         * sunrpc/bindrsvprt.c: Likewise.
53951         * sunrpc/clnt_gen.c: Likewise.
53952         * sunrpc/clnt_perr.c: Likewise.
53953         * sunrpc/clnt_raw.c: Likewise.
53954         * sunrpc/clnt_simp.c: Likewise.
53955         * sunrpc/clnt_tcp.c: Likewise.
53956         * sunrpc/clnt_udp.c: Likewise.
53957         * sunrpc/clnt_unix.c: Likewise.
53958         * sunrpc/des_crypt.c: Likewise.
53959         * sunrpc/des_soft.c: Likewise.
53960         * sunrpc/get_myaddr.c: Likewise.
53961         * sunrpc/getrpcport.c: Likewise.
53962         * sunrpc/key_call.c: Likewise.
53963         * sunrpc/key_prot.c: Likewise.
53964         * sunrpc/openchild.c: Likewise.
53965         * sunrpc/pm_getmaps.c: Likewise.
53966         * sunrpc/pm_getport.c: Likewise.
53967         * sunrpc/pmap_clnt.c: Likewise.
53968         * sunrpc/pmap_prot.c: Likewise.
53969         * sunrpc/pmap_prot2.c: Likewise.
53970         * sunrpc/pmap_rmt.c: Likewise.
53971         * sunrpc/rpc/auth.h: Likewise.
53972         * sunrpc/rpc/auth_unix.h: Likewise.
53973         * sunrpc/rpc/clnt.h: Likewise.
53974         * sunrpc/rpc/des_crypt.h: Likewise.
53975         * sunrpc/rpc/key_prot.h: Likewise.
53976         * sunrpc/rpc/netdb.h: Likewise.
53977         * sunrpc/rpc/pmap_clnt.h: Likewise.
53978         * sunrpc/rpc/pmap_prot.h: Likewise.
53979         * sunrpc/rpc/pmap_rmt.h: Likewise.
53980         * sunrpc/rpc/rpc.h: Likewise.
53981         * sunrpc/rpc/rpc_des.h: Likewise.
53982         * sunrpc/rpc/rpc_msg.h: Likewise.
53983         * sunrpc/rpc/svc.h: Likewise.
53984         * sunrpc/rpc/svc_auth.h: Likewise.
53985         * sunrpc/rpc/types.h: Likewise.
53986         * sunrpc/rpc/xdr.h: Likewise.
53987         * sunrpc/rpc_clntout.c: Likewise.
53988         * sunrpc/rpc_cmsg.c: Likewise.
53989         * sunrpc/rpc_common.c: Likewise.
53990         * sunrpc/rpc_cout.c: Likewise.
53991         * sunrpc/rpc_dtable.c: Likewise.
53992         * sunrpc/rpc_hout.c: Likewise.
53993         * sunrpc/rpc_main.c: Likewise.
53994         * sunrpc/rpc_parse.c: Likewise.
53995         * sunrpc/rpc_parse.h: Likewise.
53996         * sunrpc/rpc_prot.c: Likewise.
53997         * sunrpc/rpc_sample.c: Likewise.
53998         * sunrpc/rpc_scan.c: Likewise.
53999         * sunrpc/rpc_scan.h: Likewise.
54000         * sunrpc/rpc_svcout.c: Likewise.
54001         * sunrpc/rpc_tblout.c: Likewise.
54002         * sunrpc/rpc_util.c: Likewise.
54003         * sunrpc/rpc_util.h: Likewise.
54004         * sunrpc/rpcinfo.c: Likewise.
54005         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
54006         * sunrpc/rpcsvc/key_prot.x: Likewise.
54007         * sunrpc/rpcsvc/klm_prot.x: Likewise.
54008         * sunrpc/rpcsvc/mount.x: Likewise.
54009         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
54010         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
54011         * sunrpc/rpcsvc/rex.x: Likewise.
54012         * sunrpc/rpcsvc/rstat.x: Likewise.
54013         * sunrpc/rpcsvc/rusers.x: Likewise.
54014         * sunrpc/rpcsvc/sm_inter.x: Likewise.
54015         * sunrpc/rpcsvc/spray.x: Likewise.
54016         * sunrpc/rpcsvc/yppasswd.x: Likewise.
54017         * sunrpc/rtime.c: Likewise.
54018         * sunrpc/svc.c: Likewise.
54019         * sunrpc/svc_auth.c: Likewise.
54020         * sunrpc/svc_authux.c: Likewise.
54021         * sunrpc/svc_raw.c: Likewise.
54022         * sunrpc/svc_run.c: Likewise.
54023         * sunrpc/svc_simple.c: Likewise.
54024         * sunrpc/svc_tcp.c: Likewise.
54025         * sunrpc/svc_udp.c: Likewise.
54026         * sunrpc/svc_unix.c: Likewise.
54027         * sunrpc/svcauth_des.c: Likewise.
54028         * sunrpc/xcrypt.c: Likewise.
54029         * sunrpc/xdr.c: Likewise.
54030         * sunrpc/xdr_array.c: Likewise.
54031         * sunrpc/xdr_float.c: Likewise.
54032         * sunrpc/xdr_mem.c: Likewise.
54033         * sunrpc/xdr_rec.c: Likewise.
54034         * sunrpc/xdr_ref.c: Likewise.
54035         * sunrpc/xdr_sizeof.c: Likewise.
54036         * sunrpc/xdr_stdio.c: Likewise.
54037
54038         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
54039         handling.
54040
54041 2010-08-19  Andreas Schwab  <schwab@redhat.com>
54042
54043         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
54044
54045 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
54046
54047         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
54048         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
54049         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
54050         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
54051         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
54052         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
54053         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
54054         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
54055         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
54056         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
54057         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
54058         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
54059         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
54060         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
54061
54062 2010-07-26  Anton Blanchard  <anton@samba.org>
54063
54064         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
54065         * malloc/arena.c (heap_trim): Likewise.
54066
54067 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
54068
54069         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
54070         here.  Not...
54071         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
54072         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
54073
54074 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
54075
54076         * sysdeps/i386/elf/Makefile: New file.
54077
54078 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
54079
54080         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
54081         from fanotify_init.
54082         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
54083         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
54084
54085 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
54086
54087         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
54088         of strncasecmp_l.
54089         * sysdeps/multiarch/strcmp.S: Likewise.
54090
54091 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
54092
54093         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
54094         strncase_l-nonascii.
54095         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
54096         Add strncase_l-ssse3.
54097         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
54098         * sysdeps/x86_64/strcmp.S: Likewise.
54099         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
54100         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
54101         * sysdeps/x86_64/strncase.S: New file.
54102         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
54103         * sysdeps/x86_64/strncase_l.S: New file.
54104         * string/Makefile (strop-tests): Add strncasecmp.
54105         * string/test-strncasecmp.c: New file.
54106
54107         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
54108         warning.
54109
54110         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
54111         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
54112
54113 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
54114
54115         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
54116
54117 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
54118
54119         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
54120         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
54121         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
54122
54123 2010-05-01  Alan Modra  <amodra@gmail.com>
54124
54125         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
54126         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
54127         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
54128         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
54129         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
54130         tidying.  Don't tail-call __sigjmp_save for static lib.
54131         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
54132         save location.
54133         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
54134         (CALL_MCOUNT): Add eh info, and nop after bl.
54135         (TAIL_CALL_SYSCALL_ERROR): New macro.
54136         (PSEUDO_RET): Use it.
54137         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
54138         Correct save location of integer regs and cr.
54139         (_dl_profile_resolve): Correct cr save location.  Delete nops
54140         after bl when SHARED.  Reduce cfi size a little by better
54141         placement of cfi directives.
54142         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
54143         make a stack frame.  Instead use parm save area as a temp.
54144         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
54145         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
54146         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
54147         Don't make a stack frame for parent, use parm save area.
54148         Increase child stack frame to 112 bytes.  Don't save unused reg,
54149         and adjust reg usage.  Set up cfi on error recovery and
54150         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
54151         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
54152         (__makecontext): Add dummy nop after jump to exit.
54153         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
54154         Use correct parm save area and cr save, reduce stack frame.
54155         Correct cfi for possible PSEUDO_RET frame setup.
54156         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
54157         Branch to local label emitted by PSEUDO_RET rather than
54158         __syscall_error.
54159
54160 2010-08-12  Andreas Schwab  <schwab@redhat.com>
54161
54162         [BZ #11904]
54163         * locale/programs/locale.c (print_assignment): New function.
54164         (show_locale_vars): Use it.
54165
54166 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
54167
54168         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
54169         field.
54170         (struct statfs64): Likewise.
54171         (_STATFS_F_FLAGS): Define.
54172         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
54173         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
54174         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
54175         (ST_VALID): Define locally.
54176         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
54177         __statvfs_getflags, use the provided value.
54178         * sysdeps/unix/sysv/linux/kernel-features.h: Define
54179         __ASSUME_STATFS_F_FLAGS.
54180
54181         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
54182
54183         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
54184         Add sys/fanotify.h.
54185         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
54186         fanotify_mask for GLIBC_2.13.
54187         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
54188         fanotify_init and fanotify_mark.
54189         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
54190         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
54191
54192         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
54193         Add prlimit.
54194         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
54195         prlimit64 for GLIBC_2.13.
54196         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
54197         prlimit64.
54198         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
54199         syscall.
54200         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
54201         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
54202         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
54203         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
54204         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
54205         add prlimit alias.
54206         * sysdeps/unix/sysv/linux/prlimit.c: New file.
54207
54208         [BZ #11903]
54209         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
54210         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
54211
54212         * nss/Makefile: Add rules to build and run tst-nss-test1.
54213         * shlib-versions: Add entry for libnss_test1.
54214         * nss/nss_test1.c: New file.
54215         * nss/tst-nss-test1.c: New file.
54216
54217         * nss/nsswitch.c (__nss_database_custom): Define new variable.
54218         (__nss_configure_lookup): Set appropriate entry in
54219         __nss_configure_lookup to true.
54220         * nss/nsswitch.h: Define enum with indeces of databases in
54221         databases and __nss_database_custom arrays.  Declare
54222         __nss_database_custom.
54223         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
54224         to avoid using nscd when custom rules are installed.
54225         * nss/getXXbyYY_r.c: Likewise.
54226         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
54227
54228         * nss/nss_files/files-parse.c: Whitespace fixes.
54229
54230 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
54231
54232         [BZ #11883]
54233         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
54234         * posix/fnmatch_loop.c: Likewise.
54235
54236 2010-07-17  Andi Kleen  <ak@linux.intel.com>
54237
54238         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
54239         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
54240         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
54241         * Versions.def [GLIBC_2.13]: Add.
54242
54243 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
54244
54245         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
54246         Also fail if tpwd after pwuid call is NULL.
54247
54248 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
54249
54250         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
54251         when converting to ms.
54252
54253 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
54254
54255         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
54256         EOPNOTSUPP errors with ENOTTY.
54257         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
54258         EOPNOTSUPP errors with ENOTTY.
54259
54260 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
54261
54262         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
54263         Add strcasecmp_l-ssse3.
54264         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
54265         strcasecmp.
54266         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
54267         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
54268         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
54269
54270 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
54271
54272         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
54273
54274         * string/Makefile (strop-tests): Add strcasecmp.
54275         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
54276         strcasecmp_l-nonascii.
54277         (gen-as-const-headers): Add locale-defines.sym.
54278         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
54279         * sysdeps/x86_64/strcasecmp.S: New file.
54280         * sysdeps/x86_64/strcasecmp_l.S: New file.
54281         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
54282         * sysdeps/x86_64/locale-defines.sym: New file.
54283         * string/test-strcasecmp.c: New file.
54284
54285         * string/test-strcasestr.c: Test both ends of the range of characters.
54286         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
54287
54288 2010-07-29  Roland McGrath  <roland@redhat.com>
54289
54290         [BZ #11856]
54291         * manual/locale.texi (Yes-or-No Questions): Fix example code.
54292
54293 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
54294
54295         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
54296         for ld.so.
54297
54298 2010-07-27  Andreas Schwab  <schwab@redhat.com>
54299
54300         * manual/memory.texi (Malloc Tunable Parameters): Document
54301         M_PERTURB.
54302
54303 2010-07-26  Roland McGrath  <roland@redhat.com>
54304
54305         [BZ #11840]
54306         * configure.in (-fgnu89-inline check): Set and substitute
54307         gnu89_inline, not libc_cv_gnu89_inline.
54308         * configure: Regenerated.
54309         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
54310
54311 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
54312
54313         * string/test-strnlen.c: New file.
54314         * string/Makefile (strop-tests): Add strnlen.
54315         * string/tester.c (test_strnlen): Add a few more test cases.
54316         * string/tst-strlen.c: Better error reporting.
54317
54318         * sysdeps/x86_64/strnlen.S: New file.
54319
54320 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
54321
54322         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
54323         lower-latency instructions.
54324
54325 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
54326
54327         * string/test-strcasestr.c: New file.
54328         * string/test-strstr.c: New file.
54329         * string/Makefile (strop-tests): Add strstr and strcasestr.
54330         * string/str-two-way.h: Don't undefine MAX.
54331         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
54332
54333 2010-07-21  Andreas Schwab  <schwab@redhat.com>
54334
54335         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
54336         strcasestr-nonascii.
54337         (CFLAGS-strcasestr-nonascii.c): Define.
54338         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
54339         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
54340         Remove unused attribute.
54341
54342 2010-07-20  Roland McGrath  <roland@redhat.com>
54343
54344         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
54345         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
54346         ld.so.cache was broken.  With it, there is no way to disable dsocaps
54347         like LD_HWCAP_MASK can disable hwcaps.
54348
54349 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
54350
54351         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
54352
54353 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
54354
54355         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
54356         call in strcasestr.
54357         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
54358         __strcasestr_sse42_nonascii.
54359         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
54360         strcasestr-nonascii.c.
54361         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
54362
54363 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
54364
54365         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
54366         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
54367         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
54368         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
54369
54370 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
54371
54372         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
54373         fcntl.
54374
54375 2010-07-06  Andreas Schwab  <schwab@redhat.com>
54376
54377         [BZ #11577]
54378         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
54379         dl_signal_cerror.
54380
54381 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
54382
54383         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
54384         _PC_PIPE_BUF using F_GETPIPE_SZ.
54385
54386 2010-07-05  Roland McGrath  <roland@redhat.com>
54387
54388         * manual/arith.texi (Rounding Functions): Fix rint description
54389         implicit in round description.
54390
54391 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
54392
54393         * elf/Makefile: Fix linking for a few tests to make recent linker
54394         happy.
54395
54396 2010-06-30  Andreas Schwab  <schwab@redhat.com>
54397
54398         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
54399         $(common-objpfx)libc_nonshared.a.
54400
54401 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
54402
54403         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
54404         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
54405         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
54406         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
54407         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
54408         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
54409         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
54410         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
54411         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
54412         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
54413         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
54414         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
54415         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
54416         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
54417         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
54418         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
54419         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
54420         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
54421         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
54422         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
54423         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
54424         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
54425         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
54426         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
54427         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
54428         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
54429         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
54430         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
54431         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
54432         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
54433         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
54434         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
54435         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
54436         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
54437         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
54438         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
54439         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
54440         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
54441         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
54442         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
54443         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
54444         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
54445         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
54446         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
54447         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
54448         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
54449         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
54450         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
54451
54452 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
54453
54454         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
54455         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
54456         * string/memmove.c (memmove): Renamed to ...
54457         (MEMMOVE): ...this.  Default to memmove.
54458         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
54459         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
54460         (END_CHK): Define.
54461         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
54462         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
54463         mempcpy-ssse3-back memmove-ssse3-back.
54464         * sysdeps/x86_64/multiarch/bcopy.S: New file .
54465         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
54466         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
54467         * sysdeps/x86_64/multiarch/memcpy.S: New file.
54468         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
54469         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
54470         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
54471         * sysdeps/x86_64/multiarch/memmove.c: New file.
54472         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
54473         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
54474         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
54475         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
54476         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
54477         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
54478         Define.
54479         (index_Fast_Copy_Backward): Define.
54480         (HAS_ARCH_FEATURE): Define.
54481         (HAS_FAST_REP_STRING): Define.
54482         (HAS_FAST_COPY_BACKWARD): Define.
54483
54484 2010-06-21  Andreas Schwab  <schwab@redhat.com>
54485
54486         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
54487         Restore proper fallback handling.
54488
54489 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
54490
54491         [BZ #11701]
54492         * posix/group_member.c (__group_member): Correct checking loop.
54493
54494         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
54495         OOM in getpwuid_r correctly.  Return error number when the caller
54496         should return, otherwise -1.
54497         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
54498         call returning > 0 value.
54499         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
54500
54501 2010-06-07  Andreas Schwab  <schwab@redhat.com>
54502
54503         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
54504         libc_nonshared.a from targets in modules-names.
54505
54506 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
54507
54508         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
54509         requires it.
54510
54511 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
54512
54513         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
54514         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
54515         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
54516         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
54517
54518 2010-06-02  Andreas Schwab  <schwab@redhat.com>
54519
54520         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
54521
54522 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
54523
54524         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
54525         and F_GETPIPE_SZ.
54526         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
54527         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
54528         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
54529         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
54530         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
54531         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
54532
54533 2010-06-14  Roland McGrath  <roland@redhat.com>
54534
54535         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
54536
54537 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
54538
54539         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
54540         __REDIRECT followed by __THROW.
54541         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
54542         * posix/getopt.h (getopt): Likewise.
54543
54544 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
54545
54546         * hurd/lookup-at.c (__file_name_lookup_at): Accept
54547         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
54548         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
54549         in AT_FLAGS.
54550         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
54551         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
54552
54553 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
54554
54555         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
54556
54557 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
54558
54559         [BZ #11640]
54560         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
54561         Properly check family and model.
54562
54563 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
54564
54565         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
54566
54567 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
54568
54569         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
54570
54571 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
54572
54573         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
54574         symbol reference.
54575
54576 2010-05-19  Andreas Schwab  <schwab@redhat.com>
54577
54578         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
54579         symbol reference.
54580
54581 2010-05-21  Andreas Schwab  <schwab@redhat.com>
54582
54583         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
54584         and internal_recvmmsg.
54585         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
54586         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
54587         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
54588         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
54589
54590         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
54591         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
54592         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
54593
54594 2010-05-20  Andreas Schwab  <schwab@redhat.com>
54595
54596         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
54597
54598 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
54599
54600         POWER7 optimizations.
54601         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
54602         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
54603
54604 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
54605
54606         * version.h: Update for 2.13 development version.
54607
54608 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
54609
54610         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
54611         exceptions.  Return 0.
54612
54613 2010-05-07  Roland McGrath  <roland@redhat.com>
54614
54615         * elf/ldconfig.c (main): Add a const.
54616
54617 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
54618
54619         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
54620         (args_options): Add no-idn option.
54621         (ahosts_keys_int): Add idn_flags to ai_flags.
54622         (parse_option): Handle 'i' option to clear idn_flags.
54623
54624         * malloc/malloc.c (_int_free): Possible race in the most recently
54625         added check.  Only act on the data if no current modification
54626         happened.
54627
54628 See ChangeLog.17 for earlier changes.