Replace %ld/%lu with %jd/%ju and cast to intmax_t/uintmax_t
[platform/upstream/glibc.git] / ChangeLog
1 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
2
3         [BZ #17732]
4         * io/test-utime.c (main): Replace %ld with %jd and cast to
5         intmax_t.
6         * libio/tst-ftell-active-handler.c (do_append_test): Likewise.
7         * nptl/tst-mutex5.c: Include <stdint.h>.
8         (do_test): Replace %ld with %jd and cast to intmax_t.
9         * posix/tst-regex.c (run_test): Likewise.
10         (run_test_backwards): Likewise.
11         * rt/tst-clock.c: Include <stdint.h>.
12         (clock_test): Replace %ld with %jd and cast to intmax_t.
13         * rt/tst-cpuclock1.c: Include <stdint.h>.
14         (do_test): Replace %lu with %ju and cast to uintmax_t.
15         * rt/tst-cpuclock2.c: Include <stdint.h>.
16         (do_test): Replace %lu with %ju and cast to uintmax_t.
17         * rt/tst-mqueue1.c: Include <stdint.h>.
18         (check_attrs): Replace %ld with %jd and cast to intmax_t.
19         * rt/tst-mqueue3.c (fct): Replace %ld with %jd and cast to
20         intmax_t.
21         * rt/tst-mqueue4.c (do_test): Likewise.
22         * rt/tst-timer4.c: Include <stdint.h>.
23         (check_ts): Replace %ld with %jd and cast to intmax_t.
24         (do_test): Likewise.
25
26 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
27             H.J. Lu  <hongjiu.lu@intel.com>
28
29         * sysdeps/i386/i686/multiarch/bcopy-sse2-unaligned.S: New file.
30         * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
31         * sysdeps/i386/i686/multiarch/memmove-sse2-unaligned.S: Likewise.
32         * sysdeps/i386/i686/multiarch/mempcpy-sse2-unaligned.S: Likewise.
33         * sysdeps/i386/i686/multiarch/bcopy.S: Select the sse2_unaligned
34         version if bit_Fast_Unaligned_Load is set.
35         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
36         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
37         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
38         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
39         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
40         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
41         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
42         bcopy-sse2-unaligned, memcpy-sse2-unaligned,
43         memmove-sse2-unaligned and mempcpy-sse2-unaligned.
44         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c (MAX_IFUNC): Set
45         to 4.
46         (__libc_ifunc_impl_list): Test __bcopy_sse2_unaligned,
47         __memmove_chk_sse2_unaligned, __memmove_sse2_unaligned,
48         __memcpy_chk_sse2_unaligned, __memcpy_sse2_unaligned,
49         __mempcpy_chk_sse2_unaligned, and __mempcpy_sse2_unaligned.
50
51 2014-12-29  Chris Metcalf  <cmetcalf@ezchip.com>
52
53         * sysdeps/unix/sysv/linux/tst-setgetname.c (do_test): Use #ifndef
54         instead of #if to avoid a Wundef warning.
55         * stdlib/tst-limits.c (do_test): Likewise.
56
57         * sysdeps/tile/math_private.h (fetestexcept): Add macro to
58         parallel other exception macros.
59         (fegetenv): Convert from macro to extern inline so that it applies
60         retroactively to inline functions already seen by the compiler.
61         (fesetenv, feupdateenv, fegetround, fesetround): Likewise.
62
63         * posix/Makefile (before-compile): Use $(objpfx) for
64         posix-conf-vars-def.h.
65
66 2014-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
67
68         * posix/getconf.c (main): Use size_t for type of I.
69         * scripts-gen-posix-conf-vars.awk (END): Use size_t for type of
70         NSPEC.
71
72         * posix/posix-conf-vars.list (SPEC:XBS5): Add sysconf prefix.
73         * posix/confstr.c: Define NEED_SPEC_ARRAY to 0.
74         * posix/posix-envs.def: Likewise.
75         * sysdeps/posix/sysconf.c: Likewise.
76         * posix/getconf.c: Define NEED_SPEC_ARRAY to 1.
77         (specs): Remove array.
78         * scripts/gen-posix-conf-vars.awk: Support generation of specs
79         array.
80
81         * posix/posix-conf-vars.list: Add _POSIX sysconf namespace.
82         * sysdeps/posix/sysconf.c: Include posix-conf-vars.h.
83         (__sysconf): Use CONF_IS_* macros.
84
85         * posix/Makefile (before-compile): Add posix-conf-vars-def.h.
86         ($(objpfx)posix-conf-vars-def.h): New target.
87         * posix/posix-conf-vars.list: New file.
88         * posix/posix-conf-vars.h: New file.
89         * posix/confstr.c: Include posix-conf-vars.h.
90         (confstr): Use CONF_IS_* macros.
91         * posix/posix-envs.def: Include posix-conf-vars.h.  Use
92         CONF_IS_* macros.
93         * scripts/gen-posix-conf-vars.awk: New file.
94
95 2014-12-26  Chris Metcalf  <cmetcalf@ezchip.com>
96
97         * sysdeps/tile/math_private.h (fegetenv, fesetenv, feupdateenv,
98         fegetround): Add no-op macros to avoid linknamespace issues.
99
100         * sysdeps/unix/sysv/linux/clock_settime.c (SYSDEP_SETTIME): Remove
101         definitions of INTERNAL_VSYSCALL and INLINE_VSYSCALL.
102
103         * sysdeps/unix/sysv/linux/tile/sysdep.h
104         (HAVE_CLOCK_GETTIME_VSYSCALL): Move definition out of
105         assembly-specific section to avoid a redefinition warning.
106
107         * sysdeps/tile/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast to
108         long before casting to pointer to avoid a cast warning.
109
110 2014-12-23  Chris Metcalf  <cmetcalf@ezchip.com>
111
112         * sysdeps/tile/tilegx/Implies: New file.
113
114 2014-12-23  Richard Earnshaw  <rearnsha@arm.com>
115
116         * string/stpcpy.c (__stpcpy): Rewrite using strlen and memcpy.
117
118 2014-12-23  Florian Weimer  <fweimer@redhat.com>
119
120         * iconvdata/run-iconv-test.sh: Actually test iconv modules.
121
122 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
123
124         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES): Do
125         not define.
126         * sysdeps/unix/sysv/linux/utimes.c: Do not include
127         <kernel-features.h>.
128         (__utimes) [__NR_utimes]: Make code unconditional.
129         (__utimes) [!__ASSUME_UTIMES]: Remove conditional code.
130         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
131         (__ASSUME_UTIMES): Do not undefine.
132         * sysdeps/unix/sysv/linux/tile/kernel-features.h
133         (__ASSUME_UTIMES): Likewise.
134         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
135         (__ASSUME_UTIMES): Define for [__LINUX_KERNEL_VERSION >= 0x030e00]
136         instead of undefining for [__LINUX_KERNEL_VERSION < 0x030e00].
137         * sysdeps/unix/sysv/linux/hppa/utimes.c: New file.
138
139 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
140
141         * sysdeps/mips/memcpy.S: Fix preprocessor indentation.
142
143 2014-12-22  Chris Metcalf  <cmetcalf@ezchip.com>
144
145         [BZ #17747]
146         * math/w_j0.c [defined NO_LONG_DOUBLE] (j0, y0): Convert strong
147         alias to weak alias for j0l, y0l.
148         * math/w_j1.c [defined NO_LONG_DOUBLE] (j1, y1): Likewise.
149         * math/w_jn.c [defined NO_LONG_DOUBLE] (jn, yn): Likewise.
150
151         [BZ #17746]
152         * sysdeps/tile/tilegx/strstr.c (STRSTR2): Remove implicit boolean
153         conversion.
154
155 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
156
157         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Set
158         to zero if not already defined.
159
160 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
161
162         [BZ #17724]
163         * sysdeps/ieee754/k_standard.c: Don't include <float.h>.
164         (__kernel_standard_f): Remove.  Moved to k_standardf.c.
165         (__kernel_standard_l): Remove.  Moved to k_standardl.c with
166         (char *) casts added.
167         * sysdeps/ieee754/k_standardf.c: New file.
168         * sysdeps/ieee754/k_standardl.c: Likewise.
169         * math/Makefile (libm-support): Remove k_standard.
170         (libm-calls): Add k_standard.
171
172 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
173
174         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
175         Optimize to avoid an unnecessary FPCR read.
176
177 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
178
179         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
180         Optimize to reduce FPCR/FPSR accesses.
181
182 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
183
184         * sysdeps/aarch64/fpu/ftestexcept.c (fetestexcept):
185         Call libc_fetestexcept_aarch64.
186
187 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
188
189         * sysdeps/aarch64/fpu/fesetround.c (fesetround):
190         Call libc_fesetround_aarch64.
191
192 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
193
194         [BZ #17733]
195         * sysdeps/unix/sysv/linux/bind.S (NO_WEAK_ALIAS): Do not define.
196         (__bind): Do not define as weak alias.
197         * sysdeps/unix/sysv/linux/getsockname.S (NO_WEAK_ALIAS): Do not
198         define.
199         (__getsockname): Do not define as weak alias.
200
201 2014-12-22  Will Newton  <will.newton@linaro.org>
202
203         * manual/install.texi: Document that we require bison 2.7
204         or above.
205         * INSTALL: Regenerate.
206         * configure.ac: Use AC_CHECK_PROG_VER instead of
207         AC_PATH_PROG when checking for bison and check for
208         version 2.7 or above.
209         * configure: Regenerate.
210
211 2014-12-21  Chris Metcalf  <cmetcalf@ezchip.com>
212
213         [BZ #17745]
214         * sysdeps/tile/ffs.c (__ffs): Moved ffsll definition...
215         * sysdeps/tile/ffsll.c (ffsll): To here.
216
217         * sysdeps/unix/sysv/linux/tile/localplt.data: Removed.
218
219 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
220
221         * elf/dl-tls.c (__tls_get_addr): Provide the hidden definition
222         if not defined.
223         * sysdeps/i386/dl-tls.h (___tls_get_addr): Provide the hidden
224         definition.
225         * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
226         hidden ___tls_get_addr.
227         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
228         hidden __tls_get_addr.
229         * sysdeps/generic/localplt.data (__tls_get_addr): Removed.
230         * sysdeps/unix/sysv/linux/i386/localplt.data (___tls_get_addr):
231         Likewise.
232
233 2014-12-21  Andreas Schwab  <schwab@linux-m68k.org>
234
235         * sysdeps/m68k/dl-machine.h (RTLD_START): Remove @PLTPC from
236         _dl_init call.
237
238 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
239
240         * sysdeps/i386/dl-machine.h (_dl_start_user): Remove @PLT
241         from "call _dl_init@PLT".
242         * sysdeps/x86_64/dl-machine.h (_dl_start_user): Likewise.
243
244 2014-12-21  Anders Kaseorg  <andersk@mit.edu>
245
246         * manual/search.texi: (Array Sort Function): Clarify stable sorting
247         guarantees.
248
249 2014-12-20  Chris Metcalf  <cmetcalf@ezchip.com>
250
251         * sysdeps/unix/sysv/linux/tile/localplt.data: New file.
252
253 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
254
255         [BZ #17744]
256         * sysdeps/tile/tilegx/strstr.c (STRSTR): Call __strnlen, not
257         strnlen.
258
259 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
260
261         * sysdeps/mips/addmul_1.S (__mpn_addmul_1): Use mulu/muhu instead
262         of multu on MIPSr6.
263         * sysdeps/mips/mul_1.S (__mpn_mul_1): Ditto.
264         * sysdeps/mips/submul_1.S (__mpn_submul_1): Ditto.
265         * sysdeps/mips/mips64/addmul_1.S (__mpn_addmul_1): Ditto.
266         * sysdeps/mips/mips64/mul_1.S (__mpn_mul_1): Ditto.
267         * sysdeps/mips/mips64/submul_1.S (__mpn_submul_1): Ditto.
268
269 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
270
271         * sysdeps/mips/sys/asm.h (PTR_ADDU): Use addu on mips32r6/mips64r6.
272         (PTR_ADDIU): Use addiu for mips32r6/mips64r6.
273         (PTR_SUBU): Use subu for mips32r6/mips64r6.
274         (PTR_SUBIU): Use subu for mips32r6/mips64r6 (subiu does not exist).
275         * sysdeps/mips/machine-gmon.h (PTR_ADDU_STRING) Use addu for
276         mips32r6/mips64r6.
277         (PTR_SUBU_STRING) Use subu for mips32r6/mips64r6.
278
279 2014-12-19  Ondřej Bílka  <neleai@seznam.cz>
280
281         * string/strncat.c (STRNCAT): Simplify implementation.
282
283 2014-12-19  David S. Miller  <davem@davemloft.net>
284
285         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Use a union to
286         access the quad as both a long double and as a series of 4 words.
287
288         * get-dynamic-info.h (elf_get_dynamic_info): Ignore -Warray-bounds for a
289         link_map->l_info array access.
290
291 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
292
293         * iconvdata/tst-loading.c (TIMEOUT): Increase timeout 10 sec.
294
295         * math/atest-exp.c (TIMEOUT): Increase timeout to 10 sec.
296         * math/atest-exp2.c (TIMEOUT): Likewise.
297         * math/atest-sincos.c (TIMEOUT): Likewise.
298
299 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
300
301         * sysdeps/x86_64/x32/Makefile (CFLAGS-s_llround.c): Replace
302         -Wno-error with -fno-builtin-lround.
303
304 2014-12-19  Torvald Riegel  <triegel@redhat.com>
305
306         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: New file.
307         Contains futex constants and functions moved over from ...
308         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.  Include
309         <lowlevellock-futex.h>.
310         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
311         (lll_timedwait_tid): Add comments and parentheses around macro
312         arguments.
313
314 2014-12-19  Torvald Riegel  <triegel@redhat.com>
315
316         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Include
317         <lowlevellock-futex.h>.  Remove FUTEX_* constants defined there.
318         (__lll_private_flag): Remove.
319         (lll_futex_wait): Likewise.
320         (lll_futex_timed_wait): Likewise.
321         (lll_futex_wake): Likewise.
322         (lll_futex_requeue): Likewise.
323         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
324         (__lll_timedwait_tid): Spell out argument names.
325         (lll_timedwait_tid): Add comments and parentheses around macro
326         arguments.
327         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Make FUTEX_* constants,
328         LLL_SHARED and LLL_PRIVATE usable from assembly code.
329
330 2014-12-19  Torvald Riegel  <triegel@redhat.com>
331
332         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Remove file.
333         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
334         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
335         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Likewise.
336         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Likewise.
337         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Likewise.
338         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Likewise.
339         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Likewise.
340         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Likewise.
341         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: Likewise.
342         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: Likewise.
343         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Likewise.
344         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Likewise.
345         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Likewise.
346         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Likewise.
347         * sysdeps/unix/sysv/linux/sh/sem_post.S: Likewise.
348         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Likewise.
349         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Likewise.
350         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Likewise.
351
352 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
353
354         * sysdeps/x86_64/x32/Makefile: New file.
355
356 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
357
358         * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Replace
359         1L with (mp_limb_t) 1.
360
361 2014-12-17  Roland McGrath  <roland@hack.frob.com>
362
363         * sysdeps/nptl/fork.c (__fork_generation_pointer): Variable moved ...
364         * nptl/libc_pthread_init.c: ... here.
365         * sysdeps/nptl/fork.c (__fork_handlers): Variable moved ...
366         * nptl/register-atfork.c: ... here.
367
368         * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread):
369         Use pthread_sigmask rather than INTERNAL_SYSCALL.
370         Use assert_perror to check its return value.
371         (__gai_create_helper_thread): Likewise.
372
373         * inet/if_index.c (__if_freenameindex): Add libc_hidden_def.
374
375         * malloc/malloc.c (alloc_perturb, free_perturb): Remove inline keyword.
376
377 2014-12-17  Joseph Myers  <joseph@codesourcery.com>
378
379         [BZ #17725]
380         * sysdeps/generic/profil-counter.h (profil_counter): Rename to
381         __profil_counter.
382         * sysdeps/unix/sysv/linux/hppa/profil-counter.h (profil_counter):
383         Likewise.
384         * sysdeps/unix/sysv/linux/i386/profil-counter.h (profil_counter):
385         Likewise.
386         * sysdeps/unix/sysv/linux/ia64/profil-counter.h (profil_counter):
387         Likewise.
388         * sysdeps/unix/sysv/linux/s390/s390-32/profil-counter.h
389         (profil_counter): Likewise.
390         * sysdeps/unix/sysv/linux/s390/s390-64/profil-counter.h
391         (profil_counter): Likewise.
392         * sysdeps/unix/sysv/linux/sh/profil-counter.h (profil_counter):
393         Likewise.
394         * sysdeps/unix/sysv/linux/tile/profil-counter.h (profil_counter):
395         Likewise.
396         * sysdeps/unix/sysv/linux/x86_64/profil-counter.h
397         (profil_counter): Likewise.
398         * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
399         Likewise.
400         [!__profil_counter] (profil_counter): Define as weak alias of
401         __profil_counter.
402         * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h
403         (profil_counter): Rename to __profil_counter.
404         [!__profil_counter] (profil_counter): Define as weak alias of
405         __profil_counter.
406         * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h
407         (profil_counter): Rename to __profil_counter.
408         [!__profil_counter] (profil_counter): Define as weak alias of
409         __profil_counter.
410         * sysdeps/posix/profil.c: Update comment referring to
411         profil_counter.
412         (__profil): Use __profil_counter instead of profil_counter.
413         * sysdeps/posix/sprofil.c (profil_counter): Rename to
414         __profil_counter.  Use __profil_counter_ushort and
415         __profil_counter_uint in definitions.
416         (__sprofil): Use __profil_counter_uint and __profil_counter_ushort
417         instead of profil_counter_uint and profil_counter_ushort.
418
419         [BZ #17722]
420         * inet/inet_mkadr.c (inet_makeaddr): Rename to __inet_makeaddr and
421         define as weak alias of __inet_makeaddr.
422         * resolv/inet_addr.c (inet_addr): Rename to __inet_addr and define
423         as weak alias of __inet_addr.
424         * resolv/inet_pton.c (inet_pton): Rename to __inet_pton and define
425         as weak alias of __inet_pton.  Use libc_hidden_weak.
426         * include/arpa/inet.h (__inet_pton): Declare.  Use
427         libc_hidden_proto.
428         (inet_makeaddr): Don't use libc_hidden_proto.
429         (__inet_makeaddr): Declare.  Use libc_hidden_proto.
430         * resolv/res_init.c (__res_vinit): Use __inet_pton instead of
431         inet_pton.  Use __inet_makeaddr instead of inet_makeaddr.
432         * conform/Makefile (test-xfail-POSIX/pthread.h/linknamespace):
433         Remove variable.
434         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
435         (test-xfail-POSIX/time.h/linknamespace): Likewise.
436
437 2014-12-17  Steve Ellcey  <sellcey@imgtec.com>
438
439         * inet/getnetgrent_r.c: Move while loop to be inside if statement.
440
441 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
442
443         * stdio-common/bug-vfprintf-nargs.c (do_test):
444         Cast value to intptr_t to avoid format warning
445         for usage with PRIdPTR printing macro.
446
447 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
448
449         * libio/tst-widetext.c (do_test):
450         Use format type %td instead of %Zd for ptrdiff_t
451         in order to avoid format warning.
452
453 2014-12-17  Andreas Schwab  <schwab@suse.de>
454
455         * nscd/mem.c (gc): Add size_t cast to match printf format.
456
457 2014-12-16  Roland McGrath  <roland@hack.frob.com>
458
459         * sysdeps/gnu/unwind-resume.c: #include <sysdep.h>.
460         (init): Apply PTR_MANGLE to pointers before storing them.
461         (_Unwind_Resume, __gcc_personality_v0): Apply PTR_DEMANGLE to pointers
462         before using them.
463
464 2014-12-16  Joseph Myers  <joseph@codesourcery.com>
465
466         [BZ #17719]
467         * sysdeps/x86_64/memrchr.S (memrchr): Rename to __memrchr and
468         define as weak alias of __memrchr.
469         (__memrchr): Do not define as strong alias of memrchr.
470         * conform/Makefile (test-xfail-XPG4/libgen.h/linknamespace):
471         Remove variable.
472         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
473         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
474         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
475
476         [BZ #17717]
477         * inet/if_index.c (if_nametoindex): Rename to __if_nametoindex and
478         define as weak alias of __if_nametoindex.  Use libc_hidden_weak.
479         (if_indextoname): Rename to __if_indextoname and define as weak
480         alias of __if_indextoname.  Use libc_hidden_weak.
481         (if_freenameindex): Rename to __if_freenameindex and define as
482         weak alias of __if_freenameindex.
483         (if_nameindex): Rename to __if_nameindex and define as weak alias
484         of __if_nameindex.
485         * sysdeps/mach/hurd/if_index.c (if_nametoindex): Rename to
486         __if_nametoindex and define as weak alias of __if_nametoindex.
487         Use libc_hidden_weak.
488         (if_freenameindex): Rename to __if_freenameindex and define as
489         weak alias of __if_freenameindex.
490         (if_nameindex): Rename to __if_nameindex and define as weak alias
491         of __if_nameindex.
492         (if_indextoname): Rename to __if_indextoname and define as weak
493         alias of __if_indextoname.  Use libc_hidden_weak.
494         * sysdeps/unix/sysv/linux/if_index.c (if_nametoindex): Rename to
495         __if_nametoindex and define as weak alias of __if_nametoindex.
496         Use libc_hidden_weak.
497         (if_freenameindex): Rename to __if_freenameindex and define as
498         weak alias of __if_freenameindex.  Use libc_hidden_weak.
499         (if_nameindex_netlink): Use __if_freenameindex instead of
500         if_freenameindex.
501         (if_nameindex): Rename to __if_nameindex and define as weak alias
502         of __if_nameindex.  Use libc_hidden_weak.
503         (if_indextoname): Rename to __if_indextoname and define as weak
504         alias of __if_indextoname.  Use libc_hidden_weak.
505         * include/net/if.h [!_ISOMAC] (__if_nametoindex): Declare and use
506         libc_hidden_proto.
507         [!_ISOMAC] (__if_freenameindex): Likewise.
508         * resolv/res_init.c (__res_vinit): Use __if_nametoindex instead of
509         if_nametoindex.
510         * conform/Makefile (test-xfail-XPG4/grp.h/linknamespace): Remove
511         variable.
512         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
513         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
514         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
515         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
516         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
517         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
518         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
519
520         * conform/Makefile (test-xfail-UNIX98/semaphore.h/linknamespace):
521         Remove variable.
522         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
523         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
524
525 2014-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
526
527         * resolv/res_send.c (__libc_res_nsend): Disable warning 'array
528         subscript above bounds'
529
530         * resolv/res_send.c (__libc_res_nsend): Fix check for nsmap
531         bounds.
532
533 2014-12-16  Arjun Shankar  <arjun.is@lostca.se>
534
535         * libio/tst-fopenloc.c: Use test-skeleton.c.
536
537         * stdlib/tst-bsearch.c: Use test-skeleton.c.
538         (entry): Rename to ITEM.
539         (do_test, comp): Adjust.
540
541         * stdio-common/tst-fseek.c: Use test-skeleton.c.
542
543 2014-12-16  Torvald Riegel  <triegel@redhat.com>
544
545         * string/tester.c: Include <libc-internal.h>.
546         (test_memset): Ignore -Wmemset-transposed-args.
547
548 2014-12-16  Torvald Riegel  <triegel@redhat.com>
549
550         * misc/tst-mntent2.c (do_test): Fix warning.
551
552 2014-12-16  Torvald Riegel  <triegel@redhat.com>
553
554         * elf/tst-unique4lib.cc(a): Mark as used.
555
556 2014-12-16  Florian Weimer  <fweimer@redhat.com>
557
558         [BZ #17630]
559         * resolv/nss_dns/dns-network.c (getanswer_r): Iterate over alias
560         names.
561
562 2014-12-16  Allan McRae  <allan@archlinux.org>
563
564         * stdio-common/Makefile (tests): Re-add bug26.
565
566 2014-12-15  Ondřej Bílka  <neleai@seznam.cz>
567
568         [BZ #17657]
569         * locale/programs/ld-ctype.c (find_translit2, read_widestring): Return
570         static array.
571
572 2014-12-15  Bernard Ogden  <bernie.ogden@linaro.org>
573
574         * nptl/lowlevellock.c (__lll_lock_wait_private): Add comments.
575         (__lll_lock_wait): Likewise.
576         (__lll_timedlock_wait): Likewise.
577         (__lll_timedwait_tid): Likewise.
578         * nptl/lowlevelrobustlock.c (__lll_robust_lock_wait): Likewise.
579         (__lll_robust_timedlock_wait): Likewise.
580         * sysdeps/nptl/lowlevellock.h (lll_trylock): Likewise.
581         (lll_cond_trylock): Likewise.
582         (__lll_lock): Likewise.
583         (__lll_robust_lock): Likewise.
584         (__lll_cond_lock): Likewise.
585         (lll_robust_cond_lock): Likewise.
586         (__lll_timedlock): Likewise.
587         (__lll_robust_timedlock): Likewise.
588         (__lll_unlock): Likewise.
589         (__lll_robust_unlock): Likewise.
590         (lll_wait_tid): Likewise.
591         (lll_timedwait_tid): Likewise.
592
593 2014-12-15  Torvald Riegel  <triegel@redhat.com>
594
595         * nptl/tst-sem4.c (do_test): Start with a fresh semaphore state.
596
597 2014-12-15  Torvald Riegel  <triegel@redhat.com>
598
599         * nptl/tst-mutex5.c (do_test): Do not skip tests if elision is enabled.
600
601 2014-12-15  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
602
603         * stdio-common/test-vfprintf.c: Include <libc-internal.h>.
604         * stdio-common/tst-sprintf.c: Likewise.
605
606 2014-12-15  Torvald Riegel  <triegel@redhat.com>
607
608         * sysdeps/unix/sysv/linux/s390/pthread_once.c: Remove file.
609
610 2014-12-15  Jeff Law  <law@redhat.com>
611
612         [BZ #16617]
613         * stdio-common/vfprintf.c (vfprintf): Allocate large specs array
614         on the heap.  (CVE-2012-3406)
615         * stdio-common/bug23-2.c, stdio-common/bug23-3.c: New file.
616         * stdio-common/bug23-4.c: New file.  Test case by Joseph Myers.
617         * stdio-common/Makefile (tests): Add bug23-2, bug23-3, bug23-4.
618
619 2014-12-15  Will Newton  <will.newton@linaro.org>
620
621         * manual/install.texi: Bump required version of texinfo
622         to 4.7 from 4.5.
623         * INSTALL: Regenerated.
624         * configure.ac: Check for makeinfo version 4.7 and above.
625         * configure: Regenerated.
626
627 2014-12-12  Roland McGrath  <roland@hack.frob.com>
628
629         * sysdeps/posix/shm-directory.h (SHM_GET_NAME): Take new argument
630         PREFIX, string constant to insert between directory and name.
631         * sysdeps/posix/shm_open.c: Update caller.
632         * sysdeps/posix/shm_unlink.c: Likewise.
633         * nptl/semaphoreP.h (struct mountpoint_info): Type removed.
634         (__where_is_shmfs, mountpoint, __namedsem_once): Declarations removed.
635         (SEM_SHM_PREFIX): New macro.
636         * sysdeps/posix/Makefile (librt-routines): Add shm-directory only if
637         [$(have-thread-library) = no].
638         * nptl/Makefile (libpthread-routines): Add shm-directory.
639         * nptl/Versions (GLIBC_PRIVATE): Add __shm_directory.
640         * sysdeps/nptl/shm-directory.h: New file.
641         * sysdeps/posix/shm-directory.c
642         [IS_IN (libpthread)] (__shm_directory): Add hidden_def.
643         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
644         * nptl/sem_open.c (check_add_mapping): Use munmap function rather than
645         INTERNAL_SYSCALL.
646         (__where_is_shmfs): Function removed.
647         (mountpoint, defaultmount, defaultdir, __namedsem_once):
648         Variables removed.
649         (sem_open): Use __libc_close function rather than INTERNAL_SYSCALL.
650         Use SHM_GET_NAME.
651         * nptl/sem_unlink.c: Prototypify.  Use SHM_GET_NAME.
652
653         * sysdeps/nptl/bits/libc-lockP.h [IS_IN (libpthread)]
654         (PTFAVAIL, __libc_ptf_call, __libc_ptf_call_always): Define as
655         unconditional for use inside libpthread.
656         [IS_IN (libpthread)]: Include <nptl/pthreadP.h>.
657
658 2014-12-12  Roland McGrath  <roland@hack.frob.com>
659
660         * nptl/pthread_getaffinity.c: New file.
661         * nptl/pthread_setaffinity.c: New file.
662         * nptl/pthread_getname.c: New file.
663         * nptl/pthread_setname.c: New file.
664
665         * nptl/pthread_create.c (START_THREAD_DEFN)
666         [! __ASSUME_SET_ROBUST_LIST]: Add missing & in lll_futex_wake argument.
667
668 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
669             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
670
671         * resolv/res_send.c (send_vc): Disable warning resplen may
672         be used uninitialized.
673
674 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
675
676         * nptl/tst-mutex6.c
677         (ATTR_NULL): New define checks ATTR against NULL.
678         (do_test): Use !ATTR_NULL instead of ATTR != NULL.
679         * nptl/tst-mutexpp6.c (ATTR_NULL): New define.
680
681 2014-12-11  James Lemke  <jwlemke@codesourcery.com>
682
683         [BZ #17581]
684         * malloc/hooks.c
685         (mem2mem_check): Revert my previous change.
686         (malloc_check_get_size): Revert my previous change.
687         (mem2chunk_check): Revert my previous change.
688
689 2014-12-11  Roland McGrath  <roland@hack.frob.com>
690
691         * sysdeps/posix/shm-directory.c: New file.
692         * sysdeps/posix/shm-directory.h: New file.
693         * sysdeps/posix/Makefile [($(subdir) = rt] (librt-routines): Add it.
694         * sysdeps/posix/shm_open.c: Use SHM_GET_NAME.
695         Use O_NOFOLLOW and O_CLOEXEC if available.  Transmute EISDIR to EINVAL.
696         * sysdeps/posix/shm_unlink.c: Use SHM_GET_NAME.
697         Transmute EPERM to EACCES.
698         * sysdeps/unix/sysv/linux/shm-directory.c: New file, most code taken
699         from ...
700         * sysdeps/unix/sysv/linux/shm_open.c: ... here.  File removed.
701         * sysdeps/unix/sysv/linux/shm_unlink.c: File removed.
702
703 2014-12-11  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
704
705         * sysdeps/sh/jmpbuf_unwind.h (_jmpbuf_sp): Declare SP as void
706         pointer and cast to uintptr_t.
707         * sysdeps/sh/nptl/tls.h (TLS_INIT_TP): Use NULL instead of 0.
708         * sysdeps/unix/sysv/linux/sh/lowlevellock.h (lll_futex_timed_wait):
709         Add cast to avoid warning.
710         * sysdeps/unix/sysv/linux/sh/register-dump.h: Use 0 instead of NULL.
711
712 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
713
714         * nptl/semaphore.h: Move to ...
715         * sysdeps/pthread/semaphore.h: ... here.
716         * Makefile (installed-headers): Change nptl/semaphore.h to
717         sysdeps/pthread/semaphore.h.
718
719 2014-12-11  Roland McGrath  <roland@hack.frob.com>
720
721         * misc/tst-error1.c (do_test): Ignore -Wformat-security for
722         generated error format strings.
723
724         * stdio-common/tstdiomisc.c (t2): Ignore -Wformat and
725         -Wformat-extra-args warnings for scanf formats.
726         * stdio-common/scanf4.c (main): Ignore -Wformat-zero-length around
727         test of zero-length format (duh).
728         * stdio-common/scanf7.c (main): Ignore -Wformat warnings for
729         corner-case scanf format test.
730         * stdio-common/test-vfprintf.c (do_test): Ignore -Wformat-security for
731         generated fprintf format string.
732         * stdio-common/tst-sprintf.c (do_test): Ignore -Wformat warnings for
733         corner-case sprintf format tests.
734         * stdio-common/tst-printf.c: Ignore -Wformat throughout.
735         * stdio-common/tst-printfsz.c (main): Ignore -Wformat and
736         -Wformat-extra-args warnings throughout.
737         * stdio-common/Makefile (CFLAGS-tstdiomisc.c): Variable removed.
738         (CFLAGS-scanf4.c): Likewise.
739         (CFLAGS-scanf7.c): Likewise.
740         (CFLAGS-tst-sprintf.c): Likewise.
741         (CFLAGS-tst-printf.c): Likewise.
742         (CFLAGS-tst-printfsz.c): Likewise.
743
744 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
745
746         * include/cpio.h: New file.
747         * include/fmtmsg.h: Likewise.
748
749         * tst-mbswcs1.c (show): Use %zu format instead of %Zd.  Cast
750         corresponding format argument to size_t.
751         * tst-mbswcs2.c (show): Likewise.  Use %td format for ptrdiff_t
752         arguments.
753         * tst-mbswcs3.c (show): Use %zu format instead of %Zd.  Cast
754         corresponding format argument to size_t.
755         * tst-mbswcs4.c (show): Likewise.  Use %td format for ptrdiff_t
756         arguments.
757         * tst-mbswcs5.c (show): Use %zu format instead of %Zd.  Cast
758         corresponding format argument to size_t.
759         * tst-trans.c (do_test): Use %lc format for wint_t arguments.
760         * Makefile (CFLAGS-tst-mbswcs1.c): Remove variable.
761         (CFLAGS-tst-mbswcs2.c): Likewise.
762         (CFLAGS-tst-mbswcs3.c): Likewise.
763         (CFLAGS-tst-mbswcs4.c): Likewise.
764         (CFLAGS-tst-mbswcs5.c): Likewise.
765         (CFLAGS-tst-trans.c): Likewise
766
767 2014-12-11  Roland McGrath  <roland@hack.frob.com>
768
769         * posix/regexbug1.c (main): Use "%s" format with regerror results,
770         rather than assuming they won't contain any '%'s.
771
772 2014-12-11  Chris Metcalf  <cmetcalf@ezchip.com>
773
774         * sysdeps/tile/tilegx/memset.c (__memcpy): Add
775         inhibit_loop_to_libcall to avoid recursive calls.
776         * sysdeps/tile/tilegx/memcpy.c (__memcpy): Likewise.
777         * sysdeps/tile/tilepro/memcpy.c (__memcpy): Likewise.
778
779 2014-12-11  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
780
781         * include/sys/socket.h (__sendmmsg): Add __USE_GNU guards on function
782         prototype.
783
784 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
785
786         * sysdeps/mips/dl-trampoline.c: Modify switch expression to have
787         integer value instead of boolean.
788
789 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
790
791         * malloc/malloc.c: Fix powerof2 check.
792
793 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
794
795         * locale/programs/locfile.h (maybe_swap_uint32):
796         Remove inline and add unused attribute.
797
798 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
799
800         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
801         Truncating assembler expression to a .long expression.
802
803 2014-12-11  Andreas Schwab  <schwab@suse.de>
804
805         * elf/rtld.c (struct map_args): Constify str member.
806         (do_preload): Constify fname argument.
807
808 2014-12-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
809
810         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Remove overflow warnings for
811         constants definition.
812
813 2014-12-11  Andreas Schwab  <schwab@suse.de>
814
815         [BZ #16657]
816         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Use
817         FORCE_ELISION instead of DO_ELISION.
818         * sysdeps/unix/sysv/linux/x86/force-elision.h (DO_ELISION):
819         Remove.
820         * sysdeps/unix/sysv/linux/s390/force-elision.h (DO_ELISION):
821         Likewise.
822
823         * iconvdata/gconv-modules: Remove duplicate entry.
824
825 2014-12-11  Will Newton  <will.newton@linaro.org>
826
827         Merge gettext 0.19.3 into intl/.
828
829         This involves a number of cosmetic changes to comments
830         and ANSI function definitions and prototypes throughout
831         all the files. The gettext copyright header is used but
832         with the date ranges taken from the glibc copy.
833
834         * NEWS: Add gettext merge to 2.21.
835         * intl/bindtextdom.c: Switch to gettext copyright.
836         Use ANSI definitions and prototypes.
837         Use gl_* locking primitives rather than __libc_* ones.
838         Use __builtin_expect rather than __glibc_likely/unlikely.
839         * intl/dcgettext.c: Switch to gettext copyright.
840         Use ANSI definitions and prototypes.
841         * intl/dcigettext.c: Switch to gettext copyright.
842         Use ANSI definitions and prototypes.
843         (INTDIV0_RAISES_SIGFPE): New define.
844         Use gl_* locking primitives rather than __libc_* ones.
845         Include eval-plural.h instead of plural-eval.c.
846         Use __builtin_expect rather than __glibc_likely/unlikely.
847         * intl/dcngettext.c: Switch to gettext copyright.
848         Use ANSI definitions and prototypes.
849         * intl/dgettext.c: Likewise.
850         * intl/dngettext.c: Likewise.
851         * intl/plural-eval.c: Renamed to...
852         * intl/eval-plural.h: ...this.
853         * intl/explodename.c: Switch to gettext copyright.
854         Use ANSI definitions and prototypes.
855         (_nl_explode_name): Use strchr instead of __rawmemchr.
856         * intl/finddomain.c: Switch to gettext copyright.
857         Use ANSI definitions and prototypes.
858         Use gl_* locking primitives rather than __libc_* ones.
859         (_nl_find_domain): Use malloc rather than alloca for
860         allocation of temporary locale name.
861         * intl/gettext.c: Switch to gettext copyright.
862         Use ANSI definitions and prototypes.
863         * intl/gettextP.h: Switch to gettext copyright.
864         Use ANSI definitions and prototypes.
865         Use gl_* locking primitives rather than __libc_* ones.
866         * intl/gmo.h: Switch to gettext copyright.
867         (struct sysdep_string): Move struct segment_pair outside of
868         struct definition.
869         * intl/hash-string.c: Use ANSI definitions and prototypes.
870         * intl/hash-string.h: Switch to gettext copyright.
871         Use ANSI definitions and prototypes.
872         * intl/l10nflist.c: Switch to gettext copyright.
873         Use ANSI definitions and prototypes.
874         (_nl_normalize_codeset): Avoid integer overflow.
875         * intl/loadinfo.h: Switch to gettext copyright.
876         Use ANSI definitions and prototypes.
877         (LIBINTL_DLL_EXPORTED): New define.
878         (PATH_SEPARATOR): New define.
879         * intl/loadmsgcat.c: Switch to gettext copyright.
880         * intl/localealias.c: Switch to gettext copyright.
881         Use ANSI definitions and prototypes.
882         (_nl_expand_alias): Use PATH_SEPARATOR.
883         * intl/ngettext.c: Switch to gettext copyright.
884         Use ANSI definitions and prototypes.
885         * intl/plural-exp.c: Likewise.
886         * intl/plural-exp.h: Switch to gettext copyright.
887         Use ANSI definitions and prototypes.
888         (struct expression): Move definition of enum operator outside
889         of struct definition.
890         * intl/plural.c: Regenerate.
891         * intl/plural.y: Switch to gettext copyright.
892         Use ANSI definitions and prototypes.
893         Port to bison 3.0.
894         * intl/textdomain.c: Switch to gettext copyright.
895         Use ANSI definitions and prototypes.
896         Use gl_* locking primitives rather than __libc_* ones.
897
898 2014-12-10  Steve Ellcey  <sellcey@imgtec.com>
899
900         * debug/warning-nop.c: Add used atrribute.
901
902 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
903
904         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: New file.
905
906         * sysdeps/unix/sysv/linux/mips/mips64/Makefile
907         [$(subdir) == signal] (CFLAGS-sigaction.c): New variable.
908         [$(subdir) == nptl] (CFLAGS-sigaction.c): Likewise.
909
910 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
911             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
912
913         [BZ #17634]
914         * wcsmbs/wcschr.c [!WCSCHR] (wcschr): Define as __wcschr.
915         Undefine after defining function.  Define as weak alias of
916         __wcschr.  Use libc_hidden_weak.
917         * include/wchar.h (__wcschr): Declare.  Use libc_hidden_proto.
918         * sysdeps/i386/i686/multiarch/wcschr-c.c [IS_IN (libc) && SHARED]
919         (libc_hidden_def): Also define __GI___wcschr alias.
920         * sysdeps/i386/i686/multiarch/wcschr.S (wcschr): Rename to
921         __wcschr and define as weak alias of __wcschr.
922         * sysdeps/powerpc/power6/wcschr.c [!WCSCHR] (WCSCHR): Define as
923         __wcschr.
924         [!WCSCHR] (DEFAULT_WCSCHR): Define.
925         [DEFAULT_WCSCHR] (__wcschr): Use libc_hidden_def.
926         [DEFAULT_WCSCHR] (wcschr): Define as weak alias of __wcschr.  Use
927         libc_hidden_weak.  Do not use libc_hidden_def.
928         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c
929         [IS_IN (libc) && SHARED] (libc_hidden_def): Also define
930         __GI___wcschr alias.
931         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c
932         [IS_IN (libc)] (wcschr): Define as macro expanding to
933         __redirect_wcschr.
934         [IS_IN (libc)] (__wcschr_ppc): Use __redirect_wcschr in typeof.
935         [IS_IN (libc)] (__wcschr_power6): Likewise.
936         [IS_IN (libc)] (__wcschr_power7): Likewise.
937         [IS_IN (libc)] (__libc_wcschr): New.  Define with libc_ifunc
938         instead of wcschr.
939         [IS_IN (libc)] (wcschr): Undefine and define as weak alias of
940         __libc_wcschr.
941         [!IS_IN (libc)] (libc_hidden_def): Do not undefine and redefine.
942         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c (wcschr): Rename to
943         __wcschr and define as weak alias of __wcschr.  Use
944         libc_hidden_builtin_def.
945         * sysdeps/x86_64/wcschr.S (wcschr): Rename to __wcschr and define
946         as weak alias of __wcschr.  Use libc_hidden_weak.
947         * time/alt_digit.c (_nl_get_walt_digit): Use __wcschr instead of
948         wcschr.
949         * time/era.c (_nl_init_era_entries): Likewise.
950         * conform/Makefile (test-xfail-ISO/time.h/linknamespace): Remove
951         variable.
952         (test-xfail-XPG3/time.h/linknamespace): Likewise.
953         (test-xfail-XPG4/time.h/linknamespace): Likewise.
954
955 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
956
957         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Use %ld
958         format for long int variable.
959
960 2014-12-10  Anders Kaseorg  <andersk@MIT.EDU>
961
962         [BZ #10672]
963         * manual/search.texi: (Array Sort Function): Remove claim how to make
964         qsort stable.
965
966 2014-12-10  Andreas Schwab  <schwab@suse.de>
967
968         [BZ #12847]
969         * sysdeps/nptl/fork.c (fresetlockfiles): Skip files with
970         user-controlled locks.
971
972 2014-12-10  Richard Earnshaw  <rearnsha@arm.com>
973
974         * sysdeps/aarch64/strchrnul.S (vrepmask): Use a call-clobbered
975         register.
976
977 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
978
979         * configure.ac (--disable-werror): New configure option.
980         (enable_werror): New AC_SUBST.
981         * configure: Regenerated.
982         * config.make.in (enable-werror): New variable.
983         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Add -Werror
984         -Wno-error=undef.
985         (+gccwarn-c): Do not use -Werror=implicit-function-declaration.
986         * manual/install.texi (Configuring and compiling): Document
987         --disable-werror.
988         * INSTALL: Regenerated.
989         * debug/Makefile (CFLAGS-tst-chk1.c): Add -Wno-error.
990         (CFLAGS-tst-chk2.c): Likewise.
991         (CFLAGS-tst-chk3.c): Likewise.
992         (CFLAGS-tst-chk4.cc): Likewise.
993         (CFLAGS-tst-chk5.cc): Likewise.
994         (CFLAGS-tst-chk6.cc): Likewise.
995         (CFLAGS-tst-lfschk1.c): Likewise.
996         (CFLAGS-tst-lfschk2.c): Likewise.
997         (CFLAGS-tst-lfschk3.c): Likewise.
998         (CFLAGS-tst-lfschk4.cc): Likewise.
999         (CFLAGS-tst-lfschk5.cc): Likewise.
1000         (CFLAGS-tst-lfschk6.cc): Likewise.
1001
1002         * stdio-common/tst-printfsz.c: Include <libc-internal.h>.
1003         (main): Disable -Wdeprecated-declarations around calls to
1004         register_printf_function.
1005
1006         * stdio-common/tst-unlockedio.c: Include <libc-internal.h>.
1007         (do_test): Disable -Wdiv-by-zero around some calls to
1008         fwrite_unlocked and fread_unlocked.
1009
1010         * include/libc-internal.h (DIAG_PUSH_NEEDS_COMMENT): New macro.
1011         (DIAG_POP_NEEDS_COMMENT): Likewise.
1012         (_DIAG_STR1): Likewise.
1013         (_DIAG_STR): Likewise.
1014         (DIAG_IGNORE_NEEDS_COMMENT): Likewise.
1015         * stdio-common/bug21.c: Include <libc-internal.h>.
1016         (do_test): Disable -Wformat around call to sscanf.
1017         * stdio-common/scanf14.c: Include <libc-internal.h>.
1018         (main): Disable -Wformat around some calls to scanf functions.
1019
1020 2014-12-09  Torvald Riegel  <triegel@redhat.com>
1021
1022         * sysdeps/unix/sysv/linux/sh/pthread_once.S: Remove file.
1023
1024 2014-12-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1025
1026         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix wide-character
1027         stack variable alignment.
1028
1029 2014-12-06  Joseph Myers  <joseph@codesourcery.com>
1030
1031         [BZ #17682]
1032         * resource/Versions (libc): Add __getrlimit at GLIBC_PRIVATE.
1033         * resource/getrlimit.c (__getrlimit): Use libc_hidden_def.
1034         * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
1035         * include/sys/resource.h (__getrlimit): Use libc_hidden_proto.
1036         * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Use
1037         __getrlimit instead of getrlimit.
1038         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Use
1039         __gettimeofday instead of gettimeofday.
1040         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
1041         Likewise.
1042         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
1043         Likewise.
1044         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
1045         * conform/Makefile (test-xfail-POSIX2008/aio.h/linknamespace):
1046         Remove variable.
1047         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
1048         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
1049
1050 2014-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1051
1052         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix buffer overrun
1053         for wide-character tests.
1054
1055 2014-12-04  Roland McGrath  <roland@hack.frob.com>
1056
1057         * io/openat64.c: #include <libc-internal.h>
1058         (__openat64): Prototypify.  Use ignore_value on MODE.
1059         * io/openat.c: Likewise.
1060         * misc/reboot.c: #include <libc-internal.h>
1061         (reboot): Prototypify.  Use ignore_value on HOWTO.
1062         * misc/ptrace.c: #include <libc-internal.h>
1063         (ptrace): Prototypify.  Use ignore_value for va_arg'd parameters.
1064
1065 2014-12-04  Joseph Myers  <joseph@codesourcery.com>
1066
1067         * conform/list-header-symbols.pl (%extra_syms): Add h_errno for
1068         XPG4, UNIX98 and XOPEN2K.
1069         * conform/Makefile (test-xfail-XOPEN2K/grp.h/linknamespace):
1070         Remove variable.
1071         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
1072
1073 2014-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
1074
1075         * libio/fileops.c: Use ISO C style for function definitions.
1076         * libio/iofopen.c: Likewise.
1077         * libio/wfileops.c: Likewise.
1078
1079         [BZ #17653]
1080         * libio/fileops.c (_IO_new_file_underflow): Unset cached
1081         offset on EOF.
1082         * libio/wfileops.c (_IO_wfile_underflow): Likewise.
1083         * libio/tst-ftell-active-handler.c (fgets_func_t): New type.
1084         (fgets_func): Function pointer to fgets and fgetws.
1085         (do_ftell_test): Add test to verify ftell value after read
1086         EOF.
1087         (do_test): Set fgets_func.
1088
1089         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Add
1090         O_TRUNC flag for w and w+ modes.
1091         (do_rewind_test): Likewise.
1092         (do_ftell_test): Likewise.
1093         (do_write_test): Likewise.
1094
1095         [BZ #17647]
1096         * libio/fileops.c (do_ftell): Seek only when there are
1097         unflushed writes.
1098         * libio/wfileops.c (do_ftell_wide): Likewise.
1099         * libio/tst-ftell-active-handler.c (do_ftruncate_test): New
1100         test case.
1101         (do_one_test): Call it.
1102
1103 2014-12-03  Joseph Myers  <joseph@codesourcery.com>
1104
1105         * conform/list-header-symbols.pl (%extra_syms): Add getdate_err
1106         for XPG4, UNIX98, XOPEN2K and XOPEN2K8.
1107         * conform/Makefile (test-xfail-XOPEN2K/pthread.h/linknamespace):
1108         Remove variable.
1109         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
1110         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
1111         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
1112
1113 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
1114
1115         * conform/Makefile (test-xfail-XOPEN2K/aio.h/linknamespace):
1116         Remove variable.
1117         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
1118
1119         [BZ #17668]
1120         * inet/ifaddrs.c (getifaddrs): Rename to __getifaddrs and define
1121         as weak alias of __getifaddrs.  Use libc_hidden_weak.
1122         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
1123         __freeifaddrs.  Use libc_hidden_weak.
1124         * sysdeps/gnu/ifaddrs.c (getifaddrs): Rename to __getifaddrs and
1125         define as weak alias of __getifaddrs.  Use libc_hidden_weak.
1126         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
1127         __freeifaddrs.  Use libc_hidden_weak.
1128         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Rename to
1129         __getifaddrs and define as weak alias of __getifaddrs.  Use
1130         libc_hidden_weak.
1131         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
1132         __freeifaddrs.  Use libc_hidden_weak.
1133         * conform/Makefile (test-xfail-XOPEN2K/net/if.h/linknamespace):
1134         Remove variable.
1135         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
1136         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
1137
1138 2014-12-02  Petar Jovanovic  <petar.jovanovic@rt-rk.com>
1139
1140         [BZ #17601]
1141         * sysdeps/mips/start.S (__start): Use indirect jump to call
1142         __libc_start_main.
1143
1144 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
1145
1146         * nptl/tst-stack4.c (dso_process): Use int not uintptr_t for t.
1147
1148         * nptl/tst-mutex1.c: Include <stdbool.h>.
1149         [!ATTR] (ATTR_NULL): New macro.
1150         (do_test): Test !ATTR_NULL instead of ATTR != NULL.
1151         * nptl/tst-mutexpi1.c (ATTR_NULL): New macro.
1152         * nptl/tst-mutexpp1.c (ATTR_NULL): New macro.
1153
1154         * posix/tst-getopt_long1.c (do_test): Cast elements of argv array
1155         to char *.
1156
1157         [BZ #17665]
1158         * posix/unistd.h [__USE_MISC || (__USE_XOPEN && !__USE_UNIX98)]:
1159         Change conditional to [__USE_MISC].
1160
1161         [BZ #17664]
1162         * misc/mntent_r.c (__getmntent_r): Use __fgets_unlocked instead of
1163         fgets_unlocked.
1164         * resolv/res_hconf.c [IS_IN (libc)] (fgets_unlocked): Define to
1165         __fgets_unlocked.
1166         * resolv/res_init.c (__res_vinit): Use __fgets_unlocked instead of
1167         fgets_unlocked.
1168         * conform/Makefile (test-xfail-XPG4/sys/statvfs.h/linknamespace):
1169         Remove variable.
1170         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
1171         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
1172         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
1173         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
1174         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
1175         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
1176         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
1177         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
1178         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
1179
1180         * elf/tst-unique4lib.cc (b): Mark with __attribute__ ((used)).
1181
1182 2014-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1183
1184         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
1185         Remove strpbrk objects.
1186         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1187         (__libc_ifunc_impl_list): Remove strpbrk implementation.
1188         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: Remove file.
1189         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Remove file.
1190         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: Remove file.
1191         * sysdeps/powerpc/powerpc64/strpbrk.S: New file.
1192
1193         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
1194         Remove strcspn objects.
1195         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1196         (__libc_ifunc_impl_list): Remove strcspn implementation.
1197         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: Remove file.
1198         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Remove file.
1199         * sysdeps/powerpc/powerpc64/power7/strcspn.S: Remove file.
1200         * sysdeps/powerpc/powerpc64/strcspn.S: New file.
1201
1202         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
1203         Remove strspn objetcs.
1204         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1205         (__libc_ifunc_impl_list): Remove strspn implementation.
1206         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: Remove file.
1207         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
1208         * sysdeps/powerpc/powerpc64/power7/strspn.S: Remove file.
1209         * sysdeps/powerpc/powerpc64/strspn.S: New file.
1210
1211 2014-12-01  James Lemke  <jwlemke@codesourcery.com>
1212
1213         [BZ #17581]
1214         * malloc/hooks.c
1215         (mem2mem_check): Add a terminator to the chain of checking blocks.
1216         (malloc_check_get_size): Use it here.
1217         (mem2chunk_check): Ditto.
1218
1219 2014-12-01  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
1220
1221         * sysdeps/powerpc/powerpc64/strtok.S: New file.
1222         * sysdeps/powerpc/powerpc64/strtok_r.S: New file.
1223
1224 2014-11-29  Carlos O'Donell  <carlos@redhat.com>
1225
1226         * bits/ioctl-types.h: Indent preprocessor directives correctly.
1227
1228         * nptl/nptl-init.c: Include libc-internal.h.
1229         (__pthread_initialize_minimal_internal): Use ROUND_UP.
1230
1231         * elf/ldconfig.c (search_dir): Expand comment.
1232
1233 2014-11-29  Joseph Myers  <joseph@codesourcery.com>
1234
1235         * conform/Makefile (linknamespace-symlist-stdlibs-base): New
1236         variable.
1237         (linknamespace-symlist-stdlibs-tests): Likewise.
1238         (tests-special): Append $(linknamespace-symlist-stdlibs-tests)
1239         instead of $(objpfx)symlist-stdlibs.
1240         (linknamespace-libs-isoc): New variable.
1241         (linknamespace-libs): Use $(linknamespace-libs-isoc).
1242         (linknamespace-libs-ISO): New variable.
1243         (linknamespace-libs-ISO99): Likewise.
1244         (linknamespace-libs-ISO11): Likewise.
1245         (linknamespace-libs-XPG3): Likewise.
1246         (linknamespace-libs-XPG4): Likewise.
1247         (linknamespace-libs-POSIX): Likewise.
1248         (linknamespace-libs-UNIX98): Likewise.
1249         (linknamespace-libs-XOPEN2K): Likewise.
1250         (linknamespace-libs-POSIX2008): Likewise.
1251         (linknamespace-libs-XOPEN2K8): Likewise.
1252         ($(objpfx)symlist-stdlibs): Replace by
1253         $(linknamespace-symlist-stdlibs-tests).  Use
1254         $(linknamespace-libs-$*) as set of libraries.
1255         ($(linknamespace-header-tests)): Update dependencies.  Use
1256         $(objpfx)symlist-stdlibs-$$std for --libsyms argument.
1257         (test-xfail-XPG4/sys/mman.h/linknamespace): Remove.
1258         * conform/linknamespace.pl: Remove comment about considering
1259         definitions of symbols from irrelevant libraries.
1260
1261 2014-11-28  H.J. Lu  <hongjiu.lu@intel.com>
1262
1263         [BZ #13862]
1264         * elf/dl-tls.c: Include <atomic.h>.
1265         (oom): Remove #ifdef SHARED/#endif.
1266         (_dl_static_dtv, _dl_initial_dtv): Moved before ...
1267         (_dl_resize_dtv): This.  Extracted from _dl_update_slotinfo.
1268         (_dl_allocate_tls_init): Resize DTV if the current DTV isn't
1269         big enough.
1270         (_dl_update_slotinfo): Call _dl_resize_dtv to resize DTV.
1271         * nptl/Makefile (tests): Add tst-stack4.
1272         (modules-names): Add tst-stack4mod.
1273         ($(objpfx)tst-stack4): New.
1274         (tst-stack4mod.sos): Likewise.
1275         ($(objpfx)tst-stack4.out): Likewise.
1276         ($(tst-stack4mod.sos)): Likewise.
1277         (clean): Likewise.
1278         * nptl/tst-stack4.c: New file.
1279         * nptl/tst-stack4mod.c: Likewise.
1280
1281 2014-11-27  J. Brown  <jb999@gmx.de>
1282
1283         * sysdeps/x86/bits/string.h: Add recent CPUs.
1284
1285 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
1286
1287         * misc/tst-pselect.c (do_test): Use sigprocmask instead of
1288         sigblock.
1289
1290         * libio/bug-ungetwc1.c (do_test): Verify results of getwc and
1291         feof.
1292
1293         * dlfcn/failtestmod.c (constr): Do not store result of dlsym in a
1294         variable.
1295
1296 2014-11-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
1297
1298         * nscd/connections.c: Include libc-internal.h because of macro
1299         usage ignore_value.
1300
1301 2014-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
1302
1303         * string/bits/string3.h (__warn_memset_zero_len): Don't
1304         declare for gcc newer than 5.0.
1305         (memset): Don't test for zero-length __LEN for gcc newer than
1306         5.0.
1307
1308 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
1309
1310         * stdio-common/tst-fmemopen.c (do_test): Cast st_size values to
1311         size_t for %zu format.
1312
1313         * nss/tst-nss-test1.c (do_test): Use %td printf format for pointer
1314         difference, not %ju.
1315
1316 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
1317
1318         * include/libc-internal.h (ignore_value): New macro.
1319         * nscd/connections.c (restart): Wrap calls to setuid and setgid
1320         with ignore_value.
1321
1322         * sysdeps/mips/__longjmp.c (____longjmp): Use prototype
1323         definition.
1324
1325         * nptl/tst-cancel-self-cancelstate.c (do_test): Cast argument of
1326         pthread_cleanup_push to void *.
1327
1328         * sysdeps/unix/sysv/linux/arm/libc-do-syscall.S (_FORTIFY_SOURCE):
1329         Undefine.
1330
1331         [BZ #16619]
1332         [BZ #16740]
1333         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Use 1LL << 52
1334         instead of 1L << 52.
1335
1336         * libio/bug-rewind.c (do_test): Check fwscanf return values.
1337         * libio/bug-rewind2.c (do_test): Likewise.
1338
1339         * debug/test-stpcpy_chk-ifunc.c: Remove file.
1340         * debug/test-strcpy_chk-ifunc.c: Likewise.
1341         * wcsmbs/test-wcschr-ifunc.c: Likewise.
1342         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
1343         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
1344         * wcsmbs/test-wcslen-ifunc.c: Likewise.
1345         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
1346         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
1347         * Rules [$(multi-arch) = no] (tests): Do not filter out
1348         $(tests-ifunc).
1349         [$(multi-arch) = no] (xtests): Do not filter out $(xtests-ifunc).
1350         * debug/Makefile (tests-ifunc): Remove variable.
1351         (tests): Do not add $(tests-ifunc).
1352         * wcsmbs/Makefile (tests-ifunc): Remove variable.
1353         (tests): Do not add $(tests-ifunc).
1354         * benchtests/bench-string.h (TEST_IFUNC): Remove macro.
1355         [TEST_IFUNC]: Remove conditionals.
1356         * string/test-string.h (TEST_IFUNC): Remove macro.
1357         [TEST_IFUNC]: Remove conditionals.
1358
1359         * string/test-strchr.c [!WIDE] (L): New macro.
1360         [WIDE] (L): Likewise.
1361         (check1): Use CHAR instead of char.  Use L on string and character
1362         constants.
1363
1364 2014-11-26  Adhemerval Zanella  <azanella@linux.ibm.com>
1365
1366         * csu/tst-atomic.c (do_test): Add atomic_exchange_and_add_{acq,rel}
1367         tests.
1368         * sysdeps/powerpc/bits/atomic.h
1369         (__arch_atomic_exchange_and_add_32_acq): Add definition.
1370         (__arch_atomic_exchange_and_add_32_rel): Likewise.
1371         (atomic_exchange_and_add_acq): Likewise.
1372         (atomic_exchange_and_add_rel): Likewise.
1373         * sysdeps/powerpc/powerpc32/bits/atomic.h
1374         (__arch_atomic_exchange_and_add_64_acq): Add definition.
1375         (__arch_atomic_exchange_and_add_64_rel): Likewise.
1376         * sysdeps/powerpc/powerpc64/bits/atomic.h
1377         (__arch_atomic_exchange_and_add_64_acq): Add definition.
1378         (__arch_atomic_exchange_and_add_64_rel): Likewise.
1379
1380 2014-11-26  Torvald Riegel  <triegel@redhat.com>
1381
1382         * nptl/tpp.c (__init_sched_fifo_prio, __pthread_tpp_change_priority):
1383         Change synchronization of __sched_fifo_min_prio and
1384         __sched_fifo_max_prio.
1385         * nptl/pthread_mutexattr_getprioceiling.c
1386         (pthread_mutexattr_getprioceiling): Likewise.
1387         * nptl/pthread_mutexattr_setprioceiling.c
1388         (pthread_mutexattr_setprioceiling): Likewise.
1389         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
1390         * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
1391         Likewise.
1392
1393 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
1394
1395         * setjmp/jmpbug.c (test): Make foo volatile and cast it to
1396         void.
1397
1398 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
1399
1400         * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
1401         third argument const.
1402
1403 2014-11-25  Paul Eggert  <eggert@cs.ucla.edu>
1404
1405         fnmatch: work around GCC compiler warning bug with uninit var
1406         * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
1407         This works around a bug with x86-64 GCC 4.9.2 and earlier
1408         where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
1409         "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
1410         used uninitialized in this function [-Wmaybe-uninitialized]".
1411
1412 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
1413
1414         * posix/bug-regex31.c (main): Return RES not 0.
1415
1416 2014-11-25  Anton Blanchard <anton@samba.org>
1417
1418         * sysdeps/powerpc/bits/atomic.h
1419         (__arch_compare_and_exchange_bool_64_rel): Load from mem.
1420
1421 2014-11-24  Sterling Augustine  <saugustine@google.com>
1422
1423         * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
1424
1425 2014-11-24  Ryan Cumming  <etaoins@gmail.com>
1426
1427         [BZ #17608]
1428         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI.
1429
1430 2014-11-24  Joseph Myers  <joseph@codesourcery.com>
1431
1432         [BZ #17633]
1433         * stdio-common/perror.c (perror): Call __fileno instead of fileno.
1434         * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove
1435         variable.
1436         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
1437         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
1438
1439 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
1440
1441         * string/strncpy.c (strncpy): Improve performance by using memset.
1442
1443 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
1444
1445         * string/strcpy.c (strcpy):
1446         Improve performance by using strlen and memcpy.
1447
1448 2014-11-24  Leonhard Holz  <leonhard.holz@web.de>
1449
1450         * string/strcoll_l.c (get_next_seq): __always_inline.
1451         * string/strcoll_l.c (do_compare): __always_inline.
1452
1453 2014-11-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
1454
1455         * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
1456         defined.
1457         * include/mqueue.h: Likewise.
1458         * include/stdlib.h: Likewise.
1459
1460         * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
1461         (get_null_defines): Adjust.
1462         * sunrpc/Makefile: Adjust comment.
1463         * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
1464         * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
1465         (CFLAGS-interp.c): Likewise.
1466         (CFLAGS-ldconfig.c): Likewise.
1467         (CPPFLAGS-.os): Likewise.
1468         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
1469         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
1470         * extra-modules.mk (extra-modules.mk): Likewise.
1471         * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
1472         * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
1473         * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
1474         * nscd/Makefile (CPPFLAGS-nscd): Likewise.
1475         * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
1476         * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
1477         * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
1478         * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
1479         * iconvdata/Makefile (CPPFLAGS): Likewise.
1480         (cpp-srcs-left): Add libof for all iconvdata routines.
1481         * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
1482         * include/assert.h: Likewise.
1483         * include/ctype.h: Likewise.
1484         * include/errno.h: Likewise.
1485         * include/libc-symbols.h: Likewise.
1486         * include/math.h: Likewise.
1487         * include/netdb.h: Likewise.
1488         * include/resolv.h: Likewise.
1489         * include/stdio.h: Likewise.
1490         * include/stdlib.h: Likewise.
1491         * include/string.h: Likewise.
1492         * include/sys/stat.h: Likewise.
1493         * include/wctype.h: Likewise.
1494         * intl/l10nflist.c: Likewise.
1495         * libidn/idn-stub.c: Likewise.
1496         * libio/libioP.h: Likewise.
1497         * nptl/libc_multiple_threads.c: Likewise.
1498         * nptl/pthreadP.h: Likewise.
1499         * posix/regex_internal.h: Likewise.
1500         * resolv/res_hconf.c: Likewise.
1501         * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
1502         * sysdeps/arm/memmove.S: Likewise.
1503         * sysdeps/arm/sysdep.h: Likewise.
1504         * sysdeps/generic/_itoa.h: Likewise.
1505         * sysdeps/generic/symbol-hacks.h: Likewise.
1506         * sysdeps/gnu/errlist.awk: Likewise.
1507         * sysdeps/gnu/errlist.c: Likewise.
1508         * sysdeps/i386/i586/memcpy.S: Likewise.
1509         * sysdeps/i386/i586/memset.S: Likewise.
1510         * sysdeps/i386/i686/memcpy.S: Likewise.
1511         * sysdeps/i386/i686/memmove.S: Likewise.
1512         * sysdeps/i386/i686/mempcpy.S: Likewise.
1513         * sysdeps/i386/i686/memset.S: Likewise.
1514         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
1515         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
1516         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
1517         * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
1518         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
1519         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
1520         * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
1521         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
1522         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
1523         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
1524         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
1525         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
1526         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
1527         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
1528         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
1529         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
1530         * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
1531         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
1532         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
1533         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
1534         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
1535         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
1536         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
1537         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
1538         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
1539         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
1540         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
1541         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
1542         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
1543         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
1544         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
1545         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
1546         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
1547         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
1548         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
1549         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
1550         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
1551         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
1552         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
1553         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
1554         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
1555         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
1556         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
1557         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
1558         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
1559         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
1560         * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
1561         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
1562         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
1563         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
1564         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
1565         * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
1566         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
1567         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
1568         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
1569         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
1570         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
1571         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
1572         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
1573         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
1574         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
1575         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
1576         * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
1577         * sysdeps/nptl/bits/libc-lock.h: Likewise.
1578         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
1579         * sysdeps/nptl/bits/stdio-lock.h: Likewise.
1580         * sysdeps/posix/closedir.c: Likewise.
1581         * sysdeps/posix/opendir.c: Likewise.
1582         * sysdeps/posix/readdir.c: Likewise.
1583         * sysdeps/posix/rewinddir.c: Likewise.
1584         * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
1585         * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
1586         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
1587         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
1588         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
1589         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
1590         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
1591         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
1592         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
1593         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
1594         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
1595         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
1596         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
1597         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
1598         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
1599         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
1600         * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
1601         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
1602         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
1603         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
1604         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
1605         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
1606         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
1607         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
1608         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
1609         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
1610         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
1611         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
1612         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
1613         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
1614         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
1615         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
1616         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
1617         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
1618         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
1619         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
1620         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
1621         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
1622         * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
1623         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
1624         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
1625         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
1626         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
1627         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
1628         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
1629         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
1630         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
1631         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
1632         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
1633         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
1634         * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
1635         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
1636         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
1637         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
1638         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
1639         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
1640         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
1641         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
1642         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
1643         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
1644         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
1645         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
1646         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
1647         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
1648         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
1649         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
1650         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
1651         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
1652         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
1653         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
1654         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
1655         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
1656         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
1657         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
1658         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
1659         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
1660         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
1661         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
1662         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
1663         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
1664         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
1665         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
1666         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
1667         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
1668         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
1669         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
1670         * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
1671         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
1672         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
1673         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
1674         * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
1675         * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
1676         * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
1677         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
1678         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
1679         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
1680         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
1681         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
1682         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
1683         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
1684         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
1685         * sysdeps/unix/alpha/sysdep.S: Likewise.
1686         * sysdeps/unix/alpha/sysdep.h: Likewise.
1687         * sysdeps/unix/make-syscalls.sh: Likewise.
1688         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
1689         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
1690         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
1691         * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
1692         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
1693         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
1694         * sysdeps/unix/sysv/linux/getpid.c: Likewise.
1695         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
1696         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
1697         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
1698         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
1699         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
1700         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
1701         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
1702         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
1703         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
1704         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
1705         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
1706         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
1707         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
1708         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
1709         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
1710         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
1711         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
1712         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
1713         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
1714         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
1715         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
1716         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
1717         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
1718         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
1719         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
1720         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
1721         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
1722         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
1723         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
1724         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
1725         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
1726         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
1727         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
1728         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
1729         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
1730         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
1731         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
1732         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
1733         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
1734         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
1735         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
1736         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
1737         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
1738         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
1739         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
1740         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
1741         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
1742         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
1743         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
1744         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
1745         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
1746         * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
1747         * sysdeps/x86_64/memcpy.S: Likewise.
1748         * sysdeps/x86_64/memmove.c: Likewise.
1749         * sysdeps/x86_64/memset.S: Likewise.
1750         * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
1751         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
1752         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
1753         * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
1754         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
1755         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
1756         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
1757         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
1758         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
1759         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
1760         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
1761         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
1762         * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
1763         * sysdeps/x86_64/multiarch/memset.S: Likewise.
1764         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
1765         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
1766         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
1767         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
1768         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
1769         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
1770         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
1771         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
1772         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
1773         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
1774         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
1775         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
1776         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
1777         * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
1778         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
1779         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
1780         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
1781         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
1782         * sysdeps/x86_64/strcmp.S: Likewise.
1783
1784         * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
1785
1786         * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
1787         * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
1788         * elf/rtld-Rules: Likewise.
1789         * elf/setup-vdso.h: Likewise.
1790         * include/assert.h: Likewise.
1791         * include/bits/stdlib-float.h: Likewise.
1792         * include/errno.h: Likewise.
1793         * include/sys/stat.h: Likewise.
1794         * include/unistd.h: Likewise.
1795         * sysdeps/aarch64/setjmp.S: Likewise.
1796         * sysdeps/alpha/setjmp.S: Likewise.
1797         * sysdeps/arm/__longjmp.S: Likewise.
1798         * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
1799         * sysdeps/arm/setjmp.S: Likewise.
1800         * sysdeps/arm/sysdep.h: Likewise.
1801         * sysdeps/generic/_itoa.h: Likewise.
1802         * sysdeps/generic/dl-sysdep.h: Likewise.
1803         * sysdeps/generic/ldsodefs.h: Likewise.
1804         * sysdeps/i386/dl-tls.h: Likewise.
1805         * sysdeps/i386/setjmp.S: Likewise.
1806         * sysdeps/m68k/setjmp.c: Likewise.
1807         * sysdeps/mach/hurd/dl-execstack.c: Likewise.
1808         * sysdeps/mach/hurd/opendir.c: Likewise.
1809         * sysdeps/posix/getcwd.c: Likewise.
1810         * sysdeps/posix/opendir.c: Likewise.
1811         * sysdeps/posix/profil.c: Likewise.
1812         * sysdeps/powerpc/dl-procinfo.h: Likewise.
1813         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
1814         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
1815         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
1816         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
1817         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
1818         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
1819         * sysdeps/s390/dl-tls.h: Likewise.
1820         * sysdeps/s390/s390-32/setjmp.S: Likewise.
1821         * sysdeps/s390/s390-64/setjmp.S: Likewise.
1822         * sysdeps/sh/sh3/setjmp.S: Likewise.
1823         * sysdeps/sh/sh4/setjmp.S: Likewise.
1824         * sysdeps/unix/alpha/sysdep.h: Likewise.
1825         * sysdeps/unix/arm/sysdep.S: Likewise.
1826         * sysdeps/unix/i386/sysdep.S: Likewise.
1827         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
1828         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
1829         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
1830         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
1831         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
1832         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
1833         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
1834         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
1835         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
1836         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
1837         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
1838         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
1839         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
1840         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
1841         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
1842         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
1843         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
1844         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
1845         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
1846         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
1847         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
1848         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
1849         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
1850         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
1851         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
1852         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
1853         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
1854         * sysdeps/unix/x86_64/sysdep.S: Likewise.
1855         * sysdeps/x86_64/setjmp.S: Likewise.
1856
1857         * include/math.h: Use IS_IN instead of IS_IN_libm.
1858         * sysdeps/alpha/fpu/s_copysign.c: Likewise.
1859         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
1860         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
1861         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
1862         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
1863         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
1864         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
1865         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
1866         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
1867         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
1868         * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
1869         * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
1870         * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
1871         * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
1872         * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
1873         * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
1874         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
1875         * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
1876         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
1877         * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
1878         * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
1879         * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
1880         * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
1881         * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
1882         * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
1883         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
1884         * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
1885         * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
1886         * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
1887         * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
1888         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
1889         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
1890         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
1891         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
1892         Likewise.
1893         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
1894         Likewise.
1895         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
1896         Likewise.
1897         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
1898         Likewise.
1899         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
1900         Likewise.
1901         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
1902         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
1903         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
1904         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
1905         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
1906         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
1907         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
1908         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
1909         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
1910         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
1911         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
1912         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
1913         * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
1914         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
1915         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
1916         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
1917         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
1918         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
1919         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
1920         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
1921         * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
1922         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
1923         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
1924         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
1925         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
1926         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
1927         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
1928
1929         * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
1930         * nptl/pthreadP.h: Likewise.
1931         * nptl_db/structs.def: Likewise.
1932         * sysdeps/arm/sysdep.h: Likewise.
1933         * sysdeps/nptl/bits/libc-lock.h: Likewise.
1934         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
1935         * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
1936         * sysdeps/unix/alpha/sysdep.h: Likewise.
1937         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
1938         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
1939         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
1940         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
1941         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
1942         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
1943         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
1944         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
1945         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
1946         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
1947         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
1948         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
1949         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
1950         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
1951         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
1952         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
1953         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
1954         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
1955         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
1956         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
1957         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
1958         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
1959         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
1960         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
1961         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
1962         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
1963
1964         * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
1965         * nptl/pthreadP.h: Likewise.
1966         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
1967         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
1968         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
1969         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
1970         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
1971         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
1972         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
1973         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
1974         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
1975         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
1976         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
1977         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
1978         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
1979         Likewise.
1980         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
1981         Likewise.
1982         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
1983         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
1984         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
1985         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
1986         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
1987         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
1988         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
1989         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
1990
1991         * dlfcn/dladdr.c: Use IS_IN.
1992         * dlfcn/dladdr1.c: Likewise.
1993         * dlfcn/dlclose.c: Likewise.
1994         * dlfcn/dlerror.c: Likewise.
1995         * dlfcn/dlinfo.c: Likewise.
1996         * dlfcn/dlmopen.c: Likewise.
1997         * dlfcn/dlopen.c: Likewise.
1998         * dlfcn/dlsym.c: Likewise.
1999         * dlfcn/dlvsym.c: Likewise.
2000
2001         * include/ifaddrs.h: Use IS_IN.
2002         * inet/check_pf.c: Likewise.
2003         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
2004         * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
2005
2006         * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
2007         IS_IN_ldconfig.
2008         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
2009         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
2010
2011         * include/shlib-compat.h [!NOT_IN_libc]: Remove.
2012         * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
2013         IS_IN (libc).
2014
2015         * elf/Makefile (libof-sotruss-lib): Set as extramodules.
2016
2017         * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
2018         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
2019         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
2020         * include/libc-symbols.h (IS_IN_LIB): New macro.
2021         * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
2022         * include/netdb.h: Likewise.
2023         * include/stap-probe.h: Remove all uses of IN_LIB.
2024
2025         * Makeconfig (module-cppflags-real): Define MODULE_NAME
2026         instead of IN_MODULE.
2027         * include/libc-symbols.h (IN_MODULE): Define using
2028         MODULE_NAME.
2029         (PASTE_NAME, PASTE_NAME1): New macros.
2030         * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
2031         of IN_LIB.
2032         (STAP_PROBE_ASM): Likewise.
2033
2034 2014-11-23  Samuel Thibault  <samuel.thibault@ens-lyon.org>
2035
2036         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
2037         __mach_init in dlopened libc.
2038
2039 2014-11-22  Mike Frysinger  <vapier@gentoo.org>
2040
2041         * sysdeps/arm/preconfigure.ac: Delete EABI check.
2042         * sysdeps/arm/preconfigure: Regenerate.
2043
2044 2014-11-21  Roland McGrath  <roland@hack.frob.com>
2045
2046         * nptl/pthread_create.c (__pthread_create_2_1): Set
2047         ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
2048         when copying values from IATTR into PD.
2049
2050 2014-11-21  Will Newton  <will.newton@linaro.org>
2051             Andrew Pinski  <andrew.pinski@caviumnetworks.com>
2052
2053         * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
2054         Refactor inline-asm.  Also add comment.
2055
2056         * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
2057         ElfW macro instead of hardcoded Elf64 types.
2058         (la_aarch64_gnu_pltenter): Likewise.
2059         * sysdeps/aarch64/dl-machine.h
2060         (elf_machine_runtime_setup): Use ElfW(Addr).
2061
2062         * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
2063         R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
2064         R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
2065         R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
2066         R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
2067         (R_AARCH64_TLS_DTPMOD64): Rename to ..
2068         (R_AARCH64_TLS_DTPMOD): This.
2069         (R_AARCH64_TLS_DTPREL64): Rename to ...
2070         (R_AARCH64_TLS_DTPREL): This.
2071         (R_AARCH64_TLS_TPREL64): Rename to ...
2072         (R_AARCH64_TLS_TPREL): This.
2073         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
2074         R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
2075         R_AARCH64_TLS_TPREL64.
2076         (elf_machine_rela): Likewise.
2077
2078 2014-11-21  Torvald Riegel  <triegel@redhat.com>
2079
2080         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
2081         by setting it to 0.  64b atomics are not supported currently.
2082
2083 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
2084
2085         [BZ #16469]
2086         * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
2087         search domain names.
2088
2089 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
2090
2091         [BZ #16469]
2092         * NEWS: Update.
2093         * resolv/res_query.c (__libc_res_nquerydomain): Retain
2094         trailing dot.
2095         * posix/tst-getaddrinfo5.c: New.
2096         * posix/Makefile (tests): Add it.
2097
2098 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
2099
2100         [BZ #14498]
2101         * NEWS: Fixed.
2102         * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
2103         after parsing line but before break_if_match.
2104         * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
2105         if there is a protocol mismatch.
2106
2107 2014-11-21  Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
2108
2109         * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
2110         because the potential race is on the user-supplied stream.
2111
2112 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
2113
2114         * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
2115         string literal if not passed a buffer.
2116         * manual/job.texi (ctermid): Update reasoning, note deviation
2117         from posix, suggest mtasurace when not passed a buffer, for
2118         future non-preliminary safety notes.
2119
2120 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
2121
2122         * manual/users.texi (cuserid): Fix MT-Safety note for the case
2123         of not passing it a buffer.
2124         Reported by Peng Haitao.
2125
2126 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
2127
2128         * manual/Makefile ($(objpfx)stamp-summary): Require
2129         check-safety.sh to pass.
2130         * manual/check-safety.sh: Wish for verification that every
2131         @deftypefn and @deftypefun is followed by a @safety remark.
2132
2133 2014-11-20  Roland McGrath  <roland@hack.frob.com>
2134
2135         * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
2136
2137         * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
2138         PTHREAD_CANCEL_ASYNCHRONOUS.
2139         * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
2140         send SIGCANCEL.
2141
2142         * nptl/default-sched.h: New file.
2143         * sysdeps/unix/sysv/linux/default-sched.h: New file.
2144         * nptl/pthread_create.c: Include it.
2145         (__pthread_create_2_1): Use collect_default_sched instead of making
2146         Linux syscalls here directly.
2147
2148 2014-11-20  Torvald Riegel  <triegel@redhat.com>
2149
2150         * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
2151         __pthread_once): Use C11 atomics.
2152
2153 2014-11-20  Torvald Riegel  <triegel@redhat.com>
2154
2155         * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
2156
2157 2014-11-20  Torvald Riegel  <triegel@redhat.com>
2158
2159         * include/atomic.h (__atomic_link_error, __atomic_check_size,
2160         atomic_thread_fence_acquire, atomic_thread_fence_release,
2161         atomic_thread_fence_seq_cst, atomic_load_relaxed,
2162         atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
2163         atomic_compare_exchange_weak_relaxed,
2164         atomic_compare_exchange_weak_acquire,
2165         atomic_compare_exchange_weak_release,
2166         atomic_exchange_acquire, atomic_exchange_release,
2167         atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
2168         atomic_fetch_add_release, atomic_fetch_add_acq_rel,
2169         atomic_fetch_and_acquire,
2170         atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
2171
2172 2014-11-20  Torvald Riegel  <triegel@redhat.com>
2173
2174         * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
2175         USE_ATOMIC_COMPILER_BUILTINS): Define.
2176         * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
2177         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
2178         * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
2179         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
2180         * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
2181         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
2182         * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
2183         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
2184         * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
2185         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
2186         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
2187         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
2188         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
2189         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
2190         * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
2191         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
2192         * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
2193         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
2194         * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
2195         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
2196         * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
2197         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
2198         * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
2199         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
2200         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
2201         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
2202         * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
2203         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
2204         * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
2205         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
2206         * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
2207         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
2208         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
2209         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
2210         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
2211         (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
2212         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
2213         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
2214         * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
2215         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
2216
2217 2014-11-19  Roland McGrath  <roland@hack.frob.com>
2218
2219         * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
2220         the sched_priority value here.  It was already checked when the user
2221         called pthread_attr_setschedparam.
2222
2223         * nptl/tst-bad-schedattr.c: New file.
2224         * nptl/Makefile (tests): Add it.
2225
2226 2014-11-19  Carlos O'Donell  <carlos@redhat.com>
2227             Florian Weimer  <fweimer@redhat.com>
2228             Joseph Myers  <joseph@codesourcery.com>
2229             Adam Conrad  <adconrad@0c3.net>
2230             Andreas Schwab  <schwab@suse.de>
2231             Brooks  <bmoses@google.com>
2232
2233         [BZ #17625]
2234         * wordexp-test.c (__dso_handle): Add prototype.
2235         (__register_atfork): Likewise.
2236         (__app_register_atfork): New function.
2237         (registered_forks): New global.
2238         (register_fork): New function.
2239         (test_case): Add 3 new tests for WRDE_CMDSUB.
2240         (main): Call __app_register_atfork.
2241         (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
2242         fork count is non-zero fail the test.
2243         * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
2244         is set.
2245         (parse_dollars): Remove check for WRDE_NOCMD.
2246         (parse_dquote): Likewise.
2247
2248 2014-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
2249
2250         * Makeconfig (built-modules): List non-library modules to be
2251         built.
2252         (module-cppflags): Include libc-modules.h for
2253         everything except shlib-versions.v.i.
2254         (CPPFLAGS): Use it.
2255         (before-compile): Add libc-modules.h.
2256         ($(common-objpfx)libc-modules.h,
2257         $(common-objpfx)libc-modules.stmp): New targets.
2258         (common-generated): Add libc-modules.h and libc-modules.stmp.
2259         ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
2260         * include/libc-symbols.h: Don't include libc-modules.h.
2261         * include/libc-modules.h: Remove file.
2262         * scripts/gen-libc-modules.awk: New script to generate
2263         libc-modules.h.
2264         * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
2265         Depend on libc-modules.stmp.
2266
2267         * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
2268
2269         * Makeconfig (in-module): Get value of libof set for the
2270         translation unit.
2271         (CPPFLAGS): Use $(in-module).
2272         * Makerules: Don't suffix routine names for nonlib.
2273         * include/libc-modules.h: New file.
2274         * include/libc-symbols.h: Include libc-modules.h
2275         (IS_IN): New macro to replace IS_IN_* macros.
2276         * elf/Makefile: Set libof-* for each routine.
2277         * elf/rtld-Rules: Likewise.
2278         * extra-modules.mk: Likewise.
2279         * iconv/Makefile: Likewise.
2280         * iconvdata/Makefile: Likewise.
2281         * locale/Makefile: Likewise.
2282         * malloc/Makefile: Likewise.
2283         * nss/Makefile: Likewise.
2284         * sysdeps/gnu/Makefile: Likewise.
2285         * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
2286         * sysdeps/unix/sysv/linux/Makefile: Likewise.
2287         * sysdeps/s390/s390-64/Makefile: Likewise.
2288         * nscd/Makefile: Set libof-* for each routine.  Set CFLAGS and
2289         CPPFLAGS for nscd instead of nonlib.
2290
2291 2014-11-18  Roland McGrath  <roland@hack.frob.com>
2292
2293         * nptl/createthread.c: New file.
2294
2295         * nptl/createthread.c: Moved ...
2296         * sysdeps/unix/sysv/linux/createthread.c: ... here.
2297
2298         * nptl/createthread.c: Add proper top-line comment.
2299         (do_clone): Folded into ...
2300         (create_thread): ... here.  Take new arguments STOPPED_START and
2301         THREAD_RAN.  Always set PD->stopped_start to something here.  Don't
2302         increment __nptl_threads, do event-reporting logic, do
2303         CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
2304         here.  Set *THREAD_RAN after ARCH_CLONE call succeeds.  Don't do any
2305         resource cleanup if sched_setaffinity or sched_setscheduler fails,
2306         just send SIGCANCEL.
2307         * nptl/pthread_create.c: Forward-declare create_thread before
2308         including createthread.c.
2309         (start_thread): Use new macro START_THREAD_DEFN to replace defining
2310         declaration, and new macro START_THREAD_SELF to replace argument.
2311         Remove return statement.
2312         (report_thread_creation): New function.
2313         (__pthread_create_2_1): Use it.  Do TD_CREATE reporting,
2314         synchronization logic, and __nptl_nthreads increment here, around
2315         calling create_thread.  Do CHECK_THREAD_SYSINFO and initialize
2316         PD->parent_cancelhandling here, before create_thread.  When
2317         create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
2318         __deallocate_stack, and ENOMEM translation here.
2319
2320 2014-11-18  Joseph Myers  <joseph@codesourcery.com>
2321
2322         [BZ #17616]
2323         * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
2324         (mptwo): Rename to __mptwo.
2325         (__inv): Use __mptwo instead of mptwo.
2326         * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
2327         (mptwo): Rename to __mptwo.
2328         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
2329         of mpone and __mptwo instead of mptwo.
2330         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
2331         instead of mpone.
2332         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
2333         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
2334         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
2335         of mpone and __mptwo instead of mptwo.
2336         (__mpranred): Use __mpone instead of mpone.
2337         * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
2338         variable.
2339         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
2340         (test-xfail-ISO99/math.h/linknamespace): Likewise.
2341         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
2342         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
2343         (test-xfail-ISO11/math.h/linknamespace): Likewise.
2344         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
2345         (test-xfail-XPG3/math.h/linknamespace): Likewise.
2346         (test-xfail-XPG4/math.h/linknamespace): Likewise.
2347         (test-xfail-POSIX/math.h/linknamespace): Likewise.
2348         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
2349         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
2350         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
2351         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
2352         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
2353         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
2354         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
2355         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
2356         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
2357         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
2358
2359 2014-11-18  Tom de Vries  <tom@codesoucery.com>
2360
2361         * manual/signal.texi (Primitives Interrupted by Signals): In section,
2362         replace BSD Handler xref with BSD Signal Handling.
2363
2364 2014-11-17  Richard Henderson  <rth@redhat.com>
2365
2366         * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
2367         (_FP_PACK_RAW_2): Remove.
2368         (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
2369         (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
2370         (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
2371         (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
2372         * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
2373         * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
2374         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
2375         * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
2376         * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
2377         * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
2378         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
2379         * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
2380         * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
2381         * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
2382         * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
2383         * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
2384
2385 2014-11-14  Roland McGrath  <roland@hack.frob.com>
2386
2387         * signal/signal.h [__USE_MISC]
2388         (struct sigvec): Remove type.
2389         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
2390         (sigvec): Remove declaration.
2391         * sysdeps/posix/sigvec.c: Moved ...
2392         * signal/sigvec.c: ... here, replacing old file.
2393         (struct sigvec): New type, copied from old signal.h definition.
2394         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
2395         (__sigvec): Convert definition to prototype.
2396         (sigvec): Replace weak_alias with compat_symbol.
2397         * signal/Versions (libc: GLIBC_2.21): New version set.
2398         * include/signal.h: Remove __sigvec declaration.
2399         * sysdeps/unix/bsd/sigvec.c: Remove file.
2400         * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
2401         * manual/signal.texi (BSD Handler): Remove subsection.
2402         Move siginterrupt up to ...
2403         (BSD Signal Handling): ... here.  Mark it as XPG rather than BSD.
2404         (Blocking in BSD): Fold subsection into its parent.
2405         * NEWS: Mention sigvec removal.
2406
2407 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
2408
2409         * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
2410         (DLA_FMS): Make definition conditional only on [__FMA4__].
2411         [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
2412         definition.
2413
2414         * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
2415         Make definition conditional only on [PROF].
2416         [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
2417         definition.
2418         [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
2419         [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
2420
2421         * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
2422         !__GNUC__].
2423         * include/signal.h (__sigpause): Move declaration above call to
2424         libc_hidden_proto.
2425         * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
2426         variable.
2427         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
2428         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
2429
2430 2014-11-14  David S. Miller  <davem@davemloft.net>
2431
2432         * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
2433         Define before including <string/memcpy.c> and <string/mempcpy.c>.
2434
2435 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
2436
2437         * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
2438         * configure: Regenerated.
2439         * manual/install.texi (Tools for Compilation): Document a
2440         requirement of GCC 4.6 or later and that GCC 4.9 is the newest
2441         compiler verified to work.
2442         * INSTALL: Regenerated.
2443
2444         * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
2445         redeclare with asm name.
2446         [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
2447         * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
2448         including <string.h>.
2449         * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
2450         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
2451         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
2452         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
2453         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
2454         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
2455         [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
2456
2457 2014-11-13  Joseph Myers  <joseph@codesourcery.com>
2458
2459         * stdlib/strtol.c (__strtol): Use prototype definition.
2460
2461         [BZ #17594]
2462         * stdlib/strtol.c (SYM__): New macro.
2463         (SYM__1): Likewise.
2464         (__strtol): Likewise.
2465         (strtol): Rename to __strtol and define as weak alias of
2466         __strtol.  Use libc_hidden_weak.
2467
2468 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
2469
2470         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
2471         Use numbered labels in inline assembly.
2472
2473 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
2474
2475         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
2476         Add setjmp LIBC_PROBE.
2477         * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
2478         Likewise.
2479         * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
2480         Add longjmp, longjmp_target LIBC_PROBE.
2481         * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
2482         Likewise.
2483
2484 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
2485
2486         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
2487         Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
2488         to get rid of unused variable warning.
2489
2490 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
2491
2492         * sysdeps/s390/s390-32/backtrace.c (__backtrace):
2493         Check for unwind_backtrace ==  NULL only in SHARED case.
2494         (__backchain_backtrace): Compile only in SHARED case.
2495         * sysdeps/s390/s390-64/backtrace.c (__backtrace):
2496         Likewise.
2497         (__backchain_backtrace): Declare as static.
2498
2499 2014-11-12  Roland McGrath  <roland@hack.frob.com>
2500
2501         * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
2502         (__libc_multiple_threads_ptr): Variable moved ...
2503         * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
2504
2505 2014-11-12  Joseph Myers  <joseph@codesourcery.com>
2506
2507         * conform/GlibcConform.pm: New file.
2508         * conform/conformtest.pl: Use GlibcConform module.
2509         * conform/linknamespace.pl: New file.
2510         * conform/list-header-symbols.pl: Likewise.
2511         * conform/Makefile (linknamespace-symlists-base): New variable.
2512         (linknamespace-symlists-tests): Likewise.
2513         (linknamespace-header-base): Likewise.
2514         (linknamespace-header-tests): Likewise.
2515         (tests-special): Add new tests.
2516         ($(linknamespace-symlists-tests)): New rule.
2517         (linknamespace-libs): New variable.
2518         ($(objpfx)symlist-stdlibs): New rule.
2519         ($(linknamespace-header-tests)): Likewise.
2520         (test-xfail-XPG3/varargs.h/linknamespace): New variable.
2521         (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
2522         (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
2523         (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
2524         (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
2525         (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
2526         (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
2527         (test-xfail-ISO/math.h/linknamespace): Likewise.
2528         (test-xfail-ISO/signal.h/linknamespace): Likewise.
2529         (test-xfail-ISO/stdio.h/linknamespace): Likewise.
2530         (test-xfail-ISO/time.h/linknamespace): Likewise.
2531         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
2532         (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
2533         (test-xfail-ISO99/math.h/linknamespace): Likewise.
2534         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
2535         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
2536         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
2537         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
2538         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
2539         (test-xfail-ISO11/math.h/linknamespace): Likewise.
2540         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
2541         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
2542         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
2543         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
2544         (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
2545         (test-xfail-XPG3/glob.h/linknamespace): Likewise.
2546         (test-xfail-XPG3/math.h/linknamespace): Likewise.
2547         (test-xfail-XPG3/regex.h/linknamespace): Likewise.
2548         (test-xfail-XPG3/search.h/linknamespace): Likewise.
2549         (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
2550         (test-xfail-XPG3/time.h/linknamespace): Likewise.
2551         (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
2552         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
2553         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
2554         (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
2555         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
2556         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
2557         (test-xfail-XPG4/grp.h/linknamespace): Likewise.
2558         (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
2559         (test-xfail-XPG4/math.h/linknamespace): Likewise.
2560         (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
2561         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
2562         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
2563         (test-xfail-XPG4/search.h/linknamespace): Likewise.
2564         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
2565         (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
2566         (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
2567         (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
2568         (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
2569         (test-xfail-XPG4/time.h/linknamespace): Likewise.
2570         (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
2571         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
2572         (test-xfail-POSIX/aio.h/linknamespace): Likewise.
2573         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
2574         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
2575         (test-xfail-POSIX/math.h/linknamespace): Likewise.
2576         (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
2577         (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
2578         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
2579         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
2580         (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
2581         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
2582         (test-xfail-POSIX/time.h/linknamespace): Likewise.
2583         (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
2584         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
2585         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
2586         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
2587         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
2588         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
2589         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
2590         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
2591         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
2592         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
2593         (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
2594         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
2595         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
2596         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
2597         (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
2598         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
2599         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
2600         (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
2601         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
2602         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
2603         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
2604         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
2605         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
2606         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
2607         (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
2608         (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
2609         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
2610         (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
2611         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
2612         (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
2613         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
2614         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
2615         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
2616         (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
2617         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
2618         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
2619         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
2620         (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
2621         (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
2622         (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
2623         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
2624         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
2625         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
2626         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
2627         (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
2628         (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
2629         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
2630         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
2631         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
2632         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
2633         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
2634         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
2635         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
2636         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
2637         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
2638         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
2639         (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
2640         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
2641         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
2642         (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
2643         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
2644         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
2645         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
2646         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
2647         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
2648         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
2649         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
2650         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
2651         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
2652         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
2653         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
2654         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
2655         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
2656         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
2657         (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
2658         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
2659         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
2660         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
2661         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
2662         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
2663         (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
2664         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
2665         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
2666         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
2667         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
2668         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
2669         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
2670         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
2671         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
2672         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
2673         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
2674         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
2675         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
2676         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
2677         (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
2678         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
2679         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
2680         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
2681
2682         [BZ #17589]
2683         * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
2684         of fgets_unlocked.
2685
2686         [BZ #17585]
2687         * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
2688         (memmem): Rename to __memmem and define as weak alias of
2689         __memmem.  Use libc_hidden_weak.
2690         (__memmem): Use libc_hidden_def.
2691         * include/string.h (__memmem): Declare.  Use libc_hidden_proto.
2692         * locale/findlocale.c (valid_locale_name): Use __memmem instead of
2693         memmem.
2694
2695         [BZ #17582]
2696         * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
2697         (__fgets_unlocked): Add alias of _IO_fgets.  Use libc_hidden_def.
2698         * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
2699         and define as weak alias of __fgets_unlocked.  Use
2700         libc_hidden_weak.
2701         (__fgets_unlocked): Use libc_hidden_def.
2702         * include/stdio.h (__fgets_unlocked): Declare.  Use
2703         libc_hidden_proto.
2704         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
2705         __fgets_unlocked instead of fgets_unlocked.
2706         * sysdeps/unix/sysv/linux/alpha/getsysstats.c
2707         (GET_NPROCS_CONF_PARSER): Likewise.
2708         * sysdeps/unix/sysv/linux/sparc/getsysstats.c
2709         (GET_NPROCS_CONF_PARSER): Likewise.
2710
2711         [BZ #17574]
2712         * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
2713         weak alias of __wmemset.  Use libc_hidden_weak.
2714         (__wmemset): Use libc_hidden_def.
2715         * include/wchar.h (__wmemset): Declare.  Use libc_hidden_proto.
2716         * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
2717         of wmemset.
2718
2719         [BZ #17573]
2720         * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
2721         with asm name __mempcpy.
2722         [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
2723
2724         [BZ #17572]
2725         * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
2726         and define as weak alias of __rawmemchr.
2727         (__rawmemchr): Do not define as strong alias of rawmemchr.
2728
2729         [BZ #17571]
2730         * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
2731         alias of __qsort_r.
2732         (qsort): Call __qsort_r instead of qsort_r.
2733         * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
2734         (__qsort_r): Declare.  Call libc_hidden_proto.
2735         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
2736         instead of qsort_r.
2737         * nscd/gai.c (__qsort_r): Define to qsort_r.
2738         * posix/tst-rfc3484.c (__qsort_r): Likewise.
2739         * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
2740         * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
2741
2742         [BZ #17570]
2743         * malloc/malloc.c (malloc_info): Rename to __malloc_info and
2744         define as weak alias of __malloc_info.
2745
2746         [BZ #17584]
2747         * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
2748         as weak alias of __rewinddir.  Don't use libc_hidden_def.
2749         (__rewinddir): Use libc_hidden_def.
2750         * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
2751         as weak alias of __rewinddir.  Don't use libc_hidden_def.
2752         (__rewinddir): Use libc_hidden_def.
2753         * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
2754         weak alias of __rewinddir.  Don't use libc_hidden_def.
2755         (__rewinddir): Use libc_hidden_def.
2756         * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
2757         (__rewinddir): Use libc_hidden_proto.
2758         * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
2759         rewinddir.
2760         (__getcwd): Use __rewinddir instead of rewinddir.
2761
2762         [BZ #17583]
2763         * libio/fileno.c (fileno): Rename to __fileno and define as weak
2764         alias of __fileno.  Use libc_hidden_weak.
2765         (__fileno): Use libc_hidden_def.
2766         [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
2767         * libio/ftello.c (ftello): Rename to __ftello and define as weak
2768         alias of __ftello.
2769         [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
2770         __ftello.
2771         * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
2772         (__fread_unlocked): Define as strong alias of _IO_fread.  Use
2773         libc_hidden_def.
2774         (fread_unlocked): Don't use libc_hidden_ver.
2775         * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
2776         and define as weak alias of __fread_unlocked.  Don't use
2777         libc_hidden_def.
2778         (__fread_unlocked): Use libc_hidden_def.
2779         * include/stdio.h (__fileno): Declare.  Use libc_hidden_proto.
2780         (ftello): Don't use libc_hidden_proto.
2781         (__ftello): Declare.  Use libc_hidden_proto.
2782         (fread_unlocked): Don't use libc_hidden_proto.
2783         (__fread_unlocked): Declare.  Use libc_hidden_proto.
2784         * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
2785         and __ftello instead of fileno, fread_unlocked and ftello.
2786
2787 2012-11-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
2788
2789         * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
2790         GOT12.
2791         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
2792         Likewise.
2793         (_dl_start_user): Likewise.
2794         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
2795
2796 2014-11-12  Carlos O'Donell  <carlos@redhat.com>
2797             Siddhesh Poyarekar  <siddhesh@redhat.com>
2798
2799         * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
2800         Move argv and envp down instead of moving argc up.
2801         * sysdeps/s390/s390-32/dl-sysdep.h: New file.
2802
2803 2014-11-12  Leonhard Holz  <leonhard.holz@web.de>
2804
2805         [BZ #17506]
2806         * test-skeleton.c (main): Return successful if one of
2807         EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
2808         * string/tst-strcoll-overflow.c: Define expected status.
2809
2810 2014-11-12  Tatiana Udalova  <t.udalova@samsung.com>
2811
2812         [BZ #17475]
2813         * locale/iso-639.def: Define Bhili and Tulu language codes.
2814
2815 2014-11-11  Alan Hayward  <alan.hayward@arm.com>
2816
2817         * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
2818
2819 2014-11-10  Renlin Li  <Renlin.Li@arm.com>
2820
2821         [BZ #17555]
2822         * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
2823
2824 2014-11-10  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
2825
2826         * configure.ac: Updated check of minimal required version to
2827         2.22.
2828         * manual/install.texi (Tools for Compilation): Updated version
2829         number.
2830         * configure: Regenerated.
2831         * INSTALL: Likewise.
2832
2833 2014-11-07  Andreas Schwab  <schwab@linux-m68k.org>
2834
2835         * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
2836         __tls_get_addr.
2837
2838 2014-11-07  Joseph Myers  <joseph@codesourcery.com>
2839
2840         * include/sys/wait.h (__libc_waitpid): Remove declaration.
2841         * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
2842         (__waitpid): Don't define as alias.  Use libc_hidden_def not
2843         libc_hidden_weak.
2844         (waitpid): Define as alias of __waitpid.
2845         * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
2846         __waitpid.
2847         (__waitpid): Don't define as alias.  Use libc_hidden_def not
2848         libc_hidden_weak.
2849         (waitpid): Define as alias of __waitpid.
2850         * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
2851         __libc_waitpid alias.
2852         * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
2853         * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
2854         Likewise.
2855         * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
2856         * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
2857         * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
2858         alias.
2859         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
2860         __waitpid.
2861         (__waitpid): Don't define as alias.  Use libc_hidden_def not
2862         libc_hidden_weak.
2863         (waitpid): Define as alias of __waitpid.
2864
2865 2014-11-06  Carlos O'Donell  <carlos@redhat.com>
2866
2867         * manual/llio.texi: Add comment that write safety has been
2868         fixed in Linux.
2869
2870         * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
2871         (localplt-build-dso): Add elf/ld.so.
2872         * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
2873         i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
2874         and free for ld.so.
2875         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
2876         __libc_memalign, malloc, calloc, realloc, and free for ld.so.
2877         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
2878         Likewise.
2879         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
2880         Likewise.
2881         * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
2882         * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
2883         version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
2884         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
2885         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
2886         * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
2887         * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
2888         * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
2889         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
2890         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
2891         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
2892
2893 2014-11-05  Joseph Myers  <joseph@codesourcery.com>
2894
2895         [BZ #14132]
2896         * include/libc-symbols.h (INTUSE): Remove macro.
2897         (INTDEF): Likewise.
2898         (INTVARDEF): Likewise.
2899         (_INTVARDEF): Likewise.
2900         (INTDEF2): Likewise.
2901         (INTVARDEF2): Likewise.
2902         * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
2903         rtld_hidden_def instead of INTVARDEF.
2904         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
2905         (_dl_starting_up_internal): Remove declaration.
2906         (_dl_starting_up): Use rtld_hidden_proto.
2907         * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
2908         declaration.
2909         [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
2910         (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
2911         _dl_starting_up.
2912         * elf/dl-writev.h (_dl_writev): Likewise.
2913         * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
2914         (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
2915         _dl_starting_up_internal.
2916
2917 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2918
2919         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
2920         test-skeleton.c.
2921
2922 2014-11-05  Will Newton  <will.newton@linaro.org>
2923
2924         * benchtests/Makefile: (bench-malloc): Add malloc thread
2925         scalability benchmark.
2926         * benchtests/bench-malloc-threads.c: New file.
2927
2928 2014-11-05  Richard Earnshaw  <rearnsha@arm.com>
2929
2930         * sysdeps/aarch64/strchrnul.S: New file.
2931
2932 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2933
2934         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
2935         definition.
2936         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
2937         Likwise.
2938         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
2939         Likewise.
2940         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
2941         Likewise.
2942         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
2943         Likewise.
2944         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
2945         Likewise.
2946
2947 2014-11-05  Arjun Shankar  <arjun.is@lostca.se>
2948
2949         * catgets/test-gencat.c: Use test-skeleton.c.
2950         * catgets/tst-catgets.c: Likewise.
2951         * csu/tst-empty.c: Likewise.
2952         * elf/tst-audit2.c: Likewise.
2953         * elf/tst-global1.c: Likewise.
2954         * elf/tst-pathopt.c: Likewise.
2955         * elf/tst-piemod1.c: Likewise.
2956         * elf/tst-tls10.c: Likewise.
2957         * elf/tst-tls11.c: Likewise.
2958         * elf/tst-tls12.c: Likewise.
2959         * gnulib/tst-gcc.c: Likewise.
2960         * iconvdata/tst-e2big.c: Likewise.
2961         * iconvdata/tst-loading.c: Likewise.
2962         * iconv/tst-iconv1.c: Likewise.
2963         * iconv/tst-iconv2.c: Likewise.
2964         * inet/test-inet6_opt.c: Likewise.
2965         * inet/tst-gethnm.c: Likewise.
2966         * inet/tst-network.c: Likewise.
2967         * inet/tst-ntoa.c: Likewise.
2968         * intl/tst-codeset.c: Likewise.
2969         * intl/tst-gettext2.c: Likewise.
2970         * intl/tst-gettext3.c: Likewise.
2971         * intl/tst-ngettext.c: Likewise.
2972         * intl/tst-translit.c: Likewise.
2973         * io/test-stat.c: Likewise.
2974         * libio/test-fmemopen.c: Likewise.
2975         * libio/tst-freopen.c: Likewise.
2976         * libio/tst-sscanf.c: Likewise.
2977         * libio/tst-ungetwc1.c: Likewise.
2978         * libio/tst-ungetwc2.c: Likewise.
2979         * libio/tst-widetext.c: Likewise.
2980         * localedata/tst-ctype.c: Likewise.
2981         * localedata/tst-digits.c: Likewise.
2982         * localedata/tst-leaks.c: Likewise.
2983         * localedata/tst-mbswcs1.c: Likewise.
2984         * localedata/tst-mbswcs2.c: Likewise.
2985         * localedata/tst-mbswcs3.c: Likewise.
2986         * localedata/tst-mbswcs4.c: Likewise.
2987         * localedata/tst-mbswcs5.c: Likewise.
2988         * localedata/tst-setlocale.c: Likewise.
2989         * localedata/tst-trans.c: Likewise.
2990         * localedata/tst-wctype.c: Likewise.
2991         * localedata/tst-xlocale1.c: Likewise.
2992         * login/tst-grantpt.c: Likewise.
2993         * malloc/tst-calloc.c: Likewise.
2994         * malloc/tst-malloc.c: Likewise.
2995         * malloc/tst-mallocstate.c: Likewise.
2996         * malloc/tst-mcheck.c: Likewise.
2997         * malloc/tst-mtrace.c: Likewise.
2998         * malloc/tst-obstack.c: Likewise.
2999         * math/atest-exp2.c: Likewise.
3000         * math/atest-exp.c: Likewise.
3001         * math/atest-sincos.c: Likewise.
3002         * math/test-matherr.c: Likewise.
3003         * math/test-misc.c: Likewise.
3004         * math/test-powl.c: Likewise.
3005         * math/tst-definitions.c: Likewise.
3006         * misc/tst-dirname.c: Likewise.
3007         * misc/tst-efgcvt.c: Likewise.
3008         * misc/tst-fdset.c: Likewise.
3009         * misc/tst-hsearch.c: Likewise.
3010         * misc/tst-mntent2.c: Likewise.
3011         * nptl/tst-sem7.c: Likewise.
3012         * nptl/tst-sem8.c: Likewise.
3013         * nptl/tst-sem9.c: Likewise.
3014         * nss/test-netdb.c: Likewise.
3015         * posix/tst-fnmatch.c: Likewise.
3016         * posix/tst-getlogin.c: Likewise.
3017         * posix/tst-gnuglob.c: Likewise.
3018         * posix/tst-mmap.c: Likewise.
3019         * pwd/tst-getpw.c: Likewise.
3020         * resolv/tst-inet_ntop.c: Likewise.
3021         * rt/tst-timer.c: Likewise.
3022         * stdio-common/test-fseek.c: Likewise.
3023         * stdio-common/test-popen.c: Likewise.
3024         * stdio-common/test-vfprintf.c: Likewise.
3025         * stdio-common/tst-cookie.c: Likewise.
3026         * stdio-common/tst-fileno.c: Likewise.
3027         * stdio-common/tst-gets.c: Likewise.
3028         * stdio-common/tst-obprintf.c: Likewise.
3029         * stdio-common/tst-perror.c: Likewise.
3030         * stdio-common/tst-sprintf2.c: Likewise.
3031         * stdio-common/tst-sprintf3.c: Likewise.
3032         * stdio-common/tst-sprintf.c: Likewise.
3033         * stdio-common/tst-swprintf.c: Likewise.
3034         * stdio-common/tst-tmpnam.c: Likewise.
3035         * stdio-common/tst-unbputc.c: Likewise.
3036         * stdio-common/tst-wc-printf.c: Likewise.
3037         * stdlib/tst-environ.c: Likewise.
3038         * stdlib/tst-fmtmsg.c: Likewise.
3039         * stdlib/tst-limits.c: Likewise.
3040         * stdlib/tst-rand48-2.c: Likewise.
3041         * stdlib/tst-rand48.c: Likewise.
3042         * stdlib/tst-random2.c: Likewise.
3043         * stdlib/tst-random.c: Likewise.
3044         * stdlib/tst-strtol.c: Likewise.
3045         * stdlib/tst-strtoll.c: Likewise.
3046         * stdlib/tst-tls-atexit.c: Likewise.
3047         * stdlib/tst-xpg-basename.c: Likewise.
3048         * string/test-ffs.c: Likewise.
3049         * string/tst-bswap.c: Likewise.
3050         * string/tst-inlcall.c: Likewise.
3051         * string/tst-strtok.c: Likewise.
3052         * string/tst-strxfrm.c: Likewise.
3053         * sysdeps/x86_64/tst-audit10.c: Likewise.
3054         * sysdeps/x86_64/tst-audit3.c: Likewise.
3055         * sysdeps/x86_64/tst-audit4.c: Likewise.
3056         * sysdeps/x86_64/tst-audit5.c: Likewise.
3057         * time/tst-ftime_l.c: Likewise.
3058         * time/tst-getdate.c: Likewise.
3059         * time/tst-mktime3.c: Likewise.
3060         * time/tst-mktime.c: Likewise.
3061         * time/tst-posixtz.c: Likewise.
3062         * time/tst-strptime2.c: Likewise.
3063         * time/tst-strptime3.c: Likewise.
3064         * wcsmbs/tst-btowc.c: Likewise.
3065         * wcsmbs/tst-mbrtowc.c: Likewise.
3066         * wcsmbs/tst-mbsrtowcs.c: Likewise.
3067         * wcsmbs/tst-wchar-h.c: Likewise.
3068         * wcsmbs/tst-wcpncpy.c: Likewise.
3069         * wcsmbs/tst-wcrtomb.c: Likewise.
3070         * wcsmbs/tst-wcsnlen.c: Likewise.
3071         * wcsmbs/tst-wcstof.c: Likewise.
3072
3073 2014-11-04  Joseph Myers  <joseph@codesourcery.com>
3074
3075         [BZ #14132]
3076         * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
3077         INTDEF.
3078         * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
3079         declaration.
3080         (_dl_mcount): Use rtld_hidden_proto.
3081         * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
3082         _dl_mcount.
3083         * elf/rtld.c (_rtld_global_ro): Likewise.
3084
3085         [BZ #14132]
3086         * elf/dl-init.c (_dl_init): Don't use INTDEF.
3087         * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
3088         of _dl_init_internal.
3089         * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
3090         * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
3091         * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
3092         * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
3093         * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
3094         * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
3095         * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
3096         * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
3097         * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
3098         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
3099         * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
3100         * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
3101         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
3102         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
3103         * sysdeps/tile/dl-start.S (_start): Likewise.
3104         * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
3105         * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
3106
3107         [BZ #14132]
3108         * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
3109         [IS_IN_rtld] (_dl_argv_internal): Do not declare.
3110         (rtld_progname): Make macro definition unconditional.
3111         * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
3112         INTDEF.
3113         (dlmopen_doit): Do not use INTUSE with _dl_argv.
3114         (dl_main): Likewise.
3115         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
3116         * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
3117         instead of _dl_argv_internal.
3118         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
3119         __GI__dl_argv instead of INTUSE(_dl_argv).
3120         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
3121         __GI__dl_argv instead of _dl_argv_internal.
3122
3123         * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
3124         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
3125         macro.
3126         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
3127         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
3128         New macro.
3129         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
3130         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
3131         macro.
3132         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
3133         * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
3134
3135 2014-11-04  Andreas Schwab  <schwab@suse.de>
3136
3137         * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
3138
3139 2014-11-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3140
3141         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
3142         mtvsrd instruction in binary form.
3143
3144 2014-11-03  Andreas Schwab  <schwab@suse.de>
3145
3146         [BZ #17522]
3147         * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
3148         for less than MB_LEN_MAX use a local buffer of that size.
3149         * libio/tst-fputws.c: New file.
3150         * libio/Makefile (tests): Add tst-fputws.
3151
3152 2014-11-01  Jose E. Marchesi  <jose.marchesi@oracle.com>
3153
3154         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
3155         the size of the fpu_fr.fpu_dregs[] array.
3156
3157 2014-11-01  Joseph Myers  <joseph@codesourcery.com>
3158
3159         * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
3160         (__nanosleep): Do not define as alias.
3161         (nanosleep): Define as alias of __nanosleep.
3162         * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
3163         __libc_nanosleep name.
3164
3165 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
3166
3167         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
3168         install.texi in comment.
3169
3170 2014-10-31  Torvald Riegel  <triegel@redhat.com>
3171
3172         * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
3173         * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
3174         ... add here and use lwsync or sync ...
3175         * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
3176         ... and add here using lwsync.
3177
3178 2014-10-31  Matthew Fortune  <matthew.fortune@imgtec.com>
3179
3180         * elf/dl-machine-reject-phdr.h: New file.
3181         * elf/dl-load.c: #include that.
3182         (open_verify): Call elf_machine_reject_phdr_p and ignore the file
3183         if that returned true.
3184
3185 2014-10-31  Roland McGrath  <roland@hack.frob.com>
3186
3187         [BZ #17496]
3188         * Makerules: Move gnu/lib-names.h generation chunk up, to right after
3189         gen-as-const-headers chunk.  Add a big scare comment after the last
3190         safe place to touch before-compile.
3191
3192 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
3193
3194         * manual/install.texi (Tools for Compilation): Update autoconf
3195         version requirements.
3196         * INSTALL: Regenerated.
3197
3198         * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
3199         * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
3200         (__libc_pselect): Likewise.
3201
3202         [BZ #14138]
3203         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
3204         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
3205         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
3206         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
3207
3208 2014-10-31  Torvald Riegel  <triegel@redhat.com>
3209
3210         * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
3211         correct barrier instruction.
3212         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
3213         Likewise.
3214         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
3215         Likewise.
3216
3217 2014-10-30  Roland McGrath  <roland@hack.frob.com>
3218
3219         * include/ctype.h: Include <ctype/ctype.h> first thing rather than
3220         after defining inlines.  Instead, just use parens to defeat macro
3221         expansion of __isctype in its declaration.
3222
3223 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
3224
3225         * include/sys/uio.h (__libc_readv): Remove declaration.
3226         (__libc_writev): Likewise.
3227         * misc/readv.c (__libc_readv): Rename to __readv.
3228         (__readv): Do not define as alias.
3229         (readv): Define as alias of __readv.
3230         * misc/writev.c (__libc_writev): Rename to __writev.
3231         (__writev): Do not define as alias.
3232         (writev): Define as alias of __writev.
3233         * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
3234         (__readv): Do not define as alias.
3235         (readv): Define unconditionally as alias of __readv.
3236         * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
3237         (__writev): Do not define as alias.
3238         (writev): Define unconditionally as alias of __writev.
3239         * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
3240         name.
3241         (writev): Do not define __libc_writev name.
3242
3243 2014-10-30  Roland McGrath  <roland@hack.frob.com>
3244
3245         * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
3246         (convert_charseq): New function, broken out of ...
3247         (use_from_charmap): ... here.  Call it.
3248         (use_to_charmap): Use convert_charseq and free instead of duplicating
3249         its code with a variable-length stack struct.
3250
3251 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
3252
3253         * include/fcntl.h (__libc_creat): Remove declaration.
3254         * io/creat.c (__libc_creat): Rename to creat.
3255         (creat): Do not define as alias.
3256         * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
3257         of creat instead of __libc_creat.
3258         * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
3259         to creat.
3260         (creat): Do not define as alias.
3261         [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
3262         __libc_creat.
3263         * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
3264         __libc_creat name.
3265         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
3266         Likewise.
3267
3268 2014-10-29  Carlos O'Donell  <carlos@redhat.com>
3269
3270         * manual/llio.texi: Add comments discussing why write() may be
3271         considered MT-unsafe on Linux.
3272
3273 2014-10-28  Carlos O'Donell  <carlos@redhat.com>
3274
3275         * dl-load.c (local_strdup): Remove.
3276         (expand_dynamic_string_token): Use __strdup.
3277         (decompose_rpath): Likewise.
3278         (_dl_map_object): Likewise.
3279
3280 2014-10-28  Joseph Myers  <joseph@codesourcery.com>
3281
3282         [BZ #14132]
3283         * sysdeps/generic/unwind-dw2-fde.c
3284         (__register_frame_info_bases_internal): Do not declare.
3285         (__register_frame_info_table_bases_internal): Likewise.
3286         (__deregister_frame_info_bases_internal): Likewise.
3287         (__register_frame_info_bases): Declare and use hidden_proto before
3288         definition.  Use hidden_def instead of INTDEF.
3289         (__register_frame_info_table_bases): Likewise.
3290         (__deregister_frame_info_bases): Likewise.
3291         (__register_frame_info): Do not use INTUSE.
3292         (__register_frame): Likewise.
3293         (__register_frame_info_table): Likewise.
3294         (__register_frame_table): Likewise.
3295         (__deregister_frame_info): Likewise.
3296         (__deregister_frame): Likewise.
3297
3298 2014-10-27  Gratian Crisan  <gratian.crisan@ni.com>
3299
3300         * sysdeps/unix/sysv/linux/arm/kernel-features.h
3301         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
3302         not undefine.
3303         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
3304         Likewise.
3305         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
3306         Likewise.
3307
3308 2014-10-27  Joseph Myers  <joseph@codesourcery.com>
3309
3310         [BZ #14138]
3311         * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
3312         * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
3313         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
3314         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
3315         * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
3316         * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
3317         * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
3318         * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
3319         * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
3320         * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
3321         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
3322         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
3323         * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
3324         syscall.
3325         (setfsuid): Likewise.
3326         * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
3327         (setfsuid): Likewise.
3328         * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
3329         (setfsuid): Likewise.
3330         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
3331         Likewise.
3332         (setfsuid): Likewise.
3333         * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
3334         (setfsuid): Likewise.
3335         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
3336         Likewise.
3337         (setfsuid): Likewise.
3338
3339 2014-10-27  Andreas Schwab  <schwab@suse.de>
3340
3341         [BZ #17501]
3342         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
3343         check for Slow_SSE4_2 feature bit.
3344         * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
3345         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
3346         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
3347         Likewise.  Fix check for Fast_Unaligned_Load feature bit.
3348
3349 2014-10-24  Roland McGrath  <roland@hack.frob.com>
3350
3351         * configure.ac: Validate compiler version with a empirical test of
3352         __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
3353         $CC -v output.
3354         * configure: Regenerated.
3355
3356         * inet/htons.c (htons): Prototypify.
3357         * inet/htonl.c (htonl): Likewise.
3358
3359 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
3360
3361         * string/strncat.c (strncat): Improve performance by using strlen.
3362
3363 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
3364
3365         * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
3366
3367 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
3368
3369         * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
3370         Call libc_fetestexcept_aarch64.
3371
3372 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
3373
3374         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
3375         Call libc_feholdexcept_aarch64.
3376
3377 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
3378
3379         * sysdeps/aarch64/fpu/fegetround.c (fegetround):
3380         Call get_rounding_mode.
3381
3382 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
3383
3384         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
3385         Simplify logic.
3386
3387 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
3388
3389         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
3390         Simplify logic.
3391
3392 2014-10-24  Joseph Myers  <joseph@codesourcery.com>
3393
3394         [BZ #14138]
3395         * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
3396         * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
3397         * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
3398         * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
3399         * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
3400         * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
3401         * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
3402         * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
3403         * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
3404         * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
3405         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
3406         * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
3407         * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
3408         * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
3409         * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
3410         * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
3411         * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
3412         * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
3413         * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
3414         * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
3415         * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
3416         * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
3417         * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
3418         * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
3419         * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
3420         * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
3421         * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
3422         * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
3423         * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
3424         * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
3425         * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
3426         * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
3427         * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
3428         * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
3429         * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
3430         * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
3431         * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
3432         * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
3433         * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
3434         * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
3435         * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
3436         syscall.
3437         (geteuid): Likewise.
3438         (getgid): Likewise.
3439         (getuid): Likewise.
3440         (getresgid): Likewise.
3441         (getresuid): Likewise.
3442         (getgroups): Likewise.
3443         * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
3444         (geteuid): Likewise.
3445         (getgid): Likewise.
3446         (getuid): Likewise.
3447         (getresgid): Likewise.
3448         (getresuid): Likewise.
3449         (getgroups): Likewise.
3450         * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
3451         (geteuid): Likewise.
3452         (getgid): Likewise.
3453         (getuid): Likewise.
3454         (getresgid): Likewise.
3455         (getresuid): Likewise.
3456         (getgroups): Likewise.
3457         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
3458         Likewise.
3459         (geteuid): Likewise.
3460         (getgid): Likewise.
3461         (getuid): Likewise.
3462         (getresgid): Likewise.
3463         (getresuid): Likewise.
3464         (getgroups): Likewise.
3465         * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
3466         (geteuid): Likewise.
3467         (getgid): Likewise.
3468         (getuid): Likewise.
3469         (getresgid): Likewise.
3470         (getresuid): Likewise.
3471         (getgroups): Likewise.
3472         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
3473         Likewise.
3474         (geteuid): Likewise.
3475         (getgid): Likewise.
3476         (getuid): Likewise.
3477         (getgroups): Likewise.
3478
3479         [BZ #14138]
3480         * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
3481         * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
3482         * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
3483         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
3484         * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
3485         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
3486         * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
3487         * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
3488         * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
3489         * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
3490         * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
3491         * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
3492         * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
3493         __chown.
3494         * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
3495         (lchown): Likewise.
3496         (fchown): Likewise.
3497         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
3498         Likewise.
3499         (lchown): Likewise.
3500         (fchown): Likewise.
3501         * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
3502         (lchown): Likewise.
3503         (fchown): Likewise.
3504         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
3505         Likewise.
3506         (lchown): Likewise.
3507         (fchown): Likewise.
3508
3509 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
3510
3511         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
3512         Simplify logic.
3513
3514 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
3515
3516         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
3517         Cleanup logic.
3518
3519 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
3520
3521         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
3522         Remove unused include.
3523
3524 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
3525
3526         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
3527         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
3528         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
3529         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
3530
3531 2014-10-23  Carlos O'Donell  <carlos@systemhalted.org>
3532             Helge Deller <deller@gmx.de>
3533
3534         [BZ #17508]
3535         * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
3536         Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
3537         Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
3538
3539 2014-10-23  Joseph Myers  <joseph@codesourcery.com>
3540
3541         [BZ #14132]
3542         * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
3543         Remove macro definition.
3544         (__ashrdi3_v_glibc20): Likewise.
3545         (__lshrdi3_v_glibc20): Likewise.
3546         (__cmpdi2_v_glibc20): Likewise.
3547         (__ucmpdi2_v_glibc20): Likewise.
3548         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
3549         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
3550         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
3551         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
3552         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
3553         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
3554
3555 2014-10-22  Roland McGrath  <roland@hack.frob.com>
3556
3557         * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
3558         old GNU extension [0] syntax.
3559         * nscd/nscd_helper.c (open_socket): Use a flexible array member and
3560         alloca rather than an array member with variable length.
3561         * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
3562         * nscd/nscd.c (invalidate_db): New function, broken out of ...
3563         (parse_opt): ... here.  Likewise use alloca there.
3564         Validate the -i argument before checking for rootness.
3565         (send_shutdown): New function, broken out of ...
3566         (parse_opt): ... here.
3567
3568 2014-10-22  Roland McGrath  <roland@hack.frob.com>
3569
3570         * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
3571         macro to get at the _rt_local_ro field.
3572         [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
3573         ([PIC] case) or _dl_hwcap ([!PIC] case).
3574         * sysdeps/arm/setjmp.S: Likewise.
3575
3576         * config.h.in (ARM_PCREL_MOVW_OK): New macro.
3577         * sysdeps/arm/configure.ac: New check to define it.
3578         * sysdeps/arm/configure: Regenerated.
3579         * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
3580         (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
3581         (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
3582         depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
3583         (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
3584         Use move/movt pair instead of a load.
3585         (LDST_GLOBAL): Macro removed.
3586         (LDR_GLOBAL): New macro replaces it.
3587         (LDR_HIDDEN): New macro.
3588         (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
3589         Use LDR_HIDDEN instead for __pointer_chk_guard_local.
3590
3591         * setjmp/tst-setjmp-static.c: New file.
3592         * setjmp/Makefile (tests): Add it.
3593         (tests-static): New variable.
3594
3595 2014-10-22  Maciej W. Rozycki  <macro@codesourcery.com>
3596
3597         [BZ #17485]
3598         * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
3599
3600 2014-10-21  Joseph Myers  <joseph@codesourcery.com>
3601
3602         [BZ #14132]
3603         * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
3604
3605 2014-10-21  Roland McGrath  <roland@hack.frob.com>
3606
3607         * nptl/version.c (__nptl_main): Call __libc_write, not __write.
3608
3609 2014-10-20  Roland McGrath  <roland@hack.frob.com>
3610
3611         * io/fts.c (dirent_not_directory): New function.
3612         (fts_build): Call it.
3613
3614 2014-10-20  Roland McGrath  <roland@hack.frob.com>
3615
3616         * nptl/version.c (__nptl_main): Use normal __write rather than
3617         INTERNAL_SYSCALL.
3618         (banner): Update copyright years.
3619
3620         * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
3621         gettimeofday.
3622         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
3623         * nptl/pthread_cond_timedwait.c: Likewise.
3624         * nptl/pthread_mutex_timedlock.c: Likewise.
3625         * nptl/sem_timedwait.c: Likewise.
3626
3627         * sysdeps/nptl/bits/libc-lock.h
3628         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
3629         (__libc_lock_init_recursive): Return void, not 0.
3630         * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
3631         (__libc_rwlock_init): Likewise.
3632         * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
3633
3634 2014-10-20  Torvald Riegel  <triegel@redhat.com>
3635
3636         [BZ #15215]
3637         * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
3638         (__pthread_once_slow): ... here.
3639         * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
3640         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
3641
3642 2014-10-20  Torvald Riegel  <triegel@redhat.com>
3643
3644         [BZ #15215]
3645         * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
3646         __PTHREAD_ONCE_FORK_GEN_INCR): New.
3647         * sysdeps/nptl/fork.c (__libc_fork): Use them.
3648         * nptl/pthread_once.c (__pthread_once): Likewise.
3649         Update comments.
3650
3651 2014-10-20  Joseph Myers  <joseph@codesourcery.com>
3652
3653         [BZ #14138]
3654         * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
3655         name.
3656         (writev): Use __libc_writev as strong name.
3657         * sysdeps/unix/sysv/linux/readv.c: Remove file.
3658         * sysdeps/unix/sysv/linux/writev.c: Likewise.
3659
3660 2014-10-17  Roland McGrath  <roland@hack.frob.com>
3661
3662         * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
3663
3664         * sysdeps/i386/nptl/tls.h
3665         (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
3666         [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
3667         New macros.
3668         * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
3669         (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
3670         * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
3671         Call SETUP_THREAD_SYSINFO instead of doing an assignment.
3672         * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
3673         Call CHECK_THREAD_SYSINFO instead of doing an assert.
3674
3675         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
3676         Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
3677         on [__NR_futex].
3678         * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
3679         broken out of ...
3680         (__pthread_mutex_init): ... here.  Call it.
3681         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
3682         Conditionalize PI cases on [__NR_futex].
3683         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
3684         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
3685         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
3686
3687         * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
3688         conditional on [SIGSETXID].
3689         (sigcancel_handler): Make definition conditional on [SIGCANCEL].
3690         (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
3691         is defined.  Likewise for SIGSETXID.
3692         * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
3693         Conditionalize definitions on [SIGSETXID].
3694         (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
3695         * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
3696         unblocking on [SIGCANCEL].
3697
3698         * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
3699         [__NR_set_robust_list].
3700
3701 2014-10-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
3702
3703         * string/strcoll_l.c (get_next_seq): Fix up formatting.
3704         (do_compare): Likewise.
3705
3706 2014-10-17  Leonhard Holz  <leonhard.holz@web.de>
3707
3708         [BZ #15884]
3709         * string/strcoll_l.c: Don't include stdio.h.
3710         (coll_seq): Remove members idxarr and rulearr.
3711         (get_next_seq_cached): Remove function.
3712         (get_next_seq): Likewise.
3713         (get_next_seq_nocache): Rename to get_next_seq.
3714         (do_compare): Remove function.
3715         (do_compare_nocache): Rename to do_compare.
3716         (STRCOLL): Remove weight and rules cache.
3717
3718 2014-10-16  Roland McGrath  <roland@hack.frob.com>
3719
3720         * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
3721         * sysdeps/arm/sfp-machine.h: ... to here.
3722         * sysdeps/arm/Implies: Remove arm/soft-fp.
3723
3724 2014-10-14  Joseph Myers  <joseph@codesourcery.com>
3725
3726         * conform/data/sys/utsname.h-data (*_t): Allow.
3727         * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
3728         [POSIX] (WEXITED): Do not expect constant.
3729         [POSIX] (WSTOPPED): Likewise.
3730         [POSIX] (WNOHANG): Likewise.
3731         [POSIX] (WNOWAIT): Likewise.
3732         [POSIX] (siginfo_t): Do not expect type or elements.
3733         [POSIX] (pid_t): Do not expect type.
3734         [POSIX] (signal.h): Do not allow header.
3735         [POSIX] (sys/resource.h): Likewise.
3736         [POSIX] (si_*): Do not allow pattern.
3737         [POSIX] (W*): Likewise.
3738         [POSIX] (P_*): Likewise.
3739         [POSIX] (BUS_*): Likewise.
3740         [POSIX] (CLD_*): Likewise.
3741         [POSIX] (FPE_*): Likewise.
3742         [POSIX] (ILL_*): Likewise.
3743         [POSIX] (POLL_*): Likewise.
3744         [POSIX] (SEGV_*): Likewise.
3745         [POSIX] (SI_*): Likewise.
3746         [POSIX] (TRAP_*): Likewise.
3747         * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
3748         variable.
3749
3750 2014-10-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
3751
3752         [BZ #12926]
3753         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
3754         infinite loop when __recvmsg returns 0.
3755
3756 2014-10-10  Joseph Myers  <joseph@codesourcery.com>
3757
3758         * CANCEL-FCT-WAIVE: Remove file.
3759         * CANCEL-FILE-WAIVE: Likewise.
3760
3761         [BZ #14132]
3762         * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
3763         instead of INTVARDEF.
3764         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
3765         * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
3766         rtld_hidden_data_def instead of INTVARDEF.
3767         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
3768         * elf/dl-deps.c (expand_dst): Likewise.
3769         * elf/dl-load.c (_dl_dst_count): Likewise.
3770         (_dl_dst_substitute): Likewise.
3771         (decompose_rpath): Likewise.
3772         (_dl_init_paths): Likewise.
3773         (open_path): Likewise.
3774         (_dl_map_object): Likewise.
3775         * elf/rtld.c (dl_main): Likewise.
3776         (process_dl_audit): Likewise.
3777         (process_envvars): Likewise.
3778         * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
3779         Remove declaration.
3780         (__libc_enable_secure): Use rtld_hidden_proto.
3781
3782 2014-10-09  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
3783
3784         * elf/dl-load.c
3785         (add_path): New function broken out of _dl_rtld_di_serinfo.
3786         (_dl_rtld_di_serinfo): Remove that nested function.  Update call sites.
3787
3788 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
3789
3790         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
3791         parentheses around macro arguments.
3792         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
3793         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
3794         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
3795         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
3796         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
3797         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
3798         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
3799         [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
3800         [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
3801         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
3802         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
3803         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
3804         [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
3805         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
3806         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
3807         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
3808         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
3809         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
3810         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
3811         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
3812         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
3813         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
3814         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
3815         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
3816         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
3817         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
3818         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
3819         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
3820         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
3821         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
3822         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
3823         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
3824         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
3825         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
3826         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
3827         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
3828         Likewise.
3829         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
3830         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
3831         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
3832         [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
3833         [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
3834         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
3835         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
3836         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
3837         [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
3838         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
3839         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
3840         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
3841         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
3842         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
3843         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
3844         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
3845         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
3846         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
3847         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
3848         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
3849         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
3850         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
3851         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
3852         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
3853         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
3854         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
3855         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
3856         * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
3857         (_FP_FRAC_SRS_1): Likewise.
3858         (_FP_FRAC_CLZ_1): Likewise.
3859         (_FP_MUL_MEAT_1_imm): Likewise.
3860         (_FP_MUL_MEAT_1_wide): Likewise.
3861         (_FP_MUL_MEAT_1_hard): Likewise.
3862         (_FP_SQRT_MEAT_1): Likewise.
3863         (_FP_FRAC_ASSEMBLE_1): Likewise.
3864         (_FP_FRAC_DISASSEMBLE_1): Likewise.
3865         * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
3866         (__FP_CLZ_2): Likewise.
3867         (_FP_MUL_MEAT_2_wide): Likewise.
3868         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
3869         (_FP_MUL_MEAT_2_gmp): Likewise.
3870         (_FP_MUL_MEAT_2_120_240_double): Likewise.
3871         (_FP_SQRT_MEAT_2): Likewise.
3872         (_FP_FRAC_ASSEMBLE_2): Likewise.
3873         (_FP_FRAC_DISASSEMBLE_2): Likewise.
3874         * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
3875         (_FP_FRAC_CLZ_4): Likewise.
3876         (_FP_MUL_MEAT_4_wide): Likewise.
3877         (_FP_MUL_MEAT_4_gmp): Likewise.
3878         (_FP_SQRT_MEAT_4): Likewise.
3879         (_FP_FRAC_ASSEMBLE_4): Likewise.
3880         (_FP_FRAC_DISASSEMBLE_4): Likewise.
3881         * soft-fp/op-common.h (_FP_CMP): Likewise.
3882         (_FP_CMP_EQ): Likewise.
3883         (_FP_CMP_UNORD): Likewise.
3884         (_FP_TO_INT): Likewise.
3885         (_FP_FROM_INT): Likewise.
3886         [!__FP_CLZ] (__FP_CLZ): Likewise.
3887         (_FP_DIV_HELP_imm): Likewise.
3888         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
3889         Likewise.
3890         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
3891         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
3892         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
3893         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
3894         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
3895         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
3896         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
3897         [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
3898         [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
3899         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
3900         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
3901         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
3902         [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
3903         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
3904         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
3905         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
3906         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
3907         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
3908         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
3909         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
3910         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
3911         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
3912         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
3913         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
3914         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
3915         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
3916         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
3917         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
3918         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
3919         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
3920         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
3921         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
3922         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
3923         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
3924         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
3925         * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
3926         (FP_UNPACK_RAW_SP): Likewise.
3927         (FP_PACK_RAW_S): Likewise.
3928         (FP_PACK_RAW_SP): Likewise.
3929         (FP_UNPACK_S): Likewise.
3930         (FP_UNPACK_SP): Likewise.
3931         (FP_UNPACK_SEMIRAW_S): Likewise.
3932         (FP_UNPACK_SEMIRAW_SP): Likewise.
3933         (FP_PACK_S): Likewise.
3934         (FP_PACK_SP): Likewise.
3935         (FP_PACK_SEMIRAW_S): Likewise.
3936         (FP_PACK_SEMIRAW_SP): Likewise.
3937         (_FP_SQRT_MEAT_S): Likewise.
3938         (FP_CMP_S): Likewise.
3939         (FP_CMP_EQ_S): Likewise.
3940         (FP_CMP_UNORD_S): Likewise.
3941         (FP_TO_INT_S): Likewise.
3942         (FP_FROM_INT_S): Likewise.
3943
3944         * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
3945
3946         * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
3947         (FP_EX_INVALID_IMZ): Likewise.
3948         (FP_EX_INVALID_IMZ_FMA): Likewise.
3949         (FP_EX_INVALID_ISI): Likewise.
3950         (FP_EX_INVALID_ZDZ): Likewise.
3951         (FP_EX_INVALID_IDI): Likewise.
3952         (FP_EX_INVALID_SQRT): Likewise.
3953         (FP_EX_INVALID_CVI): Likewise.
3954         (FP_EX_INVALID_VC): Likewise.
3955         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
3956         "invalid" exceptions.
3957         (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
3958         (_FP_ADD_INTERNAL): Likewise.
3959         (_FP_MUL): Likewise.
3960         (_FP_FMA): Likewise.
3961         (_FP_DIV): Likewise.
3962         (_FP_CMP_CHECK_NAN): Likewise.
3963         (_FP_SQRT): Likewise.
3964         (_FP_TO_INT): Likewise.
3965         (FP_EXTEND): Likewise.
3966
3967 2014-10-09  Allan McRae  <allan@archlinux.org>
3968
3969         * po/fr.po: Update French translation from translation project.
3970
3971 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
3972
3973         [BZ #14132]
3974         * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
3975         of INTDEF.
3976         * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
3977         (__cxa_atexit): Use libc_hidden_proto.
3978         [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
3979
3980         [BZ #14132]
3981         * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
3982         declaration.
3983         [!_ISOMAC] (__iswdigit_l_internal): Likewise.
3984         [!_ISOMAC] (__iswspace_l_internal): Likewise.
3985         [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
3986         [!_ISOMAC] (__iswctype_internal): Likewise.
3987         * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
3988         * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
3989         alias.
3990         (fcntl): Remove __fcntl_internal alias.
3991         * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
3992         __connect_internal alias.
3993         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
3994         Likewise.
3995
3996         * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
3997         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
3998         FP_DENORM_ZERO.
3999         (_FP_CHECK_FLUSH_ZERO): New macro.
4000         (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
4001         (_FP_CMP): Likewise.
4002         (_FP_CMP_EQ): Likewise.
4003         (_FP_TO_INT): Do not set inexact for subnormal arguments if
4004         FP_DENORM_ZERO.
4005         (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
4006         (FP_TRUNC): Likewise.
4007
4008         * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
4009         treated as invalid conversion, not as normal exponent.
4010
4011         * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
4012         (_FP_CMP): Add extra argument EX.  Call _FP_CMP_CHECK_NAN.
4013         (_FP_CMP_EQ): Likewise.
4014         (_FP_CMP_UNORD): Likewise.
4015         * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
4016         (FP_CMP_EQ_D): Likewise.
4017         (FP_CMP_UNORD_D): Likewise.
4018         * soft-fp/extended.h (FP_CMP_E): Likewise.
4019         (FP_CMP_EQ_E): Likewise.
4020         (FP_CMP_UNORD_E): Likewise.
4021         * soft-fp/quad.h (FP_CMP_Q): Likewise.
4022         (FP_CMP_EQ_Q): Likewise.
4023         (FP_CMP_UNORD_Q): Likewise.
4024         * soft-fp/single.h (FP_CMP_S): Likewise.
4025         (FP_CMP_EQ_S): Likewise.
4026         (FP_CMP_UNORD_S): Likewise.
4027         * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
4028         * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
4029         * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
4030         * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
4031         * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
4032         * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
4033         * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
4034         * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
4035         * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
4036         * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
4037         * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
4038         * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
4039         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
4040         to FP_CMP_Q.
4041         * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
4042         FP_CMP_Q.
4043         * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
4044         * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
4045         FP_CMP_EQ_Q.
4046         * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
4047         FP_CMP_Q.
4048         * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
4049         * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
4050         * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
4051         * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
4052         FP_CMP_EQ_Q.
4053         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
4054         FP_CMP_Q.
4055         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
4056         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
4057         FP_CMP_EQ_Q.
4058         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
4059         FP_CMP_Q.
4060         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
4061         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
4062         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
4063         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
4064         FP_CMP_EQ_Q.
4065
4066         * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
4067         a subnormal result, set the underflow exception if trapping on
4068         underflow is enabled.
4069         * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
4070         (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
4071         [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
4072         redefine to 0.
4073         * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
4074         * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
4075         * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
4076         * soft-fp/extendxftf2.c (__extendxftf2): Use
4077         FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
4078
4079         * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
4080         * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
4081         (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
4082         FP_HANDLE_EXCEPTIONS.
4083         * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
4084         (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
4085         FP_HANDLE_EXCEPTIONS.
4086         * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
4087         (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
4088         FP_HANDLE_EXCEPTIONS.
4089         * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
4090         (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
4091         FP_HANDLE_EXCEPTIONS.
4092
4093 2014-10-08  Joseph Myers  <joseph@codesourcery.com>
4094
4095         [BZ #14132]
4096         * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
4097         * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
4098         use INTUSE.
4099         [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
4100         * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
4101         Remove alias.
4102         (__adjtimex): Define using libc_hidden_ver.
4103         * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
4104         Remove declaration.
4105         (ntp_gettime): Call __adjtimex directly.
4106         * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
4107         Remove declaration.
4108         (ntp_gettimex): Call __adjtimex directly.
4109         * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
4110         __adjtimex_internal alias.
4111
4112 2014-10-08  Roland McGrath  <roland@hack.frob.com>
4113
4114         [BZ #17460]
4115         * nscd/nscd.c (more_help): Rewrite list of tables collection
4116         using xstrdup and asprintf.
4117
4118         * nscd/nscd_conf.c: Remove local xstrdup declaration.
4119
4120 2014-10-08  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
4121             Roland McGrath  <roland@hack.frob.com>
4122
4123         * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
4124         (do_lookup_unique): ... local function 'enter' here; update callers.
4125
4126 2014-10-06  Joseph Myers  <joseph@codesourcery.com>
4127
4128         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
4129         compat_symbol calls on [SHARED].
4130         * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
4131         * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
4132         Remove.
4133         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
4134         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
4135         (oldsetrlimit): Remove.
4136         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
4137         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
4138         (lchown): New syscall entry.
4139         (oldsetrlimit): Remove.
4140         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
4141         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
4142         (oldsetrlimit): Remove.
4143         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
4144
4145         [BZ #14138]
4146         * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
4147         * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
4148         * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
4149         * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
4150         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
4151         * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
4152         (fchown): Likewise.
4153         * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
4154         (fchown): Likewise.
4155         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
4156         Likewise.
4157
4158 2014-10-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4159
4160         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
4161         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
4162         (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
4163         __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
4164         * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
4165         Likewise.
4166         (__old_sem_post): Likewise.
4167
4168 2014-10-06  Chris Metcalf  <cmetcalf@tilera.com>
4169
4170         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
4171         INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
4172         HAVE_CLOCK_GETTIME_VSYSCALL macros.
4173         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
4174         Use INLINE_VSYSCALL macro.
4175         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
4176         __vdso_clock_gettime.
4177         * sysdeps/unix/sysv/linux/tile/init-first.c
4178         (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
4179         * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
4180         __vdso_clock_gettime.
4181
4182         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
4183         to set up frame more cleanly.
4184
4185         * sysdeps/tile/memcmp.c: New file.
4186
4187         * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
4188
4189         * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
4190         * sysdeps/tile/tilegx/strcasestr.c: New file.
4191         * sysdeps/tile/tilegx/strnlen.c: New file.
4192         * sysdeps/tile/tilegx/strstr.c: New file.
4193
4194         * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
4195
4196 2014-10-06  Arjun Shankar  <arjun.is@lostca.se>
4197
4198         * nptl/tst-setuid3.c: Write errors to stdout.
4199
4200 2014-10-01  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
4201
4202         * elf/dl-deps.c
4203         (preload): New functions broken out of _dl_map_object_deps.
4204         (_dl_map_object_deps):  Remove a nested function. Update call sites.
4205
4206 2014-10-01  Joseph Myers  <joseph@codesourcery.com>
4207
4208         [BZ #14138]
4209         * sysdeps/unix/sysv/linux/execve.c: Remove file.
4210         * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
4211
4212 2014-10-01  Steve Ellcey  <sellcey@mips.com>
4213
4214         * sysdeps/mips/strcmp.S: New.
4215
4216 2014-09-30  Joseph Myers  <joseph@codesourcery.com>
4217
4218         [BZ #14138]
4219         * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
4220         (linkat): Likewise.
4221         (mkdirat): Likewise.
4222         (readlinkat): Likewise.
4223         (renameat): Likewise.
4224         (symlinkat): Likewise.
4225         (unlinkat): Likewise.
4226         * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
4227         * sysdeps/unix/sysv/linux/linkat.c: Likewise.
4228         * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
4229         * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
4230         * sysdeps/unix/sysv/linux/renameat.c: Likewise.
4231         * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
4232         * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
4233
4234 2014-09-30  Will Newton  <will.newton@linaro.org>
4235
4236         * math/math.h: Define long double math functions if
4237         _LIBC_TEST is defined.
4238         * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
4239
4240         * localedata/Makefile: Move assignment to tests-special
4241         into an ifdef testing run-built-tests.
4242         * timezone/Makefile: Likewise.
4243
4244 2014-09-29  Joseph Myers  <joseph@codesourcery.com>
4245
4246         * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
4247         with $(BASH) not $(SHELL).
4248
4249 2014-09-29  Carlos O'Donell  <carlos@redhat.com>
4250             Matthew LeGendre  <legendre1@llnl.gov>
4251
4252         [BZ #17411]
4253         * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
4254         l_reloc_result.
4255
4256 2014-09-29  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
4257
4258         * stdio-common/printf_fp.c
4259         (hack_digit): New function, broken out of ...
4260         (__printf_fp): ... local function here.  Update call sites.
4261         hack_digit now takes an additional parameter that is a pointer
4262         to a struct of the referenced locals.  Those locals moved inside
4263         the struct and references updated.
4264
4265 2014-09-29  H.J. Lu  <hongjiu.lu@intel.com>
4266
4267         * aclocal.m4: Require autoconf 2.69.
4268         * configure: Regenerated.
4269         * sysdeps/aarch64/configure: Likewise.
4270         * sysdeps/alpha/configure: Likewise.
4271         * sysdeps/arm/armv7/configure: Likewise.
4272         * sysdeps/arm/configure: Likewise.
4273         * sysdeps/ia64/configure: Likewise.
4274         * sysdeps/mach/configure: Likewise.
4275         * sysdeps/mips/configure: Likewise.
4276         * sysdeps/s390/configure: Likewise.
4277         * sysdeps/unix/sysv/linux/mips/configure: Likewise.
4278         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
4279
4280         * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
4281         file.
4282         * sysdeps/ia64/configure.ac: Likewise.
4283
4284 2014-09-26  Joseph Myers  <joseph@codesourcery.com>
4285
4286         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
4287         specify symbol version for ld.so.  Do not include entry for
4288         libpthread.
4289         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
4290         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
4291         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
4292
4293         [BZ #14171]
4294         * Makeconfig [$(build-shared) = yes]
4295         ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
4296         makefiles.
4297         [$(build-shared) = yes && $(soversions.mk-done) = t]
4298         ($(common-objpfx)gnu/lib-names.h): Remove rule.
4299         [$(build-shared) = yes && $(soversions.mk-done) = t]
4300         ($(common-objpfx)gnu/lib-names.stmp): Likewise.  Split and moved
4301         to Makerules.
4302         [$(build-shared) = yes && $(soversions.mk-done) = t]
4303         (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
4304         here.
4305         [$(build-shared) = yes && $(soversions.mk-done) = t]
4306         (common-generated): Don't append gnu/lib-names.h and
4307         gnu/lib-names.stmp here.
4308         * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
4309         (lib-names-h-abi): New variable.
4310         [$(build-shared) = yes && $(soversions.mk-done) = t]
4311         (lib-names-stmp-abi): Likewise.
4312         [$(build-shared) = yes && $(soversions.mk-done) = t &&
4313         abi-variants] (before-compile): Append
4314         $(common-objpfx)$(lib-names-h-abi).
4315         [$(build-shared) = yes && $(soversions.mk-done) = t &&
4316         abi-variants] (common-generated): Append gnu/lib-names.h.
4317         [$(build-shared) = yes && $(soversions.mk-done) = t &&
4318         abi-variants] (install-others-nosubdir): Depend on
4319         $(inst_includedir)/$(lib-names-h-abi).
4320         [$(build-shared) = yes && $(soversions.mk-done) = t &&
4321         abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
4322         [$(build-shared) = yes && $(soversions.mk-done) = t]
4323         ($(common-objpfx)$(lib-names-h-abi)): New rule.
4324         [$(build-shared) = yes && $(soversions.mk-done) = t]
4325         ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
4326         [$(build-shared) = yes && $(soversions.mk-done) = t]
4327         (common-generated): Append $(lib-names-h-abi) and
4328         $(lib-names-stmp-abi).
4329         * scripts/lib-names.awk: Do not handle multi being set.
4330         * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
4331         Remove variable.
4332         (abi-lp64_be-ld-soname): Likewise.
4333         * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
4334         Likewise.
4335         (abi-hard-ld-soname): Likewise.
4336         * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
4337         * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
4338         Remove variable.
4339         (abi-o32_hard-ld-soname): Likewise.
4340         (abi-o32_soft_2008-ld-soname): Likewise.
4341         (abi-o32_hard_2008-ld-soname): Likewise.
4342         (abi-n32_soft-ld-soname): Likewise.
4343         (abi-n32_hard-ld-soname): Likewise.
4344         (abi-n32_soft_2008-ld-soname): Likewise.
4345         (abi-n32_hard_2008-ld-soname): Likewise.
4346         (abi-n64_soft-ld-soname): Likewise.
4347         (abi-n64_hard-ld-soname): Likewise.
4348         (abi-n64_soft_2008-ld-soname): Likewise.
4349         (abi-n64_hard_2008-ld-soname): Likewise.
4350         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
4351         Likewise.
4352         (abi-64-v2-ld-soname): Likewise.
4353         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
4354         ld.so entries.
4355         * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
4356         variable.
4357         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
4358         entry.
4359         * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
4360         variable.
4361         (abi-64-ld-soname): Likewise.
4362         (abi-x32-ld-soname): Likewise.
4363         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
4364         entry.
4365         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
4366
4367 2014-09-23  Joseph Myers  <joseph@codesourcery.com>
4368
4369         [BZ #14138]
4370         * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
4371         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
4372         * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
4373         * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
4374         * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
4375         * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
4376         * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
4377         syscall entry for GLIBC_2.2 symbol version.
4378         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
4379         Likewise.
4380         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
4381         (setrlimit): Likewise.
4382         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
4383         Likewise.
4384
4385 2014-09-23  Will Newton  <will.newton@linaro.org>
4386
4387         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
4388         _LINUX_ARM_SYSDEP_H include guard too.
4389         * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
4390         define.
4391
4392 2014-09-20  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
4393
4394         * sysdeps/unix/sysv/linux/eventfd.c:
4395         Make first argument unsigned.
4396         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
4397         * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
4398
4399 2014-09-20  Ondřej Bílka  <neleai@seznam.cz>
4400
4401         * socket/recvmmsg.c (recvmmsg): Drop const argument.
4402         * socket/sys/socket.h: Likewise
4403         * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
4404
4405 2014-09-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
4406
4407         * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
4408
4409 2014-09-17  Arjun Shankar  <arjun.is@lostca.se>
4410
4411         * time/tst-ftime.c: New test.
4412         * time/Makefile (tests): Add tst-ftime.
4413
4414 2014-09-17  Joseph Myers  <joseph@codesourcery.com>
4415
4416         * soft-fp/extended.h: Fix comment formatting.
4417         * soft-fp/op-1.h: Likewise.
4418         * soft-fp/op-2.h: Likewise.
4419         * soft-fp/op-4.h: Likewise.
4420         * soft-fp/op-8.h: Likewise.
4421         * soft-fp/op-common.h: Likewise.
4422         * soft-fp/soft-fp.h: Likewise.
4423
4424         * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
4425
4426 2014-09-16  Joseph Myers  <joseph@codesourcery.com>
4427
4428         [BZ #6652]
4429         * Makeconfig (soversions-default-setname): Remove variable.
4430         ($(common-objpfx)soversions.i): Don't pass default_setname to
4431         soversions.awk.
4432         * Makerules ($(common-objpfx)abi-versions.h): Don't pass
4433         oldest_abi to abi-versions.awk.
4434         * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
4435         * config.make.in (oldest-abi): Remove variable.
4436         * configure.ac (--enable-oldest-abi): Remove configure option.
4437         * configure: Regenerated.
4438         * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
4439         text.
4440         * scripts/abi-versions.awk: Do not handle oldest_abi variable.
4441         * scripts/soversions.awk: Do not handle default_setname variable.
4442         * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
4443         variable.
4444         * sysdeps/mach/hurd/configure: Regenerated.
4445         * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
4446         variable.
4447         * sysdeps/unix/sysv/linux/configure: Regenerated.
4448
4449 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
4450
4451         * elf/Makefile (CFLAGS-interp.c): Remove.
4452         ($(elf-objpfx)runtime-linker.h): Generate header with linker
4453         path string.
4454         * elf/interp.c: Include generated runtime-linker.h
4455
4456         * Makerules (lib%.so): Don't include $(+interp) in
4457         prerequisites.
4458         * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
4459         * dlfcn/eval.c: Remove file.
4460
4461         * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
4462         macros.
4463
4464         [BZ #17266]
4465         * misc/sys/cdefs.h: Define __extern_always_inline for clang
4466         4.2 and newer.
4467
4468         [BZ #17370]
4469         * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
4470
4471 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
4472             Jakub Jelinek  <jakub@redhat.com>
4473
4474         [BZ #17266]
4475         * libio/stdio.h: Check definition of __fortify_function
4476         instead of __extern_always_inline to include bits/stdio2.h.
4477         * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
4478         check if __extern_always_inline is defined.
4479         [__USE_MISC || __USE_XOPEN]: Likewise.
4480         [__USE_ISOC99] Likewise.
4481         * misc/sys/cdefs.h (__fortify_function): Define only if
4482         __extern_always_inline is defined.
4483         [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
4484         __extern_always_inline and __extern_inline only for g++-4.3
4485         and newer or a compatible gcc.
4486
4487 2014-09-15  Andreas Schwab  <schwab@linux-m68k.org>
4488
4489         [BZ #17371]
4490         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
4491         last change to handle zero prefix length.
4492
4493 2014-09-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
4494
4495         * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
4496         _SC_REGEX_VERSION.
4497
4498         * posix/getconf.c (vars): Add _POSIX_IPV6 and
4499         _POSIX_RAW_SOCKETS.
4500
4501 2014-09-13  Allan McRae  <allan@archlinux.org>
4502
4503         * po/ru.po: Update Russian translation from translation project.
4504
4505 2014-09-12  Roland McGrath  <roland@hack.frob.com>
4506
4507         * locale/programs/locale.c (show_locale_vars): Inline local function
4508         into its sole call site.  Clean up some style nits.
4509         (print_item): New function, broken out of ...
4510         (show_info): ... local function here.  Clean up style nits.
4511
4512         * locale/programs/ld-ctype.c (set_one_default): New function, broken
4513         out of ...
4514         (set_class_defaults): ... local function set_default here.
4515         Define set_default as a macro locally to pass constant parameters.
4516         (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
4517         rather than a shared local.
4518
4519         * stdlib/rpmatch.c (try): New function, broken out of ...
4520         (rpmatch): ... local function here.  Also, prototypify definition.
4521
4522 2014-09-12  Joseph Myers  <joseph@codesourcery.com>
4523
4524         * scripts/soversions.awk: Do not handle configuration names.
4525         * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
4526         vendor and os variables to soversions.awk.
4527         * configure.ac: Do not modify gnu-* host_os.
4528         * configure: Regenerated
4529         * shlib-versions: Remove first column with configuration names.
4530         * nptl/shlib-versions: Likewise.
4531         * nptl_db/shlib-versions: Likewise.
4532         * sysdeps/hppa/shlib-versions: Likewise.
4533         * sysdeps/m68k/shlib-versions: Likewise.
4534         * sysdeps/mach/hurd/shlib-versions: Likewise.
4535         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
4536         * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
4537         * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
4538         * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
4539         * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
4540         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
4541         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
4542         * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
4543         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
4544         Likewise.
4545         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
4546         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
4547         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
4548         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
4549         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
4550         * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
4551         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
4552         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
4553
4554         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
4555         (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
4556         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
4557         Regenerated.
4558         * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
4559         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
4560         Condition symbol version definitions on [HAVE_ELFV2_ABI].
4561
4562         * shlib-versions: Remove OS-specific entries.  Moved to files in
4563         sysdeps.
4564         * sysdeps/mach/hurd/shlib-versions: New file.
4565         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
4566
4567         * nptl/shlib-versions: Remove architecture-specific entries.
4568         Moved to files in sysdeps.
4569         * shlib-versions: Likewise.
4570         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
4571         file.
4572         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
4573         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
4574         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
4575         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
4576
4577         * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
4578         (UDP_NO_CHECK6_RX): Likewise.
4579
4580 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
4581
4582         * sysdeps/posix/sysconf.c (__sysconf): Spell
4583         _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
4584
4585 2014-08-12  Florian Weimer  <fweimer@redhat.com>
4586
4587         * iconv/gconv_open.c (__gconv_open): Remove transliteration module
4588         loading.
4589         * iconv/Versions (__gconv_transliterate): Export for use from
4590         gconv modules.
4591         * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
4592         (struct __gconv_trans_data, __gconv_trans_fct,
4593         __gconv_trans_context_fct, __gconv_trans_query_fct,
4594         __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
4595         definitions.
4596         (struct __gconv_step_data): Remove __trans member.
4597         (__gconv_transliterate): Declaration moved from gconv_int.h.  No
4598         longer hidden.  Remove unused trans_data argument.
4599         * iconv/gconv_int.h (struct trans_struct): Remove definition.
4600         (__gconv_translit_find): Remove declaration.
4601         (__gconv_transliterate): Declaration moved to gconv.h.  Add hidden
4602         prototype.
4603         * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
4604         * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
4605         trans_data argument.  Add hidden definition.
4606         (__gconv_translit_find): Remove.
4607         * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
4608         __gconv_transliterate directly if __GCONV_TRANSLIT is set.
4609         * iconv/skeleton.c: Remove transliteration initialization.
4610         * libio/fileops.c (_IO_new_file_fopen): Adjust struct
4611         __gconv_step_data initialization.
4612         * libio/iofwide.c (__libio_translit_): Remove.
4613         (_IO_fwide): Adjust struct __gconv_step_data initialization.
4614         * wcsmbs/btowc.c (__btowc): Likewise.
4615         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
4616         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
4617         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
4618         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
4619         * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
4620         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
4621         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
4622         * wcsmbs/wctob.c (wctob): Likewise.
4623
4624 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
4625
4626         [BZ #16194]
4627         * sysdeps/x86/tst-xmmymm.sh: Rename file to...
4628         * sysdeps/x86/tst-ld-sse-use.sh: ... this.  Check for zmm
4629         register usage.
4630         * sysdeps/x86/Makefile: Adjust.
4631
4632 2014-09-11  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
4633             Roland McGrath  <roland@hack.frob.com>
4634
4635         * locale/weight.h: Add include guard.
4636         (findidx): Make static rather than auto; take new parameters
4637         TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
4638         * locale/weightwc.h: Likewise.
4639         * posix/fnmatch_loop.c
4640         (FCT): Change type of EXTRA from int32_t to wint_t.
4641         Don't include either header inside the function.
4642         Call FINDIDX rather than findidx, and pass new arguments.
4643         #undef FINDIDX at the end of the file.
4644         * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
4645         FINDIDX before including fnmatch_loop.c for the non-wide version.
4646         [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
4647         #include <locale/weightwc.h>, and define FINDIDX to findidxwc
4648         for the wide version.
4649         * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
4650         (build_equiv_class) [_LIBC]: Don't #include it inside the function.
4651         Pass new arguments to findidx.
4652         * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
4653         [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
4654         Don't #include it inside the function.  Pass new arguments to findidx.
4655         * posix/regex_internal.h
4656         [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
4657         (re_string_elem_size_at): Don't #include it inside the function.
4658         Pass new arguments to findidx.
4659         * string/strcoll_l.c: #include WEIGHT_H at top level.
4660         (get_next_seq): Don't #include it inside the function.
4661         Pass new arguments to findidx.
4662         (get_next_seq_nocache): Likewise.
4663         * string/strxfrm_l.c: #include WEIGHT_H at top level.
4664         (STRXFRM): Don't #include it inside the function.
4665         Pass new arguments to findidx.
4666
4667 2014-09-11  Florian Weimer  <fweimer@redhat.com>
4668
4669         [BZ #17344]
4670         * malloc/malloc.c (unlink): Turn asserts into a call to
4671         malloc_printerr.
4672
4673 2014-09-11  Tim Lammens  <tim.lammens@gmail.com>
4674
4675         [BZ #17370]
4676         * libio/wfileops (do_ftell_wide): Free OUT.
4677
4678 2014-09-10  Chris Metcalf  <cmetcalf@tilera.com>
4679
4680         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
4681
4682 2014-09-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
4683
4684         [BZ #17363]
4685         * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
4686         group if the current group is empty.
4687
4688 2014-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4689
4690         * benchtests/bench-memset.c (test_main): Add more test from size
4691         from 32 to 512 bytes.
4692         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
4693         Add POWER8 memset object.
4694         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
4695         (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
4696         * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
4697         implementation.
4698         * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
4699         Likewise.
4700         * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
4701         multiarch POWER8 memset optimization.
4702         * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
4703         POWER8 memset optimization.
4704
4705         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
4706         Remove bzero multiarch objects.
4707         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
4708         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
4709         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
4710         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
4711         Remove define.
4712         [__bzero]: Redefine to specific name.
4713         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
4714         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
4715         * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
4716         define.
4717         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
4718         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
4719
4720 2014-09-10  Florian Weimer  <fweimer@redhat.com>
4721
4722         * Makeconfig (gccwarn-c): Turn implicit-function-declaration
4723         warnings into errors.
4724
4725         * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
4726         __cxa_thread_atexit_impl prototype.
4727
4728 2014-09-09  Steve Ellcey  <sellcey@mips.com>
4729
4730         * sysdeps/mips/preconfigure: Put code inside mips* case statement.
4731         Fix capitalization of error message.
4732
4733 2014-09-09  Steve Ellcey  <sellcey@mips.com>
4734
4735         * sysdeps/mips/preconfigure: Modify ABI tests.
4736
4737 2014-09-07  Carlos O'Donell  <carlos@systemhalted.org>
4738
4739         * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
4740
4741 2014-09-07  Roland McGrath  <roland@hack.frob.com>
4742             Carlos O'Donell  <carlos@systemhalted.org>
4743
4744         * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
4745         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
4746         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
4747         * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
4748         * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
4749         * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
4750         * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
4751         * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
4752         * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
4753         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
4754         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
4755         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
4756         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
4757         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
4758         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
4759         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
4760         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
4761         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
4762         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
4763         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
4764         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
4765         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
4766         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
4767         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
4768         * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
4769         * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
4770         * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
4771         * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
4772         Deconditionalize the code that was previously under [RESET_PID].
4773         * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
4774         * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
4775         * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
4776         * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
4777         include sysdep.h.
4778
4779 2014-09-08  Allan McRae  <allan@archlinux.org>
4780
4781         * version.h (RELEASE): Set to "development".
4782         (VERSION): Set to "2.20.90"
4783
4784 2014-09-07  Allan McRae  <allan@archlinux.org
4785
4786         * version.h (RELEASE): Set to "stable".
4787         (VERSION): Set to "2.20"
4788         * include/features.h (__GLIBC_MINOR__): Set to 20.
4789
4790         * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
4791         Liebler.
4792
4793         * po/ko.po: Update Korean translation from translation project.
4794
4795 2014-09-06  Chris Metcalf  <cmetcalf@tilera.com>
4796
4797         [BZ #17354]
4798         * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
4799         macro for handling signed relocations.
4800
4801 2014-09-03  Florian Weimer  <fweimer@redhat.com>
4802
4803         [BZ #17325]
4804         * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
4805         * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
4806         assert.
4807         * iconvdata/ibm933.c (BODY): Fix check for sentinel.
4808         * iconvdata/ibm935.c (BODY): Likewise.
4809         * iconvdata/ibm937.c (BODY): Likewise.
4810         * iconvdata/ibm939.c (BODY): Likewise.
4811         * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
4812         assert.
4813         * iconvdata/Makefile (iconv-test.out): Pass module list to test
4814         script.
4815         * iconvdata/run-iconv-test.sh: New test loop for checking for
4816         decoder crashers.
4817
4818 2014-09-02  Khem Raj  <raj.khem@gmail.com>
4819
4820         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
4821         libm_hidden_ver.
4822
4823 2014-09-01  Allan McRae  <allan@archlinux.org>
4824
4825         * po/eo.po: Update Esperanto translation from translation project.
4826
4827         * po/ca.po: Update Catalan translation from translation project.
4828
4829 2014-08-28  Samuel Thibault  <samuel.thibault@ens-lyon.org>
4830
4831         * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
4832         __proc_dostop call.
4833
4834 2014-08-27  Mark Wielaard  <mjw@redhat.com>
4835
4836         [BZ #17319]
4837         * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
4838         to call set_thread_area instead of hand written asm.
4839         (__NR_set_thread_area): Removed define.
4840         (TLS_FLAG_WRITABLE): Likewise.
4841         (__ASSUME_SET_THREAD_AREA): Remove check.
4842         (TLS_EBX_ARG): Remove define.
4843         (TLS_LOAD_EBX): Likewise.
4844
4845 2014-08-27  Samuel Thibault  <samuel.thibault@ens-lyon.org>
4846
4847         Simplify atomicity of socket creation in bind.
4848
4849         * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
4850         looking up the name after linking the file.
4851
4852 2014-08-27  Allan McRae  <allan@archlinux.org>
4853
4854         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
4855
4856 2014-08-26  Florian Weimer  <fweimer@redhat.com>
4857
4858         [BZ #17187]
4859         * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
4860         trans_compare, open_translit, __gconv_translit_find):
4861         Remove module loading code.
4862
4863 2014-08-26  Allan McRae  <allan@archlinux.org>
4864
4865         * po/vi.po: Update Vietnamese translation from translation project.
4866
4867         * po/uk.po: Update Ukrainian translation from translation project.
4868
4869         * po/fr.po: Update French translation from translation project.
4870
4871         * po/ru.po: Update Russian translation from translation project.
4872
4873         * po/pl.po: Update Polish translation from translation project.
4874
4875         * po/cs.po: Update Czech translation from translation project.
4876
4877         * po/de.po: Update German translation from translation project.
4878
4879         * po/bg.po: Update Bulgarian translation from translation project.
4880
4881         * po/sv.po: Update Sweedish translation from translation project.
4882
4883         * po/nl.po: Update Dutch translation from translation project.
4884
4885         * po/es.po: Update Spanish translation from translation project.
4886
4887 2014-08-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
4888
4889         * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
4890
4891         * catgets/Makefile (CPPFLAGS-gencat): Remove.
4892         * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
4893         (CPPFLAGS-iconvconfig): Likewise.
4894         * timezone/Makefile (CPPFLAGS-zic): Likewise.
4895
4896         * include/libc-symbols.h: Remove unnecessary check for
4897         NOT_IN_libc.
4898         * nptl/pthreadP.h: Likewise.
4899         * sysdeps/aarch64/setjmp.S: Likewise.
4900         * sysdeps/alpha/setjmp.S: Likewise.
4901         * sysdeps/arm/sysdep.h: Likewise.
4902         * sysdeps/i386/setjmp.S: Likewise.
4903         * sysdeps/m68k/setjmp.c: Likewise.
4904         * sysdeps/posix/getcwd.c: Likewise.
4905         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
4906         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
4907         * sysdeps/s390/s390-32/setjmp.S: Likewise.
4908         * sysdeps/s390/s390-64/setjmp.S: Likewise.
4909         * sysdeps/sh/sh3/setjmp.S: Likewise.
4910         * sysdeps/sh/sh4/setjmp.S: Likewise.
4911         * sysdeps/unix/alpha/sysdep.h: Likewise.
4912         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
4913         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
4914         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
4915         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
4916         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
4917         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
4918         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
4919         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
4920         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
4921         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
4922         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
4923         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
4924         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
4925         * sysdeps/x86_64/setjmp.S: Likewise.
4926
4927 2014-08-13  Joseph Myers  <joseph@codesourcery.com>
4928
4929         [BZ #17263]
4930         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
4931         <stdint.h>.
4932         (__get_clockfreq): Use uint64_t instead of hp_timing_t in
4933         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
4934
4935 2014-08-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
4936
4937         * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
4938
4939         [BZ #17262]
4940         * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
4941         and __x86_64__ when disabling x87 inline functions.
4942
4943 2014-08-12  H.J. Lu  <hongjiu.lu@intel.com>
4944
4945         [BZ #17259]
4946         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
4947         asm statement with __cpuid_count.
4948
4949 2014-08-12  Mike Frysinger  <vapier@gentoo.org>
4950
4951         * configure.ac: Change __ehdr_start code to dereference the struct.
4952         Run readelf on the output to look for relocations.
4953         * configure: Regenerated.
4954
4955 2014-08-12  Joseph Myers  <joseph@codesourcery.com>
4956
4957         [BZ #17261]
4958         * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
4959         value to 0.
4960         (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
4961
4962 2014-08-12  Roland McGrath  <roland@hack.frob.com>
4963
4964         * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
4965
4966 2014-08-12  Bernard Ogden  <bernie.ogden@linaro.org>
4967
4968         [BZ #16892]
4969         * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
4970         atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
4971
4972 2014-08-12  Sean Anderson  <seanga2@gmail.com>
4973
4974         * malloc/malloc.c: Fix typo in comment.
4975
4976 2014-08-09  Allan McRae  <allan@archlinux.org>
4977
4978         * Regenerate libc.po.
4979
4980 2014-08-08  Mike Frysinger  <vapier@gentoo.org>
4981
4982         * intl/tst-gettext2.sh: Check every lang file for creation.
4983
4984 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
4985
4986         * sysdeps/aarch64/fpu/math_private.h
4987         (libc_feholdsetround_noex_aarch64_ctx): New function.
4988
4989 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
4990
4991         * sysdeps/arm/armv6/strcpy.S (strcpy):
4992         Fix performance issue in misaligned cases.
4993
4994 2014-08-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4995
4996         * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
4997         Move definition from termios.h.
4998         (struct termio): Likewise.
4999         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
5000         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
5001         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
5002         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
5003         Likewise.
5004         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
5005         Move definition to ioctl-types.h
5006         (struct termio): Likewise.
5007         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
5008         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
5009         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
5010         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
5011         Likewise.
5012
5013 2014-08-05  Richard Henderson  <rth@redhat.com>
5014
5015         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
5016         exceptions.
5017         * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
5018         Add fraiseexcpt.
5019         * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
5020         Use __feraiseexcept.
5021         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
5022         Protect libm symbols with IS_IN_libm.
5023
5024         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
5025
5026 2014-08-04  Bernard Ogden  <bernie.ogden@linaro.org>
5027
5028         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
5029
5030 2014-08-04  Will Newton  <will.newton@linaro.org>
5031
5032         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
5033         file.
5034
5035 2014-08-04  Mike Frysinger  <vapier@gentoo.org>
5036
5037         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
5038         variants for each function.
5039
5040 2014-08-04  Roland McGrath  <roland@hack.frob.com>
5041
5042         * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
5043         appended ...
5044         * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
5045         * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
5046         appended ...
5047         * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
5048         * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
5049         * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
5050         * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
5051         * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
5052         * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
5053         * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
5054         * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
5055         * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
5056         * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
5057         * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
5058         * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
5059         * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
5060         * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
5061         * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
5062         * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
5063         * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
5064         * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
5065         * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
5066         * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
5067         * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
5068         * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
5069         * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
5070         * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
5071         * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
5072         * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
5073         * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
5074         * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
5075         * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
5076         * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
5077         * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
5078         * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
5079         * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
5080         * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
5081         * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
5082         * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
5083         * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
5084         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
5085         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
5086         * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
5087         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
5088         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
5089         * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
5090         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
5091         * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
5092         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
5093         * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
5094         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
5095         * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
5096         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
5097         * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
5098         * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
5099         * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
5100         Update #include.
5101         * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
5102         * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
5103
5104 2014-08-04  Roland McGrath  <roland@hack.frob.com>
5105
5106         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
5107         * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
5108         * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
5109         * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
5110         * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
5111         * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
5112
5113 2014-08-04  Roland McGrath  <roland@hack.frob.com>
5114
5115         * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
5116         * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
5117         * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
5118         * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
5119
5120 2014-08-04  Roland McGrath  <roland@hack.frob.com>
5121
5122         * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
5123         * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
5124         (__libc_vfork): Define function under this name.
5125         (__vfork): Define as an alias.
5126         * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
5127         * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
5128
5129 2014-08-04  Roland McGrath  <roland@hack.frob.com>
5130
5131         * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
5132         that was previously under [RESET_PID].
5133         * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
5134
5135 2014-08-04  Andreas Schwab  <schwab@suse.de>
5136
5137         * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
5138
5139 2014-08-03  Mike Frysinger  <vapier@gentoo.org>
5140
5141         * stdlib/tst-setcontext.c (test_stack): Fix coding style.
5142         (main): Likewise.
5143
5144 2014-08-01  Roland McGrath  <roland@hack.frob.com>
5145
5146         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
5147
5148 2014-08-01  Richard Henderon  <rth@redhat.com>
5149
5150         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
5151         feclearexcept; use math_opt_barrier instead of open-coded asm; fix
5152         typo in exact zero test.
5153         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
5154         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
5155         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
5156
5157 2014-08-01  Roland McGrath  <roland@hack.frob.com>
5158
5159         * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
5160         (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
5161         * sysdeps/arm/sysdep.h: ... here.
5162         [!__ASSEMBLER__]: Include <stdint.h>.
5163
5164 2014-08-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
5165
5166         * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
5167         (HAVE_WCTYPE_H): Likewise.
5168         (HAVE_ISWCTYPE): Likewise.
5169         (ENABLE_NLS): Likewise.
5170         * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
5171         && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
5172
5173         * posix/regex_internal.c: Check if DEBUG is defined and is
5174         set.
5175
5176         * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
5177         (HAVE_MBSRTOWCS): Likewise.
5178         * posix/fnmatch.c: Include string.h unconditionally.
5179
5180 2014-08-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
5181
5182         * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
5183         reversal.
5184
5185 2014-07-31  Roland McGrath  <roland@hack.frob.com>
5186
5187         * sysdeps/generic/safe-fatal.h: New file.
5188         * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
5189         * nptl/forward.c: Include it.
5190         (__pthread_unwind): Use __safe_fatal as default action, rather
5191         than a bogus use of INTERNAL_SYSCALL that could never work.
5192
5193         * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
5194         * configure.ac (libc_cv_builtin_trap): New test.
5195         * configure: Regenerated.
5196         * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
5197         (ABORT_INSTRUCTION): Define using __builtin_trap.
5198
5199         * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
5200         * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
5201         * sysdeps/nptl/nptl-signals.h: New file.
5202         * nptl/pthreadP.h: Include <nptl-signals.h>.
5203
5204 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
5205
5206         * sysdeps/s390/s390-64/utf16-utf32-z9.c
5207         (ONE_DIRECTION): Define.
5208         * sysdeps/s390/s390-64/utf8-utf16-z9.c
5209         (ONE_DIRECTION): Define.
5210         * sysdeps/s390/s390-64/utf8-utf32-z9.c
5211         (ONE_DIRECTION): Define.
5212
5213 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
5214
5215         * sysdeps/s390/Makefile: Delete file.
5216         * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
5217         * sysdeps/s390/__longjmp.c: Delete file.
5218         * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
5219         Remove fields __flags and __reserved.
5220         * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
5221         and add versioning.
5222         * sysdeps/s390/rtld-__longjmp.c: Delete file.
5223         * sysdeps/s390/rtld-global-offsets.sym: Likewise.
5224         * sysdeps/s390/rtld-setjmp.S: Likewise.
5225         * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
5226         * sysdeps/s390/s390-32/__longjmp.c: ... here.
5227         * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
5228         * sysdeps/s390/s390-32/setjmp.S: ... here.
5229         Add versioning.
5230         (__sigsetjmp): Remove setting __flags field.
5231         * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
5232         * sysdeps/s390/s390-64/__longjmp.c: ... here.
5233         * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
5234         * sysdeps/s390/s390-64/setjmp.S: ... here.
5235         Add versioning.
5236         (__sigsetjmp): Remove setting __flags field.
5237         * sysdeps/s390/setjmp.S: Delete file.
5238         * sysdeps/s390/sigjmp.c: Likewise.
5239         * sysdeps/s390/v1-longjmp.c: Likewise.
5240         * sysdeps/s390/v1-setjmp.h: Likewise.
5241         * sysdeps/s390/v1-sigjmp.c: Likewise.
5242         * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
5243         Remove v1-longjmp_chk.
5244         * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
5245         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
5246         Include debug/longjmp_chk.c and add versioning.
5247         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
5248         Include nptl/pt-longjmp.c and add versioning.
5249         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
5250         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
5251         Include __longjmp.c.
5252         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
5253         Move to ...
5254         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
5255         (__getcontext): Remove setting __flags field.
5256         Add versioning.
5257         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
5258         Don't restore upper high grps.
5259         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
5260         Likewise.
5261         (__swapcontext): Remove setting uc_flags field.
5262         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
5263         Delete file.
5264         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
5265         Include __longjmp.c.
5266         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
5267         Move to ...
5268         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
5269         (__getcontext): Remove setting __flags field.
5270         Add versioning.
5271         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
5272         (__swapcontext): Remove setting uc_flags field.
5273         * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
5274         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
5275         Remove fields uc_high_gprs and __reserved.
5276         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
5277         New file with reverted content.
5278         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
5279         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
5280         Regenerated.
5281         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
5282         Regenerated.
5283
5284 2014-07-31  Andreas Schwab  <schwab@suse.de>
5285
5286         * config.h.in (HAVE_IFUNC): Define to 0.
5287         * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
5288         definedness.
5289
5290 2014-07-30  Ling Ma  <ling.ml@alibaba-inc.com>
5291
5292         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
5293         memmove-avx-unaligned, memcpy-avx-unaligned and
5294         mempcpy-avx-unaligned.
5295         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
5296         Add tests for AVX memcpy functions.
5297         * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
5298         * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
5299         memcpy_chk.
5300         * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
5301         * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
5302         memmove_chk.
5303         * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
5304         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
5305         mempcpy_chk.
5306         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
5307         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
5308         * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
5309
5310 2013-07-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5311
5312         [BZ #17213]
5313         * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
5314         powerpc64le.
5315
5316 2014-07-29  Jeff Layton  <jlayton@poochiereds.net>
5317
5318         [BZ #16839]
5319         * manual/llio.texi: Add section about open file description locks.
5320         * manual/examples/ofdlocks.c: Example of open file description
5321         lock usage.
5322         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
5323         F_OFD_SETLK, and F_OFD_SETLKW.
5324
5325 2014-07-23  Allan McRae  <allan@archlinux.org>
5326
5327         * po/es.po: Update Spanish translation from translation project.
5328
5329 2014-07-18  Andreas Schwab  <schwab@linux-m68k.org>
5330
5331         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
5332
5333 2014-07-17  Maciej W. Rozycki  <macro@codesourcery.com>
5334
5335         [BZ #17078]
5336         * sysdeps/arm/dl-machine.h (elf_machine_rela)
5337         [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
5338         (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
5339
5340 2014-07-17  Joseph Myers  <joseph@codesourcery.com>
5341
5342         [BZ #17088]
5343         * math/fesetenv.c (__fesetenv)
5344         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
5345         * math/feupdateenv.c (__feupdateenv)
5346         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
5347
5348         * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
5349         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
5350         (__ASSUME_SOCKETCALL): Do not define.
5351
5352         * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
5353         * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
5354         (__ASSUME_SOCKETCALL): Do not define.
5355         (__ASSUME_ST_INO_64_BIT): Define unconditionally.
5356         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
5357         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
5358         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
5359         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
5360         [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
5361         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
5362         [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
5363
5364         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
5365         * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
5366         (__ASSUME_SOCKETCALL): Do not define.
5367         (__ASSUME_IPC64): Define unconditionally.
5368         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
5369         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
5370         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
5371         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
5372         [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
5373         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
5374         [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
5375         Likewise.
5376
5377         * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
5378         * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
5379         (__ASSUME_SOCKETCALL): Do not define.
5380         (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
5381         (__ASSUME_FUTEX_LOCK_PI): Likewise.
5382         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
5383         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
5384         (__ASSUME_REQUEUE_PI): Define unconditionally.
5385         [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
5386         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
5387         [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
5388         [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
5389         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
5390         [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
5391
5392         * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
5393         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
5394         (__ASSUME_SOCKETCALL): Do not define.
5395         [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
5396         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
5397         [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
5398         [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
5399         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
5400         [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
5401
5402         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
5403         * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
5404         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
5405         [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
5406         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
5407         [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
5408         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
5409         [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
5410         (__ASSUME_GETCPU_SYSCALL): Likewise.
5411
5412         * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
5413         * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR.  Remove
5414         cases for individual architectures.
5415         * sysdeps/gnu/configure: Regenerated.
5416         * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
5417         LIBC_SLIBDIR_RTLDDIR.
5418         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
5419         * sysdeps/unix/sysv/linux/mips/configure.ac: Use
5420         LIBC_SLIBDIR_RTLDDIR.
5421         * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
5422         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
5423         LIBC_SLIBDIR_RTLDDIR.
5424         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
5425         Regenerated.
5426         * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
5427         * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
5428         file.
5429         * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
5430         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
5431         file.
5432         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
5433         * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
5434         * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
5435         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
5436
5437         * sysdeps/aarch64/shlib-versions: Move to ...
5438         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
5439         * sysdeps/alpha/shlib-versions: Move to ...
5440         * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
5441         * sysdeps/arm/shlib-versions: Move to ...
5442         * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
5443         * sysdeps/hppa/shlib-versions: Move all contents except for
5444         libgcc_s entry to ...
5445         * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here.  Merge in
5446         entry from ...
5447         * sysdeps/hppa/nptl/shlib-versions: ... here.  Remove file.
5448         * sysdeps/ia64/shlib-versions: Move to ...
5449         * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here.  Merge in
5450         entry from ...
5451         * sysdeps/ia64/nptl/shlib-versions: ... here.  Remove file.
5452         * sysdeps/m68k/coldfire/shlib-versions: Move to ...
5453         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
5454         * sysdeps/microblaze/shlib-versions: Move to ...
5455         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
5456         * sysdeps/mips/shlib-versions: Move to ...
5457         * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here.  Merge in
5458         entry from ...
5459         * sysdeps/mips/nptl/shlib-versions: ... here.  Remove file.
5460         * sysdeps/tile/shlib-versions: Move to ...
5461         * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
5462         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
5463         from ...
5464         * sysdeps/x86_64/64/shlib-versions: ... here.  Remove file.
5465         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
5466         entry from ...
5467         * sysdeps/x86_64/x32/shlib-versions: ... here.  Remove file.
5468
5469 2014-07-17  Will Newton  <will.newton@linaro.org>
5470
5471         * sysdeps/arm/bits/atomic.h
5472         (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
5473         (__arch_compare_and_exchange_bool_16_int): Likewise.
5474         (__arch_compare_and_exchange_bool_64_int): Likewise.
5475
5476         * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
5477         into an #else block.
5478
5479 2014-07-16  Roland McGrath  <roland@hack.frob.com>
5480
5481         * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
5482         just Linux configurations.  Test empirically that the compiler sets
5483         __ARM_EABI__, rather than using the tuple to decide.
5484         * sysdeps/arm/preconfigure: Regenerated.
5485         * sysdeps/unix/sysv/linux/arm/configure: File removed.
5486         * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
5487         contents appended ...
5488         * sysdeps/arm/configure.ac: ... here.
5489         * sysdeps/arm/configure: Regenerated.
5490
5491 2014-07-15  Roland McGrath  <roland@hack.frob.com>
5492
5493         * nptl/pthread_kill.c: New file.
5494         * nptl/pthread_sigmask.c: New file.
5495         * nptl/pthread_sigqueue.c: New file.
5496
5497         * sysdeps/nptl/lowlevellock.h: New file.
5498         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
5499         * sysdeps/nptl/lowlevellock-futex.h: New file.
5500
5501         * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
5502         Remove dead declarations.
5503
5504 2014-07-14  H.J. Lu  <hongjiu.lu@intel.com>
5505
5506         * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
5507         * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
5508         config-cflags-avx2.
5509         * sysdeps/x86_64/configure.ac: Likewise.
5510         * sysdeps/i386/configure: Regenerated.
5511         * sysdeps/x86_64/configure: Likewise.
5512         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
5513         memset-avx2 only if config-cflags-avx2 is yes.
5514         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
5515         Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
5516         defined.
5517         * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
5518         only if HAVE_AVX2_SUPPORT is defined.
5519         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
5520
5521 2014-07-14  Alan Modra  <amodra@gmail.com>
5522
5523         [BZ #17153]
5524         * elf/elf.h (DT_PPC64_NUM): Correct value.
5525         * NEWS: Add to fixed bug list.
5526
5527 2014-07-13  Jim Meyering  <meyering@fb.com>
5528
5529         [BZ 17150]
5530         regex: don't deref NULL upon heap allocation failure
5531         * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
5532         failure in one more place.
5533         To trigger the segfault, configure grep -with-included-regex,
5534         build it, and run these commands:
5535         ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
5536
5537 2014-07-13  Andreas Schwab  <schwab@linux-m68k.org>
5538
5539         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
5540
5541 2014-07-11  Richard Henderson  <rth@redhat.com>
5542
5543         * sysdeps/aarch64/libm-test-ulps: Update.
5544
5545 2014-07-10  Florian Weimer  <fweimer@redhat.com>
5546
5547         [BZ #17135]
5548         * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
5549         * nptl/allocatestack.c (__nptl_setxid_error): New function.
5550         (__nptl_setxid): Initialize error member.  Call
5551         __nptl_setxid_error.
5552         * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
5553         * nptl/descr.h (struct xid_command): Add error member.
5554         * nptl/tst-setuid3.c: New file.
5555         * nptl/Makefile (tests): Add it.
5556
5557 2014-07-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5558
5559         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
5560         New define.
5561         (__lll_trylock): Use __lll_base_trylock.
5562         (__lll_cond_trylock): Likewise.
5563
5564 2014-07-10  Roland McGrath  <roland@hack.frob.com>
5565
5566         * nptl/pthread_create.c (start_thread): Use atomic_or and
5567         lll_futex_wake directly rather than lll_robust_dead.
5568         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
5569         (lll_robust_dead): Macro removed.
5570         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
5571         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
5572         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
5573         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
5574         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
5575         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
5576         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
5577         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
5578         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
5579         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
5580         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
5581         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
5582         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
5583         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
5584         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
5585
5586         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
5587         Use atomic_compare_and_exchange_val_acq directly rather than
5588         lll_robust_trylock.
5589         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
5590         (__lll_robust_trylock, lll_robust_trylock): Removed.
5591         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
5592         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
5593         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
5594         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
5595         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
5596         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
5597         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
5598         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
5599         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
5600         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
5601         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
5602         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
5603         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
5604         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
5605
5606 2014-07-02  Florian Weimer  <fweimer@redhat.com>
5607
5608         * manual/locale.texi (Locale Names): New section documenting
5609         locale name syntax.  Adjust menu and node chaining accordingly.
5610         (Choosing Locale): Reference Locale Names, Locale Categories.
5611         Mention setting LC_ALL=C.  Reflect that name syntax is now
5612         documented.
5613         (Locale Categories): New section title.  Reference Locale Names.
5614         LC_ALL is an environment variable, but not a category.
5615         (Setting the Locale): Remove "locale -a" invocation and LOCPATH
5616         description, now in Locale Name.  Reference that section.  Locale
5617         name syntax is now documented.
5618
5619 2014-07-02  Florian Weimer  <fweimer@redhat.com>
5620
5621         [BZ #17137]
5622         * locale/findlocale.c (name_present, valid_locale_name): New
5623         functions.
5624         (_nl_find_locale): Use the loc_name variable to store name
5625         candidates.  Call name_present and valid_locale_name to check and
5626         validate locale names.  Return an error if the locale is invalid.
5627
5628 2014-07-02  Florian Weimer  <fweimer@redhat.com>
5629
5630         * locale/setlocale.c (setlocale): Use strdup for allocating
5631         composite name copy.
5632
5633 2014-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
5634
5635         Sync up with gnulib.
5636         * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
5637         [!_LIBC && ENABLE_NLS]: Include gettext.h.
5638         [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
5639         and _GL_ARG_NONNULL.
5640         [USE_UNLOCKED_IO]: Include unlocked-io.h.
5641         [!_LIBC]: Include code for Windows and Cygwin.
5642         [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
5643         Include prototype for int strerror_r.
5644         [!_LIBC] (is_open): New function.
5645         (flush_stdout): New function.
5646         (print_errno_message): Use it.
5647         (error): Likewise.
5648         (error_at_line): Likewise.
5649         (error_tail) Add function attribute macros.  Use
5650         __builtin_expect.
5651
5652         * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
5653
5654         * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
5655
5656         * io/ftw.c: Include sys/param.h unconditionally.
5657
5658         * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
5659
5660         [BZ #17125]
5661         * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
5662         libc_freeres_ptr.
5663         (freecache): New function to free CACHE on exit.
5664
5665         * sunrpc/xdr.c (xdr_string): Add comment about SIZE
5666         initialization.
5667
5668 2014-07-09  David S. Miller  <davem@davemloft.net>
5669
5670         * sysdeps/sparc/fpu/libm-test-ulps: Update.
5671
5672         * sysdeps/sparc/nptl/internaltypes.h: Delete.
5673         * sysdeps/sparc/nptl/sparc-nptl.h: New file.
5674         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
5675         * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
5676         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
5677         * sysdeps/sparc/nptl/sem_init.c: Likewise.
5678         * sysdeps/sparc/nptl/sem_post.c: Likewise.
5679         * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
5680         * sysdeps/sparc/nptl/sem_wait.c: Likewise.
5681         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
5682         * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
5683         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
5684         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
5685
5686 2014-07-09  Andreas Schwab  <schwab@suse.de>
5687
5688         * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
5689         output.
5690         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
5691         (do_test): Likewise.
5692
5693         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
5694
5695 2014-07-09  Will Newton  <will.newton@linaro.org>
5696
5697         * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
5698         * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
5699         * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
5700         * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
5701         * sysdeps/hppa/start.S (_start): Likewise.
5702
5703 2014-07-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
5704
5705         * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
5706
5707         * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
5708         defined.
5709
5710 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
5711
5712         * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
5713         after checking that it is non-NULL.
5714
5715         * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
5716
5717 2014-07-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5718
5719         * sysdeps/powerpc/memmove.c: Remove file.
5720         * sysdeps/powerpc/powerpc32/power4/memcopy.h
5721         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
5722         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
5723         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
5724         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
5725         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
5726         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
5727         string memmove instead of removed powerpc one.
5728
5729         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
5730         [weak_alias]: Fix compiler warning due trailing data.
5731         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
5732         [weak_alias]: Likewise.
5733         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
5734         warnigs due missing definition of __strcpy_power7 and __strlen_power7.
5735
5736         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
5737         (__libc_ifunc_impl_list): Add memmove functions.
5738
5739 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
5740
5741         * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
5742         Remove code.
5743         * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
5744         Likewise
5745         * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
5746         Likewise
5747         * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
5748         Likewise
5749         * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
5750         Likewise
5751         * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
5752         Likewise
5753         * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
5754         Likewise
5755         * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
5756         Likewise
5757         * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
5758         Likewise
5759         * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
5760         Likewise
5761         * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
5762         Likewise
5763         * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
5764         Likewise
5765         * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
5766         Likewise
5767         * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
5768         Likewise
5769         * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
5770         Likewise
5771         * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
5772         Likewise
5773         * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
5774         Likewise
5775
5776 2014-07-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5777
5778         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
5779         to avoid alignment traps in non-cacheable memory.
5780         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
5781
5782         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
5783         multiarch objects.
5784         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
5785         file: multiarch power7 memmove.
5786         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
5787         multiarch default memmove.
5788         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
5789         multiarch memove for powerpc32/power4.
5790
5791         * string/bcopy.c: Use full path to include memmove.c.
5792         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
5793         multiarch objects.
5794         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
5795         bcopy for powerpc64.
5796         * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
5797         bcopy for powerpc64.
5798         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
5799         and memmove implementations.
5800         * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
5801         optimized multiarch memmove for POWER7/powerpc64.
5802         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
5803         default multiarch memmove for powerpc64.
5804         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
5805         multiarch for powerpc64.
5806         * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
5807         for POWER7/powerpc64.
5808         * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
5809         memmove for POWER7/powerpc64.
5810
5811         * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
5812         glibc default one.
5813
5814         * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
5815         __ELF_NATIVE_CLASS equal to 64.
5816
5817 2014-07-07  Roland McGrath  <roland@hack.frob.com>
5818
5819         * sysdeps/nptl/lowlevellock.h: File removed.
5820
5821         * NEWS: NPTL is no longer an add-on!
5822         * nptl/internaltypes.h: Moved ...
5823         * sysdeps/nptl/internaltypes.h: ... here.
5824         * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
5825         * sysdeps/nptl/fork.c: Likewise.
5826         * sysdeps/nptl/gai_misc.h: Likewise.
5827         * sysdeps/nptl/librt-cancellation.c: Likewise.
5828         * sysdeps/nptl/jmp-unwind.c: Likewise.
5829         * sysdeps/nptl/setxid.h: Likewise.
5830         * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
5831         * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
5832         * sysdeps/unix/sysv/linux/arm/Implies: New file.
5833         * sysdeps/unix/sysv/linux/hppa/Implies: New file.
5834         * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
5835         * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
5836         * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
5837         * sysdeps/unix/sysv/linux/m68k/Implies: New file.
5838         * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
5839         * sysdeps/unix/sysv/linux/mips/Implies: New file.
5840         * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
5841         * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
5842         * sysdeps/unix/sysv/linux/sh/Implies: New file.
5843         * sysdeps/unix/sysv/linux/sparc/Implies: New file.
5844         * sysdeps/unix/sysv/linux/tile/Implies: New file.
5845         * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
5846         * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
5847         * nptl/Makeconfig: Moved ...
5848         * sysdeps/nptl/Makeconfig: ... here.
5849         * nptl/configure: File removed.
5850         * nptl/ANNOUNCE: File removed.
5851         * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
5852         * sysdeps/unix/sysv/linux/configure: Regenerated.
5853
5854         * nptl/Makefile (routines): Add libc_pthread_init,
5855         libc_multiple_threads, register-atfork and unregister-atfork.
5856         (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
5857         (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
5858         lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
5859         pthread-pi-defines.sym, structsem.sym.
5860         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
5861         (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
5862         [$(subdir) = nptl] (tests): Add tst-setgetname.
5863         * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
5864         * sysdeps/unix/sysv/linux/sigaction.c: Just include
5865         <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
5866         [!LIBC_SIGACTION]: Remove aliases.
5867         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
5868         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
5869         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
5870         * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
5871         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
5872         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
5873         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
5874         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
5875         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
5876         * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
5877         (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
5878         __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
5879         __libc_allocate_rtsig_private.
5880         * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
5881         * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
5882         * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
5883         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
5884         * sysdeps/unix/sysv/linux/sleep.c: Likewise.
5885         * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
5886         * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
5887         * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
5888         * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
5889         * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
5890         * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
5891         * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
5892         * nptl/internaltypes.h: ... here.
5893         * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
5894         * sysdeps/nptl/jmp-unwind.c: ... here.
5895         * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
5896         * nptl/libc-lowlevellock.c: ... here.
5897         * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
5898         * nptl/libc_multiple_threads.c: ... here.
5899         * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
5900         * nptl/libc_pthread_init.c: ... here.
5901         * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
5902         * nptl/lowlevelbarrier.sym: ... here.
5903         * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
5904         * nptl/lowlevelcond.sym: ... here.
5905         * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
5906         * nptl/lowlevellock.c: ... here.
5907         * nptl/lowlevellock.h: Moved ...
5908         * sysdeps/nptl/lowlevellock.h: ... here.
5909         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
5910         * nptl/lowlevelrobustlock.c: ... here.
5911         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
5912         * nptl/lowlevelrobustlock.sym: ... here.
5913         * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
5914         * nptl/lowlevelrwlock.sym: ... here.
5915         * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
5916         * nptl/pt-fork.c: ... here.
5917         * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
5918         * nptl/pthread-pi-defines.sym: ... here.
5919         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
5920         * nptl/pthread_attr_getaffinity.c: ... here.
5921         * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
5922         * nptl/pthread_attr_setaffinity.c: ... here.
5923         * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
5924         * nptl/pthread_mutex_cond_lock.c: ... here.
5925         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
5926         Update #include.
5927         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
5928         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
5929         * nptl/pthread_once.c: ... here, replacing old file.
5930         * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
5931         * nptl/pthread_yield.c: ... here.
5932         * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
5933         * nptl/register-atfork.c: ... here.
5934         * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
5935         * nptl/sem_post.c: ... here.
5936         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
5937         * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
5938         * nptl/sem_timedwait.c: ... here.
5939         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
5940         * nptl/sem_trywait.c: ... here.
5941         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
5942         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
5943         * nptl/sem_wait.c: ... here.
5944         * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
5945         * nptl/structsem.sym: ... here.
5946         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
5947         * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
5948         * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
5949         * nptl/unregister-atfork.c: ... here.
5950         * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
5951         * nptl/unwindbuf.sym: ... here.
5952         * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
5953         * sysdeps/nptl/fork.c: ... here.
5954         * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
5955         * sysdeps/nptl/fork.h: ... here.
5956         * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
5957         * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
5958         * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
5959         * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
5960         * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
5961         * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
5962         * sysdeps/unix/sysv/linux/getpid.c: ... here.
5963         * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
5964         * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
5965         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
5966         * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
5967         * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
5968         * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
5969         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
5970         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
5971         * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
5972         * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
5973         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
5974         * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
5975         * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
5976         * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
5977         * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
5978         * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
5979         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
5980         * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
5981         * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
5982         * sysdeps/unix/sysv/linux/raise.c: ... here.
5983         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
5984         * sysdeps/unix/sysv/linux/timer_create.c: ... here.
5985         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
5986         * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
5987         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
5988         * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
5989         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
5990         * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
5991         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
5992         * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
5993         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
5994         * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
5995         * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
5996         * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
5997         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
5998
5999 2014-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
6000
6001         * sysdeps/generic/memcopy.h: Add comment for
6002         MEMCPY_OK_FOR_FWD_MEMMOVE.
6003
6004 2014-07-04  Will Newton  <will.newton@linaro.org>
6005
6006         * string/memchr.c: Merge from gnulib.
6007         [_LIBC]: Remove conditionals.
6008         (__ptr_t): Remove define.
6009         (LONG_MAX_32_BITS): Likewise.
6010         (LONG_MAX): Likewise.
6011         (MEMCHR): Use ANSI prototype and optimize algorithm.
6012
6013         * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
6014
6015 2014-07-03  Roland McGrath  <roland@hack.frob.com>
6016
6017         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
6018         (lll_futex_timed_wait_bitset): Fix syscall argument count.
6019
6020         * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
6021         Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
6022         in a bare environment with no <stdlib.h> installed.
6023         * sysdeps/nptl/configure: Regenerated.
6024
6025         * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
6026
6027         * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
6028         AC_EGREP_CPP for kernel header checks, so they only succeed if
6029         including <linux/version.h> actually works right.
6030         * sysdeps/unix/sysv/linux/configure: Regenerated.
6031
6032         * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
6033         value so it's not diagnosed as unused.
6034
6035         * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
6036         thing) with "ifeq ($(subdir),rt)".
6037
6038 2014-07-03  Richard Henderson  <rth@redhat.com>
6039
6040         * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
6041         * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
6042         include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
6043
6044         * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
6045         (math_force_eval): New.
6046
6047         * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
6048         * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
6049
6050         * sysdeps/alpha/fpu/s_round.c: Remove file.
6051         * sysdeps/alpha/fpu/s_roundf.c: Remove file.
6052
6053         * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
6054         (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
6055         * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
6056         (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
6057         (_dl_start, print_statistics): Likewise.
6058         * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
6059         HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
6060
6061         * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
6062         * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
6063         * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
6064         * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
6065         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
6066         (HP_SMALL_TIMING_AVAIL): Define.
6067         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
6068         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
6069         (HP_SMALL_TIMING_AVAIL): Define.
6070         * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
6071         * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
6072
6073         * sysdeps/aarch64/hp-timing.h: New file.
6074
6075         * sysdeps/generic/hp-timing.h: Remove dead comment.
6076         * sysdeps/generic/hp-timing-common.h: New file.
6077         * sysdeps/alpha/hp-timing.h: Include it.
6078         (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
6079         * sysdeps/i386/i686/hp-timing.h: Likewise.
6080         * sysdeps/ia64/hp-timing.h: Likewise.
6081         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
6082         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
6083         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
6084         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
6085         * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
6086         (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
6087         (hp_timing_t): New.
6088
6089         * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
6090         * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
6091         (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
6092         * elf/rtld.c (_dl_start_final): Likewise.
6093         * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
6094         * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
6095         * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
6096         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
6097         * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
6098         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
6099         (HP_TIMING_DIFF_INIT): Remove.
6100         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
6101         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
6102         (HP_TIMING_DIFF_INIT): Remove.
6103         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
6104         * sysdeps/i386/i686/hp-timing.c: Remove file.
6105         * sysdeps/x86_64/hp-timing.c: Remove file.
6106         * sysdeps/ia64/hp-timing.c: Remove file.
6107         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
6108         * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
6109         * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
6110         * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
6111
6112         * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
6113         * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
6114         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
6115         * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
6116         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
6117         (HP_TIMING_ACCUM): Remove.
6118         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
6119         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
6120         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
6121
6122         * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
6123         * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
6124         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
6125         * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
6126         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
6127         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
6128         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
6129         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
6130
6131         * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
6132
6133 2014-07-03  Maciej W. Rozycki  <macro@codesourcery.com>
6134
6135         * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
6136
6137 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
6138
6139         Sync up with gettext.
6140         * intl/loadmsgcat.c: Define O_BINARY if not defined.
6141         [_MSC_VER]: Include malloc.h
6142         [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
6143         (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
6144         (_nl_load_domain): Open DOMAIN_FILE in binary mode.  Don't use
6145         TEMP_FAILURE_RETRY.  Cast return of alloca.
6146         [!_LIBC] Call gl_rwlock_init.
6147         [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
6148
6149 2014-07-02  Roland McGrath  <roland@hack.frob.com>
6150
6151         * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
6152         before checking its value.
6153
6154 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
6155
6156         * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
6157
6158         * debug/memcpy_chk.c: Don't include pagecopy.h.
6159         * debug/mempcpy_chk.c: Likewise.
6160         * string/memcpy.c: Likewise.
6161         * string/memmove.c: Likewise.
6162         * sysdeps/powerpc/memmove.c: Likewise.
6163         * sysdeps/generic/memcopy.h: Include pagecopy.h.  Move
6164         definition of PAGE_COPY_FWD_MAYBE here...
6165         * sysdeps/generic/pagecopy.h: ... from here.
6166         * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
6167
6168 2014-07-02  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
6169             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6170
6171         * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
6172         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
6173         optimizations.
6174         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
6175         (__libc_ifunc_impl_list): Likewise.
6176         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
6177         multiarch strcat for PPC64.
6178         * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
6179         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
6180
6181 2014-07-02  Roland McGrath  <roland@hack.frob.com>
6182
6183         * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
6184
6185 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
6186
6187         * intl/loadmsgcat.c: Remove declaration of
6188         get_sysdep_segment_value.
6189         (get_sysdep_segment_value): Use ISO C style.
6190         (_nl_load_domain): Use ISO C style.  Get rid of redundant
6191         semicolon.  Fix typo and formatting in comment.
6192         (_nl_unload_domain): Use ISO C style.
6193
6194         * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
6195
6196 2014-07-02  Will Newton  <will.newton@linaro.org>
6197
6198         * malloc/obstack.c: Merge from gnulib master.
6199         [HAVE_CONFIG_H]: Remove conditional code.
6200         [!_LIBC]: Include config.h.
6201         [!ELIDE_CODE]: Don't include inttypes.h, include
6202         stdint.h unconditionally.
6203         (print_and_abort): Mark as _Noreturn.
6204         (_obstack_allocated_p): Mark as __attribute_pure__.
6205         (obstack_free): Rename to __obstack_free.
6206         [!__attribute__]: Remove conditional code.
6207         * malloc/obstack.h: Merge from gnulib master.
6208         [__cplusplus]: Move conditional down.
6209         [!__attribute_pure__]: Define __attribute_pure__ here
6210         if it is not already defined.
6211         (_obstack_memory_used): Mark as __attribute_pure__.
6212         [!__obstack_free]: Define as obstack_free.
6213         [__GNUC__]: Remove check for ancient NeXT gcc.
6214
6215 2014-07-02  Will Newton  <will.newton@linaro.org>
6216             Paul Eggert  <eggert@cs.ucla.edu>
6217
6218         * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
6219
6220 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
6221
6222         * resolv/gethnamaddr.c: Add comment warning that the file is
6223         not maintained.
6224
6225 2014-07-01  Carlos O'Donell  <carlos@redhat.com>
6226
6227         * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
6228         entries.
6229
6230         * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
6231         entry for aio_cancel and aio_cancel64.
6232         * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
6233         * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
6234         * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
6235         * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
6236         * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
6237         * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
6238         * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
6239         * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
6240         * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
6241         * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
6242         * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
6243         * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
6244         * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
6245
6246 2014-07-01  Roland McGrath  <roland@hack.frob.com>
6247
6248         * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
6249         * nptl/pthread_mutex_lock.c: Likewise.
6250         * nptl/pthread_mutex_timedlock.c: Likewise.
6251         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
6252
6253 2014-07-01  Richard henderson  <rth@redhat.com>
6254
6255         * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
6256         (__isnan, __isnanl): Remove.
6257         * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
6258
6259         * sysdeps/alpha/fpu/libm-test-ulps: Update.
6260
6261 2014-07-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
6262
6263         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
6264
6265 2014-07-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
6266
6267         * resolv/nss_dns/dns-host.c (getanswer_r)
6268         [MULTI_PTRS_ARE_ALIASES]: Remove code.
6269
6270 2014-07-01  Joseph Myers  <joseph@codesourcery.com>
6271
6272         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
6273         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
6274         undefine.
6275         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
6276         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
6277
6278 2014-07-01  Roland McGrath <roland@hack.frob.com>
6279
6280         * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
6281         * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
6282
6283         * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
6284         * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
6285
6286         * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
6287         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
6288         ... here.
6289         * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
6290         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
6291
6292         * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
6293         * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
6294         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
6295         * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
6296
6297         * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
6298         * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
6299         * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
6300         * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
6301         * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
6302         Moved ...
6303         * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
6304         ... here.
6305         * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
6306         * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
6307         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
6308         * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
6309         * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
6310         * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
6311         * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
6312         * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
6313         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
6314         * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
6315         * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
6316         * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
6317         * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
6318         * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
6319         * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
6320         * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
6321         * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
6322         * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
6323         * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
6324         * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
6325         ... here.
6326         * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
6327         * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
6328         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
6329         * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
6330         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
6331         * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
6332         * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
6333         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
6334
6335 2014-07-01  David Holsgrove  <david.holsgrove@xilinx.com>
6336
6337         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
6338         * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
6339         * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
6340         Add sysdep.
6341
6342 2014-06-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6343
6344         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6345
6346 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
6347
6348         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
6349         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
6350
6351         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
6352
6353         * sysdeps/arm/libm-test-ulps: Regenerated.
6354
6355 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
6356             Roland McGrath <roland@hack.frob.com>
6357
6358         * test-skeleton.c (signal_handler): Kill the whole process group
6359         before killing the child individually.
6360         (main): Report any failure on `setpgid'.
6361
6362 2014-06-30  Roland McGrath  <roland@hack.frob.com>
6363
6364         * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
6365         from _TLS_H to _ARM_NPTL_TLS_H.
6366         (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
6367         * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
6368
6369 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
6370
6371         [BZ #16539]
6372         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
6373         (__expm1l): Return argument unchanged when small but not
6374         subnormal.
6375
6376         * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
6377         include macro name.
6378         (_FP_UNPACK_RAW_1_P): Likewise.
6379         (_FP_PACK_RAW_1): Likewise.
6380         (_FP_PACK_RAW_1_P): Likewise.
6381         (_FP_MUL_MEAT_1_wide): Likewise.
6382         (_FP_MUL_MEAT_DW_1_hard): Likewise.
6383         (_FP_MUL_MEAT_1_hard): Likewise.
6384         (_FP_DIV_MEAT_1_imm): Likewise.
6385         (_FP_DIV_MEAT_1_udiv_norm): Likewise.
6386         (_FP_DIV_MEAT_1_udiv): Likewise.
6387         * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
6388         (_FP_UNPACK_RAW_2): Likewise.
6389         (_FP_UNPACK_RAW_2_P): Likewise.
6390         (_FP_PACK_RAW_2): Likewise.
6391         (_FP_PACK_RAW_2_P): Likewise.
6392         (_FP_MUL_MEAT_DW_2_wide): Likewise.
6393         (_FP_MUL_MEAT_2_wide): Likewise.
6394         (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
6395         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
6396         (_FP_MUL_MEAT_DW_2_gmp): Likewise.
6397         (_FP_MUL_MEAT_2_gmp): Likewise.
6398         (_FP_DIV_MEAT_2_udiv): Likewise.
6399         * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
6400         (_FP_FRAC_SRL_4): Likewise.
6401         (_FP_FRAC_SRST_4): Likewise.
6402         (_FP_FRAC_SRS_4): Likewise.
6403         (_FP_UNPACK_RAW_4): Likewise.
6404         (_FP_UNPACK_RAW_4_P): Likewise.
6405         (_FP_PACK_RAW_4): Likewise.
6406         (_FP_PACK_RAW_4_P): Likewise.
6407         (_FP_MUL_MEAT_DW_4_wide): Likewise.
6408         (_FP_MUL_MEAT_4_wide): Likewise.
6409         (_FP_MUL_MEAT_4_gmp): Likewise.
6410         (umul_ppppmnnn): Likewise.
6411         (_FP_DIV_MEAT_4_udiv): Likewise.
6412         (__FP_FRAC_ADD_4): Likewise.
6413         (__FP_FRAC_SUB_3): Likewise.
6414         (__FP_FRAC_SUB_4): Likewise.
6415         (__FP_FRAC_DEC_3): Likewise.
6416         (__FP_FRAC_DEC_4): Likewise.
6417         (__FP_FRAC_ADDI_4): Likewise.
6418         * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
6419         (_FP_FRAC_SRL_8): Likewise.
6420         (_FP_FRAC_SRS_8): Likewise.
6421
6422         * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
6423         include macro name.
6424         (FP_UNPACK_RAW_EP): Likewise.
6425         (FP_PACK_RAW_E): Likewise.
6426         (FP_PACK_RAW_EP): Likewise.
6427         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
6428         (_FP_ISSIGNAN): Likewise.
6429         (_FP_ADD_INTERNAL): Likewise.
6430         (_FP_FMA): Likewise.
6431         (_FP_CMP): Likewise.
6432         (_FP_SQRT): Likewise.
6433         (_FP_TO_INT): Likewise.
6434         (_FP_FROM_INT): Likewise.
6435         (FP_EXTEND): Likewise.
6436         (_FP_DIV_MEAT_N_loop): Likewise.
6437
6438 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
6439
6440         * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
6441         throughout.
6442
6443 2014-06-29  Joseph Myers  <joseph@codesourcery.com>
6444
6445         [BZ #17097]
6446         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
6447         result with correct sign in case of exponents that produce
6448         overflow except for X very close to 1.
6449
6450 2014-06-28  Paul Eggert  <eggert@cs.ucla.edu>
6451
6452         mktime: merge #if/#ifdef usage from glibc
6453         * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
6454         as that works with both Glibc's and Gnulib's style.
6455         See thread starting at Siddhesh Poyarekar's bug report at:
6456         http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
6457
6458 2014-06-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
6459
6460         * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
6461         * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
6462         * sysdeps/tile/tilegx/memmove.c: Remove file.
6463
6464 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
6465
6466         * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
6467         abi-name definition.
6468         * scripts/soversions.awk: Do not handle or generate ABI lines.
6469         * shlib-versions: Remove ABI entries.
6470         * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
6471         * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
6472
6473 2014-06-27  Roland McGrath  <roland@hack.frob.com>
6474
6475         * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
6476         * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
6477         * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
6478         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
6479         * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
6480         * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
6481         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
6482         Moved ...
6483         * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
6484         ... here.
6485         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
6486         * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
6487         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
6488         * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
6489         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
6490         * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
6491         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
6492         * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
6493         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
6494         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
6495         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
6496         * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
6497         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
6498         Moved ...
6499         * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
6500         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
6501         * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
6502         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
6503         * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
6504         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
6505         Moved ...
6506         * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
6507         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
6508         Moved ...
6509         * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
6510         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
6511         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
6512         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
6513         Moved ...
6514         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
6515         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
6516         * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
6517         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
6518         * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
6519         * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
6520         * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
6521         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
6522         Moved ...
6523         * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
6524         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
6525         * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
6526         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
6527         Moved ...
6528         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
6529         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
6530         Moved ...
6531         * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
6532         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
6533         * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
6534         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
6535         Moved ...
6536         * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
6537         ... here.
6538         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
6539         Identical file removed.
6540         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
6541         Moved ...
6542         * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
6543         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
6544         Identical file removed.
6545         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
6546         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
6547         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
6548         Moved ...
6549         * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
6550         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
6551         Identical file removed.
6552         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
6553         * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
6554         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
6555         Identical file removed.
6556         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
6557         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
6558         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
6559         Identical file removed.
6560         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
6561         * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
6562         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
6563         Identical file removed.
6564         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
6565         Moved ...
6566         * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
6567         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
6568         Identical file removed.
6569         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
6570         Moved ...
6571         * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
6572         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
6573         * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
6574         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
6575         Identical file removed.
6576         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
6577         Moved ...
6578         * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
6579         ... here.
6580         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
6581         Identical file removed.
6582         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
6583         Moved ...
6584         * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
6585         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
6586         Identical file removed.
6587         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
6588         Moved ...
6589         * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
6590         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
6591         * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
6592         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
6593         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
6594         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
6595         Moved ...
6596         * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
6597         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
6598         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
6599
6600         * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
6601         SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
6602         * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
6603         * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
6604         * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
6605
6606 2014-06-27  Arjun Shankar  <arjun.is@lostca.se>
6607
6608         [BZ #17092]
6609         * nscd/nscd.c (monitor_child): Return exit status of child
6610         instead of return value from wait syscall.
6611
6612 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
6613
6614         * configure.ac (libc_commonpagesize): Remove variable.
6615         (libc_relro_required): Likewise.
6616         (libc_cv_z_relro): Remove configure test.
6617         * configure: Regenerated.
6618         * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
6619         variable.
6620         (libc_relro_required): Likewise.
6621         * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
6622         (libc_relro_required): Likewise.
6623         * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
6624         (libc_relro_required): Likewise.
6625         * sysdeps/arm/preconfigure: Regenerated.
6626         * sysdeps/ia64/preconfigure: Remove file.
6627         * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
6628         variable.
6629         (libc_relro_required): Likewise.
6630
6631         [BZ #16561]
6632         [BZ #16562]
6633         * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
6634         (__ieee754_yn): Set FE_TONEAREST mode internally and then
6635         recompute overflowing results in original rounding mode.
6636         * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
6637         (__ieee754_ynf): Set FE_TONEAREST mode internally and then
6638         recompute overflowing results in original rounding mode.
6639         * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
6640         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
6641         recompute overflowing results in original rounding mode.
6642         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
6643         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
6644         recompute overflowing results in original rounding mode.
6645         * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
6646         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
6647         recompute overflowing results in original rounding mode.
6648         * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
6649         (libc_feholdsetround_ctx): New macro.
6650         * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
6651         * sysdeps/i386/fpu/libm-test-ulps: Update.
6652         * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
6653
6654 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
6655
6656         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
6657         [__PIC__] (PSEUDO): Use name of _nocancel entry point in
6658         corresponding .cpsetup call.
6659
6660 2014-06-26  Roland McGrath  <roland@hack.frob.com>
6661
6662         * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
6663         * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
6664         * sysdeps/arm/Makefile [$(subdir) = csu]
6665         (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
6666         (static-only-routines): Add aeabi_read_tp here.
6667         (shared-only-routines): Add libc-aeabi_read_tp here.
6668         (CFLAGS-libc-start.c): Add -fexceptions here.
6669         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
6670         (sysdep_routines, static-only-routines, shared-only-routines):
6671         Don't add to these here.
6672         (CFLAGS-libc-start.c): Likewise.
6673
6674         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
6675         * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
6676         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
6677         * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
6678         * sysdeps/arm/Makefile [$(subdir) = rt]
6679         (librt-sysdep_routines, librt-shared-only-routines):
6680         Append rt-aeabi_unwind_cpp_pr1 here.
6681         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
6682         (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
6683         * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
6684         (libpthread-sysdep_routines, libpthread-shared-only-routines):
6685         Append nptl-aeabi_unwind_cpp_pr1 here.
6686         (tests): Filter out tst-cleanupx4 here.
6687         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
6688         (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
6689         Don't do those here.
6690
6691 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
6692
6693         * scripts/list-sources.sh: Do not handle ports specially.
6694
6695 2014-06-26  Roland McGrath  <roland@hack.frob.com>
6696
6697         * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
6698         * sysdeps/arm/feupdateenv.c: Likewise.
6699
6700         * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
6701
6702 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
6703
6704         * manual/texinfo.tex: Update to version 2014-05-05.10 with
6705         trailing whitespace removed.
6706         * scripts/config.guess: Update to version 2014-03-23.
6707         * scripts/config.sub: Update to version 2014-05-01
6708         * scripts/install-sh: Update to version 2013-12-25.23.
6709         * scripts/move-if-change: Update from gnulib.
6710
6711 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
6712
6713         * debug/memmove_chk.c: Remove pagecopy.h include.
6714
6715 2014-06-26  Paul Eggert  <eggert@cs.ucla.edu>
6716
6717         * time/mktime.c (leapyear): Remove inline keyword.  The code is now
6718         identical to gnulib mktime.
6719
6720 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
6721
6722         * configure.ac: Do not test for machine being rs6000.  Do not test
6723         for powerpc*-*soft.
6724         * configure: Regenerated.
6725
6726         * configure.ac (libc_cv_asm_cfi_directives): Remove configure
6727         test.
6728         * configure: Regenerated.
6729         * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
6730         * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
6731         Remove configure test.
6732         * sysdeps/arm/configure: Regenerated.
6733         * sysdeps/nptl/configure.ac: Do not check
6734         libc_cv_asm_cfi_directives.
6735         * sysdeps/nptl/configure: Regenerated.
6736         * sysdeps/x86_64/nptl/configure.ac: Remove file.
6737         * sysdeps/x86_64/nptl/configure: Remove generated file.
6738         * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
6739         unconditional.
6740         [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
6741
6742 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
6743
6744         * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
6745         * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
6746         (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
6747         it is defined.
6748
6749         * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
6750         instead of whether it is defined.
6751         * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
6752         * sysdeps/hppa/dl-machine.h: Likewise.
6753         * sysdeps/ia64/dl-machine.h: Likewise.
6754         * sysdeps/m68k/dl-machine.h: Likewise.
6755         * sysdeps/microblaze/dl-machine.h: Likewise.
6756         * sysdeps/mips/dl-machine.: Likewise.
6757         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
6758         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
6759         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
6760         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
6761         * sysdeps/sh/dl-machine.h: Likewise.
6762         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
6763         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
6764         * sysdeps/tile/dl-machine.h: Likewise.
6765         * sysdeps/x86_64/dl-machine.h: Likewise.
6766
6767         * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
6768         code.
6769         (verify_persistent_db): Likewise.
6770
6771 2014-06-26  Roland McGrath  <roland@hack.frob.com>
6772
6773         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
6774         * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
6775         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
6776         * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
6777         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
6778         Moved ...
6779         * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
6780         ... here.
6781         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
6782         * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
6783         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
6784         Identical file removed.
6785         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
6786         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
6787         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
6788         * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
6789         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
6790         * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
6791         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
6792         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
6793         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
6794         * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
6795         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
6796         Moved ...
6797         * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
6798         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
6799         * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
6800         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
6801         * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
6802         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
6803         Moved ...
6804         * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
6805         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
6806         * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
6807         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
6808         * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
6809         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
6810         Identical file removed.
6811         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
6812         * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
6813         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
6814         * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
6815         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
6816         Moved ...
6817         * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
6818         ... here.
6819         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
6820         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
6821         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
6822         * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
6823         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
6824         * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
6825         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
6826         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
6827         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
6828         * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
6829         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
6830         Moved ...
6831         * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
6832         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
6833         Moved ...
6834         * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
6835         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
6836         * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
6837         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
6838         Moved ...
6839         * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
6840         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
6841         * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
6842
6843         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
6844         folded into ...
6845         * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
6846         * sysdeps/unix/sysv/linux/s390/Versions
6847         (libpthread: GLIBC_2.19): New version set.
6848         * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
6849         * sysdeps/unix/sysv/linux/s390/s390-64/Versions
6850         (librt: GLIBC_2.3.3): New version set.
6851         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
6852         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
6853         * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
6854         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
6855         * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
6856         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
6857         * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
6858         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
6859         * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
6860         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
6861         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
6862         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
6863         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
6864         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
6865         * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
6866         * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
6867         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
6868         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
6869         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
6870         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
6871         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
6872         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
6873         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
6874         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
6875         * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
6876         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
6877         * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
6878         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
6879         * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
6880         * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
6881         * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
6882         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
6883         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
6884         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
6885         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
6886         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
6887         * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
6888         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
6889         * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
6890         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
6891         * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
6892         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
6893         * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
6894         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
6895         * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
6896
6897         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
6898         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
6899         (__libc_vfork): Define the function under this name.
6900         [!NOT_IN_libc] (__vfork): Make this an alias.
6901         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
6902         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
6903         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
6904         (__libc_vfork): Define the function under this name.
6905         [!NOT_IN_libc] (__vfork): Make this an alias.
6906         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
6907         * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
6908         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
6909         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
6910         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
6911         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
6912
6913         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
6914         code that was previously under [RESET_PID].
6915         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
6916         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
6917         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
6918
6919         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
6920         * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
6921         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
6922         * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
6923         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
6924         * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
6925         * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
6926         * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
6927         * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
6928         * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
6929         * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
6930         Moved ...
6931         * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
6932         * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
6933         * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
6934         * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
6935         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
6936         * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
6937         * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
6938         * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
6939         * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
6940         * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
6941         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
6942         * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
6943         * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
6944         * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
6945         * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
6946         * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
6947         * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
6948         * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
6949         * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
6950         * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
6951         * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
6952         * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
6953         * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
6954         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
6955         * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
6956         * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
6957         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
6958         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
6959         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
6960
6961 2014-06-25  Roland McGrath  <roland@hack.frob.com>
6962
6963         * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
6964         that was previously under [RESET_PID].
6965         * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
6966
6967 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
6968
6969         * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
6970         not undefine and redefine.
6971         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
6972         [O_CLOEXEC]: Make code unconditional.
6973         (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
6974         * sysdeps/unix/sysv/linux/shm_open.c: Do not include
6975         <kernel-features.h>.
6976         [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
6977         conditional variable definition.
6978         (shm_open) [O_CLOEXEC]: Make code unconditional.
6979         (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
6980         code.
6981
6982         * configure.ac (USE_REGPARMS): Don't define here.
6983         * configure: Regenerated.
6984         * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
6985         * sysdeps/i386/configure: Regenerated.
6986
6987         * nptl/createthread.c: Don't include kernel-features.h.
6988         * nptl/pthread_cancel.c: Likewise.
6989         * nptl/pthread_condattr_setclock.c: Likewise.
6990         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
6991         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
6992         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
6993         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
6994         * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
6995         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
6996         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
6997         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
6998         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
6999         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
7000         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
7001         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
7002         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
7003         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
7004         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
7005         * nscd/gai.c: Likewise.
7006         * nss/nss_db/db-open.c: Likewise.
7007         * sysdeps/generic/ldsodefs.h: Likewise.
7008         * sysdeps/sh/nptl/tls.h: Likewise.
7009         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
7010         * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
7011         * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
7012         * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
7013         * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
7014         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
7015         * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
7016         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
7017         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
7018         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
7019         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
7020         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
7021         * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
7022         * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
7023         * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
7024         * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
7025         * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
7026         * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
7027         * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
7028         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
7029         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
7030         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
7031         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
7032         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
7033         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
7034         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
7035         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
7036         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
7037         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
7038         * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
7039         * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
7040         * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
7041         * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
7042         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
7043         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
7044         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
7045         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
7046         * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
7047         * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
7048         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
7049         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
7050         * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
7051         * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
7052         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
7053         * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
7054         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
7055         * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
7056         * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
7057         * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
7058         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
7059         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
7060         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
7061         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
7062         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
7063         * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
7064         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
7065         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
7066         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
7067         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
7068         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
7069         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
7070         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
7071         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
7072         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
7073         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
7074         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
7075         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
7076         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
7077         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
7078         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
7079         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
7080         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
7081         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
7082         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
7083         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
7084         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
7085         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
7086         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
7087         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
7088         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
7089         * sysdeps/unix/sysv/linux/pread.c: Likewise.
7090         * sysdeps/unix/sysv/linux/pread64.c: Likewise.
7091         * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
7092         * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
7093         * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
7094         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
7095         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
7096         * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
7097         * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
7098         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
7099         * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
7100         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
7101         * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
7102         * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
7103         * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
7104         * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
7105         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
7106         * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
7107         * sysdeps/unix/sysv/linux/syslog.c: Likewise.
7108         * sysdeps/unix/sysv/linux/system.c: Likewise.
7109         * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
7110         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
7111         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
7112         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
7113         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
7114         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
7115         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
7116
7117         * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
7118         * configure: Regenerated.
7119         * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
7120
7121         * configure.ac (base_machine): Do not set specially for particular
7122         machines here.
7123         * configure: Regenerated.
7124         * sysdeps/powerpc/preconfigure: Move machine and base_machine
7125         settings from configure.ac.
7126         * sysdeps/i386/preconfigure: New file.
7127         * sysdeps/s390/preconfigure: Likewise.
7128         * sysdeps/sh/preconfigure: Likewise.
7129         * sysdeps/sparc/preconfigure: Likewise.
7130
7131 2014-06-25  Roland McGrath  <roland@hack.frob.com>
7132
7133         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
7134         * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
7135         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
7136         * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
7137         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
7138         * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
7139         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
7140         * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
7141         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
7142         * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
7143         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
7144         * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
7145         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
7146         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
7147         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
7148         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
7149         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
7150         * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
7151         * sysdeps/sparc/sparc64/Makefile: ... appended here.
7152
7153         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
7154         * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
7155         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
7156         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
7157         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
7158         * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
7159         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
7160         * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
7161         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
7162         * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
7163         * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
7164         * sysdeps/sparc/sparc32/sem_post.c: ... here.
7165         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
7166         * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
7167         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
7168         * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
7169         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
7170         * sysdeps/sparc/sparc32/sem_wait.c: ... here.
7171         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
7172         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
7173         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
7174         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
7175         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
7176         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
7177         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
7178         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
7179         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
7180         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
7181         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
7182         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
7183         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
7184         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
7185         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
7186         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
7187         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
7188         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
7189         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
7190         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
7191
7192         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
7193         * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
7194         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
7195         * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
7196         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
7197         Moved ...
7198         * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
7199         ... here.
7200         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
7201         * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
7202         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
7203         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
7204         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
7205         Moved ...
7206         * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
7207         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
7208         * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
7209         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
7210         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
7211         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
7212         * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
7213         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
7214         Moved ...
7215         * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
7216         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
7217         Moved ...
7218         * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
7219         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
7220         * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
7221         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
7222         Moved ...
7223         * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
7224         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
7225         * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
7226         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
7227         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
7228         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
7229         * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
7230         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
7231         * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
7232         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
7233         Moved ...
7234         * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
7235         ... here.
7236         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
7237         * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
7238         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
7239         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
7240         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
7241         Moved ...
7242         * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
7243         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
7244         * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
7245         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
7246         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
7247         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
7248         * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
7249         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
7250         Moved ...
7251         * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
7252         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
7253         Moved ...
7254         * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
7255         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
7256         * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
7257         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
7258         Moved ...
7259         * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
7260         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
7261         * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
7262         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
7263         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
7264
7265 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
7266
7267         * timezone/checktab.awk: Update from tzcode 2014e.
7268         * timezone/private.h: Likewise.
7269         * timezone/tzfile.h: Likewise.
7270         * timezone/zdump.c: Likewise.
7271         * timezone/zic.c: Likewise.
7272
7273         * sysdeps/unix/sysv/linux/kernel-features.h
7274         (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
7275         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
7276         [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
7277         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
7278         Remove conditional code.
7279
7280 2014-06-25  Will Newton  <will.newton@linaro.org>
7281
7282         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
7283         (_dl_arm_cap_flags): Add HWCAP2 values.
7284         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
7285         (_DL_HWCAP_COUNT): Increase to 37.
7286         (_DL_HWCAP_LAST): New define.
7287         (_DL_HWCAP2_LAST): New define.
7288         (_dl_procinfo): Add support for printing
7289         AT_HWCAP2 entries.
7290         (_dl_string_hwcap): Use _dl_hwcap_string.
7291
7292 2014-06-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7293
7294         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7295
7296 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
7297
7298         * README: Do not mention ports directory.
7299
7300         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
7301         Remove macro.
7302         * sysdeps/unix/sysv/linux/futimes.c: Do not include
7303         <kernel-features.h>.
7304         [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
7305         conditional variable definition.
7306         (__futimes): Update comment.
7307         (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
7308         (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
7309
7310         [BZ #16560]
7311         * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
7312         arguments close to 0.
7313         * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
7314         Likewise.
7315         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
7316         Likewise.
7317         * math/auto-libm-test-in: Add more tests of exp10.
7318         * math/auto-libm-test-out: Regenerated.
7319         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7320
7321         * sysdeps/unix/sysv/linux/kernel-features.h
7322         (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
7323         * sysdeps/unix/sysv/linux/readv.c: Do not include
7324         <kernel-features.h>.
7325         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
7326         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
7327         (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
7328         unconditional.
7329         (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
7330         conditional code.
7331         * sysdeps/unix/sysv/linux/writev.c: Do not include
7332         <kernel-features.h>.
7333         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
7334         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
7335         (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
7336         unconditional.
7337         (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
7338         conditional code.
7339
7340 2014-06-25  Will Newton  <will.newton@linaro.org>
7341
7342         * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
7343         comment changes throughout the file.  Remove checks
7344         for HAVE_*_H definitions that are not required.
7345         (__gen_tempname): Call abort if an unknown kind value is
7346         passed.
7347
7348 2014-06-25  Andreas Schwab  <schwab@suse.de>
7349
7350         [BZ #17086]
7351         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
7352         scalbln, scalblnf, scalblnl in libc.
7353
7354 2014-06-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
7355
7356         [BZ #17086]
7357         * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
7358         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
7359         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
7360
7361 2014-06-24  Roland McGrath  <roland@hack.frob.com>
7362
7363         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
7364         * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
7365         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
7366         * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
7367         Update #include.
7368         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
7369         * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
7370         Update #include.
7371         * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
7372         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
7373         * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
7374         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
7375         * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
7376         * sysdeps/x86/bits/pthreadtypes.h: ... here.
7377         * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
7378         * sysdeps/x86/bits/semaphore.h: ... here.
7379         * sysdeps/x86/nptl/elide.h: Moved ...
7380         * sysdeps/x86/elide.h: ... here.
7381         * sysdeps/x86_64/nptl/Implies: File removed.
7382         * sysdeps/i386/nptl/Implies: File removed.
7383
7384 2014-06-24  Joseph Myers  <joseph@codesourcery.com>
7385
7386         [BZ #16539]
7387         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
7388         return the argument for normal arguments with exponent below -64.
7389         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
7390         Likewise.
7391         * math/auto-libm-test-in: Add another test of expm1.
7392         * math/auto-libm-test-out: Regenerated.
7393
7394         [BZ #16287]
7395         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
7396         calling __erfcl for arguments at least 16.
7397         * math/auto-libm-test-in: Add more tests of erf.
7398         * math/auto-libm-test-out: Regenerated.
7399
7400         * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
7401         individual architectures.
7402         * sysdeps/unix/sysv/linux/configure: Regenerated.
7403         * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
7404         * sysdeps/unix/sysv/linux/i386/configure: New generated file.
7405         * sysdeps/unix/sysv/linux/powerpc/configure.ac
7406         (ldd_rewrite_script): Define variable.
7407         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
7408         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
7409         file.
7410         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
7411         generated file.
7412         * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
7413         * sysdeps/unix/sysv/linux/s390/configure: New generated file.
7414         * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
7415         * sysdeps/unix/sysv/linux/sh/configure: New generated file.
7416         * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
7417         * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
7418         * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
7419         * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
7420
7421 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
7422
7423         [BZ #17084]
7424         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
7425         Rename member __data.d to __data.__elision_data.
7426
7427 2014-06-24  Wilco  <wdijkstr@arm.com>
7428
7429         * NEWS: Add 16918 to fixed bug list.
7430
7431 2014-06-24  Wilco  <wdijkstr@arm.com>
7432
7433         * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
7434
7435 2014-06-24  Wilco  <wdijkstr@arm.com>
7436
7437         * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
7438         * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
7439         (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
7440         (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
7441         (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
7442         * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
7443         * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
7444         Use _FPU_MASK_RM.
7445
7446 2014-06-24  Wilco  <wdijkstr@arm.com>
7447
7448         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
7449
7450 2014-06-24  Wilco  <wdijkstr@arm.com>
7451
7452         * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
7453         * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
7454         * sysdeps/arm/fesetround.c (fesetround): Remove space.
7455         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
7456
7457 2014-06-24  Wilco  <wdijkstr@arm.com>
7458
7459         [BZ #16918]
7460         * sysdeps/arm/feupdateenv.c (feupdateenv):
7461         Rewrite to reduce FPSCR accesses and fix return value.
7462
7463 2014-06-24  Wilco  <wdijkstr@arm.com>
7464
7465         * sysdeps/arm/fclrexcpt.c (feclearexcept):
7466         Optimize to avoid unnecessary FPSCR writes.
7467         * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
7468         * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
7469         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
7470         * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
7471
7472 2014-06-24  Wilco  <wdijkstr@arm.com>
7473
7474         * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
7475         * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
7476         * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
7477         * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
7478         Call libc_fetestexcept_vfp.
7479         * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
7480         * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
7481         __SOFTFP__ ifdef so that they can be built for softfp.
7482
7483 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
7484
7485         * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
7486         argument type signed char.
7487
7488         * Makerules (check-abi): Dump diff of symlist if the test
7489         fails.
7490
7491 2014-06-23  Roland McGrath  <roland@hack.frob.com>
7492
7493         * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
7494         using abort.
7495
7496         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
7497         Remove unused variable ST.
7498
7499 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
7500
7501         [BZ #16354]
7502         [BZ #17061]
7503         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
7504         small arguments before calling __expm1.
7505         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
7506         small arguments before calling __expm1f.
7507         * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
7508         small arguments before calling __expm1l.
7509         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
7510         Likewise.
7511         * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
7512         * math/auto-libm-test-in: Add more cosh tests.  Do not allow
7513         spurious underflow for some cosh tests.
7514         * math/auto-libm-test-out: Regenerated.
7515         * sysdeps/i386/fpu/libm-test-ulps: Update.
7516
7517         [BZ #17050]
7518         * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
7519         (__ieee754_y1): Set errno if return value overflows.
7520         * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
7521         (__ieee754_y1f): Set errno if return value overflows.
7522         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
7523         (__ieee754_y1l): Set errno if return value overflows.
7524         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
7525         (__ieee754_y1l): Set errno if return value overflows.
7526         * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
7527         * math/auto-libm-test-out: Regenerated.
7528
7529         * math/gen-auto-libm-tests.c: Document use of
7530         ignore-zero-inf-sign.
7531         (input_flag_type): Add value flag_ignore_zero_inf_sign.
7532         (input_flags): Add ignore-zero-inf-sign.
7533         (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
7534         * math/gen-libm-test.pl (generate_testfile): Handle
7535         ignore-zero-inf-sign.
7536         * math/auto-libm-test-in: Mark some cpow tests with
7537         ignore-zero-inf-sign and some with xfail-rounding.
7538         * math/auto-libm-test-out: Regenerated.
7539         * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
7540         * sysdeps/i386/fpu/libm-test-ulps: Update.
7541         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7542
7543         [BZ #16315]
7544         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
7545         overflowing or underflowing operations take place with sign of
7546         result.
7547         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
7548         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
7549         * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
7550         (__ieee754_pow): Recompute overflowing and underflowing results in
7551         original rounding mode.
7552         * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
7553         (__powl_helper): Allow negative argument X and scale negated value
7554         as needed.  Avoid passing value outside [-1, 1] to f2xm1.
7555         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
7556         overflowing or underflowing operations take place with sign of
7557         result.
7558         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
7559         Include <math.h>.
7560         * math/auto-libm-test-in: Add more tests of pow.
7561         * math/auto-libm-test-out: Regenerated.
7562         * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
7563         (pow_tonearest_test_data): Remove.
7564         (pow_test_tonearest): Likewise.
7565         (pow_towardzero_test_data): Likewise.
7566         (pow_test_towardzero): Likewise.
7567         (pow_downward_test_data): Likewise.
7568         (pow_test_downward): Likewise.
7569         (pow_upward_test_data): Likewise.
7570         (pow_test_upward): Likewise.
7571         (main): Don't call removed functions.
7572         * sysdeps/i386/fpu/libm-test-ulps: Update.
7573         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7574
7575 2014-06-23  Roland McGrath  <roland@hack.frob.com>
7576
7577         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
7578         Moved ...
7579         * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
7580         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
7581         Moved ...
7582         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
7583         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
7584         Moved ...
7585         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
7586         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
7587         Moved ...
7588         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
7589         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
7590         File removed.
7591         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
7592         File removed.
7593         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
7594         File removed.
7595         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
7596         File removed.
7597         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
7598         File removed.
7599         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
7600         File removed.
7601         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
7602         File removed.
7603         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
7604         File removed.
7605         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
7606         File removed.
7607         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
7608         File removed.
7609         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
7610         File removed.
7611         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
7612         File removed.
7613         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
7614         Moved ...
7615         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
7616         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
7617         Moved ...
7618         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
7619         ... here.
7620         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
7621         Moved ...
7622         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
7623         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
7624         Moved ...
7625         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
7626         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
7627         Moved ...
7628         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
7629         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
7630         Moved ...
7631         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
7632         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
7633         Moved ...
7634         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
7635         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
7636         Moved ...
7637         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
7638         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
7639         Moved ...
7640         * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
7641         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
7642         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
7643         ... here.
7644         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
7645         Moved ...
7646         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
7647         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
7648         Moved ...
7649         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
7650         ... here.
7651         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
7652         Moved ...
7653         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
7654         ... here.
7655         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
7656         Moved ...
7657         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
7658         ... here.
7659         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
7660         Moved ...
7661         * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
7662         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
7663         Moved ...
7664         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
7665         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
7666         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
7667         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
7668         Moved ...
7669         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
7670         ... here.
7671         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
7672         Moved ...
7673         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
7674         ... here.
7675         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
7676         Moved ...
7677         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
7678         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
7679         Moved ...
7680         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
7681         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
7682         Moved ...
7683         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
7684         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
7685         Moved ...
7686         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
7687         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
7688         Moved ...
7689         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
7690         ... here.
7691         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
7692         Moved ...
7693         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
7694         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
7695         Moved ...
7696         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
7697         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
7698         Moved ...
7699         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
7700         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
7701         Moved ...
7702         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
7703         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
7704         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
7705         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
7706         Moved ...
7707         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
7708         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
7709         Moved ...
7710         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
7711         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
7712         Moved ...
7713         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
7714         ... here.
7715         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
7716         Moved ...
7717         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
7718         ... here.
7719         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
7720         Moved ...
7721         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
7722         ... here.
7723         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
7724         Moved ...
7725         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
7726         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
7727         Moved ...
7728         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
7729         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
7730         Moved ...
7731         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
7732         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
7733         Moved ...
7734         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
7735         ... here.
7736         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
7737         Moved ...
7738         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
7739         ... here.
7740         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
7741         Moved ...
7742         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
7743         ... here.
7744         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
7745         Moved ...
7746         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
7747         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
7748         Moved ...
7749         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
7750
7751 2014-06-23  Will Newton  <will.newton@linaro.org>
7752             Wilco  <wdijkstr@arm.com>
7753
7754         * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
7755         implementation.  Include get-rounding-mode.h.
7756         [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
7757         [!libc_feholdsetround_noex_ctx]: Define
7758         libc_feholdsetround_noex_ctx.
7759         [!libc_feholdsetround_noexf_ctx]: Define
7760         libc_feholdsetround_noexf_ctx.
7761         [!libc_feholdsetround_noexl_ctx]: Define
7762         libc_feholdsetround_noexl_ctx.
7763         (libc_feholdsetround_ctx): New function.
7764         (libc_feresetround_ctx): New function.
7765         (libc_feholdsetround_noex_ctx): New function.
7766         (libc_feresetround_noex_ctx): New function.
7767
7768 2014-06-23  Roland McGrath  <roland@hack.frob.com>
7769
7770         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
7771         * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
7772         * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
7773         * sysdeps/mips/nptl/bits/semaphore.h: ... here.
7774         * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
7775         * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
7776
7777         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
7778         * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
7779         * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
7780         * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
7781         * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
7782         * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
7783         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
7784         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
7785         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
7786         * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
7787         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
7788         Moved ...
7789         * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
7790         ... here.
7791         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
7792         * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
7793         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
7794         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
7795         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
7796         Moved ...
7797         * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
7798         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
7799         * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
7800         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
7801         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
7802         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
7803         * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
7804         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
7805         Moved ...
7806         * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
7807         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
7808         Moved ...
7809         * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
7810         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
7811         * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
7812         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
7813         Moved ...
7814         * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
7815         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
7816         * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
7817         * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
7818         * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
7819         * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
7820         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
7821         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
7822         * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
7823         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
7824         Moved ...
7825         * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
7826         ... here.
7827         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
7828         * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
7829         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
7830         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
7831         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
7832         * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
7833         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
7834         * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
7835         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
7836         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
7837         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
7838         * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
7839         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
7840         Moved ...
7841         * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
7842         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
7843         * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
7844         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
7845         * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
7846         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
7847         Moved ...
7848         * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
7849         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
7850         * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
7851         * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
7852         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
7853
7854         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
7855         * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
7856         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
7857         * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
7858         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
7859         * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
7860         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
7861         * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
7862         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
7863         * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
7864         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
7865         * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
7866         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
7867         * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
7868         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
7869         * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
7870         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
7871         * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
7872         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
7873         * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
7874         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
7875         * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
7876         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
7877         * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
7878         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
7879         * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
7880         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
7881         * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
7882
7883 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
7884
7885         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
7886         (FALLOC_FL_COLLAPSE_RANGE): New macro.
7887         [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
7888         * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
7889         (IPV6_PMTUDISC_INTERFACE): Likewise.
7890         (IPV6_PMTUDISC_OMIT): Likewise.
7891
7892 2014-06-23  Andreas Schwab  <schwab@suse.de>
7893
7894         * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
7895         Remove unused errout label.
7896
7897 2014-06-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7898
7899         * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
7900         macro: hardware supports Vector Crypto instructions.
7901
7902 2014-06-23  Will Newton  <will.newton@linaro.org>
7903
7904         * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
7905         rather than __builtin_expect.
7906
7907         * elf/dl-lookup.c (undefined_msg): Remove variable.
7908         (_dl_lookup_symbol_x): Replace undefined_msg with string
7909         literal.
7910
7911         * elf/dl-lookup.c (do_lookup_unique): New function.
7912         (do_lookup_x): Move STB_GNU_UNIQUE handling code
7913         to a separate function.
7914
7915 2014-06-23  Andreas Schwab  <schwab@suse.de>
7916
7917         [BZ #17079]
7918         * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
7919         before reading the next line.
7920
7921 2014-06-23  Will Newton  <will.newton@linaro.org>
7922
7923         * test-skeleton.c (signal_handler): Use printf and %m
7924         rather than perror.  Use printf rather than fprintf to
7925         stderr.  Use puts rather than fputs to stderr.
7926         (main): Likewise.
7927
7928 2014-06-22  Ludovic Courtès  <ludo@gnu.org>
7929
7930         * nscd/nscd.c (thread_info_t): Remove typedef.
7931         (thread_info): Remove variable.
7932
7933 2014-06-21  Allan McRae  <allan@archlinux.org>
7934
7935         * NEWS: Mention CVE-2014-4043.
7936
7937 2014-06-20  Roland McGrath  <roland@hack.frob.com>
7938
7939         * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
7940         * nptl/smp.h: ... here.
7941
7942         * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
7943
7944         * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
7945         * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
7946         * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
7947         * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
7948
7949         * nptl/allocatestack.c: Include <stack-aliasing.h>.
7950         * nptl/stack-aliasing.h: New file.
7951         * sysdeps/i386/i686/stack-aliasing.h: New file.
7952         * sysdeps/i386/i686/nptl/Makefile: File removed.
7953         * sysdeps/x86_64/stack-aliasing.h: New file.
7954         * sysdeps/x86_64/nptl/Makefile
7955         (CFLAGS-pthread_create.c): Variable removed.
7956
7957         * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
7958         * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
7959         old file.
7960         * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
7961         * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
7962         old file.
7963
7964 2014-06-21  Joseph Myers  <joseph@codesourcery.com>
7965
7966         * sysdeps/unix/sysv/linux/arm/kernel-features.h
7967         (__ASSUME_SIGFRAME_V2): Remove macro.
7968         * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
7969         [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
7970         (__default_sa_restorer_v2): Rename to __default_sa_restorer.
7971         (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
7972         * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
7973         Declare as function.  Remove conditional macro definitions.
7974         (__default_rt_sa_restorer): Likewise.
7975         (__default_sa_restorer_v1): Remove declaration.
7976         (__default_sa_restorer_v2): Likewise.
7977         (__default_rt_sa_restorer_v1): Likewise.
7978         (__default_rt_sa_restorer_v2): Likewise.
7979         * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
7980         __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
7981         __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
7982
7983 2014-06-20  Roland McGrath  <roland@hack.frob.com>
7984
7985         * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
7986         (libpthread-routines): Add sysdep.
7987         * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
7988         * sysdeps/unix/sysv/linux/sparc/Versions
7989         (libpthread: GLIBC_2.3.3): New version set.
7990         * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
7991         * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
7992         * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
7993         * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
7994         * sysdeps/sparc/nptl/internaltypes.h: ... here.  Use #include_next.
7995         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
7996         Moved ...
7997         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
7998         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
7999         * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
8000         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
8001         * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
8002         * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
8003         * sysdeps/sparc/nptl/sem_init.c: ... here.
8004         * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
8005         * sysdeps/sparc/nptl/sem_post.c: ... here.
8006         * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
8007         * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
8008         * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
8009         * sysdeps/sparc/nptl/sem_wait.c: ... here.
8010         * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
8011         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
8012         * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
8013         (libpthread-routines): Add cpu_relax.
8014         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
8015         File removed.
8016         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
8017         (librt: GLIBC_2.3.3): New version set.
8018         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
8019         * sysdeps/sparc/sparc64/nptl/Makefile: New file.
8020         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
8021         (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
8022         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
8023         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
8024         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
8025         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
8026         Moved ...
8027         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
8028         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
8029         * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
8030         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
8031         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
8032         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
8033         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
8034         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
8035         * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
8036         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
8037         Moved ...
8038         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
8039         Update #include.
8040         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
8041         Moved ...
8042         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
8043         Update #include.
8044         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
8045         Moved ...
8046         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
8047         Update #include.
8048         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
8049         Moved ...
8050         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
8051         Update #include.
8052         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
8053         Moved ...
8054         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
8055         Update #include.
8056         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
8057         Moved ...
8058         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
8059         Update #include.
8060         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
8061         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
8062         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
8063         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
8064         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
8065         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
8066         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
8067         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
8068         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
8069         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
8070         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
8071         Moved ...
8072         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
8073         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
8074         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
8075         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
8076         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
8077
8078 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
8079
8080         * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
8081         * nptl/pthread_rwlock_timedrdlock.c: Likewise.
8082         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
8083         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
8084         * nscd/nscd.c: Likewise.
8085         * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
8086         * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
8087         * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
8088         * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
8089
8090         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
8091         <kernel-features.h>.
8092         (init_mq_netlink): Remove conditional have_sock_cloexec
8093         definitions.  Remove code conditional on have_sock_cloexec < 0.
8094         (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
8095         (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
8096         * sysdeps/unix/sysv/linux/opensock.c: Do not include
8097         <kernel-features.h>.
8098         (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
8099         (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
8100
8101 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
8102
8103         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
8104         Add tests for memset_chk and memset.
8105
8106         * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
8107         with AVX2_Usable.
8108
8109 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
8110
8111         [BZ #16046]
8112         * elf/tst-dl-iter-static.c: New file.
8113         * elf/Makefile (tests-static): Add tst-dl-iter-static.
8114
8115         * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
8116         error.
8117
8118 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
8119
8120         * sysdeps/unix/sysv/linux/kernel-features.h
8121         (__ASSUME_F_GETOWN_EX): Remove macro.
8122         * sysdeps/unix/sysv/linux/fcntl.c: Do not include
8123         <kernel-features.h>.
8124         (miss_F_GETOWN_EX): Remove variable or macro.
8125         (do_fcntl): Do not check miss_F_GETOWN_EX.
8126         (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
8127
8128         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
8129         Remove macro.
8130         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
8131         [!__ASSUME_AT_RANDOM]: Remove conditional code.
8132         (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
8133
8134         * sysdeps/unix/sysv/linux/kernel-features.h
8135         (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
8136         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
8137         [ADJ_OFFSET_SS_READ]: Make code unconditional.
8138         (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
8139
8140 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
8141
8142         [BZ #17075]
8143         * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
8144         Fix calculation of the symbol's value.
8145         * sysdeps/arm/tst-armtlsdescloc.c: New file.
8146         * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
8147         * sysdeps/arm/tst-armtlsdescextnow.c: New file.
8148         * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
8149         * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
8150         * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
8151         * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
8152         `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
8153         (modules-names): Add `tst-armtlsdescmod',
8154         `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
8155         (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
8156         (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
8157         (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
8158         (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
8159         (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
8160         (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
8161         ($(objpfx)tst-armtlsdescloc): New dependency.
8162         ($(objpfx)tst-armtlsdescextnow): Likewise.
8163         ($(objpfx)tst-armtlsdescextlazy): Likewise.
8164         * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
8165         TLS scheme support.
8166         * sysdeps/arm/configure: Regenerate.
8167
8168 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
8169
8170         * include/fcntl.h (__atfct_seterrno): Remove prototype.
8171         (__atfct_seterrno_2): Likewise.
8172         * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
8173         <kernel-features.h>.
8174         (__ASSUME_ATFCTS): Do not undefine and redefine.
8175         * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
8176         (__have_atfcts): Remove conditional definition.
8177         (__fxstatat([__NR_fstatat64]: Make code unconditional.
8178         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
8179         unreachable if [__ASSUME_ATFCTS].
8180         * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
8181         not undefine and redefine.
8182         * sysdeps/unix/sysv/linux/faccessat.c: Do not include
8183         <kernel-features.h>.
8184         (faccessat) [__NR_faccessat]: Make code unconditional.
8185         (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
8186         * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
8187         <kernel-features.h>.
8188         (fchmodat) [__NR_fchmodat]: Make code unconditional.
8189         (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
8190         * sysdeps/unix/sysv/linux/fchownat.c: Do not include
8191         <kernel-features.h>.
8192         (fchownat) [__NR_fchownat]: Make code unconditional.
8193         (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
8194         * sysdeps/unix/sysv/linux/futimesat.c: Do not include
8195         <kernel-features.h>.
8196         (futimesat) [__NR_futimesat]: Make code unconditional.
8197         (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
8198         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
8199         <kernel-features.h>.
8200         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
8201         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
8202         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
8203         <kernel-features.h>.
8204         (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
8205         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
8206         * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
8207         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
8208         <kernel-features.h>.
8209         (__fxstatat) [__NR_fstatat64]: Make code unconditional.
8210         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
8211         * sysdeps/unix/sysv/linux/linkat.c: Do not include
8212         <kernel-features.h>.
8213         (linkat) [__NR_linkat]: Make code unconditional.
8214         (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
8215         * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
8216         * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
8217         <kernel-features.h>.
8218         (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
8219         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
8220         * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
8221         <kernel-features.h>.
8222         (mkdirat) [__NR_mkdirat]: Make code unconditional.
8223         (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
8224         * sysdeps/unix/sysv/linux/openat.c: Do not include
8225         <kernel-features.h>.
8226         [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
8227         [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
8228         (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
8229         (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
8230         * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
8231         * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
8232         <kernel-features.h>.
8233         (readlinkat) [__NR_readlinkat]: Make code unconditional.
8234         (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.  Return
8235         result of INLINE_SYSCALL directly, not via int variable.
8236         * sysdeps/unix/sysv/linux/renameat.c: Do not include
8237         <kernel-features.h>.
8238         [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
8239         (renameat) [__NR_renameat]: Make code unconditional.
8240         (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
8241         * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
8242         * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
8243         * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
8244         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
8245         (__ASSUME_ATFCTS): Do not undefine and redefine.
8246         * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
8247         <kernel-features.h>.
8248         (symlinkat) [__NR_symlinkat]: Make code unconditional.
8249         (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
8250         * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
8251         <kernel-features.h>.
8252         (unlinkat) [__NR_unlinkat]: Make code unconditional.
8253         (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
8254         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
8255         (__ASSUME_ATFCTS): Do not undefine and redefine.
8256         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
8257         <kernel-features.h>.
8258         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
8259         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
8260         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
8261         <kernel-features.h>.
8262         (__xmknodat) [__NR_mknodat]: Make code unconditional.
8263         (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
8264
8265 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
8266
8267         * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
8268
8269 2014-06-20  Andreas Schwab  <schwab@linux-m68k.org>
8270
8271         [BZ #17069]
8272         * posix/regcomp.c (parse_reg_exp): Deallocate partially
8273         constructed tree before returning error.
8274         * posix/bug-regexp36.c: Expand test case.
8275
8276 2014-06-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
8277
8278         [BZ #6803]
8279         * math/libm-test.inc (scalbln_test_date):
8280         Add errno expectations.
8281         * math/w_scalblnf.c: New File.
8282         Add wrapper which checks for setting errno to ERANGE.
8283         Add weak_alias for corresponding scalbln function.
8284         * math/w_scalbln.c: Likewise.
8285         * math/w_scalblnl.c: Likewise.
8286         * math/Makefile (libm-calls): Add w_scalbln.
8287         * sysdeps/ieee754/flt-32/s_scalblnf.c:
8288         Remove weak_alias for corresponding scalbln function.
8289         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
8290         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
8291         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
8292         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
8293         * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
8294         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
8295         * sysdeps/i386/fpu/s_scalbn.S: Likewise.
8296         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
8297         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
8298         * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
8299         Remove long_double_symbol for scalblnl function in libm, libc.
8300         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
8301         Add wrapper which checks for setting errno to ERANGE.
8302         Add long_double_symbol for scalblnl function in libm, libc.
8303         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
8304         Remove long_double_symbol for scalblnl in libm.
8305         * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
8306         Add wrapper which checks for setting errno to ERANGE.
8307         Add long_double_symbol for scalblnl function in libm.
8308         * sysdeps/ia64/fpu/w_scalblnf.c: New File.
8309         Do not use wrapper because of own implementation.
8310
8311 2014-06-19  H.J. Lu  <hongjiu.lu@intel.com>
8312
8313         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
8314         3 bytes for __pad1 for x32.
8315         (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
8316
8317 2014-06-19  Ling Ma  <ling.ml@alibaba-inc.com>
8318             H.J. Lu  <hongjiu.lu@intel.com>
8319
8320         * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
8321         * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
8322         * sysdeps/x86_64/multiarch/memset.S: Likewise.
8323         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
8324         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
8325
8326 2014-06-19  Andreas Schwab  <schwab@linux-m68k.org>
8327
8328         [BZ #17069]
8329         * posix/regcomp.c (parse_expression): Deallocate partially
8330         constructed tree before returning error.
8331         * posix/Makefile.c (tests): Add bug-regex36.
8332         (generated): Add bug-regex36.mtrace.
8333         (tests-special): Add $(objpfx)bug-regex36-mem.out
8334         (bug-regex36-ENV): New variable.
8335         ($(objpfx)bug-regex36-mem.out): New rule.
8336         * posix/bug-regex36.c: New file.
8337
8338 2014-06-19  Will Newton  <will.newton@linaro.org>
8339
8340         * malloc/malloc.c (systrim): If extra is zero then return
8341         early.
8342
8343 2014-06-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
8344
8345         * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
8346
8347 2014-06-19  Richard Earnshaw  <rearnsha@arm.com>
8348
8349         * sysdeps/aarch64/strchr.S: New file.
8350
8351 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
8352
8353         [BZ #17022]
8354         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
8355         from arguments -2 or below.
8356         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
8357         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
8358
8359 2014-06-18  Andreas Schwab  <schwab@suse.de>
8360
8361         [BZ #17062]
8362         * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
8363         of a bracket expr not to run off the end of the string.
8364         * posix/Makefile (tests): Add tst-fnmatch3.
8365         * posix/tst-fnmatch3.c: New file.
8366
8367 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
8368
8369         * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
8370         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
8371         [$(cross-compiling) = no]: Likewise.
8372         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
8373         [$(cross-compiling) = no]: Likewise.
8374
8375 2014-16-17  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
8376
8377         [BZ #17031]
8378         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
8379         double, adjusted for any remainder from the high double.
8380         * math/libm-test.inc (nearbyint): Add tests.
8381         (rint): Likewise.
8382
8383 2014-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8384
8385         * nptl/sysdeps/powerpc/Makefile: Moved ...
8386         * sysdeps/powerpc/nptl/Makefile: ... here.
8387         * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
8388         * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
8389         * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
8390         * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
8391         * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
8392         * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
8393         * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
8394         * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
8395         * nptl/sysdeps/powerpc/tls.h: Moved ...
8396         * sysdeps/powerpc/nptl/tls.h: ... here.
8397
8398 2014-06-16  Joseph Myers  <joseph@codesourcery.com>
8399
8400         [BZ #16681]
8401         * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
8402         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
8403         * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
8404         * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
8405         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
8406         * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
8407         * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
8408         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
8409         * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
8410
8411 2014-06-17  Andreas Schwab  <schwab@linux-m68k.org>
8412
8413         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
8414
8415 2014-06-16  Andreas Schwab  <schwab@linux-m68k.org>
8416
8417         * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
8418         defined operator.
8419
8420         * scripts/cross-test-ssh.sh (timeoutfactor): Default to
8421         $TIMEOUTFACTOR.
8422
8423 2014-06-16  Florian Weimer  <fweimer@redhat.com>
8424
8425         [BZ #17058]
8426         * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
8427         non-executed part of the test.
8428
8429 2014-06-16  Andreas Schwab  <schwab@suse.de>
8430
8431         * string/bits/string2.h (strdup, strndup): Update feature guard.
8432
8433 2014-06-14  David S. Miller  <davem@davemloft.net>
8434
8435         * sysdeps/sparc/fpu/libm-test-ulps: Update.
8436
8437 2014-06-14  Andreas Schwab  <schwab@linux-m68k.org>
8438
8439         * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
8440         that was previously under [RESET_PID].
8441         * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
8442
8443         * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
8444         * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
8445         * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
8446         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
8447         (__libc_vfork): New strong alias.
8448         * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
8449
8450 2014-06-14 Andi Kleen  <ak@linux.intel.com>
8451
8452         * sysdeps/generic/elide.h: New file.
8453
8454 2014-06-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
8455
8456         * Makefile (installed-headers): Adjust path of pthread.h header.
8457
8458 2014-06-13  Roland McGrath  <roland@hack.frob.com>
8459
8460         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
8461         * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
8462         * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
8463         * sysdeps/s390/nptl/bits/semaphore.h: ... here.
8464
8465         * nptl/sysdeps/s390/Makefile: Moved ...
8466         * sysdeps/s390/nptl/Makefile: ... here.
8467         * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
8468         * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
8469         * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
8470         * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
8471         * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
8472         * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
8473         * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
8474         * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
8475         * nptl/sysdeps/s390/pthreaddef.h: Moved ...
8476         * sysdeps/s390/nptl/pthreaddef.h: ... here.
8477         * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
8478         * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
8479         * nptl/sysdeps/s390/tls.h: Moved ...
8480         * sysdeps/s390/nptl/tls.h: ... here.
8481
8482         * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
8483         * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
8484
8485 2014-06-13  David S. Miller  <davem@davemloft.net>
8486
8487         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
8488         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
8489         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
8490         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
8491         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
8492         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
8493         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
8494         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
8495         * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
8496         * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
8497         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
8498         Remove RESET_PID cpp guards.
8499         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
8500         Remove RESET_PID cpp guards.
8501         * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
8502
8503 2014-06-13  Andreas Schwab  <schwab@linux-m68k.org>
8504
8505         * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
8506         __sp to uintptr_t.
8507
8508 2014-06-13  Andi Kleen  <ak@linux.intel.com>
8509
8510         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
8511         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
8512         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
8513         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
8514         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
8515         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
8516         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
8517         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
8518         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
8519         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
8520         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
8521         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
8522         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
8523         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
8524         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
8525         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
8526         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
8527         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
8528         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
8529         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
8530
8531         * nptl/pthread_rwlock_rdlock.c: Include elide.h.
8532         (pthread_rwlock_rdlock): Add elision.
8533         * nptl/pthread_rwlock_wrlock.c: Include elide.h.
8534         (pthread_rwlock_wrlock): Add elision.
8535         * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
8536         (pthread_rwlock_trywrlock): Add elision.
8537         * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
8538         (pthread_rwlock_tryrdlock): Add elision.
8539         * nptl/pthread_rwlock_unlock.c: Include elide.h.
8540         (pthread_rwlock_tryrdlock): Add elision unlock.
8541         * nptl/sysdeps/pthread/pthread.h:
8542         (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
8543         (PTHREAD_RWLOCK_INITIALIZER,
8544         PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
8545         Handle new elision field.
8546         * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
8547         * sysdeps/arm/nptl/bits/pthreadtypes.h
8548         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
8549         * sysdeps/sh/nptl/bits/pthreadtypes.h
8550         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
8551         * sysdeps/tile/nptl/bits/pthreadtypes.h
8552         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
8553         * sysdeps/a/nptl/bits/pthreadtypes.h
8554         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
8555         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
8556         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
8557         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
8558         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
8559         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
8560         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
8561         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
8562         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
8563         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
8564         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
8565         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
8566         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
8567         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
8568         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
8569         * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
8570         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
8571         * sysdeps/unix/sysv/linux/x86/elision-conf.c:
8572         (elision_init): Set try_xbegin to zero when no RTM.
8573         * sysdeps/x86/nptl/bits/pthreadtypes.h
8574         (pthread_rwlock_t): Change __pad1 to __rwelision.
8575         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
8576
8577 2014-06-13  Andi Kleen  <ak@linux.intel.com>
8578
8579         * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
8580         Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
8581         * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
8582         Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
8583
8584 2014-06-13  Meador Inge  <meadori@codesourcery.com>
8585
8586         [BZ #16996]
8587         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
8588         that the cached result has been set before returning it.
8589
8590 2014-06-12  Roland McGrath  <roland@hack.frob.com>
8591
8592         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
8593         * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
8594         * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
8595         * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
8596         * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
8597         * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
8598
8599         * nptl/sysdeps/sparc/Makefile: Moved ...
8600         * sysdeps/sparc/nptl/Makefile: ... here.
8601         * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
8602         * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
8603         * nptl/sysdeps/sparc/tls.h: Moved ...
8604         * sysdeps/sparc/nptl/tls.h: ... here.
8605         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
8606         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
8607         * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
8608         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
8609         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
8610         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
8611         * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
8612         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
8613         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
8614         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
8615         * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
8616         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
8617         * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
8618         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
8619         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
8620         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
8621         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
8622         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
8623         Update #include.
8624         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
8625         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
8626         Update #include.
8627         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
8628         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
8629         Update #include.
8630         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
8631         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
8632         Update #include.
8633
8634         * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
8635
8636         * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
8637         * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
8638
8639         * sysdeps/pthread/posix-timer.h: Include <list.h>.
8640         (struct list_links): Type removed.
8641         (struct thread_node, struct timer_node): Replace struct list_links
8642         with struct list_head.
8643         (list_unlink_ip): Likewise.
8644         * sysdeps/pthread/timer_routines.c
8645         (timer_free_list, thread_free_list, thread_active_list): Likewise.
8646         (list_append, list_insbefore): Likewise.
8647         (list_init): Function removed.
8648         (thread_init, init_module): Use INIT_LIST_HEAD instead.
8649         * sysdeps/nptl/Makefile: Move tst-timer bits to ...
8650         * sysdeps/pthread/Makefile: ... here, new file.
8651
8652         * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
8653         * sysdeps/nptl/Implies: ... here.
8654         * sysdeps/unix/sysv/linux/Implies: Add nptl.
8655         * nptl/sysdeps/pthread/list.h: Moved ...
8656         * include/list.h: ... here.
8657         * nptl/sysdeps/pthread/createthread.c: Moved ...
8658         * nptl/createthread.c: ... here.
8659         * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
8660         * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
8661         * nptl/pt-longjmp.c: ... here.
8662         * nptl/sysdeps/pthread/Makefile: Moved ...
8663         * sysdeps/nptl/Makefile: ... here.
8664         * nptl/sysdeps/pthread/Subdirs: Moved ...
8665         * sysdeps/nptl/Subdirs: ... here.
8666         * nptl/sysdeps/pthread/aio_misc.h: Moved ...
8667         * sysdeps/nptl/aio_misc.h: ... here.
8668         * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
8669         * sysdeps/nptl/bits/libc-lock.h: ... here.
8670         * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
8671         * sysdeps/nptl/bits/libc-lockP.h: ... here.
8672         * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
8673         * sysdeps/nptl/bits/stdio-lock.h: ... here.
8674         * nptl/sysdeps/pthread/configure: Moved ...
8675         * sysdeps/nptl/configure: ... here.
8676         * nptl/sysdeps/pthread/configure.ac: Moved ...
8677         * sysdeps/nptl/configure.ac: ... here.
8678         * nptl/sysdeps/pthread/gai_misc.h: Moved ...
8679         * sysdeps/nptl/gai_misc.h: ... here.
8680         * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
8681         * sysdeps/nptl/librt-cancellation.c: ... here.
8682         * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
8683         * sysdeps/nptl/malloc-machine.h: ... here.
8684         * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
8685         * sysdeps/nptl/pthread-functions.h: ... here.
8686         * nptl/sysdeps/pthread/pthread.h: Moved ...
8687         * sysdeps/nptl/pthread.h: ... here.
8688         * nptl/sysdeps/pthread/setxid.h: Moved ...
8689         * sysdeps/nptl/setxid.h: ... here.
8690         * nptl/sysdeps/pthread/sigfillset.c: Moved ...
8691         * sysdeps/nptl/sigfillset.c: ... here.
8692         * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
8693         * sysdeps/nptl/tcb-offsets.h: ... here.
8694         * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
8695         * sysdeps/nptl/tst-mqueue8x.c: ... here.
8696         * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
8697         * sysdeps/nptl/unwind-forcedunwind.c: ... here.
8698         * nptl/sysdeps/pthread/allocalim.h: Moved ...
8699         * sysdeps/pthread/allocalim.h: ... here.
8700         * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
8701         * sysdeps/pthread/bits/sigthread.h: ... here.
8702         * nptl/sysdeps/pthread/flockfile.c: Moved ...
8703         * sysdeps/pthread/flockfile.c: ... here.
8704         * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
8705         * sysdeps/pthread/ftrylockfile.c: ... here.
8706         * nptl/sysdeps/pthread/funlockfile.c: Moved ...
8707         * sysdeps/pthread/funlockfile.c: ... here.
8708         * nptl/sysdeps/pthread/posix-timer.h: Moved ...
8709         * sysdeps/pthread/posix-timer.h: ... here.
8710         * nptl/sysdeps/pthread/timer_create.c: Moved ...
8711         * sysdeps/pthread/timer_create.c: ... here.
8712         * nptl/sysdeps/pthread/timer_delete.c: Moved ...
8713         * sysdeps/pthread/timer_delete.c: ... here.
8714         * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
8715         * sysdeps/pthread/timer_getoverr.c: ... here.
8716         * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
8717         * sysdeps/pthread/timer_gettime.c: ... here.
8718         * nptl/sysdeps/pthread/timer_routines.c: Moved ...
8719         * sysdeps/pthread/timer_routines.c: ... here.
8720         * nptl/sysdeps/pthread/timer_settime.c: Moved ...
8721         * sysdeps/pthread/timer_settime.c: ... here.
8722         * nptl/sysdeps/pthread/tst-timer.c: Moved ...
8723         * sysdeps/pthread/tst-timer.c: ... here.
8724         * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
8725         * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
8726
8727         * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
8728         * nptl/sysdeps/pthread/sigprocmask.c: File removed.
8729
8730         * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
8731         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
8732         * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
8733         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
8734         Update #include target.
8735         * nptl/sysdeps/i386/i686/Makefile: Moved ...
8736         * sysdeps/i386/i686/nptl/Makefile: ... here.
8737         * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
8738         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
8739         Update #include target.
8740         * nptl/sysdeps/i386/i686/tls.h: Moved ...
8741         * sysdeps/i386/i686/nptl/tls.h: ... here.  Use #include_next.
8742         * nptl/sysdeps/i386/Makefile: Moved ...
8743         * sysdeps/i386/nptl/Makefile: ... here.
8744         * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
8745         * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
8746         * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
8747         * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
8748         * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
8749         * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
8750         * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
8751         * nptl/sysdeps/i386/pthreaddef.h: Moved ...
8752         * sysdeps/i386/nptl/pthreaddef.h: ... here.
8753         * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
8754         * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
8755         * nptl/sysdeps/i386/tls.h: Moved ...
8756         * sysdeps/i386/nptl/tls.h: ... here.
8757
8758         * sysdeps/sh/Makefile [$(subdir) = csu]
8759         (gen-as-const-headers): Add tcb-offsets.sym.
8760         * nptl/sysdeps/sh/Makefile: File removed.
8761         * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
8762         * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
8763         * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
8764         * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
8765         * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
8766         * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
8767         * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
8768         * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
8769         * nptl/sysdeps/sh/pthreaddef.h: Moved ...
8770         * sysdeps/sh/nptl/pthreaddef.h: ... here.
8771         * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
8772         * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
8773         * nptl/sysdeps/sh/tls.h: Moved ...
8774         * sysdeps/sh/nptl/tls.h: ... here.
8775         * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
8776         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
8777         * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
8778         * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
8779         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
8780         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
8781         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
8782         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
8783         * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
8784         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
8785         * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
8786         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
8787         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
8788         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
8789         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
8790         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
8791         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
8792         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
8793         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
8794         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
8795         * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
8796         * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
8797         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
8798         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
8799         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
8800         Moved ...
8801         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
8802         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
8803         Moved ...
8804         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
8805         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
8806         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
8807         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
8808         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
8809         * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
8810         * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
8811         * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
8812         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
8813         * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
8814         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
8815         * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
8816         * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
8817         * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
8818         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
8819         * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
8820         * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
8821         * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
8822         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
8823
8824 2014-06-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
8825
8826         * posix/spawn_faction_addopen.c: Include string.h.
8827
8828 2014-06-11  Roland McGrath  <roland@hack.frob.com>
8829
8830         * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
8831         * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
8832         * nptl/sysdeps/x86_64/Makefile: Moved ...
8833         * sysdeps/x86_64/nptl/Makefile: ... here.
8834         * nptl/sysdeps/x86_64/configure: Moved ...
8835         * sysdeps/x86_64/nptl/configure: ... here.
8836         * nptl/sysdeps/x86_64/configure.ac: Moved ...
8837         * sysdeps/x86_64/nptl/configure.ac: ... here.
8838         * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
8839         * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
8840         * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
8841         * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
8842         * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
8843         * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
8844         * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
8845         * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
8846         * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
8847         * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
8848         * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
8849         * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
8850         * nptl/sysdeps/x86_64/tls.h: Moved ...
8851         * sysdeps/x86_64/nptl/tls.h: ... here.
8852         * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
8853         * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
8854         * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
8855         * sysdeps/x86_64/x32/nptl/tls.h: ... here.
8856
8857         * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
8858
8859 2014-06-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8860
8861         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8862
8863 2014-06-11  Joseph Myers  <joseph@codesourcery.com>
8864
8865         * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
8866         type.
8867         [POSIX] (off_t): Likewise.
8868         * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
8869         [POSIX] (S_ISBLK): Require macro.
8870         [POSIX] (S_ISCHR): Likewise.
8871         [POSIX] (S_ISDIR): Likewise.
8872         [POSIX] (S_ISFIFO): Likewise.
8873         [POSIX] (S_ISREG): Likewise.
8874         [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
8875         optional-macro.
8876         * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
8877         type.
8878         [POSIX] (time_t): Likewise.
8879         [POSIX] (timer_t): Likewise.
8880
8881 2014-06-11  Florian Weimer  <fweimer@redhat.com>
8882
8883         [BZ #17048]
8884         * posix/spawn_int.h (struct __spawn_action): Make the path string
8885         non-const to support deallocation.
8886         * posix/spawn_faction_addopen.c
8887         (posix_spawn_file_actions_addopen): Make a copy of the pathname.
8888         * posix/spawn_faction_destroy.c
8889         (posix_spawn_file_actions_destroy): Adjust comment.  Deallocate
8890         path in all spawn_do_open actions.
8891         * posix/tst-spawn.c (do_test): Exercise the copy operation in
8892         posix_spawn_file_actions_addopen.
8893
8894 2014-06-11  Chris Metcalf  <cmetcalf@tilera.com>
8895
8896         * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
8897         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
8898         * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
8899         conditional code always true.
8900         (__libc_vfork): New alias.
8901
8902 2014-06-11  Roland McGrath  <roland@hack.frob.com>
8903
8904         * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
8905         * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
8906
8907         * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
8908
8909         * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
8910         * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
8911
8912         * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
8913         * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
8914
8915         * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
8916         * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
8917
8918 2014-06-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
8919
8920         * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
8921         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
8922         multiarch strcmp for PPC64.
8923         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
8924         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
8925         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
8926         multiarch optimizations.
8927         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
8928         (__libc_ifunc_impl_list): Likewise.
8929
8930 2014-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
8931
8932         * benchtests/scripts/validate_benchout.py: New script.
8933         * benchtests/Makefile (bench-func): Call it.
8934         * benchtests/scripts/benchout.schema.json: New file.
8935
8936 2014-06-10  Chris Metcalf  <cmetcalf@tilera.com>
8937
8938         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
8939         * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
8940         * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
8941         * sysdeps/tile/nptl/bits/semaphore.h: ... here.
8942         * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
8943         * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
8944         * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
8945         * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
8946         * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
8947         * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
8948         * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
8949         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
8950         * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
8951         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
8952         * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
8953         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
8954         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
8955         Moved ...
8956         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
8957         ... here.
8958         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
8959         Moved ...
8960         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
8961         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
8962         Moved ...
8963         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
8964         ... here.
8965         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
8966         Moved ...
8967         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
8968         ... here.
8969         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
8970         Moved ...
8971         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
8972         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
8973         Moved ...
8974         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
8975         ... here.
8976         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
8977         Moved ...
8978         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
8979         ... here.
8980         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
8981         Moved ...
8982         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
8983         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
8984         Moved ...
8985         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
8986         ... here.
8987         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
8988         Moved ...
8989         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
8990         ... here.
8991         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
8992         Moved ...
8993         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
8994         ... here.
8995         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
8996         Moved ...
8997         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
8998         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
8999         Moved ...
9000         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
9001         ... here.
9002         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
9003         Moved ...
9004         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
9005         ... here.
9006         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
9007         Moved ...
9008         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
9009         ... here.
9010         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
9011         Moved ...
9012         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
9013         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
9014         Moved ...
9015         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
9016         ... here.
9017         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
9018         Moved ...
9019         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
9020         ... here.
9021         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
9022         Moved ...
9023         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
9024         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
9025         Moved ...
9026         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
9027         ... here.
9028         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
9029         Moved ...
9030         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
9031         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
9032         Moved ...
9033         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
9034         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
9035         Moved ...
9036         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
9037         ... here.
9038         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
9039         Moved ...
9040         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
9041         ... here.
9042         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
9043         Moved ...
9044         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
9045         ... here.
9046         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
9047         Moved ...
9048         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
9049         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
9050         Moved ...
9051         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
9052         ... here.
9053         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
9054         Moved ...
9055         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
9056         ... here.
9057         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
9058         * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
9059         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
9060         * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
9061         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
9062         Moved ...
9063         * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
9064         ... here.
9065         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
9066         * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
9067         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
9068         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
9069         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
9070         * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
9071         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
9072         * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
9073         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
9074         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
9075         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
9076         * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
9077         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
9078         Moved ...
9079         * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
9080         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
9081         Moved ...
9082         * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
9083         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
9084         * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
9085         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
9086         Moved ...
9087         * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
9088         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
9089         * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
9090         * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
9091         * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
9092         * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
9093         * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
9094
9095 2014-06-10  Wilco  <wdijkstr@arm.com>
9096
9097         * math/test-fenv-return.c: New file.
9098         * math/Makefile: Add new test test-fenv-return.
9099
9100 2014-06-10  Joseph Myers  <joseph@codesourcery.com>
9101
9102         [BZ #17042]
9103         * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
9104         when x - 1 is zero.
9105         * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
9106         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
9107         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
9108         0.0L for an argument of 1.0L.
9109         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
9110         Likewise.
9111         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
9112         value when x - 1 is zero.
9113         * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
9114         * sysdeps/i386/fpu/libm-test-ulps: Update.
9115         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9116
9117 2014-06-09  Bernard Ogden  <bernie.ogden@linaro.org>
9118
9119         [BZ #15119]
9120         * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
9121
9122 2014-06-09  Roland McGrath  <roland@hack.frob.com>
9123
9124         * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
9125         * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
9126
9127 2014-06-09  Roland McGrath  <roland@hack.frob.com>
9128
9129         * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
9130         * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
9131
9132         * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
9133         * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
9134
9135         * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
9136         * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
9137
9138         * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
9139         * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
9140
9141         * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
9142         if not already defined.
9143         (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
9144         * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
9145         * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
9146         (TLS_INIT_TP): Use it.
9147         (TLS_DEFINE_INIT_TP): New macro.
9148         * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
9149
9150 2014-06-09  Joseph Myers  <joseph@codesourcery.com>
9151
9152         * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
9153         constant.
9154         [POSIX] (IXANY): Likewise.
9155         [POSIX] (OLCUC): Likewise.
9156         [POSIX || POSIX2008] (CBAUD): Do not allow.
9157         [POSIX || POSIX2008] (DEFECHO): Likewise.
9158         [POSIX || POSIX2008] (ECHOCTL): Likewise.
9159         [POSIX || POSIX2008] (ECHOKE): Likewise.
9160         [POSIX || POSIX2008] (ECHOPRT): Likewise.
9161         [POSIX || POSIX2008] (EXTA): Likewise.
9162         [POSIX || POSIX2008] (EXTB): Likewise.
9163         [POSIX || POSIX2008] (FLUSHO): Likewise.
9164         [POSIX || POSIX2008] (LOBLK): Likewise.
9165         [POSIX || POSIX2008] (PENDIN): Likewise.
9166         [POSIX || POSIX2008] (SWTCH): Likewise.
9167         [POSIX || POSIX2008] (VDISCARD): Likewise.
9168         [POSIX || POSIX2008] (VDSUSP): Likewise.
9169         [POSIX || POSIX2008] (VLNEXT): Likewise.
9170         [POSIX || POSIX2008] (VREPRINT): Likewise.
9171         [POSIX || POSIX2008] (VSTATUS): Likewise.
9172         [POSIX || POSIX2008] (VWERASE): Likewise.
9173         (B*): Change to B[0123456789]*.
9174         * conform/data/time.h-data [POSIX || UNIX98]
9175         (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
9176         [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
9177         [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
9178         [POSIX] (tm_*): Do not allow.
9179
9180 2014-06-07  Joseph Myers  <joseph@codesourcery.com>
9181
9182         * Makefile (install): Don't set LANGUAGE.
9183         * Makefile.in (install): Likewise.
9184         * assert/Makefile (test-assert-ENV): Remove variable.
9185         (test-assert-perr-ENV): Likewise.
9186         * elf/Makefile (neededtest4-ENV): Likewise.
9187         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
9188         [$(cross-compiling) = no]: Don't set LANGUAGE.
9189         * io/ftwtest-sh (LANG): Remove variable.
9190         * libio/Makefile (tst-widetext-ENV): Likewise.
9191         * manual/install.texi (Running make install): Don't refer to
9192         environment settings for make install.
9193         * INSTALL: Regenerated.
9194         * nptl/tst-tls6.sh: Don't set LANG.
9195         * posix/globtest.sh (LANG): Remove variable.
9196         * string/Makefile (tester-ENV): Likewise.
9197         (inl-tester-ENV): Likewise.
9198         (noinl-tester-ENV): Likewise.
9199         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
9200         [$(cross-compiling) = no]: Don't set LANGUAGE.
9201         * timezone/Makefile (build-testdata): Use $(built-program-cmd)
9202         without explicit environment settings.
9203
9204 2014-06-06  Roland McGrath  <roland@hack.frob.com>
9205
9206         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
9207         * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
9208         * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
9209         * sysdeps/sh/nptl/bits/semaphore.h: ... here.
9210
9211 2014-06-06  Chris Metcalf  <cmetcalf@tilera.com>
9212
9213         * crypt/crypt-private.h [DOS]: Add some includes taken from the
9214         other files in the crypt directory.
9215         * crypt/crypt.c: Remove duplicate includes.
9216         * crypt/crypt-entry.c: Likewise.
9217         * crypt/crypt_util.c: Likewise.
9218
9219 2014-06-06  Joseph Myers  <joseph@codesourcery.com>
9220
9221         * Makeconfig (run-program-env): New variable.
9222         (run-program-prefix-before-env): Likewise.
9223         (run-program-prefix-after-env): Likewise.
9224         (run-program-prefix): Define in terms of new variables.
9225         (built-program-cmd-before-env): New variable.
9226         (built-program-cmd-after-env): Likewise.
9227         (built-program-cmd): Define in terms of new variables.
9228         (test-program-prefix-before-env): New variable.
9229         (test-program-prefix-after-env): Likewise.
9230         (test-program-prefix): Define in terms of new variables.
9231         (test-program-cmd-before-env): New variable.
9232         (test-program-cmd-after-env): Likewise.
9233         (test-program-cmd): Define in terms of new variables.
9234         * Rules (make-test-out): Use $(run-program-env).
9235         * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
9236         (help): Do not mention environment variables.  Mention
9237         --timeoutfactor option.
9238         (timeoutfactor): New variable.
9239         (blacklist_exports): Remove function.
9240         (exports): Remove variable.
9241         (command): Do not include ${exports}.
9242         * manual/install.texi (Configuring and compiling): Do not mention
9243         test wrappers preserving environment variables.  Mention that last
9244         assignment to a variable must take precedence.
9245         * INSTALL: Regenerated.
9246         * benchtests/Makefile (run-bench): Use $(run-program-env).
9247         * catgets/Makefile ($(objpfx)test1.cat): Use
9248         $(built-program-cmd-before-env), $(run-program-env) and
9249         $(built-program-cmd-after-env).
9250         ($(objpfx)test2.cat): Do not specify environment variables
9251         explicitly.
9252         ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
9253         $(run-program-env) and $(built-program-cmd-after-env).
9254         ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
9255         $(run-program-env) and $(test-program-cmd-after-env).
9256         ($(objpfx)sample.SJIS.cat): Do not specify environment variables
9257         explicitly.
9258         * catgets/test-gencat.sh: Use test_program_cmd_before_env,
9259         run_program_env and test_program_cmd_after_env arguments.
9260         * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
9261         * elf/tst-pathopt.sh: Use run_program_env argument.
9262         * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
9263         $(test-wrapper-env) and $(run-program-env).
9264         * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
9265         run_program_env arguments.
9266         * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
9267         * intl/Makefile ($(objpfx)tst-gettext.out): Use
9268         $(test-program-prefix-before-env), $(run-program-env) and
9269         $(test-program-prefix-after-env).
9270         ($(objpfx)tst-gettext2.out): Likewise.
9271         * intl/tst-gettext.sh: Use test_program_prefix_before_env,
9272         run_program_env and test_program_prefix_after_env arguments.
9273         * intl/tst-gettext2.sh: Likewise.
9274         * intl/tst-gettext4.sh: Do not set environment variables
9275         explicitly.
9276         * intl/tst-gettext6.sh: Likewise.
9277         * intl/tst-translit.sh: Likewise.
9278         * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
9279         $(test-program-prefix-before-env), $(run-program-env) and
9280         $(test-program-prefix-after-env).
9281         * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
9282         run_program_env and test_program_prefix_after_env arguments.
9283         * math/Makefile (run-regen-ulps): Use $(run-program-env).
9284         * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
9285         * nptl/tst-tls6.sh: Use run_program_env argument.  Set LANG=C
9286         explicitly with each use of ${test_wrapper_env}.
9287         * posix/Makefile ($(objpfx)wordexp-tst.out): Use
9288         $(test-program-prefix-before-env), $(run-program-env) and
9289         $(test-program-prefix-after-env).
9290         * posix/tst-getconf.sh: Do not set environment variables
9291         explicitly.
9292         * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
9293         run_program_env and test_program_prefix_after_env arguments.
9294         * stdio-common/tst-printf.sh: Do not set environment variables
9295         explicitly.
9296         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
9297         $(test-program-prefix-before-env), $(run-program-env) and
9298         $(test-program-prefix-after-env).
9299         * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
9300         run_program_env and test_program_prefix_after_env arguments.
9301         Split $test calls into $test_pre and $test.
9302         * timezone/Makefile (build-testdata): Use
9303         $(built-program-cmd-before-env), $(run-program-env) and
9304         $(built-program-cmd-after-env).
9305
9306 2014-06-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9307
9308         * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
9309         strlen for non SHARED builds.
9310
9311 2014-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
9312
9313         * nptl/allocatestack.c (check_list): Inlined function...
9314         (__reclaim_stacks): ... here.
9315
9316 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
9317
9318         [BZ #15698]
9319         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
9320         memory overrun.
9321
9322 2014-06-05  Joseph Myers  <joseph@codesourcery.com>
9323
9324         * Rules (make-test-out): Include
9325         LOCPATH=$(common-objpfx)localedata in default environment.
9326         * debug/Makefile (tst-chk1-ENV): Remove variable.
9327         (tst-chk2-ENV): Likewise.
9328         (tst-chk3-ENV): Likewise.
9329         (tst-chk4-ENV): Likewise.
9330         (tst-chk5-ENV): Likewise.
9331         (tst-chk6-ENV): Likewise.
9332         (tst-lfschk1-ENV): Likewise.
9333         (tst-lfschk2-ENV): Likewise.
9334         (tst-lfschk3-ENV): Likewise.
9335         (tst-lfschk4-ENV): Likewise.
9336         (tst-lfschk5-ENV): Likewise.
9337         (tst-lfschk6-ENV): Likewise.
9338         * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
9339         (tst-iconv7-ENV): Likewise.
9340         * intl/Makefile (LOCPATH-ENV): Likewise.
9341         (tst-codeset-ENV): Likewise.
9342         (tst-gettext3-ENV): Likewise.
9343         (tst-gettext5-ENV): Likewise.
9344         * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
9345         (tst-fopenloc-ENV): Likewise.
9346         (tst-fgetws-ENV): Remove variable.
9347         (tst-ungetwc1-ENV): Likewise.
9348         (tst-ungetwc2-ENV): Likewise.
9349         (bug-ungetwc2-ENV): Likewise.
9350         (tst-swscanf-ENV): Likewise.
9351         (bug-ftell-ENV): Likewise.
9352         (tst-fgetwc-ENV): Likewise.
9353         (tst-fseek-ENV): Likewise.
9354         (tst-ftell-partial-wide-ENV): Likewise.
9355         (tst-ftell-active-handler-ENV): Likewise.
9356         (tst-ftell-append-ENV): Likewise.
9357         * posix/Makefile (tst-fnmatch-ENV): Likewise.
9358         (tst-regexloc-ENV): Likewise.
9359         (bug-regex1-ENV): Likewise.
9360         (tst-regex-ENV): Likewise.
9361         (tst-regex2-ENV): Likewise.
9362         (bug-regex5-ENV): Likewise.
9363         (bug-regex6-ENV): Likewise.
9364         (bug-regex17-ENV): Likewise.
9365         (bug-regex18-ENV): Likewise.
9366         (bug-regex19-ENV): Likewise.
9367         (bug-regex20-ENV): Likewise.
9368         (bug-regex22-ENV): Likewise.
9369         (bug-regex23-ENV): Likewise.
9370         (bug-regex25-ENV): Likewise.
9371         (bug-regex26-ENV): Likewise.
9372         (bug-regex30-ENV): Likewise.
9373         (bug-regex32-ENV): Likewise.
9374         (bug-regex33-ENV): Likewise.
9375         (bug-regex34-ENV): Likewise.
9376         (bug-regex35-ENV): Likewise.
9377         (tst-rxspencer-ENV): Likewise.
9378         (tst-rxspencer-no-utf8-ENV): Likewise.
9379         * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
9380         (tst-sscanf-ENV): Likewise.
9381         (tst-swprintf-ENV): Likewise.
9382         (tst-swscanf-ENV): Likewise.
9383         (test-vfprintf-ENV): Likewise.
9384         (scanf13-ENV): Likewise.
9385         (bug14-ENV): Likewise.
9386         (tst-grouping-ENV): Likewise.
9387         * stdlib/Makefile (tst-strtod-ENV): Likewise.
9388         (tst-strtod3-ENV): Likewise.
9389         (tst-strtod4-ENV): Likewise.
9390         (tst-strtod5-ENV): Likewise.
9391         (testmb2-ENV): Likewise./
9392         * string/Makefile (tst-strxfrm-ENV): Likewise.
9393         (tst-strxfrm2-ENV): Likewise.
9394         (bug-strcoll1-ENV): Likewise.
9395         (test-strcasecmp-ENV): Likewise.
9396         (test-strncasecmp-ENV): Likewise.
9397         * time/Makefile (tst-strptime-ENV): Likewise.
9398         (tst-ftime_l-ENV): Likewise.
9399         * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
9400         (tst-mbrtowc-ENV): Likewise.
9401         (tst-wcrtomb-ENV): Likewise.
9402         (tst-mbrtowc2-ENV): Likewise.
9403         (tst-c16c32-1-ENV): Likewise.
9404         (tst-mbsnrtowcs-ENV): Likewise.
9405
9406 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
9407
9408         * manual/resource.texi (How to get information about the memory
9409         subsystem?): Fix typo.
9410         Reported by Peon de la Parra Ivan <peon@keba.com>
9411
9412 2014-06-03  Guo Yixuan  <culu.gyx@gmail.com>
9413
9414         [BZ #16882]
9415         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
9416         (pthread_spin_lock): Branch out of spin loop to proper location.
9417         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
9418         (pthread_spin_lock): Likewise.
9419
9420         * nptl/tst-spin4.c: New test.
9421         * nptl/Makefile (tests): Add tst-spin4.
9422
9423 2014-06-03  Andreas Schwab  <schwab@suse.de>
9424
9425         [BZ #15946]
9426         * resolv/res_send.c (send_dg): Reload file descriptor after
9427         calling reopen.
9428
9429 2014-06-03  Stefan Liebler  <stli@linux.vnet.ibm.com>
9430
9431         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
9432
9433 2014-06-03  Richard Henderson  <rth@redhat.com>
9434
9435         * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
9436         * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
9437         * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
9438         SAVE_PID and RESTORE_PID blocks from pt-vfork.S.  Map 0 to INT_MIN
9439         in the SAVE_PID block.
9440         (__libc_vfork): New alias.
9441         * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
9442
9443         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
9444         child in registers, not on the stack.  Remove RESET_PID conditionals.
9445         * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
9446
9447 2014-06-03  Marcus Shawcroft  <marcus.shawcroft@arm.com>
9448
9449         * sysdeps/aarch64/libm-test-ulps: Regenerate.
9450
9451 2014-06-03  Wilco  <wdijkstr@arm.com>
9452
9453         * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
9454         (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
9455         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
9456         Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
9457         * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
9458         Likewise.
9459
9460 2014-06-03  Wilco  <wdijkstr@arm.com>
9461
9462         * sysdeps/aarch64/fpu/math_private.h
9463         (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
9464         (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
9465         (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
9466         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
9467         Fix declarations.
9468
9469 2014-06-03  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
9470
9471         * crypt/crypt-private.h: Include ufc-crypt.h.
9472         (__b64_from_24bit): Declare extern.
9473         * crypt/crypt_util.c(__b64_from_24bit): New function.
9474         (b64t): New static const variable.
9475         * crypt/md5-crypt.c (b64_from_24bit): Remove function.
9476         (b64t): Remove variable.
9477         (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
9478         * crypt/sha256-crypt.c: Include crypt-private.h.
9479         (b64t): Remove variable.
9480         (__sha256_crypt_r): Remove b64_from_24bit and replace
9481         with __b64_from_24bit.
9482         * crypt/sha512-crypt.c: Likewise.
9483
9484 2014-06-02  Roland McGrath  <roland@hack.frob.com>
9485
9486         * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
9487         * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
9488         Label the code __libc_vfork rather than __vfork.
9489         [!NOT_IN_libc] (vfork): Define as weak alias.
9490         [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
9491         * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
9492         * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
9493
9494 2014-06-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
9495
9496         * malloc/malloc.c (malloc_info): Fix format specifier for
9497         n_mmaps.
9498
9499 2014-06-02  Wilco  <wdijkstr@arm.com>
9500
9501         * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
9502         FPCR write.
9503
9504 2014-06-02  Wilco  <wdijkstr@arm.com>
9505
9506         [BZ #17009]
9507         * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
9508         Rewrite to reduce FPCR/FPSR accesses.
9509
9510 2014-06-01  David S. Miller  <davem@davemloft.net>
9511
9512         * sysdeps/sparc/fpu/libm-test-ulps: Update.
9513
9514 2014-05-31  David S. Miller  <davem@davemloft.net>
9515
9516         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
9517         to occur in round to nearest mode when |x| >= 2.0
9518
9519 2014-05-30  Richard Henderson  <rth@twiddle.net>
9520
9521         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
9522         (PSEUDO_RET_NOERRNO): Remove.
9523         (ret): Don't redefine.
9524         (ret_NOERRNO): Define in terms of ret.
9525         (ret_ERRVAL): Likewise.
9526
9527         * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
9528         use of PSEUDO_RET; perform the error check directly.
9529
9530 2014-05-30 Marko Myllynen  <myllynen@redhat.com>
9531
9532         * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
9533         with __int128_t.
9534
9535 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
9536
9537         * malloc/malloc (malloc_info): Fix formatting.
9538
9539 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
9540             Roland McGrath  <roland@hack.frob.com>
9541
9542         * malloc/malloc (malloc_info): Also print mmapped statistics.
9543
9544 2014-05-30  Roland McGrath  <roland@hack.frob.com>
9545
9546         * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
9547         * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
9548
9549 2014-05-30  Ondřej Bílka  <neleai@seznam.cz>
9550
9551         * malloc/malloc.c (malloc_info): Inline mi_arena.
9552
9553 2014-05-29  Richard Henderson  <rth@twiddle.net>
9554
9555         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
9556         Remove comma before expanding ASM_ARGS_##nr.
9557         (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
9558         Make _x0 a strict output; make _x8 a strict input; adjust expansion
9559         of ASM_ARGS_##nr.
9560         (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
9561         (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
9562         (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
9563         (ASM_ARGS_1): Add leading comma.
9564
9565         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
9566         (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
9567         to __errno_location.
9568         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
9569         Remove the expected plt for __errno_location.
9570
9571         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
9572         [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
9573         call to __read_tp.
9574
9575         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
9576         Always allocate 64 bytes of stack frame.  Use ldp/stp to create
9577         it and break it down.
9578         (DOCARGS_0, DOCARGS_1): Do nothing.
9579         (DOCARGS_2): Update to store into the new stack frame.
9580         (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
9581         (UNDOCARGS_1): Update to restore from the new stack frame.
9582         (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
9583         (UNDOCARGS_5, UNDOCARGS_6): Likewise.
9584
9585         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
9586         (SINGLE_THREAD_P): New parameter for result regno.
9587         (PSEUDO): Update to match; use cbz instead of beq.
9588
9589         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
9590         Use ENTRY to define the _nocancel entry point.  Share the syscall
9591         and syscall error check paths with the cancel path.
9592         (PSEUDO_END): New.
9593
9594         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
9595         whitespace; tabs before and after asm mnemonics.
9596
9597 2014-05-29  Eric Wong  <normalperson@yhbt.net>
9598
9599         [BZ #15132]
9600         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
9601         Call fstat64 or stat64 internally, depending on arguments passed.
9602         Replace stat buffer argument with file descriptor argument.
9603         (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
9604         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
9605         Pass fd to __internal_statvfs instead of calling fstat64.
9606         * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
9607         Pass fd to __internal_statvfs64 instead of calling fstat64.
9608         * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
9609         Pass -1 to __internal_statvfs instead of calling stat64.
9610         * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
9611         Pass -1 to __internal_statvfs64 instead of calling stat64.
9612
9613 2014-05-28  Roland McGrath  <roland@hack.frob.com>
9614
9615         * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
9616         that was previously under [RESET_PID].
9617         * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
9618
9619         * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
9620         * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
9621
9622 2014-05-27  Roland McGrath  <roland@hack.frob.com>
9623
9624         * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
9625
9626         * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
9627         * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
9628
9629 2014-05-27  Ondřej Bílka  <neleai@seznam.cz>
9630
9631         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
9632
9633 2014-05-27  Andreas Schwab  <schwab@suse.de>
9634
9635         * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
9636         TLS_INIT_TP macro.
9637         * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
9638         * elf/rtld.c (init_tls, dl_main): Likewise.
9639         * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
9640         * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
9641         * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
9642         * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
9643         * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
9644         * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
9645         * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
9646         * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
9647         * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
9648         * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
9649         * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
9650         * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
9651         * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
9652         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
9653         * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
9654         * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
9655         * sysdeps/generic/tls.h: Update description.
9656
9657 2014-05-27  Will Newton  <will.newton@linaro.org>
9658
9659         [BZ #16990]
9660         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
9661         and restore r2 rather than just restoring.
9662
9663 2014-05-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
9664
9665         [BZ #16724]
9666         * libio/tst-ftell-append.c: New test case.
9667         * libio/Makefile (tests): Add test case.
9668         * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
9669         append mode.
9670         * libio/wfileops.c (do_ftell_wide): Likewise.
9671
9672 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9673
9674         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9675
9676         * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
9677         ...
9678         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
9679         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
9680         * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
9681         * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
9682         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
9683         * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
9684         * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
9685         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
9686         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
9687         Moved ...
9688         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
9689         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
9690         Moved ...
9691         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
9692         * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
9693         * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
9694         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
9695         * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
9696         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
9697         ...
9698         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
9699         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
9700         Moved ...
9701         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
9702         here.
9703         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
9704         ...
9705         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
9706         * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
9707         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
9708
9709         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
9710         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
9711         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
9712         * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
9713
9714         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
9715         merge into ...
9716         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
9717         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
9718         ...
9719         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
9720         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
9721         ...
9722         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
9723         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
9724         Moved ...
9725         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
9726         here.
9727         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
9728         Moved ...
9729         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
9730         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
9731         Moved ...
9732         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
9733
9734         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
9735         conditional [RESET_PID].
9736         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
9737         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
9738         removed.
9739         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
9740         removed.
9741
9742         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
9743         <tcb-offsets.h>.
9744         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
9745         (__libc_vfork): New strong alias.
9746         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
9747         removed.
9748         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
9749         Removed.
9750
9751         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
9752         <tcb-offsets.h>.
9753         (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
9754         (__libc_vfork): New strong alias.
9755         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
9756         removed.
9757         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
9758         removed.
9759
9760 2014-05-26  Carlos O'Donell  <carlos@redhat.com>
9761
9762         * malloc/malloc.c (mi_arena): New function.
9763         (malloc_info): Remove nested function mi_arena. Call non-nosted
9764         function mi_arena.
9765
9766 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9767
9768         * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
9769         by insrwi.
9770         * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
9771         * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
9772         * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
9773         * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
9774         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
9775         * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
9776         * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
9777
9778 2014-05-26  Andreas Schwab  <schwab@suse.de>
9779
9780         [BZ #16984]
9781         * locale/programs/repertoire.c (repertoire_read): Add slash
9782         between I18NPATH element and file name.
9783         * locale/programs/locfile.c (locfile_read): Likewise.
9784
9785 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
9786
9787         * nptl/pthread_mutexattr_settype.c
9788         (__pthread_mutexattr_settype):
9789         Disable lock elision for PTHREAD_MUTEX_NORMAL.
9790
9791 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
9792
9793         * nptl/tst-mutex5 (do_test):
9794         Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
9795
9796 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
9797
9798         * benchtests/README: Document 'init' directive.
9799         * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
9800         BENCH_INIT.
9801         * scripts/bench.py (gen_source): Define BENCH_INIT macro.
9802         (parse_file): Recognize 'init' directive.
9803
9804 2014-05-26  Kyle McMartin  <kyle@redhat.com>
9805
9806         [BZ #16796]
9807         * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
9808         alignment of struct pthread.
9809
9810 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
9811
9812         [BZ #16878]
9813         * nscd/netgroupcache.c (addgetnetgrentX): Look for
9814         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
9815         * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
9816         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
9817
9818 2014-05-25  Richard Henderson  <rth@twiddle.net>
9819
9820         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
9821         (SINGLE_THREAD_P_PIC): Remove.
9822         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
9823         (SINGLE_THREAD_P_PIC): Remove.
9824
9825         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
9826         branch to syscall error ...
9827         (PSEUDO): ... here.
9828         [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
9829         from __local_syscall_error to .Lsyscall_error.
9830         [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
9831         (SYSCALL_ERROR): Update label name.
9832
9833         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
9834         Do not use DOARGS/UNDOARGS.
9835         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
9836         (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
9837         (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
9838         (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
9839         (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
9840
9841         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
9842         block comment.
9843
9844         * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
9845         define if !NOT_IN_libc.
9846         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
9847         define with non-default symbol versions.
9848
9849 2014-05-23  Richard Henderson  <rth@twiddle.net>
9850
9851         * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
9852         (vfork, __vfork): Define via compat_symbol.
9853
9854         * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
9855         [!HAVE_IFUNC] (vfork_compat): Remove.
9856         [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
9857
9858 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
9859
9860         [BZ #16978]
9861         * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
9862         * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
9863         variable.
9864
9865 2014-05-23  Richard Henderson  <rth@twiddle.net>
9866
9867         * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
9868         * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
9869         * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
9870         * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
9871
9872         * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
9873         * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
9874         * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
9875         * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
9876         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
9877         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
9878         * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
9879         * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
9880         * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
9881         * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
9882         * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
9883         * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
9884         * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
9885         * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
9886         * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
9887         * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
9888         * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
9889         * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
9890         * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
9891         * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
9892         * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
9893         * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
9894         * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
9895         * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
9896         * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
9897         * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
9898         * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
9899         * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
9900         * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
9901         * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
9902         * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
9903         * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
9904         * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
9905         * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
9906         * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
9907         * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
9908         * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
9909         * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
9910         * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
9911         * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
9912         * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
9913         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
9914         * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
9915         * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
9916         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
9917         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
9918         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
9919         * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
9920         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
9921         * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
9922         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
9923         * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
9924         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
9925         * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
9926         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
9927         * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
9928
9929         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
9930         * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
9931         * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here.  Restore PID
9932         before exiting on error.
9933         (__libc_vfork): New strong alias.
9934         * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
9935         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
9936
9937         * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
9938         that was previously under [RESET_PID].
9939         * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
9940
9941         * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
9942
9943 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
9944
9945         [BZ #16977]
9946         * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
9947         value when x - 1 is zero.
9948         * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
9949         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
9950         * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
9951         0.0L for an argument of 1.0L.
9952         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
9953         Likewise.
9954         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
9955         value when x - 1 is zero.
9956         * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
9957         * sysdeps/i386/fpu/libm-test-ulps: Update.
9958         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9959
9960 2014-05-23  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
9961
9962         * manual/filesys.texi (Scanning Directory Content): Fix prototype of
9963         alphasort and versionsort.
9964
9965 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9966
9967         * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
9968         macro.
9969         [copysignf]: Likewise.
9970
9971 2014-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
9972
9973         * crypt/md5-crypt.c: Fix formatting.
9974
9975 2014-05-22  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
9976
9977         * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
9978         (b64_from_24bit): New function.
9979
9980 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9981
9982         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
9983         libc_hidden_builtin_def to ifunc.
9984         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
9985         [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
9986
9987 2014-05-21  Roland McGrath  <roland@hack.frob.com>
9988
9989         * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
9990         * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
9991
9992 2014-05-21  Joseph Myers  <joseph@codesourcery.com>
9993
9994         * nscd/Depend (linuxthreads): Remove.
9995         (nptl): Add.
9996         * resolv/Depend (linuxthreads): Remove.
9997         * rt/Depend (linuxthreads): Remove.
9998
9999         * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
10000         (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
10001         $(common-objpfx)elf/.
10002         (link-libc-before-gnulib): Likewise.
10003         (elfobjdir): Remove variable.
10004         * Makefile (install): Use $(elf-objpfx) instead of
10005         $(common-objpfx)elf/.
10006         * Makerules (link-libc-args): Use $(elf-objpfx) instead of
10007         $(elfobjdir)/.
10008         (link-libc-deps): Likewise.
10009         ($(common-objpfx)libc.so): Likewise.
10010         ($(common-objpfx)linkobj/libc.so): Likewise.
10011         [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
10012         instead of $(common-objpfx)elf/.
10013         (symbolic-link-list): Likewise.
10014         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
10015         [$(cross-compiling) = no]: Likewise.
10016         * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
10017         $(elfobjdir)/.
10018         (static-gnulib-arch): Likewise.
10019         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
10020         [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
10021         $(common-objpfx)elf/.
10022
10023 2014-05-21  Richard Henderson  <rth@redhat.com>
10024
10025         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
10026         (SINGLE_THREAD_P): Use the correct width load.  Fold
10027         into the ldr offset.
10028
10029         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
10030         (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
10031
10032 2014-05-20  Joseph Myers  <joseph@codesourcery.com>
10033
10034         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
10035         (libgcc_s_resume): Use __attribute_used__.
10036         * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
10037         Likewise.
10038
10039 2014-05-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10040
10041         * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
10042         optimization when used with float constants.
10043
10044         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10045
10046 2014-05-20  Aurelien Jarno  <aurelien@aurel32.net>
10047
10048         [BZ #16915]
10049         * locale/nl_langinfo_l.c: Make direct reference to every
10050         _nl_current_CATEGORY symbol.
10051         * localedata/Makefile (test-srcs): Add tst-langinfo-static.
10052         (tests-static): Add tst-langinfo-static.
10053         (tests-special): Add tst-langinfo-static.out.
10054         ($(objpfx)tst-langinfo.out): Redirect output.
10055         ($(objpfx)tst-langinfo-static.out): New.
10056         * localedata/tst-langinfo.sh: Send output to stdout.
10057         * localedata/tst-langinfo-static.c: New file.
10058
10059         [BZ #16965]
10060         * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
10061         when the shift amount is modulo the limb size.
10062
10063 2014-05-20  Richard Henderson  <rth@redhat.com>
10064
10065         [BZ #16967]
10066         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
10067         Change type of sa_flags from unsigned int to int.
10068
10069         [BZ #16966]
10070         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
10071
10072         * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
10073
10074 2014-05-20  Will Newton  <will.newton@linaro.org>
10075
10076         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
10077         Test the return value of the system call in the nocancel case.
10078
10079 2014-05-20  Will Newton  <will.newton@linaro.org>
10080             Yvan Roux  <yvan.roux@linaro.org>
10081
10082         * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
10083         #include of asm/ptrace.h.
10084         (PTRACE_GET_THREAD_AREA): Remove #undef.
10085         (PTRACE_GETHBPREGS): Likewise.
10086         (PTRACE_SETHBPREGS): Likewise.
10087         (struct user_regs_struct): New structure.
10088         (struct user_fpsimd_struct): New structure.
10089         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
10090         #include of asm/ptrace.h and second #include of sys/user.h.
10091         (PTRACE_GET_THREAD_AREA): Remove #undef.
10092         (PTRACE_GETHBPREGS): Likewise.
10093         (PTRACE_SETHBPREGS): Likewise.
10094         (ELF_NGREG): Use new struct user_regs_struct.
10095         (elf_fpregset_t): Use new struct user_fpsimd_struct.
10096
10097 2014-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10098
10099         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
10100         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
10101
10102 2014-05-17  Jose E. Marchesi  <jose.marchesi@oracle.com>
10103
10104         [BZ #16958]
10105         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
10106         membar to avoid block loads/stores to overlap previous stores.
10107
10108 2014-05-17  Richard Henderson  <rth@redhat.com>
10109
10110         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
10111         Create the __##syscall_name##_nocancel entry point.
10112         * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
10113         Remove; let the sysdep-cancel.h code create it.
10114
10115 2014-05-17  David S. Miller  <davem@davemloft.net>
10116
10117         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
10118         Protect with __USE_GNU.
10119         (TIOCSET_TEMPT): Likewise.
10120         (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
10121         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
10122         these are already provided in bits/ioctl-types.h
10123
10124 2014-05-16  Roland McGrath  <roland@hack.frob.com>
10125
10126         * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
10127         * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
10128
10129         * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
10130         Use wait4 regardless of [__NR_waitpid].
10131
10132 2014-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
10133
10134         PR libgcc/60166
10135         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
10136         (_FP_NANSIGN_Q): Set the quiet bit.
10137
10138 2014-05-16  Joseph Myers  <joseph@codesourcery.com>
10139
10140         * benchtests/Makefile
10141         ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
10142         not $(common-objpfx)math/libm.so.
10143         ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
10144         $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
10145         * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
10146         $(common-objpfx)dlfcn/libdl.so.
10147         ($(objpfx)tst-audit8): Depend on $(libm), not
10148         $(common-objpfx)math/libm.so.
10149         * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
10150         not $(common-objpfx)dlfcn/libdl.so.
10151         * math/Makefile
10152         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
10153         Depend on $(libm), not $(objpfx)libm.so.  Do not condition on
10154         [$(build-shared) = yes].
10155         ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
10156         $(common-objpfx)nptl/libpthread.so.
10157         * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
10158         $(common-objpfx)math/libm.so$(libm.so-version) or
10159         $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
10160         * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
10161         $(common-objpfx)dlfcn/libdl.so.
10162         * setjmp/Makefile (link-libm): Remove variable.
10163         ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
10164         * stdio-common/Makefile (link-libm): Remove variable.
10165         ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
10166         * stdlib/Makefile (link-libm): Remove variable.
10167         ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
10168         ($(objpfx)tst-strtod-round): Likewise.
10169         ($(objpfx)tst-tininess): Likewise.
10170         ($(objpfx)tst-strtod-underflow): Likewise.
10171         ($(objpfx)tst-strtod6): Likewise.
10172         ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
10173         $(libdl), not $(common-objpfx)nptl/libpthread.so and
10174         $(common-objpfx)dlfcn/libdl.so.
10175
10176 2014-05-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10177
10178         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
10179         BSD terminal modes definitions.
10180
10181 2014-05-16  Roland McGrath  <roland@hack.frob.com>
10182
10183         * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
10184         * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
10185
10186         * sysdeps/unix/sysv/linux/arch-fork.h: New file.
10187         * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
10188         * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
10189         Don't do #include_next.
10190         * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
10191         * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
10192         Don't do #include_next.
10193         * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
10194         * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
10195         * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
10196         * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
10197
10198 2014-05-16  Allan McRae  <allan@archlinux.org>
10199
10200         * po/sv.po: Update Swedish translation from translation project.
10201
10202         * timezone/Makefile ($(objpfx)tzselect): Use correct variable
10203         in sed expression.
10204
10205 2014-05-16  Aurelien Jarno  <aurelien@aurel32.net>
10206
10207         [BZ #16917]
10208         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
10209         errno if the TIOCGPTN ioctl fails with an error different than
10210         EINVAL.
10211         * login/tst-ptsname.c: New file.
10212         * login/Makefile (tests): Add tst-ptsname.
10213
10214         [BZ #16943]
10215         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
10216         and prlimit64.
10217
10218 2014-05-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
10219
10220         [BZ #16849]
10221         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
10222         herrno to return EAI_AGAIN.
10223
10224 2014-05-14  Roland McGrath  <roland@hack.frob.com>
10225
10226         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
10227         * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
10228         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
10229         * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
10230         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
10231         * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
10232         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
10233         * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
10234         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
10235         * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
10236         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
10237         * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
10238         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
10239         * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
10240         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
10241         * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
10242         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
10243         * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
10244         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
10245         * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
10246         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
10247         * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
10248         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
10249         * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
10250         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
10251         * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
10252         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
10253         * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
10254         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
10255         * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
10256         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
10257         * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
10258         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
10259         * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
10260         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
10261         Moved ...
10262         * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
10263         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
10264         * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
10265         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
10266         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
10267         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
10268         * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
10269         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
10270         * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
10271         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
10272         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
10273         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
10274         * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
10275         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
10276         * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
10277         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
10278         * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
10279         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
10280         * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
10281         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
10282         * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
10283         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
10284         * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
10285         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
10286         * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
10287         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
10288         * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
10289         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
10290         Moved ...
10291         * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
10292         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
10293         * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
10294         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
10295         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
10296         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
10297         * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
10298         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
10299         * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
10300         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
10301         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
10302         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
10303         * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
10304         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
10305         * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
10306         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
10307         * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
10308         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
10309         * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
10310         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
10311         Moved ...
10312         * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
10313         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
10314         * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
10315
10316         * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
10317         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
10318         (libpthread-sysdep_routines): Add elision-related stuff here instead.
10319         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
10320         * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
10321         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
10322         * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
10323         * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
10324         * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
10325         * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
10326         * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
10327         * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
10328         * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
10329         * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
10330         * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
10331         * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
10332         * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
10333         * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
10334         * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
10335         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
10336         * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
10337         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
10338         * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
10339         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
10340         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
10341         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
10342         * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
10343         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
10344         * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
10345         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
10346         * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
10347
10348         * sysdeps/unix/sysv/linux/mips/fork.h: New file.
10349         * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
10350
10351         * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
10352         * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
10353         * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
10354         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
10355         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
10356         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
10357         Moved ...
10358         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
10359         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
10360         Moved ...
10361         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
10362         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
10363         Moved ...
10364         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
10365         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
10366         Moved ...
10367         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
10368         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
10369         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
10370         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
10371         Moved ...
10372         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
10373         * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
10374         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
10375         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
10376         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
10377         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
10378         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
10379         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
10380         Moved ...
10381         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
10382         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
10383         Moved ...
10384         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
10385         ... here.
10386         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
10387         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
10388         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
10389         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
10390         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
10391         Moved ...
10392         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
10393         ... here.
10394         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
10395         Moved ...
10396         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
10397         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
10398         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
10399         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
10400         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
10401         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
10402         Moved ...
10403         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
10404         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
10405         Moved ...
10406         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
10407         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
10408         Moved ...
10409         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
10410         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
10411         Moved ...
10412         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
10413         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
10414         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
10415         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
10416         Moved ...
10417         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
10418         * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
10419         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
10420         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
10421         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
10422         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
10423         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
10424         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
10425         Moved ...
10426         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
10427         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
10428         Moved ...
10429         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
10430         ... here.
10431         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
10432         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
10433         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
10434         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
10435         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
10436         Moved ...
10437         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
10438         ... here.
10439         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
10440         Moved ...
10441         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
10442         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
10443         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
10444         * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
10445         * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
10446         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
10447         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
10448         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
10449         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
10450         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
10451         Moved ...
10452         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
10453         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
10454         Moved ...
10455         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
10456         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
10457         Moved ...
10458         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
10459         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
10460         Moved ...
10461         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
10462         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
10463         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
10464         * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
10465         * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
10466         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
10467         Moved ...
10468         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
10469         * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
10470         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
10471         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
10472         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
10473         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
10474         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
10475         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
10476         Moved ...
10477         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
10478         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
10479         Moved ...
10480         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
10481         ... here.
10482         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
10483         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
10484         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
10485         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
10486         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
10487         Moved ...
10488         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
10489         ... here.
10490         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
10491         Moved ...
10492         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
10493         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
10494         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
10495         * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
10496         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
10497         * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
10498         * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
10499         * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
10500         * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
10501         * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
10502         * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
10503
10504         * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
10505         * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
10506
10507         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
10508         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
10509
10510         * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
10511         * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
10512         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
10513         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
10514         * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
10515         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
10516         * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
10517         * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
10518         * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
10519         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
10520         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
10521         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
10522         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
10523         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
10524         * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
10525         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
10526         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
10527         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
10528         Moved ...
10529         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
10530         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
10531         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
10532         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
10533         Moved ...
10534         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
10535         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
10536         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
10537         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
10538         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
10539         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
10540         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
10541         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
10542         Moved ...
10543         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
10544         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
10545         Moved ...
10546         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
10547         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
10548         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
10549         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
10550         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
10551         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
10552         * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
10553         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
10554         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
10555         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
10556         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
10557         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
10558         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
10559         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
10560         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
10561         * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
10562         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
10563
10564         * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
10565         * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
10566         * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
10567         * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
10568         * sysdeps/unix/sysv/linux/i386/fork.h: New file.
10569
10570         * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
10571         * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
10572         * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
10573         * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
10574         * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
10575         * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
10576         * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
10577         * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
10578         * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
10579         * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
10580
10581         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
10582         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
10583
10584         * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
10585         * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
10586         * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
10587         * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
10588         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
10589         * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
10590         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
10591         * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
10592         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
10593         * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
10594         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
10595         * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
10596         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
10597         * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
10598         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
10599         Update #include.
10600         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
10601         Likewise.
10602         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
10603         Likewise.
10604         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
10605         Likewise.
10606         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
10607         Likewise.
10608         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
10609         Likewise.
10610         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
10611         Likewise.
10612         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
10613         Likewise.
10614         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
10615         Likewise.
10616         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
10617         Likewise.
10618         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
10619         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
10620         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
10621         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
10622         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
10623         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
10624         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
10625         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
10626         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
10627         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
10628         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
10629         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
10630         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
10631         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c:  Likewise.
10632         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c:  Likewise.
10633
10634         * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
10635         that was previously under [RESET_PID].
10636         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
10637         * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
10638         * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
10639
10640         * sysdeps/i386/nptl/Implies: New file.
10641         * sysdeps/x86_64/nptl/Implies: New file.
10642         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
10643         * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
10644         * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
10645         * sysdeps/x86/nptl/bits/semaphore.h: ... here.
10646
10647         * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
10648         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
10649         (__libc_vfork): New strong alias.
10650         * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
10651         * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
10652
10653         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
10654         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
10655         (__libc_vfork): New strong alias.
10656         * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
10657         * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
10658
10659         * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
10660         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
10661         (__libc_vfork): New strong alias.
10662         * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
10663         * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
10664         * nptl/pt-vfork.c: New file.
10665         * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
10666         (libpthread: GLIBC_2.20): New version set (empty).
10667
10668 2014-05-14  Will Newton  <will.newton@linaro.org>
10669
10670         * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
10671         rather than #if.
10672
10673 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
10674
10675         [BZ #16564]
10676         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
10677         arguments with exponent 65 or above.
10678         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
10679         arguments 0x1p113L or above.
10680         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
10681         to arguments 0x1p107L or above.
10682         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
10683         positive arguments with exponent 65 or above.
10684         * math/auto-libm-test-in: Add more tests of log1p.
10685         * math/auto-libm-test-out: Regenerated.
10686
10687         [BZ #16928]
10688         * math/s_cacos.c (__cacos): Ensure zero real part of result from
10689         non-finite arguments is +0.
10690         * math/s_cacosf.c (__cacosf): Likewise.
10691         * math/s_cacosl.c (__cacosl): Likewise.
10692         * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
10693         * sysdeps/i386/fpu/libm-test-ulps: Update.
10694         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10695
10696         [BZ #16927]
10697         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
10698         value.
10699         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
10700         * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
10701         * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
10702         for explicit high bit of mantissa when testing for argument equal
10703         to 1.
10704         * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
10705         * sysdeps/i386/fpu/libm-test-ulps: Update.
10706         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10707
10708         [BZ #16516]
10709         * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
10710         (__erf): Scale by 16 instead of 8 in potentially underflowing
10711         case.  Ensure exception if result actually underflows.
10712         * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
10713         (__erff): Scale by 16 instead of 8 in potentially underflowing
10714         case.  Ensure exception if result actually underflows.
10715         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
10716         (efx8): Remove variable.
10717         (__erfl): Scale by 16 instead of 8 in potentially underflowing
10718         case.  Ensure exception if result actually underflows.
10719         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
10720         (efx8): Remove variable.
10721         (__erfl): Scale by 16 instead of 8 in potentially underflowing
10722         case.  Ensure exception if result actually underflows.
10723         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
10724         (efx8): Remove variable.
10725         (__erfl): Scale by 16 instead of 8 in potentially underflowing
10726         case.  Ensure exception if result actually underflows.
10727         * math/auto-libm-test-in: Add more tests of erf.
10728         * math/auto-libm-test-out: Regenerated.
10729
10730 2014-05-14  Andreas Schwab  <schwab@suse.de>
10731
10732         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
10733         Remove code conditionalized on USE___THREAD.
10734
10735         * config.h.in (HAVE_PT_CHOWN): Define as 0.
10736         * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
10737         not definedness.
10738
10739 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
10740
10741         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
10742         Define unconditionally.
10743         (__ASSUME_O_CLOEXEC): Likewise.
10744         (__ASSUME_SOCK_CLOEXEC): Likewise.
10745         (__ASSUME_IN_NONBLOCK): Likewise.
10746         (__ASSUME_PIPE2): Likewise.
10747         (__ASSUME_EVENTFD2): Likewise.
10748         (__ASSUME_SIGNALFD4): Likewise.
10749         (__ASSUME_DUP3): Likewise.
10750         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
10751         (__ASSUME_DUP3): Do not define.
10752         (__ASSUME_EVENTFD2): Likewise.
10753         (__ASSUME_IN_NONBLOCK): Likewise.
10754         (__ASSUME_O_CLOEXEC): Likewise.
10755         (__ASSUME_PIPE2): Likewise.
10756         (__ASSUME_SIGNALFD4): Likewise.
10757         (__ASSUME_SOCK_CLOEXEC): Likewise.
10758         (__ASSUME_UTIMES): Undefine.
10759         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
10760         (__ASSUME_UTIMES): Do not define.
10761         (__ASSUME_O_CLOEXEC): Likewise.
10762         (__ASSUME_SOCK_CLOEXEC): Likewise.
10763         (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
10764         0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
10765         0x020621].
10766         (__ASSUME_PIPE2): Likewise.
10767         (__ASSUME_EVENTFD2): Likewise.
10768         (__ASSUME_SIGNALFD4): Likewise.
10769         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
10770         * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
10771         Do not define.
10772         (__ASSUME_EVENTFD2): Likewise.
10773         (__ASSUME_SIGNALFD4): Likewise.
10774         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
10775         (__ASSUME_32BITUIDS): Likewise.
10776         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
10777         (__ASSUME_IPC64): Likewise.
10778         (__ASSUME_ST_INO_64_BIT): Likewise.
10779         (__ASSUME_GETDENTS64_SYSCALL): Likewise.
10780         [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
10781         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
10782         (__ASSUME_UTIMES): Do not define.
10783         (__ASSUME_PSELECT): Likewise.
10784         (__ASSUME_PPOLL): Likewise.
10785         (__ASSUME_O_CLOEXEC): Likewise.
10786         (__ASSUME_SOCK_CLOEXEC): Likewise.
10787         (__ASSUME_IN_NONBLOCK): Likewise.
10788         (__ASSUME_PIPE2): Likewise.
10789         (__ASSUME_EVENTFD2): Likewise.
10790         (__ASSUME_SIGNALFD4): Likewise.
10791         (__ASSUME_DUP3): Likewise.
10792         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
10793         (__ASSUME_UTIMES): Likewise.
10794         (__ASSUME_O_CLOEXEC): Likewise.
10795         (__ASSUME_SOCK_CLOEXEC): Likewise.
10796         (__ASSUME_IN_NONBLOCK): Likewise.
10797         (__ASSUME_PIPE2): Likewise.
10798         (__ASSUME_EVENTFD2): Likewise.
10799         (__ASSUME_SIGNALFD4): Likewise.
10800         (__ASSUME_DUP3): Likewise.
10801         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
10802         (__ASSUME_UTIMES): Likewise.
10803         (__ASSUME_O_CLOEXEC): Likewise.
10804         (__ASSUME_SOCK_CLOEXEC): Likewise.
10805         (__ASSUME_IN_NONBLOCK): Likewise.
10806         (__ASSUME_PIPE2): Likewise.
10807         (__ASSUME_EVENTFD2): Likewise.
10808         (__ASSUME_SIGNALFD4): Likewise.
10809         (__ASSUME_DUP3): Likewise.
10810         * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
10811         Likewise.
10812         (__ASSUME_UTIMES): Likewise.
10813         (__ASSUME_EVENTFD2): Likewise.
10814         (__ASSUME_SIGNALFD4): Likewise.
10815         * sysdeps/unix/sysv/linux/tile/kernel-features.h
10816         (__ASSUME_O_CLOEXEC): Likewise.
10817         (__ASSUME_SOCK_CLOEXEC): Likewise.
10818         (__ASSUME_IN_NONBLOCK): Likewise.
10819         (__ASSUME_PIPE2): Likewise.
10820         (__ASSUME_EVENTFD2): Likewise.
10821         (__ASSUME_SIGNALFD4): Likewise.
10822         (__ASSUME_DUP3): Likewise.
10823         (__ASSUME_UTIMES): Undefine.
10824
10825         * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
10826         feclearexcept.  Remove symbol versioning code.
10827         * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv.  Remove
10828         symbol versioning code.
10829         * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv.  Remove
10830         symbol versioning code.
10831         * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
10832         feupdateenv.  Remove symbol versioning code.
10833         * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
10834         fegetexceptflag.  Remove symbol versioning code.
10835         * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
10836         fesetexceptflag.  Remove symbol versioning code.
10837         * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
10838         GLIBC_2.2 and GLIBC_2.3.3 entries.  Change GLIBC_2.1 to GLIBC_2.4.
10839         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
10840         (__posix_fadvise64_l32): Remove prototype.
10841         [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
10842         code.
10843
10844 2014-05-13  Roland McGrath  <roland@hack.frob.com>
10845
10846         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
10847         * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
10848         * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
10849         * sysdeps/arm/nptl/bits/semaphore.h: ... here.
10850
10851 2014-05-13  Sami Kerola  <kerolasa@iki.fi>
10852
10853         * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
10854         current working directory
10855
10856 2014-05-13  Roland McGrath  <roland@hack.frob.com>
10857
10858         * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
10859         * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
10860         * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
10861         * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
10862         * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
10863         * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
10864         * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
10865         * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
10866         * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
10867         * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
10868         * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
10869         * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
10870         * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
10871         * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
10872         * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
10873         * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
10874         * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
10875         * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
10876         * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
10877         * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
10878         * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
10879         * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
10880         * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
10881         * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
10882         * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
10883         * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
10884         * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
10885         * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
10886         * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
10887         * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
10888         * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
10889         * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
10890         * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
10891         * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
10892         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
10893         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
10894         * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
10895         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
10896         * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
10897         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
10898         * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
10899         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
10900
10901         * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
10902         * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
10903
10904         * sysdeps/unix/sysv/linux/arm/Makefile
10905         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
10906         Add rt-aeabi_unwind_cpp_pr1.
10907         [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
10908         Add nptl-aeabi_unwind_cpp_pr1.
10909         [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
10910         * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
10911         * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
10912         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
10913         * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
10914         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
10915
10916         * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
10917         * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
10918         * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
10919         * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
10920
10921         * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
10922         Deconditionalize the code that was previously under [RESET_PID].
10923         * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
10924
10925         * sysdeps/generic/exit-thread.h: New file.
10926         * sysdeps/unix/sysv/linux/exit-thread.h: New file.
10927         * include/unistd.h (__exit_thread): Remove declaration.
10928         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
10929         * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
10930         * csu/libc-start.c: Include <exit-thread.h>.
10931         (LIBC_START_MAIN): Pass no argument to __exit_thread.
10932         * nptl/pthread_create.c: Include <exit-thread.h>.
10933         (start_thread): Call __exit_thread in place of __exit_thread_inline.
10934         * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
10935         * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
10936         * nptl/sysdeps/s390/pthreaddef.h: Likewise.
10937         * nptl/sysdeps/sh/pthreaddef.h: Likewise.
10938         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
10939         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
10940         * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
10941         * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
10942         * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
10943         * sysdeps/arm/nptl/pthreaddef.h: Likewise.
10944         * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
10945         * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
10946         * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
10947         * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
10948         * sysdeps/mips/nptl/pthreaddef.h: Likewise.
10949         * sysdeps/tile/nptl/pthreaddef.h: Likewise.
10950
10951 2014-05-13  Andreas Schwab  <schwab@suse.de>
10952
10953         * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
10954
10955 2014-05-12  Joseph Myers  <joseph@codesourcery.com>
10956
10957         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
10958         (__ASSUME_UTIMES): Do not condition on kernel version.
10959         (__ASSUME_PSELECT): Define unconditionally.
10960         (__ASSUME_PPOLL): Likewise.
10961         (__ASSUME_ATFCTS): Likewise.
10962         (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
10963         (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
10964         (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
10965         (__ASSUME_UTIMENSAT): Define unconditionally.
10966         (__ASSUME_PRIVATE_FUTEX): Likewise.
10967         (__ASSUME_FALLOCATE): Likewise.
10968         (__ASSUME_O_CLOEXEC): Likewise.
10969         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
10970         (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
10971         (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
10972         (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
10973         (__ASSUME_IN_NONBLOCK): Likewise.
10974         (__ASSUME_PIPE2): Likewise.
10975         (__ASSUME_EVENTFD2): Likewise.
10976         (__ASSUME_SIGNALFD4): Likewise.
10977         (__ASSUME_DUP3): Likewise.
10978         [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
10979         (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
10980         (__ASSUME_AT_RANDOM): Likewise.
10981         (__ASSUME_PREADV): Likewise.
10982         (__ASSUME_PWRITEV): Likewise.
10983         (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
10984         (__ASSUME_F_GETOWN_EX): Define unconditionally.
10985         (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
10986         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
10987         [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
10988         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
10989         (__ASSUME_O_CLOEXEC): Define unconditionally.
10990         (__ASSUME_PSELECT): Do not undefine conditionally.
10991         (__ASSUME_PPOLL): Likewise.
10992         (__ASSUME_ATFCTS): Likewise.
10993         (__ASSUME_SET_ROBUST_LIST): Likewise.
10994         (__ASSUME_UTIMENSAT): Likewise.
10995         (__ASSUME_FDATASYNC): Define unconditionally.
10996         * sysdeps/unix/sysv/linux/arm/kernel-features.h
10997         (__ASSUME_SIGFRAME_V2): Likewise.
10998         )__ASSUME_EVENTFD2): Likewise.
10999         (__ASSUME_SIGNALFD4): Likewise.
11000         (__ASSUME_PSELECT): Do not undefine conditionally.
11001         (__ASSUME_PPOLL): Likewise.
11002         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
11003         (__ASSUME_PSELECT): Define unconditionally.
11004         (__ASSUME_PPOLL): Likewise.
11005         (__ASSUME_O_CLOEXEC): Likewise.
11006         (__ASSUME_SOCK_CLOEXEC): Likewise.
11007         (__ASSUME_IN_NONBLOCK): Likewise.
11008         (__ASSUME_PIPE2): Likewise.
11009         (__ASSUME_EVENTFD2): Likewise.
11010         (__ASSUME_SIGNALFD4): Likewise.
11011         (__ASSUME_DUP3): Likewise.
11012         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
11013         (__ASSUME_O_CLOEXEC): Likewise.
11014         (__ASSUME_SOCK_CLOEXEC): Likewise.
11015         (__ASSUME_IN_NONBLOCK): Likewise.
11016         (__ASSUME_PIPE2): Likewise.
11017         (__ASSUME_EVENTFD2): Likewise.
11018         (__ASSUME_SIGNALFD4): Likewise.
11019         (__ASSUME_DUP3): Likewise.
11020         * sysdeps/unix/sysv/linux/mips/kernel-features.h
11021         (__ASSUME_EVENTFD2): Likewise.
11022         (__ASSUME_SIGNALFD4): Likewise.
11023         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
11024
11025 2014-05-12  Andreas Schwab  <schwab@suse.de>
11026
11027         [BZ #16932]
11028         * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
11029         (_nss_nis_gethostbyname4_r): Return error if item length is larger
11030         than maximum RPC packet size.
11031         * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
11032         * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
11033         * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
11034         (_nss_nis_getservbyport_r): Likewise.
11035
11036 2014-05-12  Will Newton  <will.newton@linaro.org>
11037
11038         * malloc/Makefile (tests): Add tst-mallopt.
11039         * malloc/tst-mallopt.c: New file.
11040
11041 2014-05-09  Roland McGrath  <roland@hack.frob.com>
11042
11043         * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
11044         [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
11045
11046 2014-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11047
11048         * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
11049         (tst-tlsmod6.so): Likewise.
11050
11051 2014-05-09  Roland McGrath  <roland@hack.frob.com>
11052
11053         * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
11054
11055 2014-05-09  Joseph Myers  <joseph@codesourcery.com>
11056
11057         [BZ #16064]
11058         * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
11059         and <dl-procinfo.h>.
11060         (__fegetenv): Save SSE state in envp->__eip if supported.
11061         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
11062         envp->__eip if supported.
11063         * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
11064         and <dl-procinfo.h>.
11065         (__fesetenv): Always set __eip, __cs_selector, __opcode,
11066         __data_offset and __data_selector in environment to 0.  Set SSE
11067         state if supported.
11068         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
11069         test-fenv-sse.
11070         [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
11071         -mfpmath=sse.
11072         * sysdeps/x86/fpu/test-fenv-sse.c: New file.
11073
11074 2014-05-09  Will Newton  <will.newton@linaro.org>
11075
11076         * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
11077         and libc_relro_required for ARM.
11078         * sysdeps/arm/preconfigure: Regenerate.
11079
11080 2014-05-09  Dominik Vogt  <vogt@linux.vnet.ibm.com>
11081             Stefan Liebler  <stli@linux.vnet.ibm.com>
11082
11083         * config.make.in (enable-lock-elision): New Makefile variable.
11084         * configure.ac: Likewise.
11085         * configure: Regenerate.
11086         * sysdeps/s390/configure.ac:
11087         Add check for gcc transactions support.
11088         * sysdeps/s390/configure: Regenerate.
11089         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
11090         Build elision files if enabled.
11091         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
11092         Add lock elision support for s390.
11093         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
11094         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
11095         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
11096         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
11097         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
11098         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
11099         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
11100         Likewise.
11101         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
11102         Likewise.
11103         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
11104         Likewise.
11105         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
11106         Likewise.
11107         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
11108         (__lll_timedlock_elision, __lll_lock_elision)
11109         (__lll_unlock_elision, __lll_trylock_elision)
11110         (lll_timedlock_elision, lll_lock_elision)
11111         (lll_unlock_elision, lll_trylock_elision): Add.
11112         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
11113         (pthread_mutex_t): Add lock elision support for s390.
11114
11115 2014-05-14  Wilco  <wdijkstr@arm.com>
11116
11117         * sysdeps/arm/fclrexcpt.c: Cleanup.
11118         * sysdeps/arm/fedisblxcpt.c: Cleanup.
11119         * sysdeps/arm/feenablxcpt.c: Cleanup.
11120         * sysdeps/arm/fegetenv.c: Cleanup.
11121         * sysdeps/arm/fegetexcept.c: Cleanup.
11122         * sysdeps/arm/fegetround.c: Cleanup.
11123         * sysdeps/arm/feholdexcpt.c: Cleanup.
11124         * sysdeps/arm/fesetenv.c: Cleanup.
11125         * sysdeps/arm/fesetround.c: Cleanup.
11126         * sysdeps/arm/feupdateenv.c: Cleanup.
11127         * sysdeps/arm/fgetexcptflg.c: Cleanup.
11128         * sysdeps/arm/fraiseexcpt.c: Cleanup.
11129         * sysdeps/arm/fsetexcptflg.c: Cleanup.
11130         * sysdeps/arm/ftestexcept.c: Cleanup.
11131         * sysdeps/arm/get-rounding-mode.h: Cleanup.
11132         * sysdeps/arm/setfpucw.c: Cleanup.
11133
11134 2014-05-09  Will Newton  <will.newton@linaro.org>
11135
11136         * sysdeps/arm/armv7/strcmp.S: New file.
11137         * NEWS: Mention addition of ARMv7 optimized strcmp.
11138
11139 2014-05-08  Roland McGrath  <roland@hack.frob.com>
11140
11141         * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
11142         look for %.ac rather than %.in.
11143
11144         * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
11145         * sysdeps/unix/sysv/linux/configure.ac: Likewise.
11146         * sysdeps/mach/hurd/configure: Regenerated.
11147         * sysdeps/unix/sysv/linux/configure: Regenerated.
11148
11149         * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
11150
11151 2014-05-07  Steve Ellcey  <sellcey@mips.com>
11152
11153         [BZ# 16922]
11154         * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
11155         (LONG_SUB): Ditto.
11156         (PTR_SUB): Ditto.
11157
11158 2014-05-07  Andreas Schwab  <schwab@suse.de>
11159
11160         * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
11161         when skipping over non-matching result from nscd.
11162
11163 2014-05-07  Ondřej Bílka  <neleai@seznam.cz>
11164
11165         [BZ #16876]
11166         * nptl/sockperf.c (client): Check socket return value.
11167
11168         [BZ #16877]
11169         * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
11170         nscd security class.
11171
11172 2014-05-06  Roland McGrath  <roland@hack.frob.com>
11173
11174         * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
11175         * sysdeps/arm/unwind.h: ... here.
11176
11177 2014-05-06  Aurelien Jarno  <aurelien@aurel32.net>
11178
11179         [BZ# 16916]
11180         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
11181         Define.
11182
11183 2014-05-06  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
11184
11185         * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
11186         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
11187         multiarch strncpy for PPC64.
11188         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
11189         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
11190         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
11191         multiarch optimizations.
11192         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
11193         (__libc_ifunc_impl_list): Likewise.
11194         * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
11195         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
11196         multiarch stpncpy for PPC64.
11197         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
11198         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
11199
11200 2014-05-06  Andreas Schwab  <schwab@suse.de>
11201
11202         [BZ #16912]
11203         * gmon/mcount.c (_MCOUNT_DECL): Use
11204         atomic_compare_and_exchange_bool_acq instead of
11205         catomic_compare_and_exchange_bool_acq.
11206
11207 2014-05-05  Roland McGrath  <roland@hack.frob.com>
11208
11209         * elf/Makefile (others, install-bin): Remove pldd.
11210         (pldd-modules): Variable removed.
11211         ($(objpfx)pldd): Target removed.
11212         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
11213         (others, install-bin): Append pldd here.
11214         ($(objpfx)pldd): New target.
11215
11216         * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
11217         to 0, so the first #if test emitted later doesn't see it undefined.
11218         (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
11219         * sysdeps/gnu/errlist.c: Regenerated.
11220
11221 2014-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11222
11223         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
11224         [libc_hidden_builtin_def]: Define to empty value.
11225         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
11226         [libc_hidden_builtin_def]: Likewise.
11227         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
11228         [libc_hidden_builtin_def]: Likewise.
11229         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
11230         [libc_hidden_builtin_def]: Likewise.
11231         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
11232         __redirect_memcpy and define ifunc as default hidden symbol.
11233         * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
11234         * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
11235
11236 2014-05-04  Adam Conrad  <adconrad@0c3.net>
11237
11238         * locale/iso-4217.def: Reintroduce XDR currency.
11239
11240 2014-05-04  Allan McRae  <allan@archlinux.org>
11241
11242         * po/eo.po: Update Esperanto translation from translation project.
11243
11244 2014-05-02  Carlos O'Donell  <carlos@redhat.com>
11245
11246         * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
11247         and FEATURE_INDEX_MAX to 1.
11248         [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
11249
11250 2014-05-01  Steve Ellcey  <sellcey@mips.com>
11251
11252         * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
11253         * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
11254         * iconvdata/big5.c (ONE_DIRECTION): Define.
11255         * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
11256         * iconvdata/cp1255.c (ONE_DIRECTION): Define.
11257         * iconvdata/cp1258.c (ONE_DIRECTION): Define.
11258         * iconvdata/cp932.c (ONE_DIRECTION): Define.
11259         * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
11260         * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
11261         * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
11262         * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
11263         * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
11264         * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
11265         * iconvdata/gb18030.c (ONE_DIRECTION): Define.
11266         * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
11267         * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
11268         * iconvdata/gbk.c (ONE_DIRECTION): Define.
11269         * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
11270         * iconvdata/ibm930.c (ONE_DIRECTION): Define.
11271         * iconvdata/ibm932.c (ONE_DIRECTION): Define.
11272         * iconvdata/ibm933.c (ONE_DIRECTION): Define.
11273         * iconvdata/ibm935.c (ONE_DIRECTION): Define.
11274         * iconvdata/ibm937.c (ONE_DIRECTION): Define.
11275         * iconvdata/ibm939.c (ONE_DIRECTION): Define.
11276         * iconvdata/ibm943.c (ONE_DIRECTION): Define.
11277         * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
11278         * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
11279         * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
11280         * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
11281         * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
11282         * iconvdata/iso646.c (ONE_DIRECTION): Define.
11283         * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
11284         * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
11285         * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
11286         * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
11287         * iconvdata/johab.c (ONE_DIRECTION): Define.
11288         * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
11289         * iconvdata/sjis.c (ONE_DIRECTION): Define.
11290         * iconvdata/t.61.c (ONE_DIRECTION): Define.
11291         * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
11292         * iconvdata/tscii.c (ONE_DIRECTION): Define.
11293         * iconvdata/uhc.c (ONE_DIRECTION): Define.
11294         * iconvdata/unicode.c (ONE_DIRECTION): Define.
11295         * iconvdata/utf-16.c (ONE_DIRECTION): Define.
11296         * iconvdata/utf-32.c (ONE_DIRECTION): Define.
11297         * iconvdata/utf-7.c (ONE_DIRECTION): Define.
11298
11299 2014-05-01  Roland McGrath  <roland@hack.frob.com>
11300
11301         * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
11302         (_IO_JUMPS_OFFSET): Define to 0.
11303
11304         * nptl/sysdeps/pthread/bits/libc-lock.h
11305         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
11306         (__libc_lock_define_initialized_recursive): Always define using
11307         initializer.  Modern compilers treat uninitialized (implicit zero) and
11308         explicit zero initializers the same (i.e. put the datum in bss).
11309
11310 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
11311
11312         * nscd/nscd-client.h: Include <string.h>.
11313
11314 2014-05-01  David S. Miller  <davem@davemloft.net>
11315
11316         [BZ #16885]
11317         * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
11318         multiple zero bytes exist at the end of a string.
11319         Reported by Aurelien Jarno <aurelien@aurel32.net>
11320
11321         * string/test-strcmp.c (check): Add explicit test for situations where
11322         there are multiple zero bytes after the first.
11323
11324 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
11325
11326         [BZ #16890]
11327         * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
11328         when compiling wprintf.
11329         * stdio-common/tstdiomisc.c (t3): New function.
11330         (main): Call it.
11331
11332 2014-05-01  Steve Ellcey  <sellcey@mips.com>
11333
11334         * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
11335         * iconv/gconv_simple.c (ONE_DIRECTION): Define.
11336         * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
11337         * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
11338
11339 2014-05-01  Steve Ellcey  <sellcey@mips.com>
11340
11341         * stdlib/longlong.h: Updated from GCC.
11342
11343 2014-05-01  Will Newton  <will.newton@linaro.org>
11344             Bernard Ogden  <bernie.ogden@linaro.org>
11345
11346         * NEWS: Update fixed bug list.
11347
11348         [BZ #15119]
11349         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
11350
11351 2014-04-30  David S. Miller  <davem@davemloft.net>
11352
11353         * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
11354         (libc_feholdexcept_setround_sparc_ctx): New function.
11355         (libc_fesetenv_sparc_ctx): Likewise.
11356         (libc_feupdateenv_sparc_ctx): Likewise.
11357         (libc_feholdsetround_sparc_ctx): Likewise.
11358         (libc_feholdexcept_setround_ctx): Define.
11359         (libc_feholdexcept_setroundf_ctx): Likewise.
11360         (libc_feholdexcept_setroundl_ctx): Likewise.
11361         (libc_fesetenv_ctx): Likewise.
11362         (libc_fesetenvf_ctx): Likewise.
11363         (libc_fesetenvl_ctx): Likewise.
11364         (libc_feupdateenv_ctx): Likewise.
11365         (libc_feupdateenvf_ctx): Likewise.
11366         (libc_feupdateenvl_ctx): Likewise.
11367         (libc_feresetround_ctx): Likewise.
11368         (libc_feresetroundf_ctx): Likewise.
11369         (libc_feresetroundl_ctx): Likewise.
11370         (libc_feholdsetround_ctx): Likewise.
11371         (libc_feholdsetroundf_ctx): Likewise.
11372         (libc_feholdsetroundl_ctx): Likewise.
11373
11374         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
11375         with __USE_GNU instead of XOPEN cpp guards.
11376
11377         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
11378         0.
11379
11380         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
11381         with XOPEN cpp guards.
11382
11383 2014-04-30  Julian Brown  <julian@codesourcery.com>
11384
11385         [BZ #16888]
11386         * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
11387         handling.
11388
11389 2014-04-30  Joseph Myers  <joseph@codesourcery.com>
11390
11391         [BZ #9894]
11392         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
11393         Change to 2.6.32.
11394         (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
11395         * sysdeps/unix/sysv/linux/configure: Regenerated.
11396         * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
11397         * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
11398         * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
11399         * sysdeps/unix/sysv/linux/tile/configure: Likewise.
11400         * README: Update reference to required Linux kernel version.
11401         * manual/install.texi (Linux): Update reference to required Linux
11402         kernel headers version.
11403         * INSTALL: Regenerated.
11404
11405         * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
11406         header inclusion.
11407         [POSIX] (limits.h): Likewise.
11408         [POSIX] (math.h): Likewise.
11409         [POSIX] (sys/wait.h): Likewise.
11410         * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
11411         function.
11412         [POSIX] (stddef.h): Do not allow header inclusion.
11413
11414 2014-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11415
11416         * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
11417
11418 2014-04-30  Yang Yingliang  <yangyingliang@huawei.com>
11419
11420         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
11421         Return immediately after lll_futex_wake.
11422
11423 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
11424
11425         [BZ #16791]
11426         * nscd/nscd-client.h (datahead_init_common): Initialize entire
11427         structure.
11428         (datahead_init_pos): Call datahead_init_common early.
11429         (datahead_init_neg): Likewise.
11430
11431         * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
11432         datahead_init_neg): New functions.
11433         * nscd/aicache.c (addhstaiX): Use them.
11434         * nscd/grpcache.c (cache_addgr): Likewise.
11435         * nscd/hstcache.c (cache_addhst): Likewise.
11436         * nscd/initgrcache.c (addinitgroupsX): Likewise.
11437         * nscd/netgroupcache.c (do_notfound): Likewise.
11438         (addgetnetgrentX): Likewise.
11439         (addinnetgrX): Likewise.
11440         * nscd/pwdcache.c (cache_addpw): Likewise.
11441         * nscd/servicescache.c (cache_addserv): Likewise.
11442
11443 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
11444             Atsushi Onoe  <atsushi@onoe.org>
11445
11446         [BZ #14308]
11447         [BZ #12994]
11448         [BZ #13651]
11449         * resolv/res_query.c (__libc_res_nsearch): Return if at least
11450         one response is valid.
11451         * resolv/res_send.c (send_dg): Check for validity of other
11452         response if the current response is a referral.
11453
11454 2014-04-29  Steve Ellcey  <sellcey@mips.com>
11455
11456         * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
11457
11458 2014-04-29  Stefan Liebler  <stli@linux.vnet.ibm.com>
11459
11460         [BZ #16823]
11461         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
11462         Always divide by positive zero when computing -Inf result.
11463         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
11464         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
11465
11466 2014-04-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11467
11468         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
11469         FPSCR if value do not change.
11470         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
11471         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
11472         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
11473         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
11474         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
11475         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
11476         function.
11477
11478 2014-05-29  Carlos O'Donell  <carlos@systemhalted.org>
11479
11480         * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
11481         * sysdeps/unix/sysv/linux/hppa: Move directory from
11482         ports/systeps/unix/sysv/linux/hppa.
11483         * README: Update listing for hppa-*-linux-gnu.
11484
11485 2014-04-28  Ondřej Bílka  <neleai@seznam.cz>
11486
11487         [BZ #16754]
11488         * manual/stdio.texi (Hook functions): Fix types of stream hook
11489         functions.
11490         [BZ #16854]
11491         * socket/sys/socket.h: Fix typo in comment.
11492
11493 2014-04-28  Wilco  <wdijkstr@arm.com>
11494
11495         * sysdeps/arm/fenv_private.h: New file.
11496         * sysdeps/arm/math_private.h: New file.
11497         * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
11498
11499 2014-04-25  H.J. Lu  <hongjiu.lu@intel.com>
11500
11501         * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
11502         with __int128_t.
11503         (La_x86_64_retval): Likewise.
11504
11505 2014-04-24  Ian Bolton  <ian.bolton@arm.com>
11506
11507         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
11508         fpsr if value didn't change.
11509         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
11510         to fpcr if value didn't change.
11511         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
11512         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
11513         fpsr or fpcr if value didn't change.
11514         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
11515         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
11516         fpcr if value didn't change.
11517         * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
11518         to fpsr if value didn't change.
11519
11520 2014-02-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
11521
11522         * nptl/tst-sem3.c: Use test-skeleton.c
11523         (main): Rename to do_test.  Use return instead of
11524         exit.
11525         * nptl/tst-sem4.c: Use test-skeleton.c
11526         (main): Rename to do_test.
11527
11528 2014-04-22  David S. Miller  <davem@davemloft.net>
11529
11530         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
11531         (struct sigaction): New struct member __glibc_reserved0, change
11532         type of sa_flags to int.
11533
11534 2014-04-22  Yufeng Zhang  <yufeng.zhang@arm.com>
11535
11536         * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
11537         (COUNT_LEADING_ZEROS_0): Define for AArch64.
11538
11539 2014-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
11540
11541         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
11542         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
11543
11544 2014-04-22  Will Newton  <will.newton@linaro.org>
11545             Venkataramanan Kumar  <venkataramanan.kumar@linaro.org>
11546
11547         * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
11548         (__longjmp): Add longjmp and longjmp_target SystemTap
11549         probes.
11550         * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
11551         (__sigsetjmp): Add setjmp SystemTap probe.
11552
11553 2014-04-17  Carlos O'Donell  <carlos@redhat.com>
11554
11555         * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
11556         match manual order.
11557
11558 2014-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11559
11560         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
11561
11562         * sysdeps/powerpc/fpu/fenv_private.h
11563         (libc_feholdexcept_setroundl_ctx): Define to
11564         libc_feholdexcept_setround_ppc_ctx.
11565         (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
11566         (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
11567         (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
11568         (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
11569
11570 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
11571
11572         * sysdeps/aarch64/math-tests.h: New file.
11573
11574 2014-04-17  Sihai Yao  <sihai.ysh@alibaba-inc.com>
11575
11576         * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
11577         New.
11578         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
11579         Check and set bit_AVX2_Usable.
11580         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
11581         macro.
11582         (bit_AVX2): Likewise.
11583         (index_AVX2_Usable): Likewise.
11584         (CPUID_AVX2): Likewise.
11585         (HAS_AVX2): Likewise.
11586
11587 2014-04-17  Will Newton  <will.newton@linaro.org>
11588
11589         * manual/setjmp.texi (System V contexts): Add note that
11590         calling setcontext on a context created by a call to a
11591         signal handler is undefined.  Update text to note that
11592         setcontext from a signal handler is possible but not
11593         recommended.
11594
11595         [BZ #16629]
11596         * stdlib/tst-setcontext.c: Include signal.h.
11597         (main): Check that the signal stack before and
11598         after swapcontext is the same.
11599
11600         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
11601         Re-implement to restore registers in user code and avoid
11602         rt_sigreturn system call.
11603
11604 2014-04-17  Wilco  <wdijkstr@arm.com>
11605
11606         * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
11607         * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
11608         * math/test-fenv.c: Skip exception trap tests on targets which only
11609         support non-stop mode.
11610
11611 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
11612             Wilco Dijkstra  <wilco.dijkstra@arm.com>
11613
11614         * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
11615         (libc_feholdsetround_aarch64_ctx)
11616         (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
11617         (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
11618         (libc_feresetround_ctx, libc_feresetroundf_ctx)
11619         (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
11620         (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
11621         (libc_feresetround_noexl_ctx): Define.
11622
11623 2014-04-16  Richard Henderson  <rth@redhat.com>
11624
11625         * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
11626
11627         * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
11628         unwind tables.
11629
11630         * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
11631         const from the non-libc, non-ldso copy.
11632
11633         * sysdeps/alpha/libm-test-ulps: Regenerate.
11634
11635 2014-04-16  Ian Bolton  <ian.bolton@arm.com>
11636             Wilco Dijkstra  <wilco.dijkstra@arm.com>
11637
11638         * sysdeps/aarch64/fpu/math_private.h: New file.
11639
11640 2014-04-16  Marcus Shawcroft  <marcus.shawcroft@arm.com>
11641
11642         * sysdeps/aarch64/libm-test-ulps: Regenerate.
11643
11644 2014-04-16  Igor Zamyatin  <igor.zamyatin@intel.com>
11645
11646         [BZ #16275]
11647         * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
11648         (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
11649         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
11650         Intel MPX bound registers before _dl_profile_fixup.
11651         * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
11652         registers after _dl_profile_fixup.  Save and restore bound
11653         registers bnd0/bnd1 when calling _dl_call_pltexit.
11654         * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
11655         (LR_BND_OFFSET): Likewise.
11656         (LRV_BND0_OFFSET): Likewise.
11657         (LRV_BND1_OFFSET): Likewise.
11658
11659 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
11660
11661         * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
11662         to...
11663         * sysdeps/mach/hurd/i386/tls.h: ... here.
11664         (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
11665         pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
11666         fields.
11667
11668 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
11669
11670         * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
11671
11672 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
11673
11674         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
11675
11676 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
11677
11678         [BZ #14770]
11679         * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
11680         * sysdeps/s390/configure: Regenerate.
11681
11682         [BZ #16824]
11683         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
11684         Set round-to-nearest internally to reduce error accumulation.
11685
11686 2014-04-16  Alan Modra  <amodra@gmail.com>
11687
11688         [BZ #16740]
11689         [BZ #16619]
11690         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
11691         * math/libm-test.inc (frexp_test_data): Add tests.
11692         * NEWS: Update fixed bug list.
11693
11694 2014-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
11695
11696         * benchtests/Makefile: Depend on libraries in build directory.
11697         (bench-math): Separate out math tests.
11698         (bench-pthread): Separate out pthread tests.
11699         (bench): Include math and pthread tests.
11700
11701 2014-04-14  Carlos O'Donell  <carlos@redhat.com>
11702
11703         [BZ #16831]
11704         * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
11705         _dl_debug_initialize.
11706
11707         * configure.ac: Remove SELinux header check.
11708         * configure: Regenerate.
11709         * nscd/selinux.c (perms): Array of const char* to permission names.
11710         (nscd_request_avc_has_perm): Call security_deny_unknown to find
11711         default policy. Call string_to_security_class and string_to_av_perm to
11712         translate strings. Enforce default policy and call avs_has_perm with
11713         results of translated strings.
11714
11715 2014-04-13  David S. Miller  <davem@davemloft.net>
11716
11717         * sysdeps/sparc/fpu/libm-test-ulps: Update.
11718
11719 2014-04-12  Allan McRae  <allan@archlinux.org>
11720
11721         [BZ #16838]
11722         * manual/string.texi (Collation Functions): Fix qsort argument
11723         order in example.
11724         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
11725
11726 2014-04-11  Chris Metcalf  <cmetcalf@tilera.com>
11727
11728         * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
11729         Make the test a no-op if there are no exceptions defined.
11730
11731 2014-04-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
11732
11733         * elf/Makefile (tests): make tst-dlopen-aout conditional on
11734         enable-hardcoded-path-in-tests
11735
11736 2014-04-11  Will Newton  <will.newton@linaro.org>
11737
11738         * benchtests/Makefile (extra-objs): Add json-lib.o.
11739         (bench-func): Tidy up JSON output.
11740         * benchtests/bench-skeleton.c: Include json-lib.h.
11741         (main): Use JSON library functions to do output of
11742         benchmark results.
11743         * benchtests/bench-timing-type.c (main): Output the
11744         timing type simply, leaving formatting to the user.
11745         * benchtests/json-lib.c: New file.
11746         * benchtests/json-lib.h: Likewise.
11747
11748 2014-04-11  Torvald Riegel  <triegel@redhat.com>
11749
11750         [BZ #15215]
11751         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
11752         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here.  Add missing
11753         memory barriers.  Add comments.
11754         * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
11755         * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
11756         * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
11757         * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
11758         * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
11759         * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
11760
11761 2014-04-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
11762
11763         * sysdeps/s390/s390-32/configure.ac: Unify file with ...
11764         * sysdeps/s390/s390-64/configure.ac: ... this ...
11765         * sysdeps/s390/configure.ac: ... to here.
11766         * sysdeps/s390/s390-32/configure: Delete file.
11767         * sysdeps/s390/s390-64/configure: Delete file.
11768         * sysdeps/s390/configure: Regenerate.
11769
11770 2014-04-11  Joseph Anthony Pasquale Holsten  <joseph@josephholsten.com>
11771
11772         * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
11773
11774 2014-04-11  Will Newton  <will.newton@linaro.org>
11775
11776         * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
11777         to zero if it is not defined elsewhere.  (mtrim): Test
11778         the value of MALLOC_DEBUG with #if rather than #ifdef.
11779
11780 2014-04-10 Torvald Riegel  <triegel@redhat.com>
11781
11782         * benchtests/pthread_once-inputs: New file.
11783         * benchtests/pthread_once-source.c: New file.
11784         * benchtests/README: Update documentation.
11785
11786 2014-04-09  Igor Zamyatin  <igor.zamyatin@intel.com>
11787             H.J. Lu  <hongjiu.lu@intel.com>
11788
11789         [BZ #16275]
11790         * config.h.in (HAVE_MPX_SUPPORT): New #undef.
11791         * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
11792         * sysdeps/x86_64/configure: Regenerated.
11793         * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
11794         macro.
11795         (REGISTER_SAVE_RAX): Likewise.
11796         (REGISTER_SAVE_RCX): Likewise.
11797         (REGISTER_SAVE_RDX): Likewise.
11798         (REGISTER_SAVE_RSI): Likewise.
11799         (REGISTER_SAVE_RDI): Likewise.
11800         (REGISTER_SAVE_R8): Likewise.
11801         (REGISTER_SAVE_R9): Likewise.
11802         (REGISTER_SAVE_BND0): Likewise.
11803         (REGISTER_SAVE_BND1): Likewise.
11804         (REGISTER_SAVE_BND2): Likewise.
11805         (_dl_runtime_resolve): Use them.  Save and restore Intel MPX
11806         bound registers when calling _dl_fixup.
11807
11808 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11809
11810         * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
11811         * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
11812         of its definition.
11813         * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
11814         * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
11815         * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
11816         * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
11817         * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
11818         * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
11819         * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
11820
11821 2014-04-09  Peter Brett  <peter@peter-b.co.uk>
11822
11823         [BZ #15514]
11824         * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
11825         pathconf(_PC_NAME_MAX).
11826
11827 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11828
11829         * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
11830         Remove macro usage.
11831         (__PTHREAD_SPINS): Move definition to ...
11832         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
11833         (__PTHREAD_SPINS): ... here.
11834         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
11835         (__PTHREAD_SPIN): Likewise.
11836         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
11837         (__PTHREAD_SPIN): Likewise.
11838         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
11839         (__PTHREAD_SPIN): Likewise.
11840         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
11841         (__PTHREAD_SPIN): Likewise.
11842         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
11843         (__PTHREAD_SPIN): Likewise.
11844         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
11845         (__PTHREAD_SPIN): Likewise.
11846         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
11847         (__PTHREAD_SPIN): Likewise.
11848         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
11849         (__PTHREAD_SPIN): Likewise.
11850         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
11851         (__PTHREAD_SPIN): Likewise.
11852         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
11853         (__PTHREAD_SPIN): Likewise.
11854         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
11855         (__PTHREAD_SPIN): Likewise.
11856         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
11857         (__PTHREAD_SPIN): Likewise.
11858
11859         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
11860         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
11861         * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
11862         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
11863         imply folder.
11864         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
11865         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
11866         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
11867         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
11868         correct imply path.
11869         * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
11870         strlen symbol for non multi-arch builds.
11871         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
11872         missing hidden_def and weak_alias.
11873
11874 2014-04-08  Carlos O'Donell  <carlos@redhat.com>
11875
11876         * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
11877
11878 2014-04-07  Will Newton  <will.newton@linaro.org>
11879
11880         * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
11881         and contents.  [!_LIBC] Remove #ifndef and contents.
11882         (basename): Use ANSI prototype.  [_LIBC] Remove #idef.
11883         * string/memccpy.c (__memccpy): Use ANSI prototype.
11884         * string/memfrob.c (memfrob): Likewise.
11885         * string/strcoll.c (STRCOLL): Likewise.
11886         * string/strlen.c (strlen): Likewise.
11887         * string/strtok.c (STRTOK): Likewise.
11888         * string/strcat.c: Remove unused #include of memcopy.h.
11889         (strcat): Use ANSI prototype.
11890         * string/strchr.c: Remove unused #include of memcopy.h.
11891         (strchr): Use ANSI prototype.
11892         * string/strcmp.c: Remove unused #include of memcopy.h.
11893         (strcmp): Use ANSI prototype.
11894         * string/strcpy.c: Remove unused #include of memcopy.h.
11895         (strcpy): Use ANSI prototype.
11896
11897 2014-04-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11898
11899         * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
11900         * config.make.in (config-extra-cppflags): Set it from
11901         libc_extra_cppflags.
11902         * configure.ac (libc_extra_cflags): Make it accumulate over
11903         configure fragments.
11904         (libc_extra_cppflags): New flag.
11905         * configure. Regenerate.
11906         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
11907         (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
11908         not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
11909         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
11910
11911         [BZ #16815]
11912         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
11913         result for FE_DOWNWARD rounding mode.
11914         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
11915         Likewise.
11916         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11917
11918 2014-04-04  Chris Metcalf  <cmetcalf@tilera.com>
11919
11920         * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
11921         in function argument name.
11922
11923 2014-04-03  David Svoboda  <svoboda@cert.org>
11924
11925         [BZ #5666]
11926         * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
11927         explicitly.
11928
11929 2014-04-03  Roland McGrath  <roland@hack.frob.com>
11930
11931         * elf/dl-unmap-segments.h: New file.
11932         * sysdeps/generic/ldsodefs.h
11933         (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
11934         * elf/dl-close.c: Include <dl-unmap-segments.h>.
11935         * elf/dl-fptr.c: Likewise.
11936         (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
11937         * sysdeps/aarch64/tlsdesc.c: Likewise.
11938         * sysdeps/arm/tlsdesc.c: Likewise.
11939         * sysdeps/i386/tlsdesc.c: Likewise.
11940         * sysdeps/tile/dl-runtime.c: Likewise.
11941         * sysdeps/x86_64/tlsdesc.c: Likewise.
11942         * elf/dl-load.h: New file.
11943         * elf/dl-load.c: Include it.
11944         (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
11945         Macros moved to dl-load.h.
11946         (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
11947         (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
11948         Use _dl_unmap_segments in place of __munmap.
11949         Break out segment-mapping loop into ...
11950         * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
11951
11952 2014-04-03  Will Newton  <will.newton@linaro.org>
11953
11954         * elf/dl-lookup.c (do_lookup_x): Remove comment
11955         referring to nested function and move variable
11956         declarations down to before first use.
11957
11958 2014-04-02  Joseph Myers  <joseph@codesourcery.com>
11959
11960         [BZ #16799]
11961         [BZ #16800]
11962         * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
11963         with 0 numerator.
11964         * math/s_catanf.c (__catanf): Likewise.
11965         * math/s_catanh.c (__catanh): Likewise.
11966         * math/s_catanhf.c (__catanhf): Likewise.
11967         * math/s_catanhl.c (__catanhl): Likewise.
11968         * math/s_catanl.c (__catanl): Likewise.
11969         * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
11970         by positive zero when computing -Inf result.
11971         * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
11972         (catanh_test): Likewise.
11973         * sysdeps/i386/fpu/libm-test-ulps: Update.
11974         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11975
11976         [BZ #16789]
11977         * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
11978         instead of using underflowing value in computing result.
11979         * math/s_clog10.c (__clog10): Likewise.
11980         * math/s_clog10f.c (__clog10f): Likewise.
11981         * math/s_clog10l.c (__clog10l): Likewise.
11982         * math/s_clogf.c (__clogf): Likewise.
11983         * math/s_clogl.c (__clogl): Likewise.
11984         * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
11985         (clog10_test): Likewise.
11986         * sysdeps/i386/fpu/libm-test-ulps: Update.
11987         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11988
11989 2014-04-02  Alan Modra  <amodra@gmail.com>
11990
11991         [BZ #16739]
11992         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
11993         output when value is near a power of two.  Use int64_t for lx and
11994         remove casts.  Use decimal rather than hex exponent constants.
11995         Don't use long double multiplication when double will suffice.
11996         * math/libm-test.inc (nextafter_test_data): Add tests.
11997         * NEWS: Add 16739 and 16786 to bug list.
11998
11999         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
12000
12001         * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
12002
12003 2014-04-01  Will Newton  <will.newton@linaro.org>
12004
12005         * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
12006         -fno-builtin.  (CFLAGS-bench-ffsll.c): Likewise.
12007
12008 2014-04-01  Florian Weimer  <fweimer@redhat.com>
12009
12010         [BZ #13347]
12011         * nptl/nptl-init.c (sighandler_setxid): Check system call result.
12012         * nptl/tst-setuid2.c: New file.
12013         * nptl/Makefile (xtests): Add tst-setuid2.
12014
12015 2014-04-01  Alan Modra  <amodra@gmail.com>
12016
12017         [BZ #16786]
12018         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
12019
12020 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
12021
12022         [BZ #6803]
12023         [BZ #6804]
12024         * math/w_scalb.c (__scalb): For non-SVID mode, check result and
12025         set errno as appropriate.
12026         * math/w_scalbf.c (__scalbf): Likewise.
12027         * math/w_scalbl.c (__scalbl): Likewise.
12028         * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
12029         ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
12030         * math/libm-test.inc (scalb_test_data): Add errno expectations.
12031         Add more NaN tests.
12032
12033         [BZ #16349]
12034         * math/w_atan2.c: Include <errno.h>.
12035         (__atan2): Set errno for result underflowing to zero.
12036         * math/w_atan2f.c: Include <errno.h>.
12037         (__atan2f): Set errno for result underflowing to zero.
12038         * math/w_atan2l.c: Include <errno.h>.
12039         (__atan2l): Set errno for result underflowing to zero.
12040         * math/auto-libm-test-in: Don't allow missing errno for some atan2
12041         tests.
12042         * math/auto-libm-test-out: Regenerated.
12043
12044 2014-03-31  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12045
12046         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
12047         Encode instruction correctly in little endian.
12048         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
12049         Likewise.
12050         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
12051         Likewise.
12052         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
12053         Likewise.
12054         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
12055         Likewise.
12056
12057 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
12058
12059         [BZ #9894]
12060         * sysdeps/unix/sysv/linux/kernel-features.h
12061         [__sparc__ && !__arch64__ && !__sparc_v9__]
12062         (__ASSUME_SET_ROBUST_LIST): Do not define.
12063         [__sparc__ && !__arch64__ && !__sparc_v9__]
12064         (__ASSUME_FUTEX_LOCK_PI): Likewise.
12065         [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
12066         Likewise.
12067         * sysdeps/unix/sysv/linux/arm/kernel-features.h
12068         (__ASSUME_FUTEX_LOCK_PI): Undefine.
12069         (__ASSUME_REQUEUE_PI): Likewise.
12070         (__ASSUME_SET_ROBUST_LIST): Likewise.
12071         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
12072         [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
12073         Undefine.
12074         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
12075         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
12076         Likewise.
12077         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
12078         Likewise.
12079         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
12080         Likewise.
12081         * sysdeps/unix/sysv/linux/mips/kernel-features.h
12082         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
12083         Undefine.
12084         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
12085         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
12086         Likewise.
12087
12088         [BZ #16648]
12089         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
12090         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
12091         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
12092
12093 2014-03-31  Will Newton  <will.newton@linaro.org>
12094
12095         * benchtests/Makefile (bench): Add ffs and ffsll to list
12096         of tests.
12097         * benchtests/ffs-inputs: New file.
12098         * benchtests/ffsll-inputs: Likewise.
12099
12100 2014-03-29  Joseph Myers  <joseph@codesourcery.com>
12101
12102         [BZ #16770]
12103         * math/e_scalb.c (__ieee754_scalb): Check second argument is not
12104         too large before casting to int.
12105         * math/e_scalbf.c (__ieee754_scalbf): Likewise.
12106         * math/e_scalbl.c (__ieee754_scalbl): Likewise.
12107         * math/libm-test.inc (scalb_test_data): Add more tests.
12108
12109 2014-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
12110
12111         * benchtests/Makefile (DETAILED_OPT): New make option.
12112         (bench-func): Run benchmark program with -d if DETAILED_OPT is
12113         set.
12114         * benchtests/bench-skeleton.c: Include stdbool.h.
12115         (main): Store and print timings per input.
12116         * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
12117         member to each argument value.
12118         (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
12119         (_print_arg_data): Initialize per-input timing to 0.
12120
12121         * benchtests/Makefile (timing-type): New binary.
12122         (bench-clean): Also remove bench-timing-type.
12123         (bench): New target for timing-type.
12124         (bench-func): Print output in JSON format.
12125         * benchtests/bench-skeleton.c (main): Print output in JSON
12126         format.
12127         * benchtests/bench-timing-type.c: New file.
12128         * benchtests/bench-timing.h (TIMING_TYPE): New macro.
12129         (TIMING_PRINT_STATS): Remove.
12130         * benchtests/scripts/bench.py (_print_arg_data): Store variant
12131         name separately.
12132
12133         * benchtests/bench-modf.c: Remove.
12134         * benchtests/modf-inputs: New inputs file.
12135
12136 2014-03-28  Joseph Myers  <joseph@codesourcery.com>
12137
12138         [BZ #16362]
12139         * math/s_clog10.c (M_PI_LOG10E): New macro.
12140         (__clog10): Use M_PI_LOG10E instead of M_PI when real and
12141         imaginary parts are 0.
12142         * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
12143         (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
12144         imaginary parts are 0.
12145         * math/s_clog10l.c (M_PI_LOG10El): New macro.
12146         (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
12147         imaginary parts are 0.
12148         * math/libm-test.inc (clog10_test_data): Update expected results
12149         for when real and imaginary parts are 0.
12150
12151 2014-03-27  Paul Pluzhnikov  <ppluzhnikov@google.com>
12152
12153         * elf/dl-load.c: Finish conversion of __builtin_expect into
12154         __glibc_{un}likely.
12155
12156 2014-03-27  Joseph Myers  <joseph@codesourcery.com>
12157
12158         [BZ #16348]
12159         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
12160         1+x for argument with exponent below -67.
12161         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
12162         Likewise.
12163         * math/auto-libm-test-in: Add more tests of exp.
12164         * math/auto-libm-test-out: Regenerated.
12165
12166 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
12167
12168         [BZ #16759]
12169         * inet/getnetgrent_r.c (get_nonempty_val): New function.
12170         (nscd_getnetgrent): Use it.
12171
12172         [BZ #16760]
12173         * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
12174         of stpcpy.
12175
12176 2014-03-27  Andi Kleen  <ak@linux.intel.com>
12177
12178         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
12179         (lll_robust_lock, lll_cond_lock, lll_timedlock)
12180         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
12181         (lll_robust_unlock): Remove out of line section. Use cfi
12182         intrinsics.
12183         (LLL_STUB_UNWIND_INFO*): Remove.
12184         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
12185         (lll_robust_lock, lll_cond_lock, lll_timedlock)
12186         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
12187         (lll_robust_unlock): Remove out of line section. Use cfi
12188         intrinsics.
12189         (LLL_STUB_UNWIND_INFO*): Remove.
12190
12191 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
12192
12193         [BZ #16758]
12194         * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
12195         blank values.
12196
12197 2014-03-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
12198
12199         * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
12200
12201 2014-03-26  Joseph Myers  <joseph@codesourcery.com>
12202
12203         [BZ #16198]
12204         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
12205         fnstenv.
12206         * math/test-fenv-preserve.c: New file.
12207         * math/Makefile (tests): Add test-fenv-preserve.
12208
12209 2014-03-26  Will Newton <will.newton@linaro.org>
12210
12211         * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
12212
12213 2014-03-25  Roland McGrath  <roland@hack.frob.com>
12214
12215         * scripts/versionlist.awk: Partition the version sets and emit all
12216         GLIBC_* (sorted) before all others (sorted).
12217
12218 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
12219
12220         * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
12221         GLIBC_2.2.5 version.
12222
12223 2014-03-25 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12224
12225         * scripts/localplt.awk: Check for PLT generated by internal IFUNC
12226         calls.
12227
12228         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
12229         previous change.
12230
12231         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12232
12233 2014-03-25  Andreas Schwab  <schwab@suse.de>
12234
12235         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
12236         label to be used after in6ailist is initialized.
12237
12238 2014-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12239
12240         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
12241         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
12242
12243 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
12244
12245         [BZ #16357]
12246         [BZ #16599]
12247         * math/gen-auto-libm-tests.c (fp_format_desc): Add field
12248         min_plus_half.
12249         (fp_formats): Update initializers.
12250         (init_fp_formats): Initialize new field.
12251         (output_for_one_input_case): Allow underflow for results up to
12252         min_plus_half.
12253         * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
12254         * math/auto-libm-test-in: Don't mark some underflows from asin and
12255         atanh as spurious.
12256         * math/auto-libm-test-out: Regenerated.
12257         * sysdeps/i386/fpu/libm-test-ulps: Update.
12258         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12259
12260 2014-03-25  Andreas Schwab  <schwab@suse.de>
12261
12262         * libio/Makefile (tst-ftell-partial-wide-ENV)
12263         (tst-ftell-active-handler-ENV): Define.
12264
12265 2014-03-25  Stefan Liebler <stli@linux.vnet.ibm.com>
12266
12267         * NEWS: Add 16712, 16713, 16714 to fixed bug list.
12268
12269 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
12270
12271         * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
12272
12273 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
12274
12275         * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
12276         * sysdeps/x86_64/fpu/multiarch/e_exp.c
12277         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
12278
12279 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
12280
12281         [BZ #16634]
12282         * elf/dl-load.c (open_verify): Add mode parameter.
12283         Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
12284         (open_path): Change from boolean 'secure' to complete flag 'mode'
12285         (_dl_map_object): Adjust.
12286         * elf/Makefile (tests): Add tst-dlopen-aout.
12287         * elf/tst-dlopen-aout.c: New test.
12288
12289 2014-03-24  Stefan Liebler <stli@linux.vnet.ibm.com>
12290
12291         [BZ #16714]
12292         * sysdeps/unix/sysv/linux/s390/bits/stat.h
12293         (struct stat): Rename member pad0 to __glibc_reserved0.
12294
12295         [BZ #16712]
12296         * sysdeps/s390/s390-32/bits/wordsize.h
12297         (__WORDSIZE32_SIZE_ULONG): New define.
12298         * sysdeps/s390/s390-64/bits/wordsize.h
12299         (__WORDSIZE32_SIZE_ULONG): Likewise.
12300         * sysdeps/generic/stdint.h (SIZE_MAX):
12301         Define as UL if __WORDSIZE32_SIZE_ULONG.
12302
12303         [BZ #16713]
12304         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
12305         (__glibc_reserved0): New variable.
12306         (sa_flags): Change type to int.
12307
12308         * posix/Makefile (before-compile): Use += before-compile instead
12309         of a :=.
12310
12311         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
12312         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
12313
12314 2014-03-20  Andreas Schwab  <schwab@suse.de>
12315
12316         [BZ #16743]
12317         * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
12318         non-matching result from nscd.
12319
12320 2014-03-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
12321
12322         * scripts/bench.py: Moved to ...
12323         * benchtests/scripts/bench.py: ... here.
12324         * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
12325
12326 2014-03-24  Andreas Schwab  <schwab@suse.de>
12327
12328         [BZ #16002]
12329         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
12330         alloca_account and account alloca use for struct in6ailist.
12331
12332 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
12333
12334         [BZ #16284]
12335         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
12336         rounding mode to recompute results that overflow to infinity or
12337         underflow to zero.
12338         * math/auto-libm-test-in: Don't mark tests as expected to fail for
12339         bug 16284.
12340         * math/auto-libm-test-out: Regenerated.
12341         * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
12342         (ccosh_test): Likewise.
12343         (csin_test_data): Use plus_oflow.
12344         (csin_test): Use ALL_RM_TEST.
12345         (csinh_test_data): Use plus_oflow.
12346         (csinh_test): Use ALL_RM_TEST.
12347         * sysdeps/i386/fpu/libm-test-ulps: Update.
12348         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12349
12350 2014-03-21  Joseph Myers  <joseph@codesourcery.com>
12351
12352         * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
12353         * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
12354         * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
12355
12356         [BZ #16731]
12357         * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
12358         when x - 1 is zero.
12359         * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
12360         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
12361         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
12362         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
12363         argument is 1.
12364         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
12365         * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
12366         zero.
12367         * math/libm-test.inc (log_test): Use ALL_RM_TEST.
12368         * sysdeps/i386/fpu/libm-test-ulps: Update.
12369         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12370
12371 2014-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
12372
12373         * scripts/bench.pl: Remove file.
12374         * scripts/bench.py: New benchmark script.
12375         * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
12376         * benchtests/README: Mention python dependency.
12377         * scripts/pylintrc: New file.
12378         * scripts/pylint: New file.
12379
12380         * bits/mathdef.h: Use #ifdef instead of #if.
12381         * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
12382         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
12383         * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
12384         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
12385         * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
12386         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
12387
12388 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12389             Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
12390
12391         * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
12392         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
12393         and strpbrk-ppc64 objects.
12394         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12395         (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
12396         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
12397         multiarch strpbrk for POWER7.
12398         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
12399         multiarch strpbrk for PPC64.
12400         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
12401         ifunc selector.
12402         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
12403         strpbrk for POWER7.
12404
12405 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
12406
12407         * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
12408         (atan_test): Likewise.
12409         (atanh_test_data): Use NO_TEST_INLINE for two tests.
12410         (atanh_test): Use ALL_RM_TEST.
12411         (atan2_test_data): Likewise.
12412         (cabs_test): Likewise.
12413         (cacosh_test): Likewise.
12414         (carg_test): Likewise.
12415         (casin_test): Likewise.
12416         (casinh_test): Likewise.
12417         (cbrt_test): Likewise.
12418         (csqrt_test): Likewise.
12419         (erf_test): Likewise.
12420         (erfc_test): Likewise.
12421         (pow10_test): Likewise.
12422         (exp2_test): Likewise.
12423         (hypot_test): Likewise.
12424         (j0_test): Likewise.
12425         (j1_test): Likewise.
12426         (lgamma_test): Likewise.
12427         (gamma_test): Likewise.
12428         (sincos_test): Likewise.
12429         (tanh_test): Likewise.
12430         (y0_test): Likewise.
12431         (y1_test): Likewise.
12432         * sysdeps/i386/fpu/libm-test-ulps: Update.
12433         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12434
12435 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12436
12437         * string/strcspn.c (strcspn): Using macro to redefine symbol name.
12438         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
12439         and strcspn-ppc64 objects.
12440         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12441         (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
12442         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
12443         multiarch strcspn for POWER7.
12444         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
12445         multiarch strcspn for PPC64.
12446         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
12447         ifunc selector.
12448         * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
12449         strcspn for POWER7.
12450
12451 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
12452
12453         * math/gen-libm-test.pl (generate_testfile): Expect only function
12454         name as argument to AUTO_TESTS_* and pass results for all rounding
12455         modes to parse_args.
12456         (parse_auto_input): Separate inputs of automatic tests from
12457         outputs before storing in %auto_tests.
12458         * math/libm-test.inc (acos_test_data): Update call to
12459         AUTO_TESTS_f_f.
12460         (acos_test): Use ALL_RM_TEST.
12461         (acos_tonearest_test_data): Remove.
12462         (acos_test_tonearest): Likewise.
12463         (acos_towardzero_test_data): Likewise.
12464         (acos_test_towardzero): Likewise.
12465         (acos_downward_test_data): Likewise.
12466         (acos_test_downward): Likewise.
12467         (acos_upward_test_data): Likewise.
12468         (acos_test_upward): Likewise.
12469         (acosh_test_data): Update call to AUTO_TESTS_f_f.
12470         (asin_test_data): Likewise.
12471         (asin_test): Use ALL_RM_TEST.
12472         (asin_tonearest_test_data): Remove.
12473         (asin_test_tonearest): Likewise.
12474         (asin_towardzero_test_data): Likewise.
12475         (asin_test_towardzero): Likewise.
12476         (asin_downward_test_data): Likewise.
12477         (asin_test_downward): Likewise.
12478         (asin_upward_test_data): Likewise.
12479         (asin_test_upward): Likewise.
12480         (asinh_test_data): Update call to AUTO_TESTS_f_f.
12481         (atan_test_data): Likewise.
12482         (atanh_test_data): Likewise.
12483         (atan2_test_data): Update call to AUTO_TESTS_ff_f.
12484         (cabs_test_data): Update call to AUTO_TESTS_c_f.
12485         (carg_test_data): Likewise.
12486         (cbrt_test_data): Update call to AUTO_TESTS_f_f.
12487         (ccos_test_data): Update call to AUTO_TESTS_c_c.
12488         (ccosh_test_data): Likewise.
12489         (cexp_test_data): Likewise.
12490         (clog_test_data): Likewise.
12491         (clog10_test_data): Likewise.
12492         (cos_test_data): Update call to AUTO_TESTS_f_f.
12493         (cos_test): Use ALL_RM_TEST.
12494         (cos_tonearest_test_data): Remove.
12495         (cos_test_tonearest): Likewise.
12496         (cos_towardzero_test_data): Likewise.
12497         (cos_test_towardzero): Likewise.
12498         (cos_downward_test_data): Likewise.
12499         (cos_test_downward): Likewise.
12500         (cos_upward_test_data): Likewise.
12501         (cos_test_upward): Likewise.
12502         (cosh_test_data): Update call to AUTO_TESTS_f_f.
12503         (cosh_test): Use ALL_RM_TEST.
12504         (cosh_tonearest_test_data): Remove.
12505         (cosh_test_tonearest): Likewise.
12506         (cosh_towardzero_test_data): Likewise.
12507         (cosh_test_towardzero): Likewise.
12508         (cosh_downward_test_data): Likewise.
12509         (cosh_test_downward): Likewise.
12510         (cosh_upward_test_data): Likewise.
12511         (cosh_test_upward): Likewise.
12512         (cpow_test_data): Update call to AUTO_TESTS_cc_c.
12513         (csqrt_test_data): Update call to AUTO_TESTS_c_c.
12514         (ctan_test_data): Likewise.
12515         (ctan_test): Use ALL_RM_TEST.
12516         (ctan_tonearest_test_data): Remove.
12517         (ctan_test_tonearest): Likewise.
12518         (ctan_towardzero_test_data): Likewise.
12519         (ctan_test_towardzero): Likewise.
12520         (ctan_downward_test_data): Likewise.
12521         (ctan_test_downward): Likewise.
12522         (ctan_upward_test_data): Likewise.
12523         (ctan_test_upward): Likewise.
12524         (ctanh_test_data): Update call to AUTO_TESTS_c_c.
12525         (ctanh_test): Use ALL_RM_TEST.
12526         (ctanh_tonearest_test_data): Remove.
12527         (ctanh_test_tonearest): Likewise.
12528         (ctanh_towardzero_test_data): Likewise.
12529         (ctanh_test_towardzero): Likewise.
12530         (ctanh_downward_test_data): Likewise.
12531         (ctanh_test_downward): Likewise.
12532         (ctanh_upward_test_data): Likewise.
12533         (ctanh_test_upward): Likewise.
12534         (erf_test_data): Update call to AUTO_TESTS_f_f.
12535         (erfc_test_data): Likewise.
12536         (exp_test_data): Likewise.
12537         (exp_test): Use ALL_RM_TEST.
12538         (exp_tonearest_test_data): Remove.
12539         (exp_test_tonearest): Likewise.
12540         (exp_towardzero_test_data): Likewise.
12541         (exp_test_towardzero): Likewise.
12542         (exp_downward_test_data): Likewise.
12543         (exp_test_downward): Likewise.
12544         (exp_upward_test_data): Likewise.
12545         (exp_test_upward): Likewise.
12546         (exp10_test_data): Update call to AUTO_TESTS_f_f.
12547         (exp10_test): Use ALL_RM_TEST.
12548         (exp10_tonearest_test_data): Remove.
12549         (exp10_test_tonearest): Likewise.
12550         (exp10_towardzero_test_data): Likewise.
12551         (exp10_test_towardzero): Likewise.
12552         (exp10_downward_test_data): Likewise.
12553         (exp10_test_downward): Likewise.
12554         (exp10_upward_test_data): Likewise.
12555         (exp10_test_upward): Likewise.
12556         (exp2_test_data): Update call to AUTO_TESTS_f_f.
12557         (expm1_test_data): Likewise.
12558         (expm1_test): Use ALL_RM_TEST.
12559         (expm1_tonearest_test_data): Remove.
12560         (expm1_test_tonearest): Likewise.
12561         (expm1_towardzero_test_data): Likewise.
12562         (expm1_test_towardzero): Likewise.
12563         (expm1_downward_test_data): Likewise.
12564         (expm1_test_downward): Likewise.
12565         (expm1_upward_test_data): Likewise.
12566         (expm1_test_upward): Likewise.
12567         (fma_test_data): Update call to AUTO_TESTS_fff_f.
12568         (fma_test): Use ALL_RM_TEST.
12569         (fma_towardzero_test_data): Remove.
12570         (fma_test_towardzero): Likewise.
12571         (fma_downward_test_data): Likewise.
12572         (fma_test_downward): Likewise.
12573         (fma_upward_test_data): Likewise.
12574         (fma_test_upward): Likewise.
12575         (hypot_test_data): Update call to AUTO_TESTS_ff_f.
12576         (j0_test_data): Update call to AUTO_TESTS_f_f.
12577         (j1_test_data): Likewise.
12578         (jn_test_data): Update call to AUTO_TESTS_if_f.
12579         (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
12580         (log_test_data): Update call to AUTO_TESTS_f_f.
12581         (log10_test_data): Likewise.
12582         (log1p_test_data): Likewise.
12583         (log2_test_data): Likewise.
12584         (pow_test_data): Update call to AUTO_TESTS_ff_f.
12585         (pow_tonearest_test_data): Likewise.
12586         (sin_test_data): Update call to AUTO_TESTS_f_f.
12587         (sin_test): Use ALL_RM_TEST.
12588         (sin_tonearest_test_data): Remove.
12589         (sin_test_tonearest): Likewise.
12590         (sin_towardzero_test_data): Likewise.
12591         (sin_test_towardzero): Likewise.
12592         (sin_downward_test_data): Likewise.
12593         (sin_test_downward): Likewise.
12594         (sin_upward_test_data): Likewise.
12595         (sin_test_upward): Likewise.
12596         (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
12597         (sinh_test_data): Update call to AUTO_TESTS_f_f.
12598         (sinh_test): Use ALL_RM_TEST.
12599         (sinh_tonearest_test_data): Remove.
12600         (sinh_test_tonearest): Likewise.
12601         (sinh_towardzero_test_data): Likewise.
12602         (sinh_test_towardzero): Likewise.
12603         (sinh_downward_test_data): Likewise.
12604         (sinh_test_downward): Likewise.
12605         (sinh_upward_test_data): Likewise.
12606         (sinh_test_upward): Likewise.
12607         (sqrt_test_data): Update call to AUTO_TESTS_f_f.
12608         (sqrt_test): Use ALL_RM_TEST.
12609         (sqrt_tonearest_test_data): Remove.
12610         (sqrt_test_tonearest): Likewise.
12611         (sqrt_towardzero_test_data): Likewise.
12612         (sqrt_test_towardzero): Likewise.
12613         (sqrt_downward_test_data): Likewise.
12614         (sqrt_test_downward): Likewise.
12615         (sqrt_upward_test_data): Likewise.
12616         (sqrt_test_upward): Likewise.
12617         (tan_test_data): Update call to AUTO_TESTS_f_f.
12618         (tan_test): Use ALL_RM_TEST.
12619         (tan_tonearest_test_data): Remove.
12620         (tan_test_tonearest): Likewise.
12621         (tan_towardzero_test_data): Likewise.
12622         (tan_test_towardzero): Likewise.
12623         (tan_downward_test_data): Likewise.
12624         (tan_test_downward): Likewise.
12625         (tan_upward_test_data): Likewise.
12626         (tan_test_upward): Likewise.
12627         (tanh_test_data): Update call to AUTO_TESTS_f_f.
12628         (tgamma_test_data): Likewise.
12629         (y0_test_data): Likewise.
12630         (y1_test_data): Likewise.
12631         (yn_test_data): Update call to AUTO_TESTS_if_f.
12632         (main): Do not call removed functions.
12633
12634 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
12635
12636         * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
12637         (ldexp_test_data): Remove.
12638         (ldexp_test): Move to after scalbn_test.  Use ALL_RM_TEST with
12639         scalbn_test_data.
12640         (scalb_test): Use ALL_RM_TEST.
12641
12642 2014-03-19  Andreas Schwab  <schwab@suse.de>
12643
12644         * nscd/nscd.service: Also invalidate netgroup cache on reload.
12645
12646 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
12647
12648         [BZ #16649]
12649         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
12650         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
12651         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
12652         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
12653         (__ASSUME_PREADV): Undefine.
12654         (__ASSUME_PWRITEV): Likewise.
12655
12656 2014-03-18  Roland McGrath  <roland@hack.frob.com>
12657
12658         * bits/mman-linux.h: Add comment about non-Linux use.
12659         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
12660         bits/mman-linux.h resting place.
12661
12662         * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
12663         * bits/mman-linux.h: ... here.
12664
12665 2014-03-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12666
12667         * conform/conformtest.pl: Add standard definition when calling C
12668         preprocessor on data files.
12669         (checknamespace): Remove unused variable.
12670
12671 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
12672
12673         * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
12674         minus_oflow, plus_uflow and minus_uflow in expected results.
12675         * math/libm-test.inc (scalbn_test_data): Add more tests of
12676         negative arguments.  Use plus_oflow, minus_oflow, plus_uflow and
12677         minus_uflow.
12678         (scalbn_test): Use ALL_RM_TEST.
12679         (scalbln_test_data): Add more tests of negative arguments.  Use
12680         plus_oflow, minus_oflow, plus_uflow and minus_uflow.
12681         (scalbln_test): Use ALL_RM_TEST.
12682
12683 2014-03-18  Roland McGrath  <roland@hack.frob.com>
12684
12685         * scripts/abilist.awk: Ignore symbols marked with .hidden.
12686
12687 2014-03-18  Will Newton  <will.newton@linaro.org>
12688
12689         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
12690         inaccurate comment.
12691
12692 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
12693
12694         * Makerules [!subdir] (check-abi): Exit with error status if a
12695         test failed.
12696
12697 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
12698
12699         * math/libm-test.inc (nearbyint_test_data): Include all tests used
12700         for rint.  Include results for all rounding modes.
12701         (nearbyint_test): Use ALL_RM_TEST.
12702         (rint_test_data): Include all tests used for nearbyint.
12703
12704 2014-03-17  Will Newton  <will.newton@linaro.org>
12705
12706         * nptl/sysdeps/pthread/pthread.h: Revert previous
12707         change.
12708
12709         * sysdeps/generic/ldsodefs.h: Revert previous
12710         change.
12711
12712         * libio/genops.c: Revert previous change.
12713         * libio/libioP.h: Likewise.
12714         * stdio-common/vfprintf.c: Likewise.
12715
12716         * sysdeps/generic/math_private.h: Revert previous
12717         change.
12718
12719         * sysdeps/generic/math_private.h: Check whether
12720         HAVE_RM_CTX is defined with #ifdef rather
12721         than #if.
12722
12723         * argp/argp-fmtstream.h: Check whether
12724         __STRICT_ANSI__ is defined with #ifdef rather
12725         than #if.
12726         * argp/argp.h: Likewise.
12727
12728         * libio/genops.c: Check whether
12729         _IO_JUMPS_OFFSET is defined with #ifdef rather
12730         than #if.
12731         * libio/libioP.h: Likewise.
12732         * stdio-common/vfprintf.c: Likewise.
12733
12734         * sysdeps/generic/ldsodefs.h: Check whether
12735         HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
12736         than #if.
12737
12738         * nptl/sysdeps/pthread/pthread.h: Check
12739         __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
12740         its value.
12741
12742 2014-03-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
12743
12744         * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
12745         setting O_APPEND.
12746         * libio/tst-ftell-active-handler.c (do_append_test): Add a
12747         test case.
12748
12749         [BZ #16680]
12750         * libio/fileops.c (_IO_file_open): Seek to end of file but
12751         don't cache the offset.
12752         (get_file_offset): Remove function.
12753         (do_ftell): Use cached offset when available.
12754         * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
12755         don't cache the offset.
12756         * libio/tst-ftell-active-handler.c (do_rewind_test): New test
12757         case.
12758         (do_one_test): Call it.
12759         (do_ftell_test): Fix up expected old offset for a+ mode.
12760         * libio/wfileops.c (do_ftell_wide): Used cached offset when
12761         available.
12762
12763         * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
12764         up test status with function return status.
12765         (do_write_test): Likewise.
12766         (do_append_test): Likewise.
12767
12768         * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
12769         && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
12770         Remove.
12771
12772 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
12773
12774         * math/gen-libm-test.pl (parse_args): Handle results specified for
12775         each rounding mode separately.
12776         * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
12777         tests and results from lrint_tonearest_test_data,
12778         lrint_towardzero_test_data, lrint_downward_test_data and
12779         lrint_upward_test_data.
12780         (lrint_test): Use ALL_RM_TEST.
12781         (lrint_tonearest_test_data): Remove.
12782         (lrint_test_tonearest): Likewise.
12783         (lrint_towardzero_test_data): Likewise.
12784         (lrint_test_towardzero): Likewise.
12785         (lrint_downward_test_data): Likewise.
12786         (lrint_test_downward): Likewise.
12787         (lrint_upward_test_data): Likewise.
12788         (lrint_test_upward): Likewise.
12789         (llrint_test_data): Merge in per-rounding-mode tests and results
12790         from llrint_tonearest_test_data, llrint_towardzero_test_data,
12791         llrint_downward_test_data and llrint_upward_test_data.
12792         (llrint_test): Use ALL_RM_TEST.
12793         (llrint_tonearest_test_data): Remove.
12794         (llrint_test_tonearest): Likewise.
12795         (llrint_towardzero_test_data): Likewise.
12796         (llrint_test_towardzero): Likewise.
12797         (llrint_downward_test_data): Likewise.
12798         (llrint_test_downward): Likewise.
12799         (llrint_upward_test_data): Likewise.
12800         (llrint_test_upward): Likewise.
12801         (rint_test_data): Merge in per-rounding-mode tests and results
12802         from rint_tonearest_test_data, rint_towardzero_test_data,
12803         rint_downward_test_data and rint_upward_test_data.  Add
12804         per-rounding-mode results for tests not in those arrays.
12805         (rint_test): Use ALL_RM_TEST.
12806         (rint_tonearest_test_data): Remove.
12807         (rint_test_tonearest): Likewise.
12808         (rint_towardzero_test_data): Likewise.
12809         (rint_test_towardzero): Likewise.
12810         (rint_downward_test_data): Likewise.
12811         (rint_test_downward): Likewise.
12812         (rint_upward_test_data): Likewise.
12813         (rint_test_upward): Likewise.
12814         (main): Don't call removed functions.
12815
12816 2014-03-14  Roland McGrath  <roland@hack.frob.com>
12817
12818         * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
12819         "Compiled on ..." crapola.  It is anti-useful.
12820
12821 2014-03-14  Joseph Myers  <joseph@codesourcery.com>
12822
12823         * scripts/evaluate-test.sh: Handle fourth argument to determine
12824         whether test run should stop on failure.
12825         * Makeconfig (stop-on-test-failure): New variable.
12826         (evaluate-test): Pass fourth argument to evaluate-test.sh based on
12827         $(stop-on-test-failure).
12828         * Makefile (tests): Give a summary of results from testing and
12829         exit with failure status if they include an ERROR or FAIL.
12830         (xtests): Likewise.
12831         * manual/install.texi (Configuring and compiling): Mention
12832         stop-on-test-failure=y.
12833         * INSTALL: Regenerated.
12834
12835 2014-03-14  Roland McGrath  <roland@hack.frob.com>
12836
12837         * scripts/versionlist.awk: New file.
12838         * Makerules [$(build-shared) = yes]
12839         (postclean-generated): Add Versions.def, not Versions.def.v and
12840         Versions.def.v.i.
12841         ($(common-objpfx)Versions.def.v.i): Target removed.
12842         ($(common-objpfx)Versions.def): New target.
12843         ($(common-objpfx)Versions.all): Depend on that rather that
12844         $(common-objpfx)Versions.def.v.
12845         * Versions.def: File removed.
12846
12847         * Makeconfig (+gccwarn): Add -Wundef.
12848         * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
12849         a dl-sysdep.h breaking its contract.
12850         [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
12851         * include/stackinfo.h: New file.
12852         * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
12853         * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
12854         * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
12855         * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
12856         * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
12857         * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
12858         * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
12859         * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
12860         * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
12861         * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
12862         * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
12863         * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
12864         * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
12865         * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
12866         * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
12867
12868 2014-03-14  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12869
12870         [BZ #16707]
12871         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
12872         implementation.
12873         * math/libm-test.inc (round_test_data): Add more tests.
12874
12875         [BZ #16706]
12876         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
12877         implementation.
12878         * math/libm-test.inc (nearbyint_test_data): Add more tests.
12879
12880         [BZ #16701]
12881         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
12882         implementation.
12883         * math/libm-test.inc (ceil_test_data): Add more tests.
12884
12885         * math/libm-test.inc (trunc_test_data): Add more tests related to
12886         BZ#16414.
12887
12888 2014-03-14  Roland McGrath  <roland@hack.frob.com>
12889
12890         * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
12891         with #if rather than #ifdef.
12892         * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
12893
12894 2014-03-14  H.J. Lu  <hongjiu.lu@intel.com>
12895
12896         * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
12897         first.  Disable AVX-512 GCC support if assembler doesn't support
12898         it.
12899         * sysdeps/x86_64/configure: Regenerated.
12900
12901 2014-03-13  Carlos O'Donell  <carlos@redhat.com>
12902
12903         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
12904         [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
12905         (__old_pthread_attr_setstack): Likewise.
12906         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
12907         [!_STACK_GROWS_DOWN]: Likewise.
12908
12909 2014-03-13  Mike Frysinger  <vapier@gentoo.org>
12910
12911         * config.make.in (have-bash2): Delete.
12912         * configure.ac (libc_cv_have_bash2): Delete.
12913         * configure: Regenerate.
12914         * elf/Makefile (common-ldd-rewrite): Rename to ...
12915         (ldd-rewrite): ... this.  Move bash-ldd-rewrite content to end.
12916         (sh-ldd-rewrite): Delete.
12917         (bash-ldd-rewrite): Delete.
12918         (have-bash2): Delete checks.
12919         [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
12920         ldd-rewrite.
12921
12922         * config.make.in (have-ksh): Delete.
12923         (KSH): Delete.
12924         * configure.ac (libc_cv_have_ksh): Delete.
12925         * configure: Regenerate.
12926
12927         * elf/Makefile: Delete $(have-ksh) check.
12928         ($(objpfx)sotruss): Change KSH to BASH.
12929         * elf/sotruss.ksh: Rename to ...
12930         * elf/sotruss.sh: ... this.  Change @KSH@ to @BASH@.  Change
12931         function style to match POSIX.  Drop ksh vim mode setting.
12932
12933         * manual/time.texi (Specifying the Time Zone with TZ): Change
12934         Tuesday to Thursday.
12935
12936         * debug/tst-longjmp_chk2.c: Update header comment.
12937         (stackoverflow_handler): Add comment.  Call assert on pass value.
12938
12939 2014-03-13  Igor Zamyatin  <igor.zamyatin@intel.com>
12940
12941         [BZ #16194]
12942         * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
12943         (HAVE_AVX512_ASM_SUPPORT): Likewise.
12944         * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
12945         (La_x86_64_vector): Add zmm.
12946         * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
12947         (modules-names): Add tst-auditmod10a and tst-auditmod10b.
12948         ($(objpfx)tst-audit10): New target.
12949         ($(objpfx)tst-audit10.out): Likewise.
12950         (tst-audit10-ENV): New.
12951         (AVX512-CFLAGS): Likewise.
12952         (CFLAGS-tst-audit10.c): Likewise.
12953         (CFLAGS-tst-auditmod10a.c): Likewise.
12954         (CFLAGS-tst-auditmod10b.c): Likewise.
12955         * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
12956         HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
12957         * sysdeps/x86_64/configure: Regenerated.
12958         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
12959         AVX-512 zmm register support.
12960         (_dl_x86_64_save_sse): Likewise.
12961         (_dl_x86_64_restore_sse): Likewise.
12962         * sysdeps/x86_64/dl-trampoline.h: Updated to support different
12963         size vector registers.
12964         * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
12965         (ZMM_SIZE): Likewise.
12966         * sysdeps/x86_64/tst-audit10.c: New file.
12967         * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
12968         * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
12969
12970 2014-03-13  Roland McGrath  <roland@hack.frob.com>
12971
12972         * configure.ac (HAVE_EHDR_START): New check.
12973         * configure: Regenerated.
12974         * config.h.in (HAVE_EHDR_START): New #undef.
12975         * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
12976         assuming the lowest-addressed segment maps the start of the file.
12977
12978 2014-03-13  Joseph Myers  <joseph@codesourcery.com>
12979
12980         * INSTALL: Regenerated.
12981
12982 2014-03-13  Will Newton  <will.newton@linaro.org>
12983
12984         * manual/setjmp.texi (System V contexts): Improve
12985         clarity and grammar of documentation.
12986
12987 2014-03-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
12988
12989         [BZ #16381]
12990         * elf/Makefile (tests): Add tst-pie2.
12991         (tests-pie): Add tst-pie2.
12992         * elf/tst-pie2.c: New file.
12993         * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
12994         for ET_EXEC.
12995         * elf/rtld.c (map_doit): Load executable as lt_executable.
12996         (dl_main): Likewise.
12997
12998 2014-03-12  Joseph Myers  <joseph@codesourcery.com>
12999
13000         [BZ #16642]
13001         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
13002         (__ASSUME_PSELECT): Undefine.
13003
13004 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13005
13006         [BZ #16689]
13007         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
13008         (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
13009         static build.
13010         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
13011         selector for static builds.
13012
13013 2014-03-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
13014
13015         [BZ #16695]
13016         * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
13017         key in the buffer.
13018
13019 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13020
13021         * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
13022         IFUNC selector for static builds.
13023
13024 2014-03-11  Joseph Myers  <joseph@codesourcery.com>
13025
13026         * sysdeps/mips/math_private.h [__mips_hard_float]
13027         (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
13028         libc_feresetround_mips_ctx.
13029         [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
13030         [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
13031         [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
13032
13033         [BZ #16677]
13034         * math/s_nextafter.c (__nextafter): Do not return value from
13035         overflowing computation.
13036         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
13037         * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
13038         * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
13039         Likewise.
13040         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
13041         Likewise.
13042         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
13043         * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
13044
13045 2014-03-11  Roland McGrath  <roland@hack.frob.com>
13046
13047         * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
13048         * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
13049         Move sfi_sp use from the load-multiple (that no longer sets sp) to
13050         the new mov targetting sp.
13051
13052 2014-03-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13053
13054         [BZ #16683]
13055         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
13056         Define it for static builds as well.
13057         (NO_BZERO_IMPL): Likewise.
13058
13059 2014-03-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
13060
13061         * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
13062         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
13063         multiarch strspn for PPC64.
13064         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
13065         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
13066         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
13067         (__libc_ifunc_impl_list): Likewise.
13068         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
13069         multiarch optimizations
13070         * string/strspn.c (strspn): Using macro to redefine symbol name.
13071
13072 2014-03-10  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
13073             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13074
13075         * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
13076         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
13077         multiarch strncat for PPC64.
13078         * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
13079         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
13080         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
13081         (__libc_ifunc_impl_list): Likewise.
13082         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
13083         multiarch optimizations
13084
13085 2014-03-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
13086
13087         [BZ #16639]
13088         * nscd/nscd.service: Make service type forking.
13089
13090 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13091
13092         * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
13093         sign in non default rounding modes.
13094         * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
13095
13096 2014-03-08  Joseph Myers  <joseph@codesourcery.com>
13097
13098         * math/libm-test.inc (ALL_RM_TEST): New macro.
13099         (ceil_test): Use ALL_RM_TEST.
13100         (cimag_test): Likewise.
13101         (conj_test): Likewise.
13102         (copysign_test): Likewise.
13103         (cproj_test): Likewise.
13104         (creal_test): Likewise.
13105         (fabs_test): Likewise.
13106         (floor_test): Likewise.
13107         (fmax_test): Likewise.
13108         (fmin_test): Likewise.
13109         (fmod_test): Likewise.
13110         (fpclassify_test): Likewise.
13111         (frexp_test): Likewise.
13112         (ilogb_test): Likewise.
13113         (isfinite_test): Likewise.
13114         (finite_test): Likewise.
13115         (isgreater_test): Likewise.
13116         (isgreaterequal_test): Likewise.
13117         (isinf_test): Likewise.
13118         (isless_test): Likewise.
13119         (islessequal_test): Likewise.
13120         (islessgreater_test): Likewise.
13121         (isnan_test): Likewise.
13122         (isnormal_test): Likewise.
13123         (issignaling_test): Likewise.
13124         (isunordered_test): Likewise.
13125         (logb_test): Likewise.
13126         (logb_downward_test_data): Remove.
13127         (logb_test_downward): Likewise.
13128         (lround_test): Use ALL_RM_TEST.
13129         (llround_test): Likewise.
13130         (modf_test): Likewise.
13131         (nexttoward_test): Likewise.
13132         (remainder_test): Likewise.
13133         (drem_test): Likewise.
13134         (remainder_tonearest_test_data): Likewise.
13135         (remainder_test_tonearest): Likewise.
13136         (drem_test_tonearest): Likewise.
13137         (remainder_towardzero_test_data): Likewise.
13138         (remainder_test_towardzero): Likewise.
13139         (drem_test_towardzero): Likewise.
13140         (remainder_downward_test_data): Likewise.
13141         (remainder_test_downward): Likewise.
13142         (drem_test_downward): Likewise.
13143         (remainder_upward_test_data): Likewise.
13144         (remainder_test_upward): Likewise.
13145         (drem_test_upward): Likewise.
13146         (remquo_test): Use ALL_RM_TEST.  Remove comment about x.
13147         (round_test): Use ALL_RM_TEST.
13148         (signbit_test): Likewise.
13149         (trunc_test): Likewise.
13150         (significand_test): Likewise.
13151         (main): Don't call removed functions.
13152
13153 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
13154
13155         [BZ #16674]
13156         * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
13157         || __USE_XOPEN2K8].
13158         (ILL_ILLOPN): Likewise.
13159         (ILL_ILLADR): Likewise.
13160         (ILL_ILLTRP): Likewise.
13161         (ILL_PRVOPC): Likewise.
13162         (ILL_PRVREG): Likewise.
13163         (ILL_COPROC): Likewise.
13164         (ILL_BADSTK): Likewise.
13165         (FPE_INTDIV): Likewise.
13166         (FPE_INTOVF): Likewise.
13167         (FPE_FLTDIV): Likewise.
13168         (FPE_FLTOVF): Likewise.
13169         (FPE_FLTUND): Likewise.
13170         (FPE_FLTRES): Likewise.
13171         (FPE_FLTINV): Likewise.
13172         (FPE_FLTSUB): Likewise.
13173         (SEGV_MAPERR): Likewise.
13174         (SEGV_ACCERR): Likewise.
13175         (BUS_ADRALN): Likewise.
13176         (BUS_ADRERR): Likewise.
13177         (BUS_OBJERR): Likewise.
13178         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
13179         (TRAP_TRACE): Likewise.
13180         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
13181         __USE_XOPEN2K8].
13182         (CLD_KILLED): Likewise.
13183         (CLD_DUMPED): Likewise.
13184         (CLD_TRAPPED): Likewise.
13185         (CLD_STOPPED): Likewise.
13186         (CLD_CONTINUED): Likewise.
13187         (POLL_IN): Likewise.
13188         (POLL_OUT): Likewise.
13189         (POLL_MSG): Likewise.
13190         (POLL_ERR): Likewise.
13191         (POLL_PRI): Likewise.
13192         (POLL_HUP): Likewise.
13193         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
13194         Likewise.
13195         (ILL_ILLOPN): Likewise.
13196         (ILL_ILLADR): Likewise.
13197         (ILL_ILLTRP): Likewise.
13198         (ILL_PRVOPC): Likewise.
13199         (ILL_PRVREG): Likewise.
13200         (ILL_COPROC): Likewise.
13201         (ILL_BADSTK): Likewise.
13202         (FPE_INTDIV): Likewise.
13203         (FPE_INTOVF): Likewise.
13204         (FPE_FLTDIV): Likewise.
13205         (FPE_FLTOVF): Likewise.
13206         (FPE_FLTUND): Likewise.
13207         (FPE_FLTRES): Likewise.
13208         (FPE_FLTINV): Likewise.
13209         (FPE_FLTSUB): Likewise.
13210         (SEGV_MAPERR): Likewise.
13211         (SEGV_ACCERR): Likewise.
13212         (BUS_ADRALN): Likewise.
13213         (BUS_ADRERR): Likewise.
13214         (BUS_OBJERR): Likewise.
13215         (BUS_MCEERR_AR): Likewise.
13216         (BUS_MCEERR_AO): Likewise.
13217         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
13218         (TRAP_TRACE): Likewise.
13219         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
13220         __USE_XOPEN2K8].
13221         (CLD_KILLED): Likewise.
13222         (CLD_DUMPED): Likewise.
13223         (CLD_TRAPPED): Likewise.
13224         (CLD_STOPPED): Likewise.
13225         (CLD_CONTINUED): Likewise.
13226         (POLL_IN): Likewise.
13227         (POLL_OUT): Likewise.
13228         (POLL_MSG): Likewise.
13229         (POLL_ERR): Likewise.
13230         (POLL_PRI): Likewise.
13231         (POLL_HUP): Likewise.
13232         * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
13233         (ILL_ILLOPN): Likewise.
13234         (ILL_ILLADR): Likewise.
13235         (ILL_ILLTRP): Likewise.
13236         (ILL_PRVOPC): Likewise.
13237         (ILL_PRVREG): Likewise.
13238         (ILL_COPROC): Likewise.
13239         (ILL_BADSTK): Likewise.
13240         (FPE_INTDIV): Likewise.
13241         (FPE_INTOVF): Likewise.
13242         (FPE_FLTDIV): Likewise.
13243         (FPE_FLTOVF): Likewise.
13244         (FPE_FLTUND): Likewise.
13245         (FPE_FLTRES): Likewise.
13246         (FPE_FLTINV): Likewise.
13247         (FPE_FLTSUB): Likewise.
13248         (SEGV_MAPERR): Likewise.
13249         (SEGV_ACCERR): Likewise.
13250         (BUS_ADRALN): Likewise.
13251         (BUS_ADRERR): Likewise.
13252         (BUS_OBJERR): Likewise.
13253         (BUS_MCEERR_AR): Likewise.
13254         (BUS_MCEERR_AO): Likewise.
13255         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
13256         (TRAP_TRACE): Likewise.
13257         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
13258         __USE_XOPEN2K8].
13259         (CLD_KILLED): Likewise.
13260         (CLD_DUMPED): Likewise.
13261         (CLD_TRAPPED): Likewise.
13262         (CLD_STOPPED): Likewise.
13263         (CLD_CONTINUED): Likewise.
13264         (POLL_IN): Likewise.
13265         (POLL_OUT): Likewise.
13266         (POLL_MSG): Likewise.
13267         (POLL_ERR): Likewise.
13268         (POLL_PRI): Likewise.
13269         (POLL_HUP): Likewise.
13270         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
13271         Likewise.
13272         (ILL_ILLOPN): Likewise.
13273         (ILL_ILLADR): Likewise.
13274         (ILL_ILLTRP): Likewise.
13275         (ILL_PRVOPC): Likewise.
13276         (ILL_PRVREG): Likewise.
13277         (ILL_COPROC): Likewise.
13278         (ILL_BADSTK): Likewise.
13279         (ILL_BADIADDR): Likewise.
13280         (ILL_BREAK): Likewise.
13281         (FPE_INTDIV): Likewise.
13282         (FPE_INTOVF): Likewise.
13283         (FPE_FLTDIV): Likewise.
13284         (FPE_FLTOVF): Likewise.
13285         (FPE_FLTUND): Likewise.
13286         (FPE_FLTRES): Likewise.
13287         (FPE_FLTINV): Likewise.
13288         (FPE_FLTSUB): Likewise.
13289         (FPE_DECOVF): Likewise.
13290         (FPE_DECDIV): Likewise.
13291         (FPE_DECERR): Likewise.
13292         (FPE_INVASC): Likewise.
13293         (FPE_INVDEC): Likewise.
13294         (SEGV_MAPERR): Likewise.
13295         (SEGV_ACCERR): Likewise.
13296         (SEGV_PSTKOVF): 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         (TRAP_BRANCH): Likewise.
13305         (TRAP_HWBKPT): Likewise.
13306         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
13307         __USE_XOPEN2K8].
13308         (CLD_KILLED): Likewise.
13309         (CLD_DUMPED): Likewise.
13310         (CLD_TRAPPED): Likewise.
13311         (CLD_STOPPED): Likewise.
13312         (CLD_CONTINUED): Likewise.
13313         (POLL_IN): Likewise.
13314         (POLL_OUT): Likewise.
13315         (POLL_MSG): Likewise.
13316         (POLL_ERR): Likewise.
13317         (POLL_PRI): Likewise.
13318         (POLL_HUP): Likewise.
13319         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
13320         (ILL_ILLOPN): Likewise.
13321         (ILL_ILLADR): Likewise.
13322         (ILL_ILLTRP): Likewise.
13323         (ILL_PRVOPC): Likewise.
13324         (ILL_PRVREG): Likewise.
13325         (ILL_COPROC): Likewise.
13326         (ILL_BADSTK): Likewise.
13327         (FPE_INTDIV): Likewise.
13328         (FPE_INTOVF): Likewise.
13329         (FPE_FLTDIV): Likewise.
13330         (FPE_FLTOVF): Likewise.
13331         (FPE_FLTUND): Likewise.
13332         (FPE_FLTRES): Likewise.
13333         (FPE_FLTINV): Likewise.
13334         (FPE_FLTSUB): Likewise.
13335         (SEGV_MAPERR): Likewise.
13336         (SEGV_ACCERR): Likewise.
13337         (BUS_ADRALN): Likewise.
13338         (BUS_ADRERR): Likewise.
13339         (BUS_OBJERR): Likewise.
13340         (BUS_MCEERR_AR): Likewise.
13341         (BUS_MCEERR_AO): Likewise.
13342         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
13343         (TRAP_TRACE): Likewise.
13344         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
13345         __USE_XOPEN2K8].
13346         (CLD_KILLED): Likewise.
13347         (CLD_DUMPED): Likewise.
13348         (CLD_TRAPPED): Likewise.
13349         (CLD_STOPPED): Likewise.
13350         (CLD_CONTINUED): Likewise.
13351         (POLL_IN): Likewise.
13352         (POLL_OUT): Likewise.
13353         (POLL_MSG): Likewise.
13354         (POLL_ERR): Likewise.
13355         (POLL_PRI): Likewise.
13356         (POLL_HUP): Likewise.
13357         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
13358         (ILL_ILLOPN): Likewise.
13359         (ILL_ILLADR): Likewise.
13360         (ILL_ILLTRP): Likewise.
13361         (ILL_PRVOPC): Likewise.
13362         (ILL_PRVREG): Likewise.
13363         (ILL_COPROC): Likewise.
13364         (ILL_BADSTK): 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/sparc/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         * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
13434         (ILL_ILLOPN): Likewise.
13435         (ILL_ILLADR): Likewise.
13436         (ILL_ILLTRP): Likewise.
13437         (ILL_PRVOPC): Likewise.
13438         (ILL_PRVREG): Likewise.
13439         (ILL_COPROC): Likewise.
13440         (ILL_BADSTK): Likewise.
13441         (ILL_DBLFLT): Likewise.
13442         (ILL_HARDWALL): Likewise.
13443         (FPE_INTDIV): Likewise.
13444         (FPE_INTOVF): Likewise.
13445         (FPE_FLTDIV): Likewise.
13446         (FPE_FLTOVF): Likewise.
13447         (FPE_FLTUND): Likewise.
13448         (FPE_FLTRES): Likewise.
13449         (FPE_FLTINV): Likewise.
13450         (FPE_FLTSUB): Likewise.
13451         (SEGV_MAPERR): Likewise.
13452         (SEGV_ACCERR): Likewise.
13453         (BUS_ADRALN): Likewise.
13454         (BUS_ADRERR): Likewise.
13455         (BUS_OBJERR): Likewise.
13456         (BUS_MCEERR_AR): Likewise.
13457         (BUS_MCEERR_AO): Likewise.
13458         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
13459         (TRAP_TRACE): Likewise.
13460         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
13461         __USE_XOPEN2K8].
13462         (CLD_KILLED): Likewise.
13463         (CLD_DUMPED): Likewise.
13464         (CLD_TRAPPED): Likewise.
13465         (CLD_STOPPED): Likewise.
13466         (CLD_CONTINUED): Likewise.
13467         (POLL_IN): Likewise.
13468         (POLL_OUT): Likewise.
13469         (POLL_MSG): Likewise.
13470         (POLL_ERR): Likewise.
13471         (POLL_PRI): Likewise.
13472         (POLL_HUP): Likewise.
13473         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
13474         (ILL_ILLOPN): Likewise.
13475         (ILL_ILLADR): Likewise.
13476         (ILL_ILLTRP): Likewise.
13477         (ILL_PRVOPC): Likewise.
13478         (ILL_PRVREG): Likewise.
13479         (ILL_COPROC): Likewise.
13480         (ILL_BADSTK): Likewise.
13481         (FPE_INTDIV): Likewise.
13482         (FPE_INTOVF): Likewise.
13483         (FPE_FLTDIV): Likewise.
13484         (FPE_FLTOVF): Likewise.
13485         (FPE_FLTUND): Likewise.
13486         (FPE_FLTRES): Likewise.
13487         (FPE_FLTINV): Likewise.
13488         (FPE_FLTSUB): Likewise.
13489         (SEGV_MAPERR): Likewise.
13490         (SEGV_ACCERR): Likewise.
13491         (BUS_ADRALN): Likewise.
13492         (BUS_ADRERR): Likewise.
13493         (BUS_OBJERR): Likewise.
13494         (BUS_MCEERR_AR): Likewise.
13495         (BUS_MCEERR_AO): Likewise.
13496         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
13497         (TRAP_TRACE): Likewise.
13498         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
13499         __USE_XOPEN2K8].
13500         (CLD_KILLED): Likewise.
13501         (CLD_DUMPED): Likewise.
13502         (CLD_TRAPPED): Likewise.
13503         (CLD_STOPPED): Likewise.
13504         (CLD_CONTINUED): Likewise.
13505         (POLL_IN): Likewise.
13506         (POLL_OUT): Likewise.
13507         (POLL_MSG): Likewise.
13508         (POLL_ERR): Likewise.
13509         (POLL_PRI): Likewise.
13510         (POLL_HUP): Likewise.
13511         * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
13512         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
13513
13514         [BZ #16670]
13515         * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
13516         before #include of <time.h>.
13517         [!__USE_XOPEN2K] (__need_timespec): Likewise.
13518         * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
13519         (test-xfail-UNIX98/sched.h/conform): Likewise.
13520
13521 2014-03-07  Marcus Shawcroft  <marcus.shawcroft@arm.com>
13522
13523         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
13524         error absence of trapping exception support.
13525         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
13526
13527 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
13528
13529         * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
13530         ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
13531         * timezone/Makefile (testdata): Move definition above include of
13532         Rules.
13533         (test-zones): New variable.
13534         (tests-special): Add zone files.
13535         (build-testdata): Use $(evaluate-test).
13536
13537         * elf/Makefile (tests-special): Rename tests to end with .out.
13538         ($(objpfx)noload-mem): Likewise.
13539         ($(objpfx)tst-leaks1-mem): Likewise.
13540         ($(objpfx)tst-leaks1-static-mem.out): Likewise.
13541         * iconv/Makefile (xtests-special): Change test-iconvconfig to
13542         $(objpfx)test-iconvconfig.out.
13543         (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out.  Use
13544         set -e inside subshell and redirect output to file.
13545         * iconvdata/Makefile (generated): Rename tests to end with .out.
13546         Correct type.
13547         (tests-special): Rename tests to end with .out.
13548         ($(objpfx)mtrace-tst-loading): Likewise.
13549         * intl/Makefile (generated): Likewise.
13550         (tests-special): Likewise.
13551         ($(objpfx)mtrace-tst-gettext): Likewise.
13552         * misc/Makefile (generated): Likewise.
13553         (tests-special): Likewise.
13554         ($(objpfx)tst-error1-mem): Likewise.
13555         * nptl/Makefile (tests-special): Likewise.
13556         ($(objpfx)tst-stack3-mem): Likewise.
13557         (generated): Likewise.
13558         * posix/Makefile (generated): Likewise.
13559         (tests-special): Likewise.
13560         (xtests-special): Likewise.
13561         ($(objpfx)tst-fnmatch-mem): Likewise.
13562         ($(objpfx)bug-regex2-mem): Likewise.
13563         ($(objpfx)bug-regex14-mem): Likewise.
13564         ($(objpfx)bug-regex21-mem): Likewise.
13565         ($(objpfx)bug-regex31-mem): Likewise.
13566         ($(objpfx)tst-vfork3-mem): Likewise.
13567         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
13568         ($(objpfx)tst-pcre-mem): Likewise.
13569         ($(objpfx)tst-boost-mem): Likewise.
13570         ($(objpfx)bug-ga2-mem): Likewise.
13571         ($(objpfx)bug-glob2-mem): Likewise.
13572         * resolv/Makefile (generate): Likewise.
13573         (tests-special): Likewise.
13574         (xtests-special): Likewise.
13575         (generated): Likewise.
13576         ($(objpfx)mtrace-tst-leaks): Likewise.
13577         ($(objpfx)mtrace-tst-leaks2): Likewise.
13578
13579         * scripts/merge-test-results.sh: New file.
13580         * Makefile (tests-special-notdir): New variable.
13581         (tests): Run merge-test-results.sh.
13582         (xtests): Likewise.
13583         * Rules (tests-special-notdir): New variable.
13584         (xtests-special-notdir): Likewise.
13585         (tests): Run merge-test-results.sh
13586         (xtests): Likewise.
13587
13588         * Makeconfig (test-xfail-name): New variable.
13589         (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
13590         compute variable name for expected failures.
13591         * conform/Makefile (conformtest-headers-data): New variable.
13592         (conformtest-standards): Likewise.
13593         (conformtest-headers-ISO): Likewise.
13594         (conformtest-headers-ISO99): Likewise.
13595         (conformtest-headers-ISO11): Likewise.
13596         (conformtest-headers-POSIX): Likewise.
13597         (conformtest-headers-XPG3): Likewise.
13598         (conformtest-headers-XPG4): Likewise.
13599         (conformtest-headers-UNIX98): Likewise.
13600         (conformtest-headers-XOPEN2K): Likewise.
13601         (conformtest-headers-POSIX2008): Likewise.
13602         (conformtest-headers-XOPEN2K8): Likewise.
13603         (conformtest-header-list-base): Likewise.
13604         (conformtest-header-list-tests): Likewise.
13605         (conformtest-header-base): Likewise.
13606         (conformtest-header-tests): Likewise.
13607         (tests-special): Add $(conformtest-header-list-tests).  If
13608         [$(fast-check) && !$(cross-compiling)], add
13609         $(conformtest-header-tests) instead of
13610         $(objpfx)run-conformtest.out.
13611         (generated): Add $(conformtest-header-list-base).  If
13612         [$(fast-check) && !$(cross-compiling)], add
13613         $(conformtest-header-base).  Remove previous setting.
13614         ($(conformtest-header-list-tests)): New target.
13615         (test-xfail-run-conformtest): Remove variable.
13616         ($(objpfx)run-conformtest.out): Remove target.
13617         (test-xfail-ISO11/complex.h/conform): New variable.
13618         (test-xfail-ISO11/stdalign.h/conform): Likewise.
13619         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
13620         (test-xfail-XPG3/varargs.h/conform): Likewise.
13621         (test-xfail-XPG4/varargs.h/conform): Likewise.
13622         (test-xfail-UNIX98/varargs.h/conform): Likewise.
13623         (test-xfail-XPG4/ndbm.h/conform): Likewise.
13624         (test-xfail-UNIX98/ndbm.h/conform): Likewise.
13625         (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
13626         (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
13627         (test-xfail-XPG3/fcntl.h/conform): Likewise.
13628         (test-xfail-XPG3/ftw.h/conform): Likewise.
13629         (test-xfail-XPG3/grp.h/conform): Likewise.
13630         (test-xfail-XPG3/langinfo.h/conform): Likewise.
13631         (test-xfail-XPG3/limits.h/conform): Likewise.
13632         (test-xfail-XPG3/pwd.h/conform): Likewise.
13633         (test-xfail-XPG3/search.h/conform): Likewise.
13634         (test-xfail-XPG3/signal.h/conform): Likewise.
13635         (test-xfail-XPG3/stdio.h/conform): Likewise.
13636         (test-xfail-XPG3/stdlib.h/conform): Likewise.
13637         (test-xfail-XPG3/string.h/conform): Likewise.
13638         (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
13639         (test-xfail-XPG3/sys/msg.h/conform): Likewise.
13640         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
13641         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
13642         (test-xfail-XPG3/sys/stat.h/conform): Likewise.
13643         (test-xfail-XPG3/sys/types.h/conform): Likewise.
13644         (test-xfail-XPG3/sys/wait.h/conform): Likewise.
13645         (test-xfail-XPG3/termios.h/conform): Likewise.
13646         (test-xfail-XPG3/time.h/conform): Likewise.
13647         (test-xfail-XPG3/unistd.h/conform): Likewise.
13648         (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
13649         (test-xfail-XPG4/fcntl.h/conform): Likewise.
13650         (test-xfail-XPG4/langinfo.h/conform): Likewise.
13651         (test-xfail-XPG4/netdb.h/conform): Likewise.
13652         (test-xfail-XPG4/netinet/in.h/conform): Likewise.
13653         (test-xfail-XPG4/signal.h/conform): Likewise.
13654         (test-xfail-XPG4/stdio.h/conform): Likewise.
13655         (test-xfail-XPG4/stdlib.h/conform): Likewise.
13656         (test-xfail-XPG4/stropts.h/conform): Likewise.
13657         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
13658         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
13659         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
13660         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
13661         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
13662         (test-xfail-XPG4/sys/stat.h/conform): Likewise.
13663         (test-xfail-XPG4/sys/time.h/conform): Likewise.
13664         (test-xfail-XPG4/sys/types.h/conform): Likewise.
13665         (test-xfail-XPG4/sys/wait.h/conform): Likewise.
13666         (test-xfail-XPG4/termios.h/conform): Likewise.
13667         (test-xfail-XPG4/ucontext.h/conform): Likewise.
13668         (test-xfail-XPG4/unistd.h/conform): Likewise.
13669         (test-xfail-XPG4/utmpx.h/conform): Likewise.
13670         (test-xfail-POSIX/sched.h/conform): Likewise.
13671         (test-xfail-POSIX/signal.h/conform): Likewise.
13672         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
13673         (test-xfail-POSIX/tar.h/conform): Likewise.
13674         (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
13675         (test-xfail-UNIX98/fcntl.h/conform): Likewise.
13676         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
13677         (test-xfail-UNIX98/netdb.h/conform): Likewise.
13678         (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
13679         (test-xfail-UNIX98/sched.h/conform): Likewise.
13680         (test-xfail-UNIX98/signal.h/conform): Likewise.
13681         (test-xfail-UNIX98/stdio.h/conform): Likewise.
13682         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
13683         (test-xfail-UNIX98/stropts.h/conform): Likewise.
13684         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
13685         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
13686         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
13687         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
13688         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
13689         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
13690         (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
13691         (test-xfail-UNIX98/ucontext.h/conform): Likewise.
13692         (test-xfail-UNIX98/unistd.h/conform): Likewise.
13693         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
13694         (test-xfail-XOPEN2K/aio.h/conform): Likewise.
13695         (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
13696         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
13697         (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
13698         (test-xfail-XOPEN2K/math.h/conform): Likewise.
13699         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
13700         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
13701         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
13702         (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
13703         (test-xfail-XOPEN2K/signal.h/conform): Likewise.
13704         (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
13705         (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
13706         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
13707         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
13708         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
13709         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
13710         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
13711         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
13712         (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
13713         (test-xfail-XOPEN2K/termios.h/conform): Likewise.
13714         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
13715         (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
13716         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
13717         (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
13718         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
13719         (test-xfail-POSIX2008/netdb.h/conform): Likewise.
13720         (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
13721         (test-xfail-POSIX2008/signal.h/conform): Likewise.
13722         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
13723         (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
13724         (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
13725         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
13726         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
13727         (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
13728         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
13729         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
13730         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
13731         (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
13732         (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
13733         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
13734         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
13735         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
13736         (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
13737         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
13738         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
13739         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
13740         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
13741         (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
13742         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
13743         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
13744         (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
13745         (conformtest-cc-flags): Likewise.
13746         ($(conformtest-header-tests): New target.
13747         * conform/check-header-lists.sh: New file.
13748         * conform/run-conformtest.sh: Remove.
13749
13750         * conform/conformtest.pl: Allow ' and \ in values given for
13751         constants.
13752         * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
13753         inclusion.
13754         [POSIX] (sys/types.h): Likewise.
13755         [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
13756         inclusion.
13757         [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
13758         inclusion.
13759         * conform/data/signal.h-data (SIGIO): Remove expectation.
13760         [XPG3] (SIGBUS): Do not expect.
13761         [POSIX || XPG3] (SIGPOLL): Likewise.
13762         [POSIX || XPG3] (SIGPROF): Likewise.
13763         [POSIX || XPG3] (SIGSYS): Likewise.
13764         [XPG3] (SIGTRAP): Likewise.
13765         [POSIX || XPG3] (SIGURG): Likewise.
13766         [POSIX || XPG3] (SIGVTALRM): Likewise.
13767         [POSIX || XPG3] (SIGXCPU): Likewise.
13768         [POSIX || XPG3] (SIGXFSZ): Likewise.
13769         [POSIX] (SA_SIGINFO): Expect.
13770         [XPG3] (siginfo_t): Do not expect type or contents.
13771         [POSIX] (si_pid): Do not expect element.
13772         [POSIX] (si_uid): Likewise.
13773         [POSIX] (si_addr): Likewise.
13774         [POSIX] (si_status): Likewise.
13775         [POSIX] (si_band): Likewise.
13776         [XPG4] (si_value): Likewise.
13777         [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
13778         [POSIX || XPG3] (ILL_ILLOPN): Likewise.
13779         [POSIX || XPG3] (ILL_ILLADR): Likewise.
13780         [POSIX || XPG3] (ILL_ILLTRP): Likewise.
13781         [POSIX || XPG3] (ILL_PRVOPC): Likewise.
13782         [POSIX || XPG3] (ILL_PRVREG): Likewise.
13783         [POSIX || XPG3] (ILL_COPROC): Likewise.
13784         [POSIX || XPG3] (ILL_BADSTK): Likewise.
13785         [POSIX || XPG3] (FPE_INTDIV): Likewise.
13786         [POSIX || XPG3] (FPE_INTOVF): Likewise.
13787         [POSIX || XPG3] (FPE_FLTDIV): Likewise.
13788         [POSIX || XPG3] (FPE_FLTOVF): Likewise.
13789         [POSIX || XPG3] (FPE_FLTUND): Likewise.
13790         [POSIX || XPG3] (FPE_FLTRES): Likewise.
13791         [POSIX || XPG3] (FPE_FLTINV): Likewise.
13792         [POSIX || XPG3] (FPE_FLTSUB): Likewise.
13793         [POSIX || XPG3] (SEGV_MAPERR): Likewise.
13794         [POSIX || XPG3] (SEGV_ACCERR): Likewise.
13795         [POSIX || XPG3] (BUS_ADRALN): Likewise.
13796         [POSIX || XPG3] (BUS_ADRERR): Likewise.
13797         [POSIX || XPG3] (BUS_OBJERR): Likewise.
13798         [POSIX || XPG3] (CLD_EXITED): Likewise.
13799         [POSIX || XPG3] (CLD_KILLED): Likewise.
13800         [POSIX || XPG3] (CLD_DUMPED): Likewise.
13801         [POSIX || XPG3] (CLD_TRAPPED): Likewise.
13802         [POSIX || XPG3] (CLD_STOPPED): Likewise.
13803         [POSIX || XPG3] (CLD_CONTINUED): Likewise.
13804         [POSIX || XPG3] (POLL_IN): Likewise.
13805         [POSIX || XPG3] (POLL_OUT): Likewise.
13806         [POSIX || XPG3] (POLL_MSG): Likewise.
13807         [POSIX || XPG3] (POLL_ERR): Likewise.
13808         [POSIX || XPG3] (POLL_PRI): Likewise.
13809         [POSIX || XPG3] (POLL_HUP): Likewise.
13810         [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
13811         [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
13812         (SIG*): Do not allow.
13813         [XPG3] (si_*): Likewise.
13814         [XPG3] (SI_*): Likewise.
13815         [XPG3 || XPG4] (sigev_*): Likewise.
13816         [XPG3 || XPG4] (SIGEV_*): Likewise.
13817         [XPG3 || XPG4] (sival_*): Likewise.
13818         [POSIX || XPG3 || XPG4] (uc_*): Likewise.
13819         [POSIX || XPG3] (BUS_*): Likewise.
13820         [POSIX || XPG3] (CLD_*): Likewise.
13821         [POSIX || XPG3] (FPE_*): Likewise.
13822         [POSIX || XPG3] (ILL_*): Likewise.
13823         [POSIX || XPG3] (POLL_*): Likewise.
13824         [POSIX || XPG3] (SEGV_*): Likewise.
13825         [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
13826         [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
13827         [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
13828         [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
13829         [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
13830         * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
13831         Specify type and value.
13832         (TVERSLEN): Likewise.
13833         (REGTYPE): Likewise.
13834         (AREGTYPE): Likewise.
13835         (LNKTYPE): Likewise.
13836         (SYMTYPE): Likewise.
13837         (CHRTYPE): Likewise.
13838         (BLKTYPE): Likewise.
13839         (DIRTYPE): Likewise.
13840         (FIFOTYPE): Likewise.
13841         (CONTTYPE): Likewise.
13842         (TSUID): Likewise.
13843         (TSGID): Likewise.
13844         (TSVTX): Likewise.
13845         (TUREAD): Likewise.
13846         (TUWRITE): Likewise.
13847         (TUEXEC): Likewise.
13848         (TGREAD): Likewise.
13849         (TGWRITE): Likewise.
13850         (TGEXEC): Likewise.
13851         (TOREAD): Likewise.
13852         (TOWRITE): Likewise.
13853         (TOEXEC): Likewise.
13854         [POSIX] (TSVTX): Expect constant.
13855
13856 2014-03-06  Joseph Myers  <joseph@codesourcery.com>
13857
13858         * Makefile (tests): Change dependencies to ....
13859         (tests-special): ... additions to this variable.
13860         (tests): Depend on $(tests-special).
13861         * Makerules (check-abi-list): New variable.
13862         (check-abi): Depend on $(check-abi-list).
13863         [$(subdir) = elf] (tests-special): Add
13864         $(objpfx)check-abi-libc.out.
13865         [$(build-shared) = yes && subdir] (tests-special): Add
13866         $(check-abi-list).
13867         [$(build-shared) = yes && subdir] (tests): Do not depend on
13868         check-abi.
13869         * Rules (tests): Depend on $(tests-special).
13870         (xtests): Depend on $(xtests-special).
13871         * catgets/Makefile (tests): Change dependencies to ....
13872         (tests-special): ... additions to this variable.
13873         * conform/Makefile (tests): Change dependencies to ....
13874         (tests-special): ... additions to this variable.
13875         * elf/Makefile (tests): Change dependencies to ....
13876         (tests-special): ... additions to this variable.
13877         * grp/Makefile (tests): Change dependencies to ....
13878         (tests-special): ... additions to this variable.
13879         * iconv/Makefile (xtests): Change dependencies to ....
13880         (xtests-special): ... additions to this variable.
13881         * iconvdata/Makefile (tests): Change dependencies to ....
13882         (tests-special): ... additions to this variable.
13883         * intl/Makefile (tests): Change dependencies to ....
13884         (tests-special): ... additions to this variable.  Also add
13885         $(objpfx)tst-gettext.out.
13886         * io/Makefile (tests): Change dependencies to ....
13887         (tests-special): ... additions to this variable.
13888         * libio/Makefile (tests): Change dependencies to ....
13889         (tests-special): ... additions to this variable.
13890         * malloc/Makefile (tests): Change dependencies to ....
13891         (tests-special): ... additions to this variable.
13892         * misc/Makefile (tests): Change dependencies to ....
13893         (tests-special): ... additions to this variable.
13894         * nptl/Makefile (tests): Change dependencies to ....
13895         (tests-special): ... additions to this variable.
13896         * nptl_db/Makefile (tests): Change dependencies to ....
13897         (tests-special): ... additions to this variable.
13898         * posix/Makefile (tests): Change dependencies to ....
13899         (tests-special): ... additions to this variable.
13900         (xtests): Change dependencies to ....
13901         (xtests-special): ... additions to this variable.
13902         * resolv/Makefile (tests): Change dependencies to ....
13903         (tests-special): ... additions to this variable.
13904         (xtests): Change dependencies to ....
13905         (xtests-special): ... additions to this variable.
13906         * stdio-common/Makefile (tests): Change dependencies to ....
13907         (tests-special): ... additions to this variable.
13908         (do-tst-unbputc): Remove target.
13909         (do-tst-printf): Likewise.
13910         * stdlib/Makefile (tests): Change dependencies to ....
13911         (tests-special): ... additions to this variable.
13912         * string/Makefile (tests): Change dependencies to ....
13913         (tests-special): ... additions to this variable.
13914         * sysdeps/x86/Makefile (tests): Change dependencies to ....
13915         (tests-special): ... additions to this variable.
13916
13917         * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
13918         whole file.
13919         * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
13920         whole file.
13921         * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
13922         * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
13923
13924         * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
13925         * conform/data/arpa/inet.h-data [XPG3]: Likewise.
13926         * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
13927         * conform/data/fmtmsg.h-data [XPG3]: Likewise.
13928         * conform/data/libgen.h-data [XPG3]: Likewise.
13929         * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
13930         * conform/data/ndbm.h-data [XPG3]: Likewise.
13931         * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
13932         * conform/data/netdb.h-data [XPG3]: Likewise.
13933         * conform/data/netinet/in.h-data [XPG3]: Likewise.
13934         * conform/data/poll.h-data [XPG3]: Likewise.
13935         * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
13936         * conform/data/strings.h-data [XPG3]: Likewise.
13937         * conform/data/stropts.h-data [XPG3]: Likewise.
13938         * conform/data/sys/mman.h-data [XPG3]: Likewise.
13939         * conform/data/sys/resource.h-data [XPG3]: Likewise.
13940         * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
13941         Likewise.
13942         * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
13943         * conform/data/sys/time.h-data [XPG3]: Likewise.
13944         * conform/data/sys/timeb.h-data [XPG3]: Likewise.
13945         * conform/data/sys/uio.h-data [XPG3]: Likewise.
13946         * conform/data/sys/un.h-data [XPG3]: Likewise.
13947         * conform/data/syslog.h-data [XPG3]: Likewise.
13948         * conform/data/ucontext.h-data [XPG3]: Likewise.
13949         * conform/data/utmpx.h-data [XPG3]: Likewise.
13950         * conform/data/varargs.h-data [UNIX98]: Enable file.
13951
13952         * manual/Makefile (INSTALL_INFO): Remove variable setting.
13953
13954         * math/libm-test.inc (struct test_f_f_data): Move expected results
13955         into structure for each rounding mode.
13956         (struct test_ff_f_data): Likewise.
13957         (struct test_ff_f_data_nexttoward): Likewise.
13958         (struct test_fi_f_data): Likewise.
13959         (struct test_fl_f_data): Likewise.
13960         (struct test_if_f_data): Likewise.
13961         (struct test_fff_f_data): Likewise.
13962         (struct test_c_f_data): Likewise.
13963         (struct test_f_f1_data): Likewise.
13964         (struct test_fF_f1_data): Likewise.
13965         (struct test_ffI_f1_data): Likewise.
13966         (struct test_c_c_data): Likewise.
13967         (struct test_cc_c_data): Likewise.
13968         (struct test_f_i_data): Likewise.
13969         (struct test_ff_i_data): Likewise.
13970         (struct test_f_l_data): Likewise.
13971         (struct test_f_L_data): Likewise.
13972         (struct test_fFF_11_data): Likewise.
13973         (RM_): New macro.
13974         (RM_FE_DOWNWARD): Likewise.
13975         (RM_FE_TONEAREST): Likewise.
13976         (RM_FE_TOWARDZERO): Likewise.
13977         (RM_FE_UPWARD): Likewise.
13978         (RUN_TEST_LOOP_f_f): Update references to expected results.
13979         (RUN_TEST_LOOP_2_f): Likewise.
13980         (RUN_TEST_LOOP_fff_f): Likewise.
13981         (RUN_TEST_LOOP_c_f): Likewise.
13982         (RUN_TEST_LOOP_f_f1): Likewise.
13983         (RUN_TEST_LOOP_fF_f1): Likewise.
13984         (RUN_TEST_LOOP_fI_f1): Likewise.
13985         (RUN_TEST_LOOP_ffI_f1): Likewise.
13986         (RUN_TEST_LOOP_c_c): Likewise.
13987         (RUN_TEST_LOOP_cc_c): Likewise.
13988         (RUN_TEST_LOOP_f_i): Likewise.
13989         (RUN_TEST_LOOP_f_i_tg): Likewise.
13990         (RUN_TEST_LOOP_ff_i_tg): Likewise.
13991         (RUN_TEST_LOOP_f_b): Likewise.
13992         (RUN_TEST_LOOP_f_b_tg): Likewise.
13993         (RUN_TEST_LOOP_f_l): Likewise.
13994         (RUN_TEST_LOOP_f_L): Likewise.
13995         (RUN_TEST_LOOP_fFF_11): Likewise.
13996         * math/gen-libm-test.pl (parse_args): Output four copies of
13997         expected results for each test.
13998
13999         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
14000         (__ASSUME_UTIMES): Remove.
14001         * sysdeps/unix/sysv/linux/tile/kernel-features.h
14002         (__ASSUME_UTIMES): Likewise.
14003
14004         * math/gen-auto-libm-tests.c: Update comment on output format.
14005         (output_for_one_input_case): Generate before-rounding and
14006         after-rounding information as conditions on output flags not
14007         floating-point format.
14008         * math/auto-libm-test-out: Regenerated.
14009         * math/gen-libm-test.pl (cond_value): New function.
14010         (or_cond_value): Use cond_value.
14011         (generate_testfile): Handle conditional exceptions.
14012
14013 2014-03-05  Joseph Myers  <joseph@codesourcery.com>
14014
14015         * math/libm-test.inc (max_valid_error): New variable.
14016         (init_max_error): Take new argument specifying whether function
14017         results are exactly determined.  Set max_valid_error and bound
14018         other variables for errors based on this argument.
14019         (set_max_error): Do not record results above max_valid_error.
14020         (check_float_internal): Only accept errors of up to 0.5ulps if
14021         also at most max_valid_error.
14022         (START): Take new argument EXACT and pass it to init_max_error.
14023         (acos_test): Update call to START.
14024         (acos_test_tonearest): Likewise.
14025         (acos_test_towardzero): Likewise.
14026         (acos_test_downward): Likewise.
14027         (acos_test_upward): Likewise.
14028         (acosh_test): Likewise.
14029         (asin_test): Likewise.
14030         (asin_test_tonearest): Likewise.
14031         (asin_test_towardzero): Likewise.
14032         (asin_test_downward): Likewise.
14033         (asin_test_upward): Likewise.
14034         (asinh_test): Likewise.
14035         (atan_test): Likewise.
14036         (atanh_test): Likewise.
14037         (atan2_test): Likewise.
14038         (cabs_test): Likewise.
14039         (cacos_test): Likewise.
14040         (cacosh_test): Likewise.
14041         (carg_test): Likewise.
14042         (casin_test): Likewise.
14043         (casinh_test): Likewise.
14044         (catan_test): Likewise.
14045         (catanh_test): Likewise.
14046         (cbrt_test): Likewise.
14047         (ccos_test): Likewise.
14048         (ccosh_test): Likewise.
14049         (ceil_test): Likewise.
14050         (cexp_test): Likewise.
14051         (cimag_test): Likewise.
14052         (clog_test): Likewise.
14053         (clog10_test): Likewise.
14054         (conj_test): Likewise.
14055         (copysign_test): Likewise.
14056         (cos_test): Likewise.
14057         (cos_test_tonearest): Likewise.
14058         (cos_test_towardzero): Likewise.
14059         (cos_test_downward): Likewise.
14060         (cos_test_upward): Likewise.
14061         (cosh_test): Likewise.
14062         (cosh_test_tonearest): Likewise.
14063         (cosh_test_towardzero): Likewise.
14064         (cosh_test_downward): Likewise.
14065         (cosh_test_upward): Likewise.
14066         (cpow_test): Likewise.
14067         (cproj_test): Likewise.
14068         (creal_test): Likewise.
14069         (csin_test): Likewise.
14070         (csinh_test): Likewise.
14071         (csqrt_test): Likewise.
14072         (ctan_test): Likewise.
14073         (ctan_test_tonearest): Likewise.
14074         (ctan_test_towardzero): Likewise.
14075         (ctan_test_downward): Likewise.
14076         (ctan_test_upward): Likewise.
14077         (ctanh_test): Likewise.
14078         (ctanh_test_tonearest): Likewise.
14079         (ctanh_test_towardzero): Likewise.
14080         (ctanh_test_downward): Likewise.
14081         (ctanh_test_upward): Likewise.
14082         (erf_test): Likewise.
14083         (erfc_test): Likewise.
14084         (exp_test): Likewise.
14085         (exp_test_tonearest): Likewise.
14086         (exp_test_towardzero): Likewise.
14087         (exp_test_downward): Likewise.
14088         (exp_test_upward): Likewise.
14089         (exp10_test): Likewise.
14090         (exp10_test_tonearest): Likewise.
14091         (exp10_test_towardzero): Likewise.
14092         (exp10_test_downward): Likewise.
14093         (exp10_test_upward): Likewise.
14094         (pow10_test): Likewise.
14095         (exp2_test): Likewise.
14096         (expm1_test): Likewise.
14097         (expm1_test_tonearest): Likewise.
14098         (expm1_test_towardzero): Likewise.
14099         (expm1_test_downward): Likewise.
14100         (expm1_test_upward): Likewise.
14101         (fabs_test): Likewise.
14102         (fdim_test): Likewise.
14103         (floor_test): Likewise.
14104         (fma_test): Likewise.
14105         (fma_test_towardzero): Likewise.
14106         (fma_test_downward): Likewise.
14107         (fma_test_upward): Likewise.
14108         (fmax_test): Likewise.
14109         (fmin_test): Likewise.
14110         (fmod_test): Likewise.
14111         (fpclassify_test): Likewise.
14112         (frexp_test): Likewise.
14113         (hypot_test): Likewise.
14114         (ilogb_test): Likewise.
14115         (isfinite_test): Likewise.
14116         (finite_test): Likewise.
14117         (isgreater_test): Likewise.
14118         (isgreaterequal_test): Likewise.
14119         (isinf_test): Likewise.
14120         (isless_test): Likewise.
14121         (islessequal_test): Likewise.
14122         (islessgreater_test): Likewise.
14123         (isnan_test): Likewise.
14124         (isnormal_test): Likewise.
14125         (issignaling_test): Likewise.
14126         (isunordered_test): Likewise.
14127         (j0_test): Likewise.
14128         (j1_test): Likewise.
14129         (jn_test): Likewise.
14130         (ldexp_test): Likewise.
14131         (lgamma_test): Likewise.
14132         (gamma_test): Likewise.
14133         (lrint_test): Likewise.
14134         (lrint_test_tonearest): Likewise.
14135         (lrint_test_towardzero): Likewise.
14136         (lrint_test_downward): Likewise.
14137         (lrint_test_upward): Likewise.
14138         (llrint_test): Likewise.
14139         (llrint_test_tonearest): Likewise.
14140         (llrint_test_towardzero): Likewise.
14141         (llrint_test_downward): Likewise.
14142         (llrint_test_upward): Likewise.
14143         (log_test): Likewise.
14144         (log10_test): Likewise.
14145         (log1p_test): Likewise.
14146         (log2_test): Likewise.
14147         (logb_test): Likewise.
14148         (logb_test_downward): Likewise.
14149         (lround_test): Likewise.
14150         (llround_test): Likewise.
14151         (modf_test): Likewise.
14152         (nearbyint_test): Likewise.
14153         (nextafter_test): Likewise.
14154         (nexttoward_test): Likewise.
14155         (pow_test): Likewise.
14156         (pow_test_tonearest): Likewise.
14157         (pow_test_towardzero): Likewise.
14158         (pow_test_downward): Likewise.
14159         (pow_test_upward): Likewise.
14160         (remainder_test): Likewise.
14161         (drem_test): Likewise.
14162         (remainder_test_tonearest): Likewise.
14163         (drem_test_tonearest): Likewise.
14164         (remainder_test_towardzero): Likewise.
14165         (drem_test_towardzero): Likewise.
14166         (remainder_test_downward): Likewise.
14167         (drem_test_downward): Likewise.
14168         (remainder_test_upward): Likewise.
14169         (drem_test_upward): Likewise.
14170         (remquo_test): Likewise.
14171         (rint_test): Likewise.
14172         (rint_test_tonearest): Likewise.
14173         (rint_test_towardzero): Likewise.
14174         (rint_test_downward): Likewise.
14175         (rint_test_upward): Likewise.
14176         (round_test): Likewise.
14177         (scalb_test): Likewise.
14178         (scalbn_test): Likewise.
14179         (scalbln_test): Likewise.
14180         (signbit_test): Likewise.
14181         (sin_test): Likewise.
14182         (sin_test_tonearest): Likewise.
14183         (sin_test_towardzero): Likewise.
14184         (sin_test_downward): Likewise.
14185         (sin_test_upward): Likewise.
14186         (sincos_test): Likewise.
14187         (sinh_test): Likewise.
14188         (sinh_test_tonearest): Likewise.
14189         (sinh_test_towardzero): Likewise.
14190         (sinh_test_downward): Likewise.
14191         (sinh_test_upward): Likewise.
14192         (sqrt_test): Likewise.
14193         (sqrt_test_tonearest): Likewise.
14194         (sqrt_test_towardzero): Likewise.
14195         (sqrt_test_downward): Likewise.
14196         (sqrt_test_upward): Likewise.
14197         (tan_test): Likewise.
14198         (tan_test_tonearest): Likewise.
14199         (tan_test_towardzero): Likewise.
14200         (tan_test_downward): Likewise.
14201         (tan_test_upward): Likewise.
14202         (tanh_test): Likewise.
14203         (tgamma_test): Likewise.
14204         (trunc_test): Likewise.
14205         (y0_test): Likewise.
14206         (y1_test): Likewise.
14207         (yn_test): Likewise.
14208         (significand_test): Likewise.
14209
14210         * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
14211         individual tests in comment.
14212         (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
14213         (prev_max_error): New variable.
14214         (prev_real_max_error): Likewise.
14215         (prev_imag_max_error): Likewise.
14216         (compare_ulp_data): Don't refer to test names in comment.
14217         (find_test_ulps): Remove function.
14218         (find_function_ulps): Likewise.
14219         (find_complex_function_ulps): Likewise.
14220         (init_max_error): Take function name as argument.  Look up ulps
14221         for that function.
14222         (print_ulps): Remove function.
14223         (print_max_error): Use prev_max_error instead of calling
14224         find_function_ulps.
14225         (print_complex_max_error): Use prev_real_max_error and
14226         prev_imag_max_error instead of calling find_complex_function_ulps.
14227         (check_float_internal): Take max_ulp parameter instead of calling
14228         find_test_ulps.  Don't call print_ulps.
14229         (check_float): Update call to check_float_internal.
14230         (check_complex): Update calls to check_float_internal.
14231         (START): Pass argument to init_max_error.
14232         * math/gen-libm-test.pl (%results): Don't include "kind"
14233         information.
14234         (parse_ulps): Don't handle ulps of individual tests.
14235         (print_ulps_file): Likewise.
14236         (output_ulps): Likewise.
14237         * math/README.libm-test: Update.
14238         * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
14239         individual tests.
14240         * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
14241         * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
14242         * sysdeps/arm/libm-test-ulps: Likewise.
14243         * sysdeps/i386/fpu/libm-test-ulps: Likewise.
14244         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
14245         * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
14246         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
14247         * sysdeps/microblaze/libm-test-ulps: Likewise.
14248         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
14249         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
14250         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
14251         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
14252         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
14253         * sysdeps/sh/libm-test-ulps: Likewise.
14254         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
14255         * sysdeps/tile/libm-test-ulps: Likewise.
14256         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14257
14258 2014-03-04  Joseph Myers  <joseph@codesourcery.com>
14259
14260         * math/libm-test.inc (print_complex_max_error): Check separately
14261         whether real and imaginary errors are within allowed range and
14262         pass 0 to print_complex_function_ulps instead of value within
14263         allowed range.
14264
14265 2014-03-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
14266
14267         * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
14268         formatting.
14269         (get_handles_fopen): Likewise.
14270         (do_write_test): Likewise.
14271
14272         * libio/wfileops.c (do_ftell_wide): Fix up formatting.
14273
14274         * libio/fileops.c (do_ftell): Use cached offset when
14275         available.
14276         * libio/iofwide.c (do_ftell_wide): Likewise.
14277         * libio/iofdopen.c (_IO_new_fdopen): Don't use
14278         _IO_file_attach.
14279         * libio/wfileops.c (_IO_fwide): Don't cache offset.
14280
14281         [BZ #16532]
14282         * libio/libioP.h (get_file_offset): New function.
14283         * libio/fileops.c (get_file_offset): Likewise.
14284         (do_ftell): Likewise.
14285         (_IO_new_file_seekoff): Split out ftell logic.
14286         * libio/wfileops.c (do_ftell_wide): Likewise.
14287         (_IO_wfile_seekoff): Split out ftell logic.
14288         * libio/tst-ftell-active-handler.c: New test case.
14289         * libio/Makefile (tests): Add it.
14290
14291 2014-03-03  Roland McGrath  <roland@hack.frob.com>
14292
14293         * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
14294         * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
14295
14296 2014-03-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
14297
14298         [BZ #16639]
14299         * nscd/connections.c (nscd_init): Call do_exit.
14300         (start_threads): Call do_exit and notify_parent.
14301         (begin_drop_privileges): Call do_exit.
14302         (finish_drop_privileges): Likewise.
14303         * nscd/selinux.c (preserve_capabilities): Likewise.
14304         (install_real_capabilities): Likewise.
14305         (nscd_selinux_enabled): Likewise.
14306         (avc_create_thread): Likewise.
14307         (avc_alloc_lock): Likewise.
14308         (nscd_avc_init): Likewise.
14309         * nscd/nscd.c (parent_fd): New static variable.
14310         (main): Create a pipe between parent and child processes.
14311         Skip closing parent_fd.
14312         (monitor_child): New function.
14313         (do_exit): Likewise.
14314         (notify_parent): Likewise.
14315         * nscd/nscd.h (notify_parent): Likewise.
14316         (do_exit): Likewise.
14317
14318 2014-03-03  Carlos O'Donell  <carlos@redhat.com>
14319
14320         * malloc/malloc.c (__libc_calloc): Revert last change.
14321
14322 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14323
14324         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14325
14326 2014-03-03  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
14327
14328         * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
14329         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
14330         implementation.
14331         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
14332         (__libc_ifunc_impl_list): Likewise.
14333         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
14334         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
14335         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
14336         * string/strrchr.c: Define STRRCHR.
14337
14338 2014-02-28  Ondřej Bílka  <neleai@seznam.cz>
14339
14340         * benchtest/bench-strtok.c (simple_strtok): Delete.
14341         (strtok_string): Use as benchmark.
14342         * string/strtok (STRTOK): New macro.
14343
14344 2014-02-28  Carlos O'Donell  <carlos@redhat.com>
14345
14346         * manual/threads.texi: Add header and standard comments to all
14347         functions.
14348
14349         * elf/dl-lookup.c (check_match): New function.
14350         (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
14351         (do_lookup_x): Remove nested function check_match. Use non-nested
14352         function check_match.
14353
14354 2014-02-28  Roland McGrath  <roland@hack.frob.com>
14355
14356         * csu/Makefile (generated, before-compile): Use += rather than =.
14357         * catgets/Makefile (generated, generated-dirs): Likewise.
14358         * debug/Makefile (generated): Likewise.
14359         * dlfcn/Makefile (generated): Likewise.
14360         * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
14361         * iconvdata/Makefile (before-compile, generated): Likewise.
14362         * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
14363         * libio/Makefile (generated): Likewise.
14364         * malloc/Makefile (generated): Likewise.
14365         * manual/Makefile (generated, generated-dirs): Likewise.
14366         * misc/Makefile (generated): Likewise.
14367         * posix/Makefile (generated): Likewise.
14368         * resolv/Makefile (generated): Likewise.
14369         * sunrpc/Makefile (generated, generated-dirs): Likewise.
14370         * timezone/Makefile (generated, generated-dirs): Likewise.
14371
14372         * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
14373
14374 2014-02-27  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14375
14376         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
14377         power8 implementation.
14378         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
14379         file: POWER8 llround ifunc implementation.
14380         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
14381         (__lllround): Add POWER8 implementation.
14382         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
14383         POWER8 llround implementation.
14384
14385         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
14386         power8 implementation.
14387         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
14388         file: POWER8 llrint ifunc implementation.
14389         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
14390         Add POWER8 implementation.
14391         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
14392         POWER8 llrint implementation.
14393
14394         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
14395         power8 implementation.
14396         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
14397         file: POWER8 finite ifunc implementation.
14398         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
14399         Add POWER8 implementation.
14400         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
14401         Likewise.
14402         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
14403         POWER8 finite implementation.
14404         * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
14405
14406         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
14407         power8 implementation.
14408         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
14409         file: POWER8 isinf ifunc implementation.
14410         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
14411         POWER8 implementation.
14412         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
14413         Likewise.
14414         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
14415         isinf implementation.
14416         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
14417
14418         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
14419         (INIT_ARCH): Add hwcap2 initialization.
14420         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
14421         power8 implementation.
14422         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
14423         file: POWER8 isnan ifunc implementation.
14424         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
14425         POWER8 implementation.
14426         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
14427         Likewise.
14428         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
14429         isnan implementation.
14430         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
14431
14432 2014-02-27  Joey Ye  <joey.ye@arm.com>
14433
14434         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
14435         (_FP_NANFRAC_Q): Set to zero.
14436
14437 2014-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
14438
14439         [BZ #16623]
14440         * math/auto-libm-test-in: New test inputs.
14441         * math/auto-libm-test-out: Regenerate.
14442         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
14443         and DA.
14444         (__cos): Likewise.
14445         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
14446
14447 2014-02-27  Joseph Myers  <joseph@codesourcery.com>
14448
14449         * scripts/evaluate-test.sh: Take new argument indicating whether
14450         failure is expected.
14451         * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
14452         indicating whether failure is expected.
14453         * conform/Makefile (test-xfail-run-conformtest): New variable.
14454         ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
14455         level.
14456         * posix/Makefile (test-xfail-annexc): New variable.
14457         ($(objpfx)annexc.out): Don't expect to fail at makefile level.
14458
14459 2014-02-26  Joseph Myers  <joseph@codesourcery.com>
14460
14461         * argp/Makefile: Include Makeconfig immediately after defining
14462         subdir.
14463         * assert/Makefile: Likewise.
14464         * benchtests/Makefile: Likewise.
14465         * catgets/Makefile: Likewise.
14466         * conform/Makefile: Likewise.
14467         * crypt/Makefile: Likewise.
14468         * csu/Makefile: Likewise.
14469         (all): Remove target.
14470         * ctype/Makefile: Include Makeconfig immediately after defining
14471         subdir.
14472         * debug/Makefile: Likewise.
14473         * dirent/Makefile: Likewise.
14474         * dlfcn/Makefile: Likewise.
14475         * gmon/Makefile: Likewise.
14476         * gnulib/Makefile: Likewise.
14477         * grp/Makefile: Likewise.
14478         * gshadow/Makefile: Likewise.
14479         * hesiod/Makefile: Likewise.
14480         * hurd/Makefile: Likewise.
14481         (all): Remove target.
14482         * iconvdata/Makefile: Include Makeconfig immediately after
14483         defining subdir.
14484         * inet/Makefile: Likewise.
14485         * intl/Makefile: Likewise.
14486         * io/Makefile: Likewise.
14487         * libio/Makefile: Likewise.
14488         (all): Remove target.
14489         * locale/Makefile: Include Makeconfig immediately after defining
14490         subdir.
14491         * login/Makefile: Likewise.
14492         * mach/Makefile: Likewise.
14493         (all): Remove target.
14494         * malloc/Makefile: Include Makeconfig immediately after defining
14495         subdir.
14496         (all): Remove target.
14497         * manual/Makefile: Include Makeconfig immediately after defining
14498         subdir.
14499         * math/Makefile: Likewise.
14500         * misc/Makefile: Likewise.
14501         * nis/Makefile: Likewise.
14502         * nss/Makefile: Likewise.
14503         * po/Makefile: Likewise.
14504         (all): Remove target.
14505         * posix/Makefile: Include Makeconfig immediately after defining
14506         subdir.
14507         * pwd/Makefile: Likewise.
14508         * resolv/Makefile: Likewise.
14509         * resource/Makefile: Likewise.
14510         * rt/Makefile: Likewise.
14511         * setjmp/Makefile: Likewise.
14512         * shadow/Makefile: Likewise.
14513         * signal/Makefile: Likewise.
14514         * socket/Makefile: Likewise.
14515         * soft-fp/Makefile: Likewise.
14516         * stdio-common/Makefile: Likewise.
14517         * stdlib/Makefile: Likewise.
14518         * streams/Makefile: Likewise.
14519         * string/Makefile: Likewise.
14520         * sunrpc/Makefile: Likewise.
14521         (all): Remove target.
14522         * sysvipc/Makefile: Include Makeconfig immediately after defining
14523         subdir.
14524         * termios/Makefile: Likewise.
14525         * time/Makefile: Likewise.
14526         * timezone/Makefile: Likewise.
14527         (all): Remove target.
14528         * wcsmbs/Makefile: Include Makeconfig immediately after defining
14529         subdir.
14530         * wctype/Makefile: Likewise.
14531
14532 2014-02-26  Steve Ellcey  <sellcey@mips.com>
14533
14534         * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
14535         (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
14536         (libc_feholdexcept_setround_mips): Ditto.
14537         (libc_feholdsetround): New.
14538         (libc_feholdsetroundf): New.
14539         (libc_feholdsetroundl): New.
14540         (libc_feupdateenv_test_mips): New.
14541         (libc_feupdateenv_test): New.
14542         (libc_feupdateenv_testf): New.
14543         (libc_feupdateenv_testl): New.
14544         (libc_feresetround): New.
14545         (libc_feresetroundf): New.
14546         (libc_feresetroundl): New.
14547         (libc_fetestexcept_mips): New.
14548         (libc_fetestexcept): New.
14549         (libc_fetestexceptf): New.
14550         (libc_fetestexceptl): New.
14551         (HAVE_RM_CTX): New.
14552         (libc_feholdexcept_setround_mips_ctx): New.
14553         (libc_feholdexcept_setround_ctx): New.
14554         (libc_feholdexcept_setroundf_ctx): New.
14555         (libc_feholdexcept_setroundl_ctx): New.
14556         (libc_fesetenv_mips_ctx): New.
14557         (libc_fesetenv_ctx): New.
14558         (libc_fesetenv_ctxf): New.
14559         (libc_fesetenv_ctxl): New.
14560         (libc_feupdateenv_mips_ctx): New.
14561         (libc_feupdateenv_ctx): New.
14562         (libc_feupdateenvf_ctx): New.
14563         (libc_feupdateenvl_ctx): New.
14564         (libc_feholdsetround_mips_ctx): New.
14565         (libc_feholdsetround_ctx): New.
14566         (libc_feholdsetroundf_ctx): New.
14567         (libc_feholdsetroundl_ctx): New.
14568         (libc_feresetround_mips_ctx): New.
14569         (libc_feresetround_ctx): New.
14570         (libc_feresetroundf_ctx): New.
14571         (libc_feresetroundl_ctx): New.
14572
14573 2014-02-26  Carlos O'Donell  <carlos@redhat.com>
14574
14575         * manual/ipc.texi (Semaphores): Use @Theglibc{}.
14576
14577         * manual/ipc.texi: New file.
14578         * manual/Makefile (chapters): Add ipc.
14579         * manual/job.texi: Add "Inter-Process Communication" to next.
14580         * manual/process.texi: Add "Inter-Process Communication" to prev.
14581
14582 2014-02-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14583
14584         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14585
14586 2014-02-26  Ondřej Bílka  <neleai@seznam.cz>
14587
14588         * malloc/malloc.c (__libc_calloc): Simplify implementation.
14589
14590         * manual/arith.texi: Fix spaces after sentences.
14591         * manual/charset.texi: Likewise.
14592         * manual/errno.texi: Likewise.
14593         * manual/install.texi: Likewise.
14594         * manual/llio.texi: Likewise.
14595         * manual/locale.texi: Likewise.
14596         * manual/maint.texi: Likewise.
14597         * manual/math.texi: Likewise.
14598         * manual/memory.texi: Likewise.
14599         * manual/message.texi: Likewise.
14600         * manual/probes.texi: Likewise.
14601         * manual/resource.texi: Likewise.
14602         * manual/signal.texi: Likewise.
14603         * manual/socket.texi: Likewise.
14604         * manual/stdio.texi: Likewise.
14605         * manual/string.texi: Likewise.
14606         * manual/time.texi: Likewise.
14607         * manual/users.texi: Likewise.
14608
14609 2014-02-25  Carlos O'Donell  <carlos@redhat.com>
14610
14611         [BZ #16632]
14612         * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
14613         _DEFAULT_SOURCE is defined.
14614
14615 2014-02-25  Ulrich Drepper  <drepper@gmail.com>
14616             Carlos O'Donell  <carlos@redhat.com>
14617
14618         [BZ #16613]
14619         * elf/dl-tls.c (_dl_count_modids): New function.
14620         * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
14621         * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
14622         audit library and increment generation counter.
14623         (_dl_allocate_tls_init): Add assertion to check TLS generation count.
14624         * elf/tst-audit9.c: New file.
14625         * elf/tst-auditmod9a.c: New file.
14626         * elf/tst-auditmod9b.c: New file.
14627         * elf/Makefile: Add rules to build and run tst-audit9.
14628
14629 2014-02-25  Florian Weimer  <fweimer@redhat.com>
14630
14631         [BZ #15347]
14632         * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
14633
14634 2014-02-25  Will Newton  <will.newton@linaro.org>
14635
14636         * sysdeps/arm/__longjmp.S: Include stap-probe.h.
14637         (__longjmp): Restore sp and lr before restoring callee
14638         saved registers.  Add longjmp and longjmp_target
14639         SystemTap probe point.
14640         * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
14641         * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
14642         Define to zero to match jmpbuf layout.
14643         * sysdeps/arm/setjmp.S: Include stap-probe.h.
14644         (__sigsetjmp): Save sp and lr before saving callee
14645         saved registers.  Add setjmp SystemTap probe point.
14646
14647 2014-02-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
14648
14649         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
14650
14651 2014-02-24  Andreas Schwab  <schwab@suse.de>
14652
14653         [BZ #15804]
14654         * elf/pldd.c (wait_for_ptrace_stop): New function.
14655         (main): Call it after attaching.
14656
14657 2014-02-22  Roland McGrath  <roland@hack.frob.com>
14658
14659         * Makerules ($(common-objpfx)Versions.v.i): No longer depend
14660         on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
14661         Versions files is now verboten.
14662         * hurd/Versions (libc: GLIBC_2.0):
14663         Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
14664         (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
14665         [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
14666         * mach/Versions: Likewise.
14667
14668         * csu/Versions: Remove unused %include.
14669         * resolv/Versions: Likewise.
14670
14671 2014-02-21  Joseph Myers  <joseph@codesourcery.com>
14672
14673         * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
14674         ($(objpfx)check-local-headers.out): Likewise.
14675         ($(objpfx)begin-end-check.out): Likewise.
14676         * Makerules (check-abi-%.out): Likewise.
14677         * catgets/Makefile ($(objpfx)test1.cat): Likewise.
14678         ($(objpfx)test2.cat): Likewise.
14679         ($(objpfx)de/libc.cat): Likewise.
14680         ($(objpfx)test-gencat.out): Likewise.
14681         * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
14682         * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
14683         ($(objpfx)noload-mem): Likewise.
14684         ($(objpfx)tst-pathopt.out): Likewise.
14685         ($(objpfx)tst-rtld-load-self.out): Likewise.
14686         ($(objpfx)tst-array1-cmp.out): Likewise.
14687         ($(objpfx)tst-array1-static-cmp.out): Likewise.
14688         ($(objpfx)tst-array2-cmp.out): Likewise.
14689         ($(objpfx)tst-array3-cmp.out): Likewise.
14690         ($(objpfx)tst-array4-cmp.out): Likewise.
14691         ($(objpfx)tst-array5-cmp.out): Likewise.
14692         ($(objpfx)tst-array5-static-cmp.out): Likewise.
14693         ($(objpfx)check-textrel.out): Likewise.
14694         ($(objpfx)check-execstack.out): Likewise.
14695         ($(objpfx)check-localplt.out): Likewise.
14696         ($(objpfx)order2-cmp.out): Likewise.
14697         ($(objpfx)tst-leaks1-mem): Likewise.
14698         ($(objpfx)tst-leaks1-static-mem): Likewise.
14699         ($(objpfx)tst-initorder-cmp.out): Likewise.
14700         ($(objpfx)tst-initorder2-cmp.out): Likewise.
14701         ($(objpfx)tst-unused-dep.out): Likewise.
14702         ($(objpfx)tst-unused-dep-cmp.out): Likewise.
14703         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
14704         * iconv/Makefile (test-iconvconfig): Likewise.
14705         * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
14706         ($(objpfx)iconv-test.out): Likewise.
14707         ($(objpfx)tst-tables.out): Likewise.
14708         * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
14709         ($(objpfx)tst-gettext.out): Likewise.
14710         ($(objpfx)tst-translit.out): Likewise.
14711         ($(objpfx)tst-gettext2.out): Likewise.
14712         ($(objpfx)tst-gettext4.out): Likewise.
14713         ($(objpfx)tst-gettext6.out): Likewise.
14714         * io/Makefile ($(objpfx)ftwtest.out): Likewise.
14715         * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
14716         ($(objpfx)tst-fopenloc-cmp.out): Likewise.
14717         ($(objpfx)tst-fopenloc-mem.out): Likewise.
14718         * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
14719         * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
14720         * posix/Makefile ($(objpfx)globtest.out): Likewise.
14721         ($(objpfx)wordexp-tst.out): Likewise.
14722         ($(objpfx)annexc.out): Likewise.
14723         ($(objpfx)tst-fnmatch-mem): Likewise.
14724         ($(objpfx)bug-regex2-mem): Likewise.
14725         ($(objpfx)bug-regex14-mem): Likewise.
14726         ($(objpfx)bug-regex21-mem): Likewise.
14727         ($(objpfx)bug-regex31-mem): Likewise.
14728         ($(objpfx)tst-vfork3-mem): Likewise.
14729         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
14730         ($(objpfx)tst-pcre-mem): Likewise.
14731         ($(objpfx)tst-boost-mem): Likewise.
14732         ($(objpfx)tst-getconf.out): Likewise.
14733         ($(objpfx)bug-ga2-mem): Likewise.
14734         ($(objpfx)bug-glob2-mem): Likewise.
14735         * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
14736         ($(objpfx)mtrace-tst-leaks2): Likewise.
14737         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
14738         ($(objpfx)tst-printf.out): Likewise.
14739         ($(objpfx)tst-setvbuf1.out): Likewise.
14740         ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
14741         * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
14742         ($(objpfx)tst-fmtmsg.out): Likewise.
14743         * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
14744         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
14745
14746         * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
14747         * bits/sigaction.h [__USE_MISC]: Likewise.
14748         * bits/waitstatus.h: Update #endif comments.
14749         * ctype/ctype.h: Likewise.
14750         * dirent/dirent.h: Likewise.
14751         [__USE_MISC]: Remove redundant conditionals.
14752         * grp/grp.h: Update #endif comments.
14753         [__USE_GNU]: Remove redundant conditionals.
14754         [__USE_MISC]: Likewise.
14755         * inet/netinet/in.h [__USE_GNU]: Likewise.
14756         * io/sys/stat.h [__USE_MISC]: Likewise.
14757         * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
14758         * libio/bits/stdio.h: Update #endif comments.
14759         [__USE_MISC]: Remove redundant conditionals.
14760         * libio/bits/stdio2.h [__USE_MISC]: Likewise.
14761         * libio/stdio.h: Update #endif comments.
14762         [__USE_MISC]: Remove redundant conditionals.
14763         * math/bits/math-finite.h [__USE_MISC]: Likewise.
14764         * math/bits/mathcalls.h [__USE_MISC]: Likewise.
14765         * math/math.h: Update #else and #endif comments.
14766         [__USE_MISC]: Remove redundant conditionals.
14767         * misc/sys/uio.h: Update #endif comments.
14768         * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
14769         * posix/glob.h [__USE_MISC]: Likewise.
14770         * posix/sys/types.h: Update #endif comments.
14771         [__USE_MISC]: Remove redundant conditionals.
14772         * posix/sys/wait.h: Update #endif comments.
14773         [__USE_MISC]: Remove redundant conditionals.
14774         * posix/unistd.h: Update #endif comments.
14775         [__USE_MISC]: Remove redundant conditionals.
14776         * pwd/pwd.h [__USE_GNU]: Likewise.
14777         [__USE_MISC]: Likewise.
14778         * resolv/netdb.h [__USE_GNU]: Likewise.
14779         * signal/signal.h: Update #endif comments.
14780         [__USE_MISC]: Remove redundant conditionals.
14781         * stdlib/stdlib.h: Update #else and #endif comments.
14782         [__USE_MISC]: Remove redundant conditionals.
14783         [__USE_GNU]: Likewise.
14784         * string/bits/string2.h [__USE_MISC]: Likewise.
14785         * string/string.h: Update #endif comments.
14786         [__USE_MISC]: Remove redundant conditionals.
14787         * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
14788         Likewise.
14789         * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
14790         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
14791         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
14792         Likewise.
14793         * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
14794         Likewise.
14795         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
14796         comments.
14797         [__USE_MISC]: Remove redundant conditionals.
14798         * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
14799         * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
14800         * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
14801         * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
14802         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
14803         Likewise.
14804         * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
14805         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
14806         Likewise.
14807         * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
14808         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
14809         Likewise.
14810         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
14811         Likewise.
14812         * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
14813         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
14814         Likewise.
14815         * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
14816         Likewise.
14817         * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
14818         * sysdeps/x86/bits/string.h: Update #endif comments.
14819         * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
14820         conditionals.
14821         * time/sys/time.h: Update #endif comments.
14822         * time/time.h: Likewise.
14823         [__USE_MISC]: Remove redundant conditionals.
14824
14825 2014-02-21  Yury Gribov  <y.gribov@samsung.com>
14826
14827         [BZ #16600]
14828         * sysdeps/arm/libm-test-ulps: Update for VFPv4.
14829
14830 2014-02-21  Andreas Schwab  <schwab@linux-m68k.org>
14831
14832         * Versions.def (librt): Add GLIBC_2.17.
14833
14834 2014-02-21  Adam Conrad  <adconrad@0c3.net>
14835
14836         * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
14837         synonym for _SYS_AUXV_H to allow direct inclusion.
14838         * sysdeps/sparc/bits/hwcap.h: Likewise.
14839         * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
14840         _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
14841         * sysdeps/sparc/sysdep.h: Likewise.
14842
14843 2014-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
14844
14845         * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
14846
14847 2014-02-21  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
14848
14849         * benchtests/bench-strrchr.c: Print length instead of position.
14850
14851 2014-02-20  Joseph Myers  <joseph@codesourcery.com>
14852
14853         [BZ #16611]
14854         * sysdeps/unix/sysv/linux/kernel-features.h
14855         [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
14856         (__ASSUME_SENDMMSG_SOCKETCALL): Define.
14857         [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
14858         __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
14859         Likewise.
14860         [__i386__ || __powerpc__ || __sh__ || __sparc__]
14861         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
14862         [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
14863         (__ASSUME_SENDMMSG): Define instead of using previous
14864         [__LINUX_KERNEL_VERSION >= 0x020627] condition.
14865         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
14866         (__ASSUME_SENDMMSG_SYSCALL): Define.
14867         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
14868         [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
14869         Likewise.
14870         * sysdeps/unix/sysv/linux/arm/kernel-features.h
14871         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
14872         Likewise.
14873         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
14874         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
14875         Likewise.
14876         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
14877         && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
14878         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
14879         [__ASSUME_SENDMMSG]: Change conditionals to
14880         [__ASSUME_SENDMMSG_SOCKETCALL].
14881         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
14882         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
14883         Define.
14884         * sysdeps/unix/sysv/linux/mips/kernel-features.h
14885         [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
14886         Likewise.
14887         * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
14888         !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
14889         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
14890         [!__ASSUME_SENDMMSG]: Change conditional to
14891         [!__ASSUME_SENDMMSG_SOCKETCALL].
14892         * sysdeps/unix/sysv/linux/tile/kernel-features.h
14893         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
14894         Define.
14895
14896         [BZ #16610]
14897         * sysdeps/unix/sysv/linux/kernel-features.h
14898         [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
14899         (__ASSUME_RECVMMSG_SOCKETCALL): Define.
14900         [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
14901         __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
14902         || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
14903         [__i386__ || __sparc__]
14904         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
14905         [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
14906         (__ASSUME_RECVMMSG): Define instead of using previous
14907         [__LINUX_KERNEL_VERSION >= 0x020621] condition.
14908         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
14909         (__ASSUME_RECVMMSG_SYSCALL): Define.
14910         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
14911         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
14912         Likewise.
14913         * sysdeps/unix/sysv/linux/arm/kernel-features.h
14914         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
14915         Likewise.
14916         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
14917         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
14918         Likewise.
14919         * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
14920         && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
14921         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
14922         [__ASSUME_RECVMMSG]: Change condition to
14923         [__ASSUME_RECVMMSG_SOCKETCALL].
14924         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
14925         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
14926         Define.
14927         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
14928         * sysdeps/unix/sysv/linux/mips/kernel-features.h
14929         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
14930         Likewise.
14931         * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
14932         !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
14933         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
14934         [!__ASSUME_RECVMMSG]: Change condition to
14935         [!__ASSUME_RECVMMSG_SOCKETCALL].
14936         * sysdeps/unix/sysv/linux/tile/kernel-features.h
14937         (__ASSUME_RECVMMSG_SYSCALL): Define.
14938
14939         [BZ #16609]
14940         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
14941         __powerpc__ || __s390__ || __sh__ || __sparc__]
14942         (__ASSUME_SOCKETCALL): Define.
14943         [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
14944         (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
14945         [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
14946         || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
14947         __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
14948         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
14949         [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
14950         (__ASSUME_ACCEPT4): Define instead of using previous
14951         [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
14952         __powerpc__ || __sparc__ || __s390__)] condition.
14953         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
14954         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
14955         * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
14956         !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
14957         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
14958         [!__ASSUME_ACCEPT4]: Change condition to
14959         [!__ASSUME_ACCEPT4_SOCKETCALL].
14960         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
14961         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.  Correct
14962         condition to [__LINUX_KERNEL_VERSION >= 0x030200].
14963         * sysdeps/unix/sysv/linux/arm/kernel-features.h
14964         [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
14965         __ASSUME_ACCEPT4_SYSCALL.
14966         * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
14967         Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
14968         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
14969         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
14970         __ASSUME_ACCEPT4_SYSCALL.
14971         * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
14972         && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
14973         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
14974         [__ASSUME_ACCEPT4]: Change condition to
14975         [__ASSUME_ACCEPT4_SOCKETCALL].
14976         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
14977         (__ASSUME_SOCKETCALL): Define.
14978         [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
14979         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
14980         (__ASSUME_SOCKETCALL): Define.
14981         (__ASSUME_ACCEPT4): Remove.
14982         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
14983         Define.
14984         * sysdeps/unix/sysv/linux/mips/kernel-features.h
14985         [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
14986         Likewise.
14987         * sysdeps/unix/sysv/linux/tile/kernel-features.h
14988         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
14989
14990         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
14991         macro.
14992         (HWCAP_ARM_LPAE): Likewise.
14993         (HWCAP_ARM_EVTSTRM): Likewise.
14994         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
14995         Add vpfd32, lpae and evtstrm.
14996         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
14997         Increase to 22.
14998
14999 2014-02-19  Joseph Myers  <joseph@codesourcery.com>
15000
15001         * math/auto-libm-test-in: Add tests of clog10.
15002         * math/auto-libm-test-out: Regenerated.
15003         * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
15004         * sysdeps/i386/fpu/libm-test-ulps: Update.
15005         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15006
15007 2014-02-18  Andreas Schwab  <schwab@suse.de>
15008
15009         [BZ #16574]
15010         * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
15011         Store non-zero if the second buffer was newly allocated.
15012         (send_dg): Likewise.
15013         (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
15014         to send_vc and send_dg.
15015         (res_nsend): Pass NULL for ansp2_malloced.
15016         * resolv/res_query.c (__libc_res_nquery): Add parameter
15017         answerp2_malloced and pass it down to __libc_res_nsend.
15018         (res_nquery): Pass additional NULL to __libc_res_nquery.
15019         (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
15020         down to __libc_res_nquery and __libc_res_nquerydomain.  Deallocate
15021         second answer buffer if answerp2_malloced was set.
15022         (res_nsearch): Pass additional NULL to __libc_res_nsearch.
15023         (__libc_res_nquerydomain): Add parameter
15024         answerp2_malloced and pass it down to __libc_res_nquery.
15025         (res_nquerydomain): Pass additional NULL to
15026         __libc_res_nquerydomain.
15027         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
15028         additional NULL to __libc_res_nsend and __libc_res_nquery.
15029         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
15030         additional NULL to __libc_res_nsearch.
15031         (_nss_dns_gethostbyname4_r): Revert last change.  Use new
15032         parameter of __libc_res_nsearch to check for separately allocated
15033         second buffer.
15034         (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
15035         __libc_res_nquery.
15036         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
15037         additional NULL to __libc_res_nquery.
15038         * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
15039         __libc_res_nsearch.
15040         (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
15041         * include/resolv.h: Update prototypes of __libc_res_nquery,
15042         __libc_res_nsearch, __libc_res_nsend.
15043
15044 2014-02-18  Joseph Myers  <joseph@codesourcery.com>
15045
15046         * math/auto-libm-test-in: Add tests of fma.
15047         * math/auto-libm-test-out: Regenerated.
15048         * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
15049         (fma_towardzero_test_data): Likewise.
15050         (fma_downward_test_data): Likewise.
15051         (fma_upward_test_data): Likewise.
15052         * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
15053         mpc_mode.
15054         (rounding_modes): Add values for new field.
15055         (func_calc_method): Add value mpfr_fff_f.
15056         (func_calc_desc): Add mpfr_fff_f union field.
15057         (test_function): Add field exact_args.
15058         (FUNC): Add macro argument EXACT_ARGS.
15059         (FUNC_mpfr_f_f): Update call to FUNC.
15060         (FUNC_mpfr_f_f): Likewise.
15061         (FUNC_mpfr_ff_f): Likewise.
15062         (FUNC_mpfr_if_f): Likewise.
15063         (FUNC_mpc_c_f): Likewise.
15064         (FUNC_mpc_c_c): Likewise.
15065         (test_functions): Add fma.  Update calls to FUNC.
15066         (handle_input_arg): Add argument exact_args.
15067         (add_test): Update call to handle_input_arg.
15068         (calc_generic_results): Add argument mode.  Handle mpfr_fff_f.
15069         (output_for_one_input_case): Update call to calc_generic_results.
15070         Recalculate exact zero results in each rounding mode.
15071
15072         * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
15073         non-negative before setting low bit.
15074         * math/auto-libm-test-in: Mark one asin test possibly having
15075         spurious underflow.
15076         * math/auto-libm-test-out: Regenerated.
15077         * sysdeps/i386/fpu/libm-test-ulps: Update.
15078         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15079
15080 2014-02-17  David Holsgrove <david.holsgrove@xilinx.com>
15081
15082         * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
15083         * sysdeps/unix/sysv/linux/microblaze: Move directory from
15084         ports/sysdeps/unix/sysv/linux/microblaze.
15085         * README: Add missing listing for microblaze*-*-linux-gnu.
15086
15087 2014-02-16  Ondřej Bílka  <neleai@seznam.cz>
15088
15089         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
15090         duplicate code
15091
15092 2014-02-16  Mike Frysinger  <vapier@gentoo.org>
15093
15094         * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
15095         * sysdeps/unix/sysv/linux/ia64: Move directory from
15096         ports/sysdeps/unix/sysv/linux/ia64.
15097         * README: Update listing for ia64-*-linux-gnu.
15098
15099 2014-02-14  Tomas Dohnalek  <tdohnale@redhat.com>
15100             Joseph Myers  <joseph@codesourcery.com>
15101
15102         * Makeconfig (test-name): New variable.
15103         (evaluate-test): Likewise.
15104         * Makerules (do-test-clean): Remove .test-result files.
15105         (common-mostlyclean): Likewise.
15106         * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
15107         * scripts/evaluate-test.sh: New file.
15108
15109 2014-02-14  Joseph Myers  <joseph@codesourcery.com>
15110
15111         * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
15112         separate $(objpfx)tst-fopenloc-cmp.out and
15113         $(objpfx)tst-fopenloc-mem.out targets.
15114         (tests): Update dependencies.
15115         * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
15116         (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
15117         tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
15118         (tst-rxspencer-no-utf8-ARGS): New variable.
15119         (tst-rxspencer-no-utf8-ENV): Likewise.
15120         (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
15121         instead of $(objpfx)tst-rxspencer-mem.
15122         ($(objpfx)tst-rxspencer-mem): Change target to
15123         $(objpfx)tst-rxspencer-no-utf8-mem.  Depend on
15124         $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
15125         * posix/tst-rxspencer-no-utf8.c: New file.
15126
15127         * elf/Makefile ($(objpfx)order.out): Remove rule.
15128         [$(run-built-tests) = yes] (tests): Depend on
15129         $(objpfx)order-cmp.out.
15130         ($(objpfx)order-cmp.out): New rule.
15131         [$(run-built-tests) = yes] (tests): Depend on
15132         $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
15133         $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
15134         $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
15135         $(objpfx)tst-array5-static-cmp.out.
15136         ($(objpfx)tst-array1.out): Remove rule.
15137         ($(objpfx)tst-array1-cmp.out): New rule.
15138         ($(objpfx)tst-array1-static.out): Remove rule.
15139         ($(objpfx)tst-array1-static-cmp.out): New rule.
15140         ($(objpfx)tst-array2.out): Remove rule.
15141         ($(objpfx)tst-array2-cmp.out): New rule.
15142         ($(objpfx)tst-array3.out): Remove rule.
15143         ($(objpfx)tst-array3-cmp.out): New rule.
15144         ($(objpfx)tst-array4.out): Remove rule.
15145         ($(objpfx)tst-array4-cmp.out): New rule.
15146         ($(objpfx)tst-array5.out): Remove rule.
15147         ($(objpfx)tst-array5-cmp.out): New rule.
15148         ($(objpfx)tst-array5-static.out): Remove rule.
15149         ($(objpfx)tst-array5-static-cmp.out): New rule.
15150         [$(run-built-tests) = yes] (tests): Depend on
15151         $(objpfx)order2-cmp.out.
15152         ($(objpfx)order2.out): Remove rule.
15153         ($(objpfx)order2-cmp.out): New rule.
15154         ($(objpfx)tst-initorder.out): Remove rule.
15155         [$(run-built-tests) = yes] (tests): Depend on
15156         $(objpfx)tst-initorder-cmp.out.
15157         ($(objpfx)tst-initorder-cmp.out): New rule.
15158         ($(objpfx)tst-initorder2.out): Remove rule.
15159         [$(run-built-tests) = yes] (tests): Depend on
15160         $(objpfx)tst-initorder2-cmp.out.
15161         ($(objpfx)tst-initorder2-cmp.out): New rule.
15162         [$(run-built-tests) = yes] (tests): Depend on
15163         $(objpfx)tst-unused-dep-cmp.out.
15164         ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
15165         ($(objpfx)tst-unused-dep-cmp.out): New rule.
15166         * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
15167         on $(objpfx)tst-setvbuf1-cmp.out.
15168         ($(objpfx)tst-setvbuf1.out): Do not run cmp.
15169         ($(objpfx)tst-setvbuf1-cmp.out): New rule.
15170         * string/Makefile [$(run-built-tests) = yes] (tests): Depend
15171         $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
15172         ($(objpfx)tst-svc.out): Remove rule.
15173         ($(objpfx)tst-svc-cmp.out): New rule.
15174
15175 2014-02-13  Joseph Myers  <joseph@codesourcery.com>
15176
15177         * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
15178         * ctype/ctype.h [__USE_MISC]: Likewise.
15179         * dirent/dirent.h [__USE_MISC]: Likewise.
15180         * grp/grp.h [__USE_MISC]: Likewise.
15181         * io/fcntl.h [__USE_MISC]: Likewise.
15182         * io/sys/stat.h [__USE_MISC]: Likewise.
15183         * libio/stdio.h [__USE_MISC]: Likewise.
15184         * posix/unistd.h [__USE_MISC]: Likewise.
15185         * pwd/pwd.h [__USE_MISC]: Likewise.
15186         * stdlib.h [__USE_MISC]: Likewise.
15187         * string/bits/string2.h [__USE_MISC]: Likewise.
15188         * string/string.h [__USE_MISC]: Likewise.
15189         * time/time.h [__USE_MISC]: Likewise.
15190
15191 2014-02-13  Andreas Schwab  <schwab@suse.de>
15192
15193         [BZ #16574]
15194         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
15195         second answer buffer if it was separately allocated.
15196
15197 2014-02-12  Joseph Myers  <joseph@codesourcery.com>
15198
15199         * sysdeps/mips/math-tests.h: Include <features.h>.
15200         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
15201         (ROUNDING_TESTS_long_double): Do not define.
15202         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
15203         (EXCEPTION_TESTS_long_double): Likewise.
15204         * sysdeps/mips/mips64/libm-test-ulps: Update.
15205
15206         * include/features.h (__USE_BSD): Remove macro definitions.
15207         (__USE_SVID): Likewise.
15208         (_BSD_SOURCE): Likewise.
15209         (_SVID_SOURCE): Likewise.
15210         [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
15211         from definition of _DEFAULT_SOURCE.
15212         [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
15213         [_DEFAULT_SOURCE].
15214         * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
15215         * bits/mman.h [__USE_BSD]: Likewise.
15216         * bits/termios.h [__USE_BSD]: Likewise.
15217         * bits/waitstatus.h [__USE_BSD]: Likewise.
15218         * ctype/ctype.h [__USE_SVID]: Likewise.
15219         * dirent/dirent.h [__USE_BSD]: Likewise.
15220         * grp/grp.h [__USE_SVID]: Likewise.
15221         [__USE_BSD]: Likewise.
15222         * inet/netinet/igmp.h [__USE_BSD]: Likewise.
15223         * io/fcntl.h [__USE_BSD]: Likewise.
15224         * io/ftw.h [__USE_BSD]: Likewise.
15225         * io/sys/stat.h [__USE_BSD]: Likewise.
15226         * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
15227         * libio/bits/stdio2.h [__USE_BSD]: Likewise.
15228         * libio/stdio.h [__USE_SVID]: Likewise.
15229         [__USE_BSD]: Likewise.
15230         * math/math.h [__USE_SVID]: Likewise.
15231         [__USE_BSD]: Likewise.
15232         * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
15233         * misc/bits/syslog.h [__USE_BSD]: Likewise.
15234         * misc/search.h [__USE_SVID]: Likewise.
15235         * misc/sys/mman.h [__USE_BSD]: Likewise.
15236         * misc/sys/syslog.h [__USE_BSD]: Likewise.
15237         * misc/sys/uio.h [__USE_BSD]: Likewise.
15238         * posix/bits/unistd.h [__USE_BSD]: Likewise.
15239         * posix/glob.h [__USE_BSD]: Likewise.
15240         * posix/regex.h [__USE_BSD]: Likewise.
15241         * posix/sys/types.h [__USE_BSD]: Likewise.
15242         [__USE_SVID]: Likewise.
15243         * posix/sys/utsname.h [__USE_SVID]: Likewise.
15244         * posix/sys/wait.h [__USE_BSD]: Likewise.
15245         [__USE_SVID]: Likewise.
15246         * posix/unistd.h [__USE_BSD]: Likewise.
15247         [__USE_SVID]: Likewise.
15248         * pwd/pwd.h [__USE_SVID]: Likewise.
15249         * resolv/netdb.h [__USE_BSD]: Likewise.
15250         * setjmp/setjmp.h [__USE_BSD]: Likewise.
15251         * signal/signal.h [__USE_BSD]: Likewise.
15252         [__USE_SVID]: Likewise.
15253         * socket/sys/socket.h [__USE_BSD]: Likewise.
15254         * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
15255         * stdlib/stdlib.h [__USE_BSD]: Likewise.
15256         [__USE_SVID]: Likewise.
15257         * string/bits/string2.h [__USE_BSD]: Likewise.
15258         [__USE_SVID]: Likewise.
15259         * string/bits/string3.h [__USE_BSD]: Likewise.
15260         * string/endian.h [__USE_BSD]: Likewise.
15261         * string/string.h [__USE_SVID]: Likewise.
15262         [__USE_BSD]: Likewise.
15263         * string/strings.h [__USE_BSD]: Likewise.
15264         * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
15265         * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
15266         * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
15267         * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
15268         * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
15269         * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
15270         Likewise.
15271         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
15272         Likewise.
15273         * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
15274         * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
15275         Likewise.
15276         * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
15277         * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
15278         Likewise.
15279         * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
15280         Likewise.
15281         * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
15282         * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
15283         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
15284         Likewise.
15285         * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
15286         Likewise.
15287         * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
15288         * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
15289         * termios/termios.h [__USE_BSD]: Likewise.
15290         * time/sys/time.h [__USE_BSD]: Likewise.
15291         * time/time.h [__USE_BSD]: Likewise.
15292         [__USE_SVID]: Likewise.
15293
15294         * Makefile (subdir_targets): Remove subdir_lint.out.
15295
15296         * stdio-common/Makefile (do-tst-unbputc): Remove target.
15297         (do-tst-printf): Likewise.
15298         (tests): Depend directly on $(objpfx)tst-unbputc.out and
15299         $(objpfx)tst-printf.out.
15300
15301         * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
15302
15303         * Makerules (check-abi-%): Change target to
15304         $(objpfx)check-abi-%.out.
15305         (check-abi target): Update dependencies.
15306         (check-abi-pattern variable): Redirect output of diff to $@.
15307         (check-abi variable): Likewise.
15308         * elf/Makefile (check-abi): Update dependencies.
15309
15310         * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
15311         unused.
15312         (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
15313         value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
15314         subnormal range.
15315         (_FP_PACK_CANONICAL): Determine tininess based on rounding to
15316         normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
15317         value has largest subnormal exponent.
15318         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
15319         (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
15320         * sysdeps/aarch64/soft-fp/sfp-machine.h
15321         (_FP_TININESS_AFTER_ROUNDING): New macro.
15322         * sysdeps/alpha/soft-fp/sfp-machine.h
15323         (_FP_TININESS_AFTER_ROUNDING): Likewise.
15324         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
15325         Likewise.
15326         * sysdeps/mips/mips64/soft-fp/sfp-machine.h
15327         (_FP_TININESS_AFTER_ROUNDING): Likewise.
15328         * sysdeps/mips/soft-fp/sfp-machine.h
15329         (_FP_TININESS_AFTER_ROUNDING): Likewise.
15330         * sysdeps/powerpc/soft-fp/sfp-machine.h
15331         (_FP_TININESS_AFTER_ROUNDING): Likewise.
15332         * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
15333         Likewise.
15334         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
15335         (_FP_TININESS_AFTER_ROUNDING): Likewise.
15336         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
15337         (_FP_TININESS_AFTER_ROUNDING): Likewise.
15338         * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
15339         Likewise.
15340
15341 2014-02-12  Dylan Alex Simon  <dylan@dylex.net>
15342
15343         [BZ #16545]
15344         * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
15345         model 1.
15346
15347 2014-02-12  Richard Henderson  <rth@redhat.com>
15348
15349         * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
15350         * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
15351         * sysdeps/unix/sysv/linux/alpha: Move directory from
15352         ports/sysdeps/unix/sysv/linux/alpha.
15353         * README: Update listing for alpha-*-linux-gnu.
15354
15355 2014-02-11  Joseph Myers  <joseph@codesourcery.com>
15356
15357         * include/features.h: Update comment documenting feature test
15358         macros.
15359         [_BSD_SOURCE || _SVID_SOURCE]: Give #warning.  Define
15360         _DEFAULT_SOURCE.
15361         * manual/creature.texi (_BSD_SOURCE): Remove documentation.
15362         (_SVID_SOURCE): Likewise.
15363         (_DEFAULT_SOURCE): Update description of default features.
15364         (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
15365         with _GNU_SOURCE.
15366         * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
15367         (S_ISVTX): Likewise.
15368         * manual/math.texi (Mathematical Constants): Likewise.
15369         * manual/signal.texi (Interrupted Primitives): Likewise.
15370         * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
15371         * math/test-matherr.c (_SVID_SOURCE): Do not define.
15372         * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
15373         Don't refer to _SVID_SOURCE in warning text.
15374
15375         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15376
15377         * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
15378         already defined.
15379         (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
15380         * sysdeps/mips/dl-lookup.c: Remove.
15381         * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
15382
15383 2014-02-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
15384
15385         [BZ #16447]
15386         * math/auto-libm-test-in: Add testcase for expl.
15387         * math/auto-libm-test-out: Regenerate.
15388         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
15389         calculation of unsafe.
15390         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
15391
15392 2014-02-11  Marcus Shawcroft  <marcus.shawcroft@arm.com>
15393
15394         * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
15395         * sysdeps/unix/sysv/linux/aarch64: Move directory from
15396         ports/sysdeps/unix/sysv/linux/aarch64.
15397         * README: Update listing for aarch64*-*-linux-gnu.
15398
15399 2014-02-11  Will Newton  <will.newton@linaro.org>
15400
15401         * manual/probes.texi (Mathematical Function Probes): Use
15402         "triggered" instead of "hit".
15403
15404         * manual/probes.texi (Internal Probes): Add documentation
15405         of setjmp, longjmp and longjmp_target probes.
15406
15407         * include/stap-probe.h: Add comment about probe argument
15408         format.
15409
15410         * malloc/mtrace.c (attribute_hidden): Remove unused macro
15411         definition.  (tr_where, tr_freehook, tr_mallochook,
15412         tr_reallochook, tr_memalignhook): Use ANSI protoype.
15413
15414 2014-02-11  David S. Miller  <davem@davemloft.net>
15415
15416         * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
15417         processing int_tests.
15418
15419 2014-02-10  Joseph Myers  <joseph@codesourcery.com>
15420
15421         * sysdeps/mips: Move directory from ports/sysdeps/mips.
15422         * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
15423         * sysdeps/unix/sysv/linux/mips: Move directory from
15424         ports/sysdeps/unix/sysv/linux/mips.
15425         * README: Update listing for mips-*-linux-gnu and
15426         mips64-*-linux-gnu.
15427
15428 2014-02-10  Andreas Schwab  <schwab@linux-m68k.org>
15429
15430         * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
15431         * sysdeps/unix/sysv/linux/m68k: Move directory from
15432         ports/sysdeps/unix/sysv/linux/m68k.
15433         * README: Update listing for m68k-*-linux-gnu.
15434
15435 2014-02-10  Chris Metcalf  <cmetcalf@tilera.com>
15436
15437         * sysdeps/tile: Move directory from ports/sysdeps/tile.
15438         * sysdeps/unix/sysv/linux/generic: Move directory from
15439         ports/sysdeps/unix/sysv/linux/generic.
15440         * sysdeps/unix/sysv/linux/tile: Move directory from
15441         ports/sysdeps/unix/sysv/linux/tile.
15442         * README: Update listing for tile*-*-linux-gnu.
15443
15444 2014-02-10  Ondřej Bílka  <neleai@seznam.cz>
15445
15446         * assert/assert.c (__assert_fail_base): Use glibc_likely instead
15447         __builtin_expect.
15448         * benchtests/bench-memmem.c (simple_memmem): Likewise.
15449         * catgets/open_catalog.c (__open_catalog): Likewise.
15450         * csu/libc-start.c (LIBC_START_MAIN): Likewise.
15451         * debug/confstr_chk.c: Likewise.
15452         * debug/fread_chk.c (__fread_chk): Likewise.
15453         * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
15454         * debug/getgroups_chk.c: Likewise.
15455         * debug/mbsnrtowcs_chk.c: Likewise.
15456         * debug/mbsrtowcs_chk.c: Likewise.
15457         * debug/mbstowcs_chk.c: Likewise.
15458         * debug/memcpy_chk.c: Likewise.
15459         * debug/memmove_chk.c: Likewise.
15460         * debug/mempcpy_chk.c: Likewise.
15461         * debug/memset_chk.c: Likewise.
15462         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
15463         * debug/strcat_chk.c (__strcat_chk): Likewise.
15464         * debug/strcpy_chk.c (__strcpy_chk): Likewise.
15465         * debug/strncat_chk.c (__strncat_chk): Likewise.
15466         * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
15467         * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
15468         * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
15469         * debug/wcpncpy_chk.c: Likewise.
15470         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
15471         * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
15472         * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
15473         * debug/wcsncpy_chk.c: Likewise.
15474         * debug/wcsnrtombs_chk.c: Likewise.
15475         * debug/wcsrtombs_chk.c: Likewise.
15476         * debug/wcstombs_chk.c: Likewise.
15477         * debug/wmemcpy_chk.c: Likewise.
15478         * debug/wmemmove_chk.c: Likewise.
15479         * debug/wmempcpy_chk.c: Likewise.
15480         * debug/wmemset_chk.c: Likewise.
15481         * dirent/scandirat.c (SCANDIRAT): Likewise.
15482         * dlfcn/dladdr1.c (dladdr1): Likewise.
15483         * dlfcn/dladdr.c (dladdr): Likewise.
15484         * dlfcn/dlclose.c (dlclose_doit): Likewise.
15485         * dlfcn/dlerror.c (__dlerror): Likewise.
15486         * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
15487         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
15488         * dlfcn/dlopen.c (dlopen_doit): Likewise.
15489         * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
15490         * dlfcn/dlsym.c (dlsym_doit): Likewise.
15491         * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
15492         * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
15493         * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
15494         Likewise.
15495         * elf/dl-conflict.c: Likewise.
15496         * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
15497         * elf/dl-dst.h: Likewise.
15498         * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
15499         * elf/dl-fptr.c (_dl_make_fptr): Likewise.
15500         * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
15501         * elf/dl-init.c (call_init, _dl_init): Likewise.
15502         * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
15503         * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
15504         (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
15505         Likewise.
15506         * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
15507         Likewise.
15508         * elf/dl-minimal.c (__libc_memalign): Likewise.
15509         * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
15510         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
15511         * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
15512         * elf/dl-sym.c (do_sym): Likewise.
15513         * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
15514         (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
15515         * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
15516         * elf/dl-writev.h (_dl_writev): Likewise.
15517         * elf/ldconfig.c (search_dir): Likewise.
15518         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
15519         (dl_main): Likewise.
15520         * elf/setup-vdso.h (setup_vdso): Likewise.
15521         * grp/compat-initgroups.c (compat_call): Likewise.
15522         * grp/fgetgrent.c (fgetgrent): Likewise.
15523         * grp/initgroups.c (getgrouplist, initgroups): Likewise.
15524         * grp/putgrent.c (putgrent): Likewise.
15525         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
15526         Likewise.
15527         * hurd/hurdinit.c: Likewise.
15528         * iconvdata/8bit-gap.c (struct): Likewise.
15529         * iconvdata/ansi_x3.110.c : Likewise.
15530         * iconvdata/big5.c : Likewise.
15531         * iconvdata/big5hkscs.c : Likewise.
15532         * iconvdata/cp1255.c: Likewise.
15533         * iconvdata/cp1258.c : Likewise.
15534         * iconvdata/cp932.c : Likewise.
15535         * iconvdata/euc-cn.c: Likewise.
15536         * iconvdata/euc-jisx0213.c : Likewise.
15537         * iconvdata/euc-jp.c: Likewise.
15538         * iconvdata/euc-jp-ms.c : Likewise.
15539         * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
15540         * iconvdata/gb18030.c : Likewise.
15541         * iconvdata/gbbig5.c (const): Likewise.
15542         * iconvdata/gbgbk.c: Likewise.
15543         * iconvdata/gbk.c : Likewise.
15544         * iconvdata/ibm1364.c : Likewise.
15545         * iconvdata/ibm930.c : Likewise.
15546         * iconvdata/ibm932.c: Likewise.
15547         * iconvdata/ibm933.c : Likewise.
15548         * iconvdata/ibm935.c : Likewise.
15549         * iconvdata/ibm937.c : Likewise.
15550         * iconvdata/ibm939.c : Likewise.
15551         * iconvdata/ibm943.c: Likewise.
15552         * iconvdata/iso_11548-1.c: Likewise.
15553         * iconvdata/iso-2022-cn.c : Likewise.
15554         * iconvdata/iso-2022-cn-ext.c : Likewise.
15555         * iconvdata/iso-2022-jp-3.c: Likewise.
15556         * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
15557         * iconvdata/iso-2022-kr.c : Likewise.
15558         * iconvdata/iso646.c (gconv_end): Likewise.
15559         * iconvdata/iso_6937-2.c : Likewise.
15560         * iconvdata/iso_6937.c : Likewise.
15561         * iconvdata/iso8859-1.c: Likewise.
15562         * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
15563         * iconvdata/shift_jisx0213.c : Likewise.
15564         * iconvdata/sjis.c : Likewise.
15565         * iconvdata/t.61.c : Likewise.
15566         * iconvdata/tcvn5712-1.c : Likewise.
15567         * iconvdata/tscii.c: Likewise.
15568         * iconvdata/uhc.c : Likewise.
15569         * iconvdata/unicode.c (gconv_end): Likewise.
15570         * iconvdata/utf-16.c (gconv_end): Likewise.
15571         * iconvdata/utf-32.c (gconv_end): Likewise.
15572         * iconvdata/utf-7.c (base64): Likewise.
15573         * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
15574         * iconv/gconv_close.c (__gconv_close): Likewise.
15575         * iconv/gconv_open.c (__gconv_open): Likewise.
15576         * iconv/gconv_simple.c (internal_ucs4_loop_single)
15577         (ucs4_internal_loop, ucs4_internal_loop_unaligned)
15578         (ucs4_internal_loop_single, internal_ucs4le_loop_single)
15579         (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
15580         (ucs4le_internal_loop_single): Likewise.
15581         * iconv/iconv.c (iconv): Likewise.
15582         * iconv/iconv_close.c: Likewise.
15583         * iconv/loop.c (SINGLE): Likewise.
15584         * iconv/skeleton.c (FUNCTION_NAME): Likewise.
15585         * include/atomic.h: Likewise.
15586         * inet/inet6_option.c (option_alloc): Likewise.
15587         * intl/bindtextdom.c (set_binding_values): Likewise.
15588         * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
15589         * intl/loadmsgcat.c (_nl_load_domain): Likewise.
15590         * intl/localealias.c (read_alias_file): Likewise.
15591         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
15592         * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
15593         (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
15594         * libio/fmemopen.c (fmemopen): Likewise.
15595         * libio/iofgets.c (_IO_fgets): Likewise.
15596         * libio/iofgets_u.c (fgets_unlocked): Likewise.
15597         * libio/iofgetws.c (fgetws): Likewise.
15598         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
15599         * libio/iogetdelim.c (_IO_getdelim): Likewise.
15600         * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
15601         (adjust_wide_data, _IO_wfile_seekoff): Likewise.
15602         * locale/findlocale.c (_nl_find_locale): Likewise.
15603         * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
15604         * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
15605         Likewise.
15606         * locale/setlocale.c (setlocale): Likewise.
15607         * login/programs/pt_chown.c (main): Likewise.
15608         * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
15609         * malloc/malloc.c (_int_malloc, _int_free): Likewise.
15610         * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
15611         (mmap, mmap64, mremap, munmap): Likewise.
15612         * math/e_exp2l.c: Likewise.
15613         * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
15614         * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
15615         * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
15616         * math/s_catan.c (__catan): Likewise.
15617         * math/s_catanf.c (__catanf): Likewise.
15618         * math/s_catanh.c (__catanh): Likewise.
15619         * math/s_catanhf.c (__catanhf): Likewise.
15620         * math/s_catanhl.c (__catanhl): Likewise.
15621         * math/s_catanl.c (__catanl): Likewise.
15622         * math/s_ccosh.c (__ccosh): Likewise.
15623         * math/s_ccoshf.c (__ccoshf): Likewise.
15624         * math/s_ccoshl.c (__ccoshl): Likewise.
15625         * math/s_cexp.c (__cexp): Likewise.
15626         * math/s_cexpf.c (__cexpf): Likewise.
15627         * math/s_cexpl.c (__cexpl): Likewise.
15628         * math/s_clog10.c (__clog10): Likewise.
15629         * math/s_clog10f.c (__clog10f): Likewise.
15630         * math/s_clog10l.c (__clog10l): Likewise.
15631         * math/s_clog.c (__clog): Likewise.
15632         * math/s_clogf.c (__clogf): Likewise.
15633         * math/s_clogl.c (__clogl): Likewise.
15634         * math/s_csin.c (__csin): Likewise.
15635         * math/s_csinf.c (__csinf): Likewise.
15636         * math/s_csinh.c (__csinh): Likewise.
15637         * math/s_csinhf.c (__csinhf): Likewise.
15638         * math/s_csinhl.c (__csinhl): Likewise.
15639         * math/s_csinl.c (__csinl): Likewise.
15640         * math/s_csqrt.c (__csqrt): Likewise.
15641         * math/s_csqrtf.c (__csqrtf): Likewise.
15642         * math/s_csqrtl.c (__csqrtl): Likewise.
15643         * math/s_ctan.c (__ctan): Likewise.
15644         * math/s_ctanf.c (__ctanf): Likewise.
15645         * math/s_ctanh.c (__ctanh): Likewise.
15646         * math/s_ctanhf.c (__ctanhf): Likewise.
15647         * math/s_ctanhl.c (__ctanhl): Likewise.
15648         * math/s_ctanl.c (__ctanl): Likewise.
15649         * math/w_pow.c: Likewise.
15650         * math/w_powf.c: Likewise.
15651         * math/w_powl.c: Likewise.
15652         * math/w_scalb.c (sysv_scalb): Likewise.
15653         * math/w_scalbf.c (sysv_scalbf): Likewise.
15654         * math/w_scalbl.c (sysv_scalbl): Likewise.
15655         * misc/error.c (error_tail): Likewise.
15656         * misc/pselect.c (__pselect): Likewise.
15657         * nis/nis_callback.c (__nis_create_callback): Likewise.
15658         * nis/nis_call.c (__nisfind_server): Likewise.
15659         * nis/nis_creategroup.c (nis_creategroup): Likewise.
15660         * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
15661         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
15662         * nis/nis_getservlist.c (nis_getservlist): Likewise.
15663         * nis/nis_lookup.c (nis_lookup): Likewise.
15664         * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
15665         * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
15666         (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
15667         * nis/nis_xdr.c (xdr_endpoint): Likewise.
15668         * nis/nss_compat/compat-grp.c (getgrent_next_file)
15669         (internal_getgrnam_r, internal_getgrgid_r): Likewise.
15670         * nis/nss_compat/compat-initgroups.c (add_group)
15671         (internal_getgrent_r): Likewise.
15672         * nis/nss_compat/compat-pwd.c (getpwent_next_file)
15673         (internal_getpwnam_r, internal_getpwuid_r): Likewise.
15674         * nis/nss_compat/compat-spwd.c (getspent_next_file)
15675         (internal_getspnam_r): Likewise.
15676         * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
15677         (_nss_nis_getaliasbyname_r): Likewise.
15678         * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
15679         (_nss_nis_getntohost_r): Likewise.
15680         * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
15681         (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
15682         (_nss_nis_getgrgid_r): Likewise.
15683         * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
15684         (internal_nis_gethostent_r, internal_gethostbyname2_r)
15685         (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
15686         (_nss_nis_gethostbyname4_r): Likewise.
15687         * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
15688         (initgroups_netid): Likewise.
15689         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
15690         * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
15691         (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
15692         * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
15693         (_nss_nis_getprotobynumber_r): Likewise.
15694         * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
15695         (_nss_nis_getsecretkey): Likewise.
15696         * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
15697         (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
15698         (_nss_nis_getpwuid_r): Likewise.
15699         * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
15700         (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
15701         * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
15702         (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
15703         * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
15704         (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
15705         * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
15706         Likewise.
15707         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
15708         (_nss_nisplus_getntohost_r): Likewise.
15709         * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
15710         (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
15711         * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
15712         (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
15713         Likewise.
15714         * nis/nss_nisplus/nisplus-initgroups.c
15715         (_nss_nisplus_initgroups_dyn): Likewise.
15716         * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
15717         (_nss_nisplus_getnetbyaddr_r): Likewise.
15718         * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
15719         (_nss_nisplus_getprotobynumber_r): Likewise.
15720         * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
15721         (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
15722         * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
15723         Likewise.
15724         * nis/nss_nisplus/nisplus-service.c
15725         (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
15726         (_nss_nisplus_getservbyport_r): Likewise.
15727         * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
15728         (_nss_nisplus_getspnam_r): Likewise.
15729         * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
15730         Likewise.
15731         * nscd/aicache.c (addhstaiX): Likewise.
15732         * nscd/cache.c (cache_search, prune_cache): Likewise.
15733         * nscd/connections.c (register_traced_file, send_ro_fd)
15734         (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
15735         (main_loop_epoll): Likewise.
15736         * nscd/grpcache.c (addgrbyX): Likewise.
15737         * nscd/hstcache.c (addhstbyX): Likewise.
15738         * nscd/initgrcache.c (addinitgroupsX): Likewise.
15739         * nscd/mem.c (gc, mempool_alloc): Likewise.
15740         * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
15741         (addinnetgrX): Likewise.
15742         * nscd/nscd-client.h (__nscd_acquire_maplock)
15743         (__nscd_drop_map_ref): Likewise.
15744         * nscd/nscd_getai.c (__nscd_getai): Likewise.
15745         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
15746         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
15747         Likewise.
15748         * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
15749         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
15750         * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
15751         (__nscd_get_map_ref): Likewise.
15752         * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
15753         * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
15754         Likewise.
15755         * nscd/pwdcache.c (addpwbyX): Likewise.
15756         * nscd/selinux.c (preserve_capabilities): Likewise.
15757         * nscd/servicescache.c (addservbyX): Likewise.
15758         * nss/nss_files/files-XXX.c (internal_getent): Likewise.
15759         * posix/fnmatch.c (fnmatch): Likewise.
15760         * posix/getopt.c (_getopt_internal_r): Likewise.
15761         * posix/glob.c (glob, glob_in_dir): Likewise.
15762         * posix/wordexp.c (exec_comm_child): Likewise.
15763         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
15764         (getanswer_r, gaih_getanswer_slice): Likewise.
15765         * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
15766         * resolv/res_init.c: Likewise.
15767         * resolv/res_mkquery.c (res_nmkquery): Likewise.
15768         * resolv/res_query.c (__libc_res_nquery): Likewise.
15769         * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
15770         Likewise.
15771         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
15772         * stdio-common/perror.c (perror): Likewise.
15773         * stdio-common/printf_fp.c (___printf_fp): Likewise.
15774         * stdio-common/tmpnam.c (tmpnam): Likewise.
15775         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
15776         * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
15777         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
15778         Likewise.
15779         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
15780         * stdlib/putenv.c (putenv): Likewise.
15781         * stdlib/setenv.c (__add_to_environ): Likewise.
15782         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
15783         * stdlib/strtol_l.c (INTERNAL): Likewise.
15784         * string/memmem.c (memmem): Likewise.
15785         * string/strerror.c (strerror): Likewise.
15786         * string/strnlen.c (__strnlen): Likewise.
15787         * string/test-memmem.c (simple_memmem): Likewise.
15788         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
15789         * sunrpc/pm_getport.c (__get_socket): Likewise.
15790         * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
15791         * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
15792         * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
15793         (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
15794         Likewise.
15795         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
15796         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
15797         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
15798         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
15799         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
15800         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
15801         Likewise.
15802         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
15803         Likewise.
15804         * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
15805         * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
15806         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
15807         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
15808         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
15809         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
15810         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
15811         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
15812         * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
15813         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
15814         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
15815         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
15816         Likewise.
15817         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
15818         Likewise.
15819         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
15820         Likewise.
15821         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
15822         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
15823         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
15824         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
15825         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
15826         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
15827         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
15828         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
15829         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
15830         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
15831         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
15832         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
15833         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
15834         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
15835         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
15836         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
15837         Likewise.
15838         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
15839         Likewise.
15840         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
15841         Likewise.
15842         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
15843         Likewise.
15844         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
15845         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
15846         * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
15847         Likewise.
15848         * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
15849         * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
15850         * sysdeps/posix/opendir.c (__opendirat): Likewise.
15851         * sysdeps/posix/sleep.c: Likewise.
15852         * sysdeps/posix/tempname.c: Likewise.
15853         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
15854         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
15855         Likewise.
15856         * sysdeps/powerpc/powerpc32/dl-machine.h
15857         (elf_machine_runtime_setup, elf_machine_rela): Likewise.
15858         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
15859         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
15860         * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
15861         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
15862         Likewise.
15863         * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
15864         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
15865         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
15866         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
15867         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
15868         * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
15869         * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
15870         * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
15871         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
15872         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
15873         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
15874         (elf_machine_lazy_rel): Likewise.
15875         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
15876         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
15877         (elf_machine_lazy_rel): Likewise.
15878         * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
15879         * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
15880         * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
15881         * sysdeps/unix/grantpt.c (grantpt): Likewise.
15882         * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
15883         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
15884         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
15885         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
15886         Likewise.
15887         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
15888         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
15889         * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
15890         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
15891         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
15892         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
15893         * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
15894         * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
15895         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
15896         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
15897         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
15898         Likewise.
15899         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
15900         (__posix_fallocate64_l64): Likewise.
15901         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
15902         (posix_fallocate): Likewise.
15903         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
15904         Likewise.
15905         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
15906         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
15907         (getifaddrs_internal): Likewise.
15908         * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
15909         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
15910         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
15911         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
15912         * sysdeps/unix/sysv/linux/posix_fallocate64.c
15913         (__posix_fallocate64_l64): Likewise.
15914         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
15915         Likewise.
15916         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
15917         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
15918         (__get_clockfreq): Likewise.
15919         * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
15920         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
15921         * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
15922         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
15923         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
15924         * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
15925         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
15926         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
15927         Likewise.
15928         * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
15929         * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
15930         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
15931         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
15932         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
15933         * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
15934         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
15935         Likewise.
15936         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
15937         (posix_fallocate): Likewise.
15938         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
15939         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
15940         * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
15941         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
15942         (elf_machine_rela, elf_machine_rela_relative)
15943         (elf_machine_lazy_rel): Likewise.
15944         * time/asctime.c (asctime_internal): Likewise.
15945         * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
15946         * time/tzset.c (__tzset_parse_tz): Likewise.
15947         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
15948         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
15949         * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
15950         * wcsmbs/wcsmbsload.h: Likewise.
15951
15952         [BZ #15894]
15953         * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
15954
15955         * malloc/arena.c (grow_heap, get_free_list, reused_arena)
15956         (arena_get2): Remove THREAD_STATS conditionals.
15957         * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
15958         (__malloc_stats, int): Likewise.
15959
15960 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
15961
15962         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
15963         f.f_type to RAMFS_MAGIC too.  Compare mp->mnt_type to shm too.
15964
15965         * manual/setjmp.texi: Fix typos/grammar errors.
15966
15967         * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
15968         Only return early when n is <= 0.  Delete unused return statement.
15969
15970         * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
15971         (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
15972         * debug/tst-longjmp_chk3.c: New file.
15973
15974         * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
15975         (test_main): Replace code with set_fortify_handler call.
15976         * debug/test-strcpy_chk.c: Likewise.
15977         * debug/tst-chk1.c: Likewise.
15978         * debug/tst-longjmp_chk.c: Likewise.
15979         * test-skeleton.c: Include fcntl.h & paths.h
15980         (set_fortify_handler): Define.
15981
15982         * debug/tst-longjmp_chk.c: Add header comment and include
15983         ../test-skeleton.c.
15984         (do_test): Mark static.
15985         (TEST_FUNCTION): Define.
15986
15987         * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
15988         (IP_PMTUDISC_INTERFACE): Likewise.
15989         (IP_MULTICAST_IF): Likewise.
15990         (IP_MULTICAST_TTL): Likewise.
15991         (IP_MULTICAST_LOOP): Likewise.
15992         (IP_ADD_MEMBERSHIP): Likewise.
15993         (IP_DROP_MEMBERSHIP): Likewise.
15994         (IP_UNBLOCK_SOURCE): Likewise.
15995         (IP_BLOCK_SOURCE): Likewise.
15996         (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
15997         (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
15998         (IP_MSFILTER): Likewise.
15999         (MCAST_JOIN_GROUP): Likewise.
16000         (MCAST_BLOCK_SOURCE): Likewise.
16001         (MCAST_UNBLOCK_SOURCE): Likewise.
16002         (MCAST_LEAVE_GROUP): Likewise.
16003         (MCAST_JOIN_SOURCE_GROUP): Likewise.
16004         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
16005         (MCAST_MSFILTER): Likewise.
16006         (IP_MULTICAST_ALL): Likewise.
16007         (IP_UNICAST_IF): Likewise.
16008
16009         * timezone/Makefile: Delete $(have-ksh) check.
16010         ($(objpfx)tzselect): Change $(KSH) to $(BASH).
16011         * timezone/tzselect.ksh: Add +x mode bits.
16012
16013         * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
16014         (ANON_INODE_FS_MAGIC): Likewise.
16015         (BDEVFS_MAGIC): Likewise.
16016         (BINFMTFS_MAGIC): Likewise.
16017         (BTRFS_TEST_MAGIC): Likewise.
16018         (CRAMFS_MAGIC_WEND): Likewise.
16019         (DEBUGFS_MAGIC): Likewise.
16020         (ECRYPTFS_SUPER_MAGIC): Likewise.
16021         (EXT3_SUPER_MAGIC): Likewise.
16022         (EXT4_SUPER_MAGIC): Likewise.
16023         (FUTEXFS_SUPER_MAGIC): Likewise.
16024         (HOSTFS_SUPER_MAGIC): Likewise.
16025         (HUGETLBFS_MAGIC): Likewise.
16026         (MINIX3_SUPER_MAGIC): Likewise.
16027         (MTD_INODE_FS_MAGIC): Likewise.
16028         (NILFS_SUPER_MAGIC): Likewise.
16029         (OPENPROM_SUPER_MAGIC): Likewise.
16030         (PIPEFS_MAGIC): Likewise.
16031         (PSTOREFS_MAGIC): Likewise.
16032         (QNX6_SUPER_MAGIC): Likewise.
16033         (RAMFS_MAGIC): Likewise.
16034         (REISERFS_SUPER_MAGIC_STRING): Likewise.
16035         (REISER2FS_SUPER_MAGIC_STRING): Likewise.
16036         (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
16037         (SECURITYFS_MAGIC): Likewise.
16038         (SELINUX_MAGIC): Likewise.
16039         (SMACK_MAGIC): Likewise.
16040         (SOCKFS_MAGIC): Likewise.
16041         (SQUASHFS_MAGIC): Likewise.
16042         (STACK_END_MAGIC): Likewise.
16043         (TMPFS_MAGIC): Likewise.
16044         (USBDEVICE_SUPER_MAGIC): Likewise.
16045         (V9FS_MAGIC): Likewise.
16046         (XENFS_SUPER_MAGIC): Likewise.
16047         (CRAMFS_MAGIC): Fix typo in comment.
16048         (EXT2_SUPER_MAGIC): Update comment.
16049         (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
16050
16051 2014-02-08  Joseph Myers  <joseph@codesourcery.com>
16052
16053         * sysdeps/arm: Move directory from ports/sysdeps/arm.
16054         * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
16055         * sysdeps/unix/sysv/linux/arm: Move directory from
16056         ports/sysdeps/unix/sysv/linux/arm.
16057         * README: Update listing for arm-*-linux-gnueabi.
16058
16059         * README: Remove mention of am33.
16060
16061 2014-02-07  Roland McGrath  <roland@hack.frob.com>
16062
16063         * bits/sigset.h (__sigemptyset): Use a statement expression rather
16064         than the comma operator, to avoid "rhs of comma has no effect"
16065         compiler warnings.
16066         (__sigfillset, __sigandset, __sigorset): Likewise.
16067         * include/signal.h (__sigemptyset): Likewise.
16068         * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
16069
16070 2014-02-07  Allan McRae  <allan@archlinux.org>
16071
16072         * version.h (RELEASE): Set to "development".
16073         (VERSION): Set to "2.19.90"
16074         * NEWS: Add 2.20 section.
16075
16076 2014-02-06  Carlos O'Donell  <carlos@redhat.com>
16077
16078         [BZ #16529]
16079         * inet/netinet/in.h: Remove comma after IPPROTO_MH.
16080
16081 2014-02-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
16082
16083         * manual/contrib.texi: Update entry for Carlos O'Donell,
16084         Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
16085
16086 2014-02-05  Carlos O'Donell  <carlos@rehdat.com>
16087
16088         * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
16089
16090         * sysdeps/unix/sysv/linux/kernel-features.h
16091         [__LINUX_KERNEL_VERSION >= 0x020621]
16092         (__ASSUME_PROC_PID_TASK_COMM): Define.
16093
16094 2014-02-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
16095
16096         [BZ #16398]
16097         * libio/wfileops.c (_IO_wfile_seekoff): Break out form
16098         conversion when destination buffer does not have enough space.
16099         * libio/tst-ftell-partial-wide.c: New test case.
16100         * libio/Makefile (tests): Add tst-ftell-partial-wide.
16101
16102         * manual/contrib.texi: Update entry for Ondrej Bilka, Will
16103         Newton and Alexandre Oliva.  Add entries for Steve Ellcey, Chris
16104         Leonard and Allan McRae.
16105
16106 2014-02-04  David S. Miller  <davem@davemloft.net>
16107
16108         * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
16109         32-bit.
16110
16111 2014-02-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16112
16113         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
16114         New file
16115         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
16116         New file
16117         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
16118         New file.
16119         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
16120         New file.
16121         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
16122         New file.
16123         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
16124         New file.
16125         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
16126         New file.
16127         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
16128         New file.
16129         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
16130         New file.
16131         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
16132         New file.
16133         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
16134         New file.
16135         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
16136         New file.
16137         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
16138         New file.
16139
16140 2014-02-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16141
16142         * nptl/shlib-versions: Change powerpc*le start to 2.17.
16143         * shlib-versions: Likewise.
16144
16145 2014-02-04  Roland McGrath  <roland@hack.frob.com>
16146             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16147
16148         * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
16149         (abilist-pattern): New variable, set to %-le.abilist.
16150
16151         * Makerules (abilist-pattern): New variable.
16152         (vpath): Use $(abilist-pattern) in place of %.abilist.
16153         (check-abi-% pattern rule): Likewise.
16154         (check-abi, update-abi): Likewise.
16155
16156 2014-02-04  Eric Wong  <normalperson@yhbt.net>
16157
16158         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16159
16160 2014-02-03  Carlos O'Donell  <carlos@redhat.com>
16161
16162         * manual/startup.texi: Add next, previous, and top entries for
16163         the `Program Arguments' and `Environment Variables' nodes.
16164
16165 2014-02-03  Alexandre Oliva <aoliva@redhat.com>
16166
16167         * manual/macros.texi: Add comments before MTASC-safety macros.
16168
16169         * manual/users.texi: Document MTASC-safety properties.
16170
16171         * manual/threads.texi (pthread_key_create, pthread_key_delete)
16172         (pthread_getspecific, pthread_setspecific): Format with
16173         @deftypefun, and add @safety note.
16174         * manual/signal.texi: Move comments that analyze the above
16175         functions to their home place.
16176
16177 2014-02-03  Allan McRae  <allan@archlinux.org>
16178
16179         * po/sl.po: Update Slovenian translation from translation project.
16180
16181 2014-02-02  Alexandre Oliva <aoliva@redhat.com>
16182
16183         * manual/time.texi (timegm): Add missing blank after @c.
16184         Reported by Joseph Myers <joseph@codesourcery.com>.
16185
16186 2014-02-01  Alexandre Oliva <aoliva@redhat.com>
16187
16188         * manual/check-safety.sh: New.
16189         * manual/Makefile ($(objpfx)stamp-summary): Run it.
16190
16191         * manual/terminal.texi: Document MTASC-safety properties.
16192
16193         * manual/filesys.texi: Document MTASC-safety properties.
16194
16195         * manual/errno.texi: Document MTASC-safety properties.
16196
16197         * manual/intro.texi: Document safety identifiers and
16198         conditionals.
16199
16200         * manual/string.texi (wcstok): Fix prototype.
16201         (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
16202
16203         * manual/time.texi: Document MTASC-safety properties.
16204
16205         * manual/string.texi: Document MTASC-safety properties.
16206
16207         * manual/threads.texi: Document MTASC-safety properties.
16208
16209         * manual/stdio.texi: Document MTASC-safety properties.
16210
16211         * manual/syslog.texi: Document MTASC-safety properties.
16212
16213         * manual/sysinfo.texi: Document MTASC-safety properties.
16214
16215         * manual/startup.texi: Document MTASC-safety properties.
16216
16217         * manual/socket.texi: Document MTASC-safety properties.
16218
16219         * manual/signal.texi: Document MTASC-safety properties.
16220
16221 2014-01-31  Alexandre Oliva <aoliva@redhat.com>
16222
16223         * manual/setjmp.texi: Document MTASC-safety properties.
16224
16225         * manual/search.texi: Document MTASC-safety properties.
16226
16227         * manual/resource.texi: Document MTASC-safety properties.
16228
16229         * manual/process.texi: Document MTASC-safety properties.
16230
16231         * manual/platform.texi: Document MTASC-safety properties.
16232
16233         * manual/pipe.texi: Document MTASC-safety properties.
16234
16235         * manual/pattern.texi: Document MTASC-safety properties.
16236
16237         * manual/message.texi: Document MTASC-safety properties.
16238
16239         [BZ #12751]
16240         * manual/memory.texi: Document MTASC-safety properties.
16241
16242         * manual/math.texi: Document MTASC-safety properties.
16243
16244         * manual/locale.texi: Document MTASC-safety properties.
16245
16246         * manual/llio.texi: Document MTASC-safety properties.
16247
16248         * manual/libdl.texi: New.
16249
16250         * manual/lang.texi: Document MTASC-safety properties.
16251
16252         * manual/job.texi: Document MTASC-safety properties.
16253
16254         * manual/getopt.texi: Document MTASC-safety properties.
16255
16256         * manual/ctype.texi: Document MTASC-safety properties.
16257
16258 2014-01-31  Maciej W. Rozycki  <macro@codesourcery.com>
16259
16260         [BZ #16046]
16261         * csu/libc-tls.c (static_map): Remove variable.
16262         (__libc_setup_tls): Use main executable's link map for TLS data.
16263         * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
16264         casing for LM_ID_BASE and GL(dl_nns).
16265         * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
16266         function.  Alias dl_iterate_phdr to __dl_iterate_phdr.
16267         * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
16268         casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
16269         * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
16270         member.
16271         (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
16272         l_phnum members.
16273
16274 2014-01-30  Alexandre Oliva <aoliva@redhat.com>
16275
16276         * manual/debug.texi: Document MTASC-safety properties.
16277
16278 2014-01-29  H.J. Lu  <hongjiu.lu@intel.com>
16279
16280         [BZ #16510]
16281         * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
16282         of __x86_64__ when disabling x87 inline functions.
16283
16284 2014-01-29  Alexandre Oliva <aoliva@redhat.com>
16285
16286         * manual/charset.texi: Document MTASC-safety properties.
16287
16288         * manual/crypt.texi: Document MTASC-safety properties.
16289
16290         * manual/conf.texi: Document MTASC-safety properties.
16291
16292         * manual/arith.texi: Document MTASC-safety properties.
16293
16294         * manual/argp.texi: Document MTASC-safety properties.
16295
16296         * manual/macros.texi: Introduce macros to document multi
16297         thread, asynchronous signal and asynchronous cancellation
16298         safety properties.
16299         * manual/intro.texi: Introduce the properties themselves.
16300
16301 2014-01-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
16302
16303         * sysdeps/sh/sh4/Makefile: New file.
16304
16305 2014-01-27  Andreas Schwab  <schwab@linux-m68k.org>
16306
16307         * math/gen-libm-test.pl ($srcdir): New variable.
16308         ($auto_input): Use it.
16309
16310 2014-01-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
16311
16312         [BZ #16506]
16313         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
16314         access beyond array bounds when parsing netgroups file.
16315
16316         * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
16317         the old buffer before realloc.
16318
16319 2014-01-27  Allan McRae  <allan@archlinux.org>
16320
16321         * po/fr.po: Update French translation from translation project.
16322
16323 2014-01-26  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
16324
16325         * sysdeps/sh/libm-test-ulps: Regenerate.
16326
16327 2014-01-24  David S. Miller  <davem@davemloft.net>
16328
16329         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
16330
16331 2014-01-25  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
16332
16333         * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
16334         * sysdeps/sh/libm-test-ulps: ... here and regenerated.
16335
16336 2013-01-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
16337
16338         [BZ #16474]
16339         * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
16340         string pointers after reallocation.
16341
16342 2014-01-24  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
16343
16344         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
16345         __SH4A__ instead of __SH_FPU_ANY__.
16346
16347 2014-01-23  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
16348
16349         * sysdeps/sh/fpu_control.h: New file.
16350         * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
16351         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
16352         * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
16353         * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
16354         * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
16355         * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
16356         * sysdeps/sh/sys/ucontext.h: Remove.
16357         * sysdeps/sh/sys: Remove directory.
16358
16359 2014-01-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
16360
16361         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
16362         s390/sys/ucontext.h.
16363         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
16364         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
16365
16366 2014-01-20  H.J. Lu  <hongjiu.lu@intel.com>
16367
16368         [BZ #15605]
16369         * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
16370
16371 2014-01-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16372
16373         [BZ#16431]
16374         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
16375         Adjust the vDSO correctly for internal calls.
16376         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
16377
16378 2014-01-20  Allan McRae  <allan@archlinux.org>
16379
16380         * po/ca.po: Update Catalan translation from translation project.
16381
16382 2014-01-16  Mike Frysinger  <vapier@gentoo.org>
16383
16384         * sysdeps/s390/sotruss-lib.c: New file.
16385
16386 2014-01-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16387
16388         [BZ#16430]
16389         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
16390         (__GI___gettimeofday): Alias for a different internal symbol to avoid
16391         local calls issues by not having a PLT stub required for IFUNC calls.
16392         * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
16393
16394 2014-01-16 Joseph Myers  <joseph@codesourcery.com>
16395
16396         * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
16397         * math/test-fpucw-static.c: Likewise.
16398
16399 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
16400
16401         [BZ #16453]
16402         * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
16403
16404 2014-01-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16405
16406         * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
16407         implementation for powerpc.
16408
16409 2014-01-15  Ondřej Bílka  <neleai@seznam.cz>
16410
16411         [BZ #14782]
16412         * sysdeps/posix/system.c (__libc_system): Do not enable
16413         asynchronous cancellation.
16414
16415 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
16416
16417         [BZ #16427]
16418         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
16419         handling only for numbers special also in the IEEE case.
16420
16421 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
16422
16423         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
16424
16425 2014-01-11  Allan McRae  <allan@archlinux.org>
16426
16427         * po/bg.po: Update Bulgarian translation from translation project.
16428
16429         * po/de.po: Update German translation from translation project.
16430
16431 2014-01-10  Roland McGrath  <roland@hack.frob.com>
16432
16433         * sysdeps/generic/gcc-compat.h: New file.
16434
16435 2014-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
16436
16437         * benchtests/asin-inputs: Correct slow inputs.
16438         * benchtests/acos-inputs: Likewise.
16439
16440 2014-01-10  Allan McRae  <allan@archlinux.org>
16441
16442         * po:sv.po: Update Swedish translation from translation project.
16443
16444         * po/vi.po: Update Vietnamese translation from translation project.
16445
16446         * po/eo.po: Update Esperanto translation from translation project.
16447
16448         * po/cs.po: Update Czech translation from translation project.
16449
16450         * po/nl.po: Update Dutch translation from translation project.
16451
16452         * po/pl.po: Update Polish translation from translation project.
16453
16454         * po/ru.po: Update Russian translation from translation project.
16455
16456         * po/uk.po: Update Ukrainian translation from translation project.
16457
16458 2014-01-08  Brooks Moses  <bmoses@google.com>
16459
16460         * elf/dl-load.c: Fix comment typo.
16461
16462 2014-01-08  Carlos O'Donell  <carlos@redhat.com>
16463
16464         * po/header.pot: Rename to...
16465         * po/pot.header: ... this.
16466         * po/Makefile: Use pot.header.
16467
16468 2014-01-08  Yuriy Kaminskiy  <yumkam@gmail.com>
16469             Maxim Kuvyrkov  <maxim@kugelworks.com>
16470
16471         [BZ #16394]
16472         * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
16473         SRC and DEST against LEN.
16474
16475 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16476
16477         [BZ #16414]
16478         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
16479         implementation.
16480         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
16481
16482 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16483
16484         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16485
16486 2014-01-08  Joseph Myers  <joseph@codesourcery.com>
16487
16488         [BZ #16408]
16489         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
16490         for large positive arguments.
16491
16492 2014-01-07  Joseph Myers  <joseph@codesourcery.com>
16493
16494         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
16495
16496         * math/auto-libm-test-in: Mark various tests with
16497         xfail-rounding:ldbl-128ibm.
16498         * math/auto-libm-test-out: Regenerated.
16499
16500         [BZ #16407]
16501         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
16502         Increase overflow threshold.
16503
16504 2014-01-07  Ondřej Bílka  <neleai@seznam.cz>
16505
16506         [BZ #14286]
16507         * stdio-common/vfprintf.c: Check for integer overflow.
16508
16509 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
16510
16511         * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
16512         the first argument and return value of __tls_get_addr_internal.
16513
16514 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
16515
16516         * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
16517         also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
16518
16519 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
16520
16521         * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
16522         * sysdeps/s390/rtld-global-offsets.sym: New file.
16523         * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
16524         GLIBC_2.19 symbol.
16525         * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
16526         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
16527         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
16528         ... this.
16529         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
16530         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
16531         ... this.
16532         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
16533         Regenerate.
16534         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
16535         Regenerate.
16536         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
16537         halfs of GPRs for high_gprs contexts.
16538         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
16539         restore upper halfs of GPRs for high_gprs contexts.  Copy uc_flags
16540         field.
16541         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
16542         uc_flags field.
16543         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
16544         64 bit versions:
16545         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
16546         for high GPRs (uc_high_gprs) and for future extensions
16547         (__reserved).
16548         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
16549         for future extensions (__reserved).
16550         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
16551         64 bit versions:
16552         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
16553         SC_HIGHGPRS offset definition.
16554         * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
16555         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
16556
16557         * Versions.def: Add GLIBC_2.19 for libpthread.
16558         * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
16559         siglongjmp for libpthread with GLIBC_2.19 symver.
16560         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
16561         * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
16562         * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
16563         * sysdeps/s390/__longjmp.c: New file.
16564         * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
16565         * sysdeps/s390/longjmp.c: New file.
16566         * sysdeps/s390/setjmp.S: New file.
16567         * sysdeps/s390/sigjmp.S: New file.
16568         * sysdeps/s390/v1-longjmp.c: New file.
16569         * sysdeps/s390/v1-setjmp.h: New file.
16570         * sysdeps/s390/v1-sigjmp.c: New file.
16571         * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
16572         * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
16573         GLIBC_2.19 version.
16574         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
16575         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
16576         versioned symbols for ____longjmp_chk.
16577         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
16578         Likewise.
16579         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
16580         Regenerate.
16581         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
16582         Regenerate.
16583         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
16584         Regenerate.
16585         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
16586         Regenerate.
16587         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
16588         * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
16589         * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
16590         * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
16591         * sysdeps/s390/s390-32/setjmp-common.S: ... this.
16592         * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
16593         * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
16594         * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
16595         * sysdeps/s390/s390-64/setjmp-common.S: ... this.
16596         * sysdeps/s390/rtld-__longjmp.c: New file.
16597         * sysdeps/s390/rtld-setjmp.S: New file.
16598
16599 2014-01-06  Joseph Myers  <joseph@codesourcery.com>
16600
16601         [BZ #16400]
16602         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
16603         Return -__logl (x) for small positive arguments without evaluating
16604         a polynomial.
16605
16606 2014-01-06  Mike Frysinger  <vapier@gentoo.org>
16607
16608         * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
16609         Rename to ...
16610         (__ptrace_peeksiginfo_args): ... this.
16611         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
16612         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
16613         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
16614
16615 2014-01-06  Allan McRae  <allan@archlinux.org>
16616
16617         * inet/netinet/in.h: Fix typo in comment.
16618
16619 2014-01-05  Andreas Jaeger  <aj@suse.de>
16620
16621         * sysdeps/i386/fpu/libm-test-ulps: Update.
16622
16623 2014-01-05  Allan McRae  <allan@archlinux.org>
16624
16625         * po/libc.pot: Regenerated.
16626
16627         * malloc/memusagestat.c: Fix gettext call formatting.
16628
16629 2014-01-04  Sami Kerola  <kerolasa@iki.fi>
16630
16631         * nscd/nscd.c: Improve usage() output.
16632
16633 2014-01-04  Mike Frysinger  <vapier@gentoo.org>
16634
16635         * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
16636         * sysdeps/unix/sysv/linux/configure: Regenerated.
16637         * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
16638         * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
16639
16640 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
16641
16642         [BZ #16390]
16643         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
16644         (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
16645
16646 2014-01-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16647
16648         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
16649         extra tokens at end of #undef directive.
16650         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
16651         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
16652         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
16653
16654 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
16655
16656         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
16657
16658         * math/auto-libm-test-in: Mark various tests with
16659         xfail-rounding:ldbl-128ibm.
16660         * math/auto-libm-test-out: Regenerated.
16661
16662 2014-01-02  Joseph Myers  <joseph@codesourcery.com>
16663
16664         [BZ #16386]
16665         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
16666         numbers with subnormal high part when calculating exponent.
16667
16668         [BZ #16385]
16669         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
16670         fabs.
16671
16672         [BZ #16384]
16673         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
16674         M_LN2l.
16675         (__ieee754_acoshl): Use __log1pl not __log1p.
16676
16677 2013-01-02  Ondřej Bílka  <neleai@seznam.cz>
16678
16679         * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
16680         (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
16681         (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
16682         (grow_heap, heap_trim, _int_new_arena, get_free_list)
16683         (reused_arena, arena_get2): Convert to GNU style.
16684         * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
16685         (mem2mem_check, mem2chunk_check, top_check, realloc_check)
16686         (memalign_check, __malloc_set_state): Likewise.
16687         * malloc/mallocbug.c (main): Likewise.
16688         * malloc/malloc.c (__malloc_assert, malloc_init_state)
16689         (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
16690         (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
16691         (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
16692         (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
16693         (__posix_memalign, malloc_info): Likewise.
16694         * malloc/malloc.h: Likewise.
16695         * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
16696         (mallochook, memalignhook, reallochook, mabort): Likewise.
16697         * malloc/mcheck.h: Likewise.
16698         * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
16699         (free, mmap, mmap64, mremap, munmap, dest): Likewise.
16700         * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
16701         * malloc/morecore.c (__default_morecore): Likewise.
16702         * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
16703         * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
16704         (_obstack_allocated_p, obstack_free, _obstack_memory_used)
16705         (print_and_abort): Likewise.
16706         * malloc/obstack.h: Likewise.
16707         * malloc/set-freeres.c (__libc_freeres): Likewise.
16708         * malloc/tst-mallocstate.c (main): Likewise.
16709         * malloc/tst-mtrace.c (main): Likewise.
16710         * malloc/tst-realloc.c (do_test): Likewise.
16711
16712 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
16713
16714         [BZ #16366]
16715         * nscd/netgroupcache.c (do_notfound): New function.
16716         (addgetnetgrentX): Use it.
16717
16718         [BZ # 16365]
16719         * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
16720         NSS_STATUS_NOTFOUND.
16721
16722 2014-01-01  Joseph Myers  <joseph@codesourcery.com>
16723
16724         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
16725         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16726
16727 2014-01-01  Allan McRae  <allan@archlinux.org>
16728
16729         * scripts/update-copyrights: Update configure input file suffix.
16730
16731         * NEWS: Update copyright year.
16732         * catgets/gencat.c: Likewise.
16733         * csu/version.c: Likewise.
16734         * debug/catchsegv.sh: Likewise.
16735         * debug/pcprofiledump.c: Likewise.
16736         * debug/xtrace.sh: Likewise.
16737         * elf/ldconfig.c: Likewise.
16738         * elf/ldd.bash.in: Likewise.
16739         * elf/pldd.c: Likewise.
16740         * elf/sotruss.ksh: Likewise.
16741         * elf/sprof.c: Likewise.
16742         * iconv/iconv_prog.c: Likewise.
16743         * iconv/iconvconfig.c: Likewise.
16744         * locale/programs/locale.c: Likewise.
16745         * locale/programs/localedef.c: Likewise.
16746         * login/programs/pt_chown.c: Likewise.
16747         * malloc/memusage.sh: Likewise.
16748         * malloc/memusagestat.c: Likewise.
16749         * malloc/mtrace.pl: Likewise.
16750         * manual/libc.texinfo: Likewise.
16751         * nscd/nscd.c: Likewise.
16752         * nss/getent.c: Likewise.
16753         * nss/makedb.c: Likewise.
16754         * posix/getconf.c: Likewise.
16755         * scripts/test-installation.pl: Likewise.
16756
16757         * All files with FSF copyright notices: Update copyright dates
16758         using scripts/update-copyrights.
16759         * intl/plural.c: Regenerated.
16760         * locale/programs/charmap-kw.h: Likewise.
16761         * locale/programs/locfile-kw.h: Likewise.
16762
16763 2013-12-31  Mike Frysinger  <vapier@gentoo.org>
16764
16765         * sysdeps/unix/sysv/linux/configure: Regenerated.
16766         * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
16767         the linux/fanotify.h header.
16768         * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
16769         HAVE_LINUX_FANOTIFY_H is defined.
16770
16771 2013-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
16772
16773         * benchtests/cos-inputs: New inputs.
16774         * benchtests/sin-inputs: Likewise.
16775
16776         * benchtests/atan-inputs: New inputs. Fix name of multiple
16777         precision fallback inputs.
16778
16779         * benchtests/atanh-inputs: New inputs.
16780         * benchtests/tanh-inputs: Likewise.
16781
16782         * benchtests/acosh-inputs: New inputs.
16783         * benchtests/asinh-inputs: Likewise.
16784
16785         * benchtests/cosh-inputs: New inputs.
16786         * benchtests/sinh-inputs: Likewise.
16787
16788         * benchtests/acos-inputs: Add more inputs.
16789         * benchtests/asin-inputs: Likewise.
16790
16791 2013-12-30  Ville Skytta  <ville.skytta@iki.fi>
16792
16793         [BZ #16375]
16794         * manual/arith.texi: Fix spelling.
16795         * manual/charset.texi: Likewise.
16796         * manual/errno.texi: Likewise.
16797         * manual/filesys.texi: Likewise.
16798         * manual/lang.texi: Likewise.
16799         * manual/llio.texi: Likewise.
16800         * manual/locale.texi: Likewise.
16801         * manual/message.texi: Likewise.
16802         * manual/resource.texi: Likewise.
16803         * manual/search.texi: Likewise.
16804         * manual/setjmp.texi: Likewise.
16805         * manual/stdio.texi: Likewise.
16806         * manual/string.texi: Likewise.
16807         * manual/sysinfo.texi: Likewise.
16808         * manual/time.texi: Likewise.
16809
16810 2013-12-27  Carlos O'Donell  <carlos@redhat.com>
16811
16812         * po/sl.po: New file.
16813
16814 2013-12-27  Mike Frysinger  <vapier@gentoo.org>
16815
16816         * .gitignore: Add core/.gdbinit/.gdb_history.
16817
16818 2013-12-27  Allan McRae  <allan@archlinux.org>
16819
16820         [BZ #16369]
16821         * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
16822         Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
16823
16824 2013-12-24  Brooks Moses  <bmoses@google.com>
16825
16826         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
16827         all compilers that claim C++98 compliance, not just GCC.
16828         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
16829         Likewise.
16830
16831 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
16832
16833         * NEWS: Restore accidentally deleted bug-fix entries.
16834
16835 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
16836             Ondřej Bílka  <neleai@seznam.cz>
16837
16838         [BZ #15073]
16839         * malloc/malloc.c (_int_free): Perform sanity check only if we
16840         have_lock.
16841
16842 2013-12-23  Ondřej Bílka  <neleai@seznam.cz>
16843
16844         [BZ #12986]
16845         * manual/stdio.texi (String Input Conversions): Clarify that character
16846         classes are not supported.
16847
16848 2013-12-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16849
16850         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16851
16852 2013-12-22  Joseph Myers  <joseph@codesourcery.com>
16853
16854         [BZ #16337]
16855         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
16856         Calculate results for small negative arguments directly rather
16857         than using reflection formula with special underflow handling.
16858
16859         * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
16860         * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
16861         sysdeps/unix/bsd/bsd4.4/syscalls.list.
16862         (fchflags): Likewise.
16863         (revoke): Likewise.
16864         (setlogin): Likewise.
16865         (sigaltstack): Likewise.
16866         (wait4): Likewise.
16867         (sigblock): Remove.
16868         (sigsetmask): Likewise.
16869         (wait3): Likewise.
16870         (waitpid): Likewise.
16871         * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
16872         * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
16873         file.
16874         * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
16875         * sysdeps/unix/bsd/Makefile: ... here.
16876         * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
16877         * sysdeps/unix/bsd/Versions: ... here.
16878         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
16879         * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
16880         * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
16881         * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
16882         * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
16883         * sysdeps/unix/bsd/sigblock.c: ... here.
16884         * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
16885         * sysdeps/unix/bsd/sigsetmask.c: ... here.
16886         * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
16887         * sysdeps/unix/bsd/sigvec.c: ... here.
16888         * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
16889         * sysdeps/unix/bsd/tcdrain.c: ... here.
16890         * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
16891         * sysdeps/unix/bsd/tcgetattr.c: ... here.
16892         * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
16893         * sysdeps/unix/bsd/tcsetattr.c: ... here.
16894         * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
16895         * sysdeps/unix/bsd/wait.c: ... here.
16896         * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
16897         * sysdeps/unix/bsd/wait3.c: ... here.
16898         * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
16899         * sysdeps/unix/bsd/waitpid.c: ... here.
16900
16901 2013-12-21  Joseph Myers  <joseph@codesourcery.com>
16902
16903         [BZ #16356]
16904         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
16905         round-to-nearest for [!USE_AS_EXPM1L].
16906         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
16907         * math/auto-libm-test-in: Do not expect cosh tests to fail.  Add
16908         more tests of exp and exp10.  Expect some exp10 tests to miss
16909         exceptions or fail in directed rounding modes.
16910         * math/auto-libm-test-out: Regenerated.
16911         * math/libm-test.inc (exp10_tonearest_test_data): New array.
16912         (exp10_test_tonearest): New function.
16913         (exp10_towardzero_test_data): New array.
16914         (exp10_test_towardzero): New function.
16915         (exp10_downward_test_data): New array.
16916         (exp10_test_downward): New function.
16917         (exp10_upward_test_data): New array.
16918         (exp10_test_upward): New function.
16919         (main): Call the new functions.
16920         * sysdeps/i386/fpu/libm-test-ulps: Update.
16921         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16922
16923 2013-12-20  Joseph Myers  <joseph@codesourcery.com>
16924
16925         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
16926         asinh, atan, atan2, atanh, cbrt, cos and cosh.
16927         * math/auto-libm-test-out: Regenerated.
16928         * math/libm-test.inc (acosh_test_data): Add more tests.
16929         (atanh_test_data): Likewise.
16930         (ceil_test_data): Likewise.
16931         (copysign_test_data): Likewise.
16932         * sysdeps/i386/fpu/libm-test-ulps: Update.
16933         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16934
16935         * timezone/checktab.awk: Update from tzcode 2013i.
16936         * timezone/private.h: Likewise.
16937         * timezone/scheck.c: Likewise.
16938         * timezone/tzfile.h: Likewise.
16939         * timezone/tzselect.ksh: Likewise.
16940         * timezone/zdump.c: Likewise.
16941         * timezone/zic.c: Likewise.
16942
16943         * math/auto-libm-test-in: Add tests of cpow.
16944         * math/auto-libm-test-out: Regenerated.
16945         * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
16946         * math/gen-auto-libm-tests.c (func_calc_method): Add value
16947         mpc_cc_c.
16948         (func_calc_desc): Add mpc_cc_c union field.
16949         (test_functions): Add cpow.
16950         (special_fill_2pi): New function.
16951         (special_real_inputs): Add 2pi.
16952         (calc_generic_results): Handle mpc_cc_c.
16953         * sysdeps/i386/fpu/libm-test-ulps: Update.
16954         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16955
16956         * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
16957         csqrt, ctan and ctanh.
16958         * math/auto-libm-test-out: Regenerated.
16959         * math/libm-test.inc (TEST_COND_x86_64): New macro.
16960         (TEST_COND_x86): Likewise.
16961         (ccos_test_data): Use AUTO_TESTS_c_c.
16962         (ccosh_test_data): Likewise.
16963         (cexp_test_data): Likewise.
16964         (clog_test_data): Likewise.
16965         (csqrt_test_data): Likewise.
16966         (ctan_test_data): Likewise.
16967         (ctan_tonearest_test_data): Likewise.
16968         (ctan_towardzero_test_data): Likewise.
16969         (ctan_downward_test_data): Likewise.
16970         (ctan_upward_test_data): Likewise.
16971         (ctanh_test_data): Likewise.
16972         (ctanh_tonearest_test_data): Likewise.
16973         (ctanh_towardzero_test_data): Likewise.
16974         (ctanh_downward_test_data): Likewise.
16975         (ctanh_upward_test_data): Likewise.
16976         * math/gen-auto-libm-tests.c (func_calc_method): Add value
16977         mpc_c_c.
16978         (func_calc_desc): Add mpc_c_c union field.
16979         (FUNC_mpc_c_c): New macro.
16980         (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
16981         ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
16982         ctanh.
16983         (special_fill_min_subnorm_p120): New function.
16984         (special_real_inputs): Add min_subnorm_p120.
16985         (calc_generic_results): Handle mpc_c_c.
16986         * sysdeps/i386/fpu/libm-test-ulps: Update.
16987         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16988
16989 2013-12-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
16990
16991         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
16992         (do_sin_slow): New functions.
16993         (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
16994         (cslow2, csloww1, csloww2): Use the new functions.
16995
16996         * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
16997         Use M to change sign of result instead of X.  Assume X is
16998         positive.
16999         (csloww1): Likewise.
17000         (__sin): Adjust.
17001         (__cos): Adjust.
17002
17003         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
17004         arguments A and DA.
17005         (__sin): Adjust.
17006         (__cos): Likewise.
17007
17008         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
17009         (__cos): Likewise.
17010         (sloww1): Don't adjust sign of DX.
17011         (csloww1): Likewise.
17012         (sloww2): Use X directly and don't adjust sign of DX.
17013         (csloww2): Likewise.
17014
17015 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
17016
17017         * math/auto-libm-test-in: Add tests of cabs and carg.
17018         * math/auto-libm-test-out: Regenerated.
17019         * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
17020         (carg_test_data): Likewise.
17021         * math/gen-auto-libm-tests.c (func_calc_method): Add value
17022         mpc_c_f.
17023         (func_calc_desc): Add mpc_c_f union field.
17024         (test_functions): Add cabs and carg.
17025         (calc_generic_results): Handle mpc_c_f.
17026
17027         * sysdeps/powerpc/powerpc32/libgcc-compat.S
17028         [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
17029         as a macro and a compat symbol.
17030         [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
17031         [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
17032         [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
17033         [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
17034         [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
17035         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
17036         not use .hidden.
17037         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
17038         Likewise.
17039         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
17040         Likewise.
17041         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
17042         Likewise.
17043         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
17044         Likewise.
17045         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
17046         Likewise.
17047         * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
17048         __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
17049         from GLIBC_2.3.2.
17050
17051 2013-12-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17052
17053         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17054
17055 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
17056
17057         * manual/texinfo.tex: Update to version 2013-11-26.10 with
17058         trailing whitespace removed.
17059         * scripts/config.guess: Update to version 2013-11-29.
17060         * scripts/config.sub: Update to version 2013-10-01.
17061
17062         * math/auto-libm-test-in: Add tests of sincos.
17063         * math/auto-libm-test-out: Regenerated.
17064         * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
17065         * math/gen-auto-libm-tests.c (func_calc_method): Add value
17066         mpfr_f_11.
17067         (func_calc_desc): Add mpfr_f_11 union field.
17068         (test_functions): Add sincos.
17069         (calc_generic_results): Handle mpfr_f_11.
17070         * sysdeps/i386/fpu/libm-test-ulps: Update.
17071         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17072
17073 2013-12-19  Andreas Schwab  <schwab@suse.de>
17074
17075         * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
17076         CALL_MCOUNT.
17077         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
17078         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
17079         [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
17080
17081 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
17082
17083         * math/gen-libm-test.pl (%beautify): Remove M_* constants.
17084         * sysdeps/i386/fpu/libm-test-ulps: Update.
17085         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17086
17087         [BZ #16293]
17088         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
17089         round-to-nearest mode when using frndint.
17090         * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
17091         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
17092         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
17093         Likewise.
17094         * math/auto-libm-test-in: Add more tests of expm1.  Do not expect
17095         sinh test to fail.
17096         * math/auto-libm-test-out: Regenerated.
17097         * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
17098         (TEST_COND_x86): Likewise.
17099         (expm1_tonearest_test_data): New array.
17100         (expm1_test_tonearest): New function.
17101         (expm1_towardzero_test_data): New array.
17102         (expm1_test_towardzero): New function.
17103         (expm1_downward_test_data): New array.
17104         (expm1_test_downward): New function.
17105         (expm1_upward_test_data): New array.
17106         (expm1_test_upward): New function.
17107         (main): Run the new test functions.
17108         * sysdeps/i386/fpu/libm-test-ulps: Update.
17109         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17110
17111         * include/features.h: Update comment documenting feature test
17112         macros.  Mention _DEFAULT_SOURCE in comment.
17113         [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
17114         [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
17115         _BSD_SOURCE and _SVID_SOURCE.
17116         [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
17117         !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
17118         !_SVID_SOURCE]: Likewise.
17119         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
17120         (__USE_POSIX_IMPLICITLY): Define.
17121         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
17122         (_POSIX_SOURCE): Undefine and redefine.
17123         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
17124         (_POSIX_C_SOURCE): Likewise.
17125         * manual/creature.texi (_DEFAULT_SOURCE): Document.
17126         (Feature Test Macros): Update documentation of default features.
17127
17128 2013-12-19  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
17129
17130         * benchtests/Makefile: Add bench-strtok.
17131         * benchtests/bench-strtok.c: New file: strtok benchtest.
17132
17133 2013-12-19  Allan McRae  <allan@archlinux.org>
17134
17135         * manual/install.texi: Suppress menu for plain text output.
17136         * INSTALL: Regenerated.
17137
17138 2013-12-18  Brooks Moses  <bmoses@google.com>
17139
17140         [BZ #15846]
17141         * misc/getauxval.c: Include errno.h.
17142         (__getauxval): Set errno to ENOENT if the requested type is not
17143         found.
17144         * misc/sys/auxv.h (getauxval): Document that it may set errno;
17145         don't declare with __attribute_const__.
17146         * elf/tst-auxv.c: Add tests for errno and type-not-found case.
17147         * manual/startup.texi: Document that getauxval sets errno.
17148
17149 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
17150
17151         * math/auto-libm-test-in: Add tests of jn and yn.
17152         * math/auto-libm-test-out: Regenerated.
17153         * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
17154         (yn_test_data): Likewise.
17155         * math/gen-auto-libm-tests.c (func_calc_method): Add value
17156         mpfr_if_f.
17157         (func_calc_desc): Add mpfr_if_f union field.
17158         (FUNC_mpfr_if_f): New macro.
17159         (test_functions): Add jn and yn.
17160         (calc_generic_results): Assert type of second input for
17161         mpfr_ff_f.  Handle mpfr_if_f.
17162         (output_for_one_input_case): Disable all checking for arguments
17163         fitting floating-point types in case of an integer argument.
17164         * sysdeps/i386/fpu/libm-test-ulps: Update.
17165         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17166
17167         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
17168         Don't expect fegetround reference in libm.so.
17169
17170 2013-12-17  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
17171
17172         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
17173         $(config-cflags-nofma).
17174
17175 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
17176
17177         * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
17178         * math/auto-libm-test-out: Regenerated.
17179
17180         [BZ #16338]
17181         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
17182         to determine exponent and adjust argument to have exponent of -1.
17183         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
17184         log2.
17185         * math/auto-libm-test-out: Regenerated.
17186         * sysdeps/i386/fpu/libm-test-ulps: Update.
17187         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17188
17189 2013-12-18  Ondřej Bílka  <neleai@seznam.cz>
17190
17191         * manual/probes.texi: Remove cases when per-thread arenas are
17192         disabled.
17193
17194 2013-12-18  Andreas Schwab  <schwab@suse.de>
17195
17196         * sysdeps/i386/i686/multiarch/strstr.c: Remove.
17197         * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
17198         * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
17199         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
17200         * sysdeps/i386/i686/multiarch/Makefile: Update.
17201         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
17202
17203 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
17204
17205         * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
17206         * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
17207
17208 2013-12-17  Paul Eggert  <eggert@cs.ucla.edu>
17209
17210         [BZ #15968]
17211         Support TZ transition times < 00:00:00.
17212         This is needed for version-3 tz-format files; it supports time
17213         stamps past 2037 for America/Godthab (the only entry in the tz
17214         database for which this change is relevant).
17215         * manual/time.texi (TZ Variable): Document transition times
17216         from -167:59:59 through -00:00:01.
17217         * time/tzset.c (tz_rule): Time of day is now signed.
17218         (__tzset_parse_tz): Parse negative time of day.
17219
17220         Document TZ transition times >= 25:00:00.
17221         * manual/time.texi (TZ Variable): Document transition times from
17222         25:00:00 through 167:59:59.  These are already supported, and this
17223         support will help with version-3 tz-format files.
17224
17225         * manual/time.texi (TZ Variable): Modernize North America example
17226         to reflect current (i.e., 2007-and-later) daylight saving rules.
17227
17228         * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
17229
17230 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
17231
17232         * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
17233         * sysdeps/unix/bsd/bits/stat.h: Likewise.
17234         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
17235         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
17236         * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
17237         * sysdeps/unix/bsd/bsdstat.h: Likewise.
17238         * sysdeps/unix/bsd/clock.c: Likewise.
17239         * sysdeps/unix/bsd/i386/vfork.S: Likewise.
17240         * sysdeps/unix/bsd/i386/wait3.S: Likewise.
17241         * sysdeps/unix/bsd/init-posix.c: Likewise.
17242         * sysdeps/unix/bsd/poll.c: Likewise.
17243         * sysdeps/unix/bsd/ptsname.c: Likewise.
17244         * sysdeps/unix/bsd/seekdir.c: Likewise.
17245         * sysdeps/unix/bsd/setegid.c: Likewise.
17246         * sysdeps/unix/bsd/seteuid.c: Likewise.
17247         * sysdeps/unix/bsd/setgid.c: Likewise.
17248         * sysdeps/unix/bsd/setrgid.c: Likewise.
17249         * sysdeps/unix/bsd/setruid.c: Likewise.
17250         * sysdeps/unix/bsd/setsid.c: Likewise.
17251         * sysdeps/unix/bsd/setuid.c: Likewise.
17252         * sysdeps/unix/bsd/sigaction.c: Likewise.
17253         * sysdeps/unix/bsd/sigprocmask.c: Likewise.
17254         * sysdeps/unix/bsd/sigsuspend.c: Likewise.
17255         * sysdeps/unix/bsd/sys/reboot.h: Likewise.
17256         * sysdeps/unix/bsd/telldir.c: Likewise.
17257         * sysdeps/unix/bsd/times.c: Likewise.
17258         * sysdeps/unix/bsd/usleep.c: Likewise.
17259
17260         * misc/Makefile (install-lib): Remove libbsd-compat.a.
17261         ($(objpfx)libbsd-compat.a): Remove rule.
17262
17263         * include/features.h (__FAVOR_BSD): Do not define.
17264         * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
17265         features conflicting with POSIX.
17266         (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
17267         (_BSD_SOURCE): Remove description of not being a subset of other
17268         feature test macros.
17269         * manual/job.texi (getpgrp): Do not document BSD version.
17270         (getpgid): Do not document by reference to BSD getpgrp.
17271         * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
17272         * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
17273         * signal/signal.h [__FAVOR_BSD]: Likewise.
17274         * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
17275         instead of making contents conditional on [__FAVOR_BSD].
17276         * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
17277
17278 2013-12-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17279
17280         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17281
17282 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
17283
17284         [BZ #16314]
17285         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
17286         values below 2**-450, not 2**-500.
17287         * math/auto-libm-test-in: Don't allow spurious underflow from
17288         hypot.
17289         * math/auto-libm-test-out: Regenerated.
17290
17291         [BZ #16316]
17292         [BZ #16330]
17293         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
17294         values of ha and hb and sort them after adjusting subnormal
17295         arguments.
17296         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
17297         Likewise.
17298         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
17299         values of ea and eb and sort them after adjusting subnormal
17300         arguments.
17301         * math/auto-libm-test-in: Do not expect some hypot tests of
17302         subnormals to fail.  Add more hypot tests.
17303         * math/auto-libm-test-out: Regenerated.
17304
17305 2013-12-16  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
17306
17307         [BZ #13304]
17308         * sysdeps/sh/s_fma.c: New file.
17309         * sysdeps/sh/s_fmaf.c: New file.
17310         * sysdeps/sh/soft-fp/sfp-machine.h: New file.  Based on arm
17311         version.
17312         * sysdeps/sh/Implies: Add sh/soft-fp.
17313
17314 2013-12-16  Roland McGrath  <roland@hack.frob.com>
17315
17316         * elf/dl-error.c (struct catch): Add new member `errcode'.  Add a
17317         level of indirection to members `objname', `errstring', `malloced'.
17318         (_dl_signal_error): Store through pointers in *LCATCH rather modifying
17319         *LCATCH itself.  Set *LCATCH->errcode to ERRCODE rather than passing
17320         it as the __longjmp argument (just pass 1 instead).
17321         (_dl_catch_error): Initialize C with argument pointers and address of
17322         volatile local ERRCODE rather than copying values out of C at return.
17323
17324 2013-12-16  Joseph Myers  <joseph@codesourcery.com>
17325
17326         * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
17327         * math/auto-libm-test-out: Regenerated.
17328         * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
17329         (hypot_test_data): Likewise.
17330         (pow_test_data): Likewise.
17331         (pow_tonearest_test_data): Likewise.
17332         * math/gen-auto-libm-tests.c (func_calc_method): Add value
17333         mpfr_ff_f.
17334         (func_calc_desc): Add mpfr_ff_f union field.
17335         (FUNC_mpfr_ff_f): New macro.
17336         (test_functions): Add atan2, hypot and pow.
17337         (special_fill_min): New function.
17338         (special_fill_minus_min): Likewise.
17339         (special_fill_min_subnorm): Likewise.
17340         (special_fill_minus_min_subnorm): Likewise.
17341         (special_real_inputs): Add min, -min, min_subnorm and
17342         -min_subnorm.
17343         (calc_generic_results): Handle mpfr_ff_f.
17344         * sysdeps/i386/fpu/libm-test-ulps: Update.
17345         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17346
17347 2013-12-16  Will Newton  <will.newton@linaro.org>
17348
17349         * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
17350         (Aligned Memory Blocks): Add documentation for aligned_alloc
17351         and suggest it as an alternative to posix_memalign.
17352         (Hooks for Malloc): Document __memalign_hook is also called
17353         for aligned_alloc.  (Summary of Malloc): Add summary for
17354         aligned alloc.  Document __memalign_hook is also called
17355         for aligned_alloc.
17356
17357 2013-12-16  Will Newton  <will.newton@linaro.org>
17358
17359         * manual/memory.texi (Malloc Examples): Clarify default
17360         alignment documentation.  Suggest posix_memalign rather
17361         than memalign or valloc.
17362         (Aligned Memory Blocks): Remove suggestion to use memalign
17363         or valloc.  Remove obsolete comment about BSD.
17364         Document memalign errno values and mark the function obsolete.
17365         Document posix_memalign returned error codes.  Mark valloc
17366         as obsolete.  (Hooks for Malloc): __memalign_hook is also
17367         called for posix_memalign and valloc.
17368         (Summary of Malloc): Add posix_memalign to function summary.
17369         __memalign_hook is also called for posix_memalign and valloc.
17370
17371 2013-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
17372
17373         * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
17374         TAYLOR_SIN.
17375         (__sin): Adjust.
17376         (__cos): Likewise.
17377         (sloww): Use mynumber union.  Expand ternary operator into
17378         if-else statements.
17379         (cslow): use mynumber union.
17380
17381 2013-12-16  Allan McRae  <allan@archlinux.org>
17382
17383         * configure.ac: Set AUTOCONF when maintainer-mode is not used.
17384         * configure: Regenerated.
17385
17386         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
17387
17388         [BZ #14120]
17389         * configure.ac: Added --enable-maintainer-mode. Check for
17390         autoconf when enabled.
17391         * configure: Regenerated.
17392
17393         * nscd/nscd.service: New file.
17394         * nscd/nscd.tmpfiles: New file.
17395
17396 2013-12-14  Ondřej Bílka  <neleai@seznam.cz>
17397
17398         [BZ #12100]
17399         * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
17400         * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
17401         * sysdeps/x86_64/multiarch/strstr.c: ... here.
17402         (strstr): Add __strstr_sse2_unaligned ifunc.
17403         * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
17404         * sysdeps/x86_64/multiarch/strcasestr.c ... here.
17405         (strcasestr): Remove __strcasestr_sse42 ifunc.
17406         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
17407         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
17408         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
17409
17410 2013-12-14  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
17411
17412         * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
17413         * sysdeps/sh/bits/fenv.h: ... here.
17414         * sysdeps/sh/sh4/fpu/bits: Remove directory.
17415
17416 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17417
17418         * NEWS: Mention ppc64 STT_GNU_IFUNC support.
17419
17420         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
17421         hypotf multiarch implementations.
17422         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
17423         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
17424         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
17425         multiarch hypot for PPC64.
17426         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
17427         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
17428         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
17429         multiarch hypotf for PPC64.
17430
17431         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
17432         modff multiarch implementations.
17433         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
17434         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
17435         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
17436         multiarch modf for PPC64.
17437         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
17438         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
17439         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
17440         multiarch modff for PPC64.
17441
17442         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
17443         and logl multiarch implementations.
17444         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
17445         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
17446         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
17447         multiarch logb for PPC64.
17448         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
17449         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
17450         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
17451         multiarch logb for PPC64.
17452         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
17453         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
17454         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
17455         multiarch logb for PPC64.
17456
17457         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
17458         isinff multiarch implementation.
17459         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
17460         file.
17461         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
17462         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
17463         multiarch isinf for PPC64.
17464         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
17465         file.
17466         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
17467         multiarch isinff for PPC64.
17468
17469         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
17470         finitef multiarch implementation.
17471         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
17472         file.
17473         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
17474         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
17475         multiarch finite for PPC64.
17476         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
17477         file.
17478         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
17479         multiarch finitef for PPC64.
17480
17481         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
17482         lrint multiarch implementation.
17483         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
17484         file.
17485         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
17486         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
17487         multiarch llrint for PPC64.
17488         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
17489         multiarch lrint for PPC64.
17490
17491         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
17492         copysignf multiarch implementation.
17493         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
17494         file.
17495         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
17496         file.
17497         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
17498         multiarch copysign for PPC64.
17499         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
17500         multiarch copysignf for PPC64.
17501
17502         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
17503         multiarch implementation.
17504         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
17505         file.
17506         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
17507         file.
17508         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
17509         file.
17510         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
17511         file.
17512         multiarch llround for PPC64.
17513         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
17514         multiarch trunc for PPC64.
17515         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
17516         multiarch truncf for PPC64.
17517
17518         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
17519         multiarch implementation.
17520         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
17521         file.
17522         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
17523         file.
17524         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
17525         file.
17526         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
17527         file.
17528         multiarch llround for PPC64.
17529         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
17530         multiarch round for PPC64.
17531         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
17532         multiarch roundf for PPC64.
17533
17534         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
17535         multiarch implementation.
17536         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
17537         file.
17538         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
17539         file.
17540         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
17541         file.
17542         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
17543         file.
17544         multiarch llround for PPC64.
17545         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
17546         multiarch floor for PPC64.
17547         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
17548         multiarch floorf for PPC64.
17549
17550         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
17551         multiarch implementation.
17552         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
17553         file.
17554         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
17555         file.
17556         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
17557         file.
17558         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
17559         file.
17560         multiarch llround for PPC64.
17561         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
17562         multiarch ceil for PPC64.
17563         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
17564         multiarch ceilf for PPC64.
17565
17566         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
17567         multiarch implementation.
17568         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
17569         file.
17570         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
17571         file.
17572         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
17573         file.
17574         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
17575         multiarch llround for PPC64.
17576         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
17577         multiarch lround for PPC64.
17578
17579         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
17580         multiarch implementation.
17581         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
17582         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
17583         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
17584         file.
17585         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
17586         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
17587         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
17588         multiarch isnan for PPC64.
17589         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
17590         multiarch isnanf for PPC64.
17591
17592         * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
17593         * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
17594         * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
17595         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
17596         * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
17597         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
17598
17599         * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
17600         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
17601         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
17602         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
17603
17604         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
17605         multiarch implementations.
17606         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17607         (__libc_ifunc_impl_list): Likewise.
17608         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
17609         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
17610         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
17611         multiarch stpcpy for PPC64.
17612
17613         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
17614         multiarch implementations.
17615         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17616         (__libc_ifunc_impl_list): Likewise.
17617         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
17618         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
17619         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
17620         multiarch strcpy for PPC64.
17621
17622         * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
17623         redefine function name.
17624         (_wordcopy_fwd_dest_aligned): Likewise.
17625         (_wordcopy_bwd_aligned): Likewise.
17626         (_wordcopy_bwd_dest_aligned): Likewise.
17627         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
17628         multiarch implementations.
17629         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17630         (__libc_ifunc_impl_list): Likewise.
17631         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
17632         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
17633         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
17634         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
17635         multiarch wcscpy for PPC64.
17636
17637         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
17638         multiarch implementations.
17639         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17640         (__libc_ifunc_impl_list): Likewise.
17641         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
17642         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
17643         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
17644         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
17645         multiarch wcscpy for PPC64.
17646
17647         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
17648         multiarch implementations.
17649         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17650         (__libc_ifunc_impl_list): Likewise.
17651         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
17652         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
17653         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
17654         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
17655         multiarch wcsrchr for PPC64.
17656
17657         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
17658         multiarch implementations.
17659         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17660         (__libc_ifunc_impl_list): Likewise.
17661         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
17662         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
17663         * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
17664         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
17665         multiarch wcschr for PPC64.
17666
17667         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
17668         multiarch implementations.
17669         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17670         (__libc_ifunc_impl_list): Likewise.
17671         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
17672         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
17673         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
17674         multiarch strchrnul for PPC64.
17675
17676         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
17677         implementations.
17678         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17679         (__libc_ifunc_impl_list): Likewise.
17680         * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
17681         * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
17682         * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
17683         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
17684         strchr for PPC64.
17685
17686         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
17687         implementations.
17688         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17689         (__libc_ifunc_impl_list): Likewise.
17690         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
17691         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
17692         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
17693         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
17694         strncmp for PPC64.
17695
17696         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
17697         multiarch implementations.
17698         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17699         (__libc_ifunc_impl_list): Likewise.
17700         * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
17701         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
17702         strncasecmp for PPC64.
17703         * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
17704         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
17705         multiarch strncasecmp_l for PPC64.
17706
17707         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
17708         multiarch implementations.
17709         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
17710         (__libc_ifunc_impl_list): Likewise.
17711         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
17712         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
17713         multiarch strcasecmp for PPC64.
17714         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
17715         file.
17716         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
17717         multiarch strcasecmp_l for PPC64.
17718
17719         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
17720         implementations.
17721         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17722         (__libc_ifunc_impl_list): Likewise.
17723         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
17724         * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
17725         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
17726         strnlen for PPC64.
17727
17728         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
17729         implementations.
17730         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17731         (__libc_ifunc_impl_list): Likewise.
17732         * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
17733         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
17734         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
17735         strlen for PPC64.
17736
17737         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
17738         implementations.
17739         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17740         (__libc_ifunc_impl_list): Likewise.
17741         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
17742         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
17743         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
17744         rawmemrchr for PPC64.
17745
17746         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
17747         implementation.
17748         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17749         (__libc_ifunc_impl_list): Likewise.
17750         * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
17751         * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
17752         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
17753         memrchr for PPC64.
17754
17755         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
17756         implementation.
17757         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17758         (__libc_ifunc_impl_list): Likewise.
17759         * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
17760         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
17761         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
17762         memchr for PPC64.
17763
17764         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
17765         implementation.
17766         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17767         (__libc_ifunc_impl_list): Likewise.
17768         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
17769         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
17770         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
17771         mempcpy for PPC64.
17772
17773         * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
17774         avoid cretion of __bzero symbol.
17775         * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
17776         Likewise.
17777         * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
17778         Likewise.
17779         * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
17780         Likewise.
17781         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
17782         multiarch implementations.
17783         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17784         (__libc_ifunc_impl_list): Likewise.
17785         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
17786         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
17787         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
17788         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
17789         bzero for PPC32.
17790         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
17791         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
17792         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
17793         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
17794         * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
17795         memset for PPC64.
17796         * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
17797
17798         * string/memcmp.c (memcmp): Using macro to redefine symbol name.
17799         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
17800         implementations.
17801         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17802         (__libc_ifunc_impl_list): Likewise.
17803         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
17804         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
17805         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
17806         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
17807         memcmp for PPC64.
17808
17809         * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
17810         multiarch for POWER/PPC64.
17811         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
17812         * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
17813         * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
17814         * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
17815         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
17816         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
17817         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
17818         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
17819         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
17820         memcpy for PPC64.
17821
17822         * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
17823         * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
17824         * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
17825         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
17826         * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
17827         * sysdeps/powerpc/powerpc64/power5/Implies: New File.
17828         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
17829         * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
17830         * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
17831         * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
17832         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
17833         * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
17834         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
17835         * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
17836         * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
17837         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
17838         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
17839         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
17840         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
17841         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
17842         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
17843         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
17844
17845 2013-12-12  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
17846
17847         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
17848
17849 2013-12-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
17850
17851         * benchtests/Makefile (bench): Add exp2 and log2.
17852         (LDLIBS-bench-exp2): Add -lm.
17853         (LDLIBS-bench-log2): Likewise.
17854         * benchtests/exp2-inputs: New inputs file.
17855         * benchtests/log2-inputs: New inputs file.
17856         * benchtests/log-inputs: Add new inputs.
17857         * benchtests/tan-inputs: Likewise.
17858
17859 2013-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
17860
17861         * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
17862         definition...
17863         (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
17864         (csloww2): ... from here.
17865
17866         * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
17867         instead of structures.
17868         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
17869         (POLYNOMIAL): Likewise.
17870         (TAYLOR_SLOW): Likewise.
17871         (__sin): Likewise.
17872         (__cos): Likewise.
17873         (slow1): Likewise.
17874         (slow2): Likewise.
17875         (sloww): Likewise.
17876         (sloww1); Likewise.
17877         (sloww2): Likewise.
17878         (bsloww1): Likewise.
17879         (bsloww2): Likewise.
17880         (cslow2): Likewise.
17881         (csloww): Likewise.
17882         (csloww1): Likewise.
17883         (csloww2): Likewise.
17884
17885 2013-12-10  Ondřej Bílka  <neleai@seznam.cz>
17886
17887         * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
17888         (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
17889         Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
17890         * malloc/hooks.c (realloc_check): Likewise.
17891
17892         * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
17893         * malloc/arena.c: Remove PER_THREAD conditional.
17894         [!PER_THREAD]: Remove code.
17895         (ptmalloc_unlock_all2): Likewise.
17896         (ptmalloc_init): Likewise.
17897         (_int_new_arena): Likewise.
17898         (arena_get2): Likewise.
17899         * malloc/hooks.c (__malloc_get_state): Likewise.
17900         (__malloc_set_state): Likewise.
17901         * malloc/malloc.c: Likewise.
17902         (struct malloc_state): Likewise.
17903         (struct malloc_par): Likewise.
17904         (__libc_realloc): Likewise.
17905         (__libc_mallopt): Likewise.
17906
17907 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17908
17909         * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
17910
17911 2013-12-09  Ondřej Bílka  <neleai@seznam.cz>
17912
17913         * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
17914         macro to a function.  Check for zero perturb_byte.
17915         (_int_malloc, _int_free): Remove zero perturb_byte checks.
17916
17917         * malloc/malloc.c: (force_reg): Remove.
17918         (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
17919         (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
17920         force_reg by atomic_forced_read.
17921         * malloc/arena.c (ptmalloc_init): Likewise.
17922         * malloc/hooks.c (top_check): Likewise.
17923
17924 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17925
17926         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17927
17928 2013-12-09  Markus Trippelsdorf  <markus@trippelsdorf.de>
17929
17930         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
17931
17932 2013-12-08  Joseph Myers  <joseph@codesourcery.com>
17933
17934         * math/auto-libm-test-in: Add tests of lgamma.
17935         * math/auto-libm-test-out: Regenerated.
17936         * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
17937         (M_LOG_2_SQRT_PIl): Likewise.
17938         (lgamma_test_data): Use AUTO_TESTS_f_f1.
17939         * math/gen-auto-libm-tests.c (func_calc_method): Add value
17940         mpfr_f_f1.
17941         (func_calc_desc): Add mpfr_f_f1 union field.
17942         (ARGS1): New macro.
17943         (ARGS2): Likewise.
17944         (ARGS3): Likewise.
17945         (ARGS4): Likewise.
17946         (RET1): Likewise.
17947         (RET2): Likewise.
17948         (CALC): Likewise.
17949         (FUNC): Likewise.
17950         (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
17951         (test_functions): Add lgamma.
17952         (calc_generic_results): Handle mpfr_f_f1.
17953         * sysdeps/i386/fpu/libm-test-ulps: Update.
17954         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17955
17956 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17957
17958         * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
17959         __mpn_add_n for PowerPC64/POWER7.
17960         * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
17961         __mpn_sub_n for PowerPC64/POWER7.
17962
17963         * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
17964         __mpn_addmul_1 for PowerPC64.
17965         * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
17966         __mpn_submul_1 for PowerPC64.
17967         * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
17968         for PowerPC64.
17969         * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
17970         for PowerPC64.
17971
17972 2013-12-06  Fernando J. V. da Silva  <fernandojvdasilva@gmail.com>
17973
17974         [BZ #15089]
17975         * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
17976
17977 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17978
17979         * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
17980
17981         * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
17982         add multiarch folders.
17983         * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
17984         * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
17985         * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
17986         * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
17987         * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
17988         * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
17989         * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
17990         * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
17991         * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
17992         * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
17993         * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
17994         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
17995         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
17996         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
17997         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
17998         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
17999         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
18000
18001         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
18002         __ieee754_hypot and __ieee754_hypotf multiarch implementations.
18003         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
18004         New file.
18005         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
18006         New file.
18007         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
18008         multiarch __ieee754_hypot for PowerPC32.
18009         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
18010         New file.
18011         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
18012         New file.
18013         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
18014         multiarch __ieee754_hypotf for PowerPC32.
18015
18016         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
18017         long_double_symbol only if __logbl is defined.
18018         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
18019         * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
18020         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
18021         * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
18022         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
18023         * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
18024         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
18025         path for implementation.
18026         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
18027         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
18028         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
18029         logb, and logbl multiarch implementations for PowerPC32.
18030         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
18031         file.
18032         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
18033         file.
18034         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
18035         multiarch logb for PowerPC32.
18036         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
18037         file.
18038         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
18039         file.
18040         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
18041         multiarch logbf for PowerPC32.
18042         * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
18043         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
18044         file.
18045         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
18046         multiarch logbl implementation for PowerPC32.
18047
18048         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
18049         and modff multiarch implementations.
18050         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
18051         New file.
18052         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
18053         New file.
18054         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
18055         multiarch modf for PowerPC32.
18056         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
18057         New file.
18058         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
18059         New file.
18060         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
18061         multiarch modff for PowerPC32.
18062
18063         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
18064         and lrintf multiarch implementations.
18065         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
18066         New file.
18067         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
18068         New file.
18069         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
18070         multiarch lrint for PowerPC32.
18071         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
18072         file: multiarch lrintf for PowerPC32.
18073
18074         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
18075         and lroundf multiarch implementations.
18076         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
18077         New file.
18078         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
18079         New file.
18080         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
18081         New file.
18082         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
18083         multiarch lround for PowerPC32.
18084         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
18085         file: multiarch lroundf for PowerPC32.
18086
18087         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
18088         copysign and copysignf multiarch implementations.
18089         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
18090         New file.
18091         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
18092         New file.
18093         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
18094         file: multiarch copysign for PowerPC32.
18095         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
18096         file: multiarch copysignf for PowerPC32.
18097
18098         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
18099         and truncf multiarch implementations.
18100         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
18101         New file.
18102         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
18103         file.
18104         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
18105         multiarch trunc for PowerPC32.
18106         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
18107         New file.
18108         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
18109         New file.
18110         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
18111         multiarch truncf for PowerPC32.
18112
18113         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
18114         and roundf multiarch implementations.
18115         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
18116         New file.
18117         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
18118         file.
18119         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
18120         multiarch round for PowerPC32.
18121         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
18122         New file.
18123         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
18124         New file.
18125         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
18126         multiarch roundf for PowerPC32.
18127
18128         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
18129         and floorf multiarch implementations.
18130         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
18131         New file.
18132         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
18133         file.
18134         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
18135         multiarch floor for PowerPC32.
18136         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
18137         New file.
18138         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
18139         New file.
18140         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
18141         multiarch floorf for PowerPC32.
18142
18143         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
18144         and ceilf multiarch implementations.
18145         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
18146         New file.
18147         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
18148         file.
18149         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
18150         multiarch ceil for PowerPC32.
18151         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
18152         New file.
18153         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
18154         file.
18155         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
18156         multiarch ceilf for PowerPC32.
18157
18158         * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
18159         is defined.
18160         * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
18161         FINITEF is defined.
18162         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
18163         and finitef multiarch implementations.
18164         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
18165         New file.
18166         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
18167         file.
18168         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
18169         multiarch finite for PowerPC32.
18170         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
18171         New file.
18172         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
18173         file: multiarch finitef for PowerPC32.
18174
18175         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
18176         and isinff multiarch implementations.
18177         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
18178         file.
18179         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
18180         file.
18181         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
18182         multiarch isinf for PowerPC32.
18183         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
18184         New file.
18185         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
18186         multiarch isinff for PowerPC32.
18187
18188         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
18189         alias when __isnan is defined.
18190         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
18191         and isnanf multiarch implementations.
18192         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
18193         file.
18194         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
18195         file.
18196         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
18197         file.
18198         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
18199         file.
18200         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
18201         multiarch isnan for PowerPC32.
18202         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
18203         New file.
18204         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
18205         New file.
18206         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
18207         multiarch isnanf for PowerPC32.
18208
18209         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
18210         and sqrtf multiarch implementations.
18211         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
18212         file.
18213         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
18214         file.
18215         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
18216         multiarch sqrt for PowerPC32.
18217         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
18218         file.
18219         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
18220         file.
18221         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
18222         multiarch sqrtf for PowerPC32.
18223
18224         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
18225         and llroundf multiarch implementations.
18226         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
18227         New file.
18228         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
18229         New file.
18230         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
18231         New file.
18232         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
18233         file: multiarch llround for PowerPC32.
18234         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
18235         file: multiarch llroundf for PowerPC32.
18236
18237         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
18238         multiarch PowerPC32 fpu implementations.
18239         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
18240         New file.
18241         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
18242         New file.
18243         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
18244         multiarch llrint for PowerPC32.
18245         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
18246         New file.
18247         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
18248         New file.
18249         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
18250         file.
18251
18252         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
18253
18254         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
18255         file.
18256         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
18257         file.
18258         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
18259         file.
18260         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
18261         multiarch wordcopy for PPC32.
18262         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
18263         wordcopy objects.
18264         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
18265         (__libc_ifunc_impl_list): Likewise.
18266         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
18267         * sysdeps/powerpc/power4/wordcopy.c: ... to here.
18268         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
18269         * sysdeps/powerpc/power6/wordcopy.c: ... to here.
18270         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
18271         * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
18272
18273         * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
18274         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
18275         file.
18276         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
18277         file.
18278         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
18279         file.
18280         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
18281         multiarch wcscpy for PPC32.
18282         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
18283         multiarch objects.
18284         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
18285         (__libc_ifunc_impl_list): Likewise.
18286         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
18287         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
18288         * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
18289         sysdeps/powerpc/power6/wcscpy.c.
18290
18291         * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
18292         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
18293         file.
18294         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
18295         file.
18296         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
18297         file.
18298         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
18299         multiarch wcsrchr for PPC32.
18300         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
18301         multiarch objects.
18302         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
18303         (__libc_ifunc_impl_list): Likewise.
18304         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
18305         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
18306         * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
18307         sysdeps/powerpc/power6/wcsrchr.c.
18308
18309         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
18310         file.
18311         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
18312         file.
18313         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
18314         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
18315         multiarch wcschr for PPc32.
18316         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
18317         multiarch objects.
18318         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
18319         (__libc_ifunc_impl_list): Likewise.
18320         * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
18321         * sysdeps/powerpc/power6/wcschr.c: ... to here.
18322         * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
18323         sysdeps/powerpc/power6/wcschr.c.
18324
18325         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
18326         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
18327         file.
18328         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
18329         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
18330         file: multiarch strchr for PPC32.
18331         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
18332         multiarch objects.
18333         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
18334         (__libc_ifunc_impl_list): Likewise.
18335
18336         * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
18337         name.
18338         * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
18339         file.
18340         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
18341         file.
18342         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
18343         multiarch strchrnul for PPC32.
18344         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
18345         multiarch objects.
18346         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
18347         (__libc_ifunc_impl_list): Likewise.
18348
18349         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
18350         file.
18351         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
18352         multiarch strncasecmp for PPC32.
18353         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
18354         file.
18355         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
18356         multiarch strncasecmp_l for PPC32.
18357         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
18358         strncasecmp multiarch objects.
18359         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
18360         (__libc_ifunc_impl_list): Likewise.
18361
18362         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
18363         file.
18364         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
18365         multiarch strncasecmp for PPC32.
18366         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
18367         New file.
18368         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
18369         multiarch strcasecmp_l for PPC32.
18370         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
18371         multiarch objects.
18372         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
18373         (__libc_ifunc_impl_list): Likewise.
18374
18375         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
18376         file.
18377         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
18378         file.
18379         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
18380         multiarch strncmp for PPC32.
18381         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
18382         multiarch objects.
18383         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
18384         (__libc_ifunc_impl_list): Likewise.
18385
18386         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
18387         * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
18388         file.
18389         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
18390         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
18391         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
18392         multiarch objects.
18393         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
18394         (__libc_ifunc_impl_list): Likewise.
18395
18396         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
18397         file.
18398         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
18399         file.
18400         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
18401         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
18402         multiarch objects.
18403         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
18404         (__libc_ifunc_impl_list): Likewise.
18405
18406         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
18407         file.
18408         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
18409         file.
18410         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
18411         multiarch rawmemchr for PPC32.
18412         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
18413         multiarch objects.
18414         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
18415         (__libc_ifunc_impl_list): Likewise.
18416
18417         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
18418         file.
18419         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
18420         file.
18421         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
18422         file: memrchr multiarch for PPC32.
18423         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
18424         multiarch objects.
18425         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
18426         (__libc_ifunc_impl_list): Likewise.
18427
18428         * string/memchr.c (__memchr): Using macro to redefine symbol name.
18429         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
18430         file.
18431         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
18432         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
18433         multiarch memchr for PPC32.
18434         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
18435         multiarch objects.
18436         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
18437         (__libc_ifunc_impl_list): Likewise.
18438
18439         * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
18440         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
18441         file.
18442         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
18443         file.
18444         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
18445         file: multiarch mempcpy for PPC32.
18446         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
18447         multiarch objects.
18448         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
18449         (__libc_ifunc_impl_list): Likewise.
18450
18451         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
18452         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
18453         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
18454         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
18455         multiarch bzero for PPC32.
18456         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
18457         file.
18458         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
18459         file.
18460         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
18461         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
18462         file: multiarch memset for PPC32.
18463         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
18464         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
18465         memset multiarch objects.
18466         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
18467         (__libc_ifunc_impl_list): Likewise.
18468
18469         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
18470         file.
18471         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
18472         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
18473         memcmp for PPC32.
18474         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
18475         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
18476         multiarch objects.
18477         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
18478         (__libc_ifunc_impl_list): Likewise.
18479
18480         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
18481         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
18482         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
18483         file.
18484         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
18485         file.
18486         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
18487         file.
18488         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
18489         multiarch memcpy for PPC32.
18490         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
18491         multiarch objects.
18492         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
18493         (__libc_ifunc_impl_list): Likewise.
18494
18495         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
18496         support multiarch for POWER/PPC32.
18497         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
18498         Likewise.
18499         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
18500         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
18501         Implies file to make multiarch folder appers before the fpu and
18502         default folder for power4 configuration.
18503
18504 2013-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
18505
18506         * scripts/bench.pl: Append volatile keyword to type.
18507
18508 2013-12-05  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
18509
18510         * sysdeps/sh/sotruss-lib.c: New file.
18511         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
18512
18513 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18514
18515         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18516
18517 2013-12-05  Joseph Myers  <joseph@codesourcery.com>
18518
18519         [BZ #6810]
18520         * math/w_tgamma.c: Include <errno.h>.
18521         (__tgamma): Use __glibc_unlikely.  Set errno on underflow to 0.
18522         * math/w_tgammaf.c: Include <errno.h>.
18523         (__tgammaf): Use __glibc_unlikely.  Set errno on underflow to 0.
18524         * math/w_tgammal.c: Include <errno.h>.
18525         (__tgammal): Use __glibc_unlikely.  Set errno on underflow to 0.
18526         * math/auto-libm-test-in: Do not allow missing errno on tgamma
18527         underflow.  Add more tgamma tests.
18528         * math/auto-libm-test-out: Regenerated.
18529         * sysdeps/i386/fpu/libm-test-ulps: Update.
18530         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18531
18532         * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
18533         sin, sinh, tan, tanh, tgamma, y0 and y1.
18534         * math/auto-libm-test-out: Regenerated.
18535         * math/libm-test.inc (TEST_COND_x86_64): New macro.
18536         (TEST_COND_x86): Likewise.
18537         (M_E2l): Remove macro.
18538         (M_E3l): Likewise.
18539         (M_2_SQRT_PIl): Likewise.
18540         (M_SQRT_PIl): Likewise.
18541         (M_1_DIV_El): Likewise.
18542         (log_test_data): Use AUTO_TESTS_f_f.
18543         (log10_test_data): Likewise.
18544         (log1p_test_data): Likewise.
18545         (log2_test_data): Likewise.
18546         (sin_test_data): Likewise.
18547         (sin_tonearest_test_data): Likewise.
18548         (sin_towardzero_test_data): Likewise.
18549         (sin_downward_test_data): Likewise.
18550         (sin_upward_test_data): Likewise.
18551         (sinh_test_data): Likewise.
18552         (sinh_tonearest_test_data): Likewise.
18553         (sinh_towardzero_test_data): Likewise.
18554         (sinh_downward_test_data): Likewise.
18555         (sinh_upward_test_data): Likewise.
18556         (tan_test_data): Likewise.
18557         (tan_tonearest_test_data): Likewise.
18558         (tan_towardzero_test_data): Likewise.
18559         (tan_downward_test_data): Likewise.
18560         (tan_upward_test_data): Likewise.
18561         (tanh_test_data): Likewise.
18562         (tgamma_test_data): Likewise.
18563         (y0_test_data): Likewise.
18564         (y1_test_data): Likewise.
18565         * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
18566         (special_real_inputs): Add pi/4.
18567         * sysdeps/i386/fpu/libm-test-ulps: Update.
18568         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18569
18570 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18571
18572         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
18573         "longjmp_target" static probes.
18574         (__longjmp): Rename to __longjmp_symbol.
18575         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
18576         * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
18577         on which longjmp to generate.
18578         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
18579         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
18580         probe.
18581         (__sigsetjmp): Rename to __sigsetjmp_symbol.
18582         (__sigjmp_save): Rename to __sigjmp_save_symbol.
18583         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
18584         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
18585         and __sigjmp_save_symbol based on which sigsetjmp to generated.
18586         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
18587         * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
18588         __longjmp_symbol based on which __longjmp to generate.
18589         * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
18590         probe.
18591         (setjmp): Rename to setjmp_symbol.
18592         (__sigsetjmp): Rename to __sigsetjmp_symbol.
18593         (_setjmp): Rename to _setjmp_symbol.
18594         (__sigsetjmp): Rename to __sigsetjmp_symbol.
18595         * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
18596         _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
18597         which setjmp to generate.
18598         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
18599         "longjmp_target" static probes.
18600
18601 2013-12-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
18602
18603         * benchtests/README: Add note about output arguments.
18604         * benchtests/bench-sincos.c: Remove file.
18605         * benchtests/sincos-inputs: New file.
18606         * scripts/bench.pl: Identify output arguments and define
18607         static variables for them.
18608
18609         * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
18610
18611         [BZ #15941]
18612         * Makefile (INSTALL): Add install-plain.texi as the primary
18613         dependency.
18614         * manual/install-plain.texi: New file.
18615         * manual/install.texi: Include node directive only for
18616         non-plaintext output.
18617
18618 2013-12-04  Joseph Myers  <joseph@codesourcery.com>
18619
18620         * stdlib/longlong.h: Update from GCC.
18621
18622         [BZ #6807]
18623         [BZ #15901]
18624         * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
18625         * math/w_j0f.c (y0f): Likewise.
18626         * math/w_j0l.c (__y0l): Likewise.
18627         * math/w_j1.c (y1): Likewise.
18628         * math/w_j1f.c (y1f): Likewise.
18629         * math/w_j1l.c (__y1l): Likewise
18630         * math/w_jn.c (yn): Likewise.
18631         * math/w_jnf.c (ynf): Likewise.
18632         * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
18633         Bessel function pole errors in _POSIX_ mode.  Use NAN as return
18634         value for Bessel function domain errors outside _SVID_ mode.
18635         Adjust sign of return value for yn (negative integer, 0).
18636         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
18637         by zero in return for negative x and set sign appropriately for
18638         negative n.
18639         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
18640         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
18641         * math/libm-test.inc (y0_test_data): Add more tests and adjust
18642         expectations in error cases.
18643         (y1_test_data): Likewise.
18644         (yn_test_data): Likewise.
18645         * sysdeps/i386/fpu/libm-test-ulps: Update.
18646         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18647
18648 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
18649
18650         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
18651         "64" to "64-v1".  Add "64-v2".
18652         (abi-64-options): Rename to ...
18653         (abi-64-v1-options): ... this.   Redefine _CALL_ELF.
18654         (abi-64-condition): Rename to ...
18655         (abi-64-v1-condition): ... this.  Add _CALL_ELF check.,
18656         (abi-64-ld-soname): Rename to ...
18657         (abi-64-v1-ld-soname): ... this.
18658         (abi-64-v2-options): Define.
18659         (abi-64-v2-condition): Likewise.
18660         (abi-64-v2-ld-soname): Likewise.
18661         * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
18662         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
18663         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
18664         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
18665         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
18666
18667 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
18668             Alan Modra  <amodra@gmail.com>
18669
18670         * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
18671         New versions for use with the ELFv2 ABI.
18672         (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
18673         * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
18674         declaration.
18675         (struct La_ppc64v2_retval): Likewise.
18676         (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
18677         (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
18678         * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
18679         to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
18680         (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
18681         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
18682         Do not save or restore CR.
18683         (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
18684         (_dl_profile_resolve): Do no save or restore CR.  Support extended
18685         return values for ELFv2 ABI.  Fix location of FPR return registers.
18686         * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
18687         updated values for _CALL_ELF == 2.
18688         (La_regs, La_retval, int_retval): Likewise.
18689
18690 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
18691
18692         * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
18693         (FRAME_MIN_SIZE_PARM): Likewise.
18694         (FRAME_BACKCHAIN): Likewise.
18695         (FRAME_CR_SAVE): Likewise.
18696         (FRAME_LR_SAVE): Likewise.
18697         (FRAME_TOC_SAVE): Likewise.
18698         (FRAME_PARM_SAVE): Likewise.
18699         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
18700         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
18701         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
18702         (call_mcount_parm_offset): New macro.
18703         (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
18704         (PROF): Use symbolic stack frame offsets.
18705         (TAIL_CALL_SYSCALL_ERROR): Likewise.
18706         * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
18707         Redefine in terms of FRAME_MIN_SIZE.
18708         (_dl_runtime_resolve): Use symbolic stack frame offsets.
18709         (_dl_profile_resolve): Likewise.  Update comment.
18710         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
18711         symbols stack frame offsets.
18712         (__sigsetjmp): Likewise.
18713         * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
18714         * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
18715         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
18716         * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
18717
18718         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
18719         (FRAME_BACKCHAIN): Remove.
18720         (FRAME_CR_SAVE): Likewise.
18721         (FRAME_LR_SAVE): Likewise.
18722         (FRAME_COMPILER_DW): Likewise.
18723         (FRAME_LINKER_DW): Likewise.
18724         (FRAME_TOC_SAVE): Likewise.
18725         (FRAME_PARM_SAVE): Likewise.
18726         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
18727         (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
18728         (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
18729         * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
18730         (CHECK_SP): Use symbolic stack frame offsets.
18731         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
18732         zone" instead of caller's parameter save area for temp storage.
18733         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
18734         Likewise.  Also, use symbolic stack frame offsets.
18735         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
18736         stackblock): Redefine for _CALL_ELF == 2 to save parameters into
18737         our own stack frame instead of the caller's.
18738         (__socket): Use symbolic stack frame offsets.
18739
18740 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
18741             Alan Modra  <amodra@gmail.com>
18742
18743         * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
18744         Define.
18745         (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
18746         (PPC64_LOCAL_ENTRY_OFFSET): Define.
18747         * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
18748         New function.
18749         (elf_machine_fixup_plt): Call it.
18750         (elf_machine_plt_conflict): Likewise.  Add map, sym_map, and
18751         reloc arguments.
18752         (elf_machine_rela): Update call to elf_machine_plt_conflict.
18753         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
18754         (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
18755         r2 before calling target.
18756
18757 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
18758             Alan Modra  <amodra@gmail.com>
18759
18760         * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
18761         (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
18762         versions of macros to support ELFv2 ABI.
18763         (LOCALENTRY): New macro.
18764         (ENTRY, EALIGN): Use it.
18765         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
18766         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
18767         fall through into ENTRY entry point.
18768         * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
18769         Only define if _CALL_ELF != 2.
18770
18771         (elf_machine_matches_host): Verify ABI version matches.
18772         (RTLD_START): Use LOCALENTRY.
18773         (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
18774         (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
18775         (PLT_ENTRY_WORDS): New macro.
18776         (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
18777         (elf_machine_runtime_setup): Support ELFv2 ABI.
18778         (elf_machine_fixup_plt): Likewise.
18779         (elf_machine_plt_conflict): Likewise.
18780         (resolve_ifunc): Likewise.
18781         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
18782         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
18783         Likewise.
18784         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
18785         (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
18786         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
18787         (makecontext): Support ELFv2 ABI.
18788         * elf/elf.h (EF_PPC64_ABI): Define.
18789
18790 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
18791
18792         * sysdeps/powerpc/powerpc64/sysdep.h
18793         (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
18794         (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
18795         (ENTRY) [ASSEMBLER]: ... but instead here ...
18796         (EALIGN) [ASSEMBLER]: ... and here.
18797         (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
18798         (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
18799         (ENTRY_2) [!ASSEMBLER]: Use it.
18800         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
18801         ENTRY_2 changes.  Use PPC64_LOAD_FUNCPTR.
18802         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
18803         (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
18804         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
18805         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
18806         Use PPC64_LOAD_FUNCPTR.
18807
18808         * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
18809
18810 2013-12-04  Alan Modra  <amodra@gmail.com>
18811
18812         * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
18813         (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
18814         (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
18815         (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
18816
18817         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
18818         overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
18819         R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
18820         Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
18821         R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
18822         Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
18823
18824 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
18825
18826         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
18827         (__makecontext): Fix incorrect CFI when backtracing out of
18828         context created via makecontext.
18829         * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
18830         (__setcontext): Fix incorrect CFI during switch to new context.
18831         (__novec_setcontext): Likewise.
18832
18833 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
18834
18835         [BZ #4772]
18836         * time/strptime_l.c (__strptime_internal): Allow modifiers
18837         in strptime.
18838         * time/tst-strptime.c (day_tests): Add testcase.
18839
18840 2013-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
18841
18842         * scripts/bench.pl: Skip over blank lines.
18843
18844 2013-12-04  Paul Eggert  <eggert@cs.ucla.edu>
18845
18846         [BZ #926]
18847         * manual/time.texi (Calendar Time): Clarify what timezone functions
18848         use.
18849
18850 2013-12-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18851
18852         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18853
18854 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
18855
18856         * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
18857         implementation.
18858         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
18859         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
18860         * debug/memset_chk.c (__memset_chk): Likewise.
18861         * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
18862         * debug/strncpy_chk.c: Likewise.
18863
18864 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
18865
18866         [BZ #15268]
18867         [BZ #15425]
18868         * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
18869         (__ieee754_exp): For possibly underflowing results, check size of
18870         result and force underflow exception if required.
18871         * math/auto-libm-test-in: Add more tests of exp.
18872         * math/auto-libm-test-out: Regenerated.
18873         * sysdeps/i386/fpu/libm-test-ulps: Update.
18874         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18875
18876         [BZ #16283]
18877         * math/w_exp2.c (__exp2): Handle a zero result as underflow.
18878         * math/w_exp2f.c (__exp2f): Likewise.
18879         * math/w_exp2l.c (__exp2l): Likewise.
18880         * math/auto-libm-test-in: Do not allow missing errno on exp2
18881         underflow.
18882         * math/auto-libm-test-out: Regenerated.
18883
18884 2013-12-03  Ondřej Bílka  <neleai@seznam.cz>
18885
18886         [BZ #16274]
18887         * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
18888         handle filename validation.
18889         * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
18890         (do_open): Delete.
18891
18892 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
18893
18894         [BZ #6786]
18895         * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
18896         (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
18897         * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
18898         <float.h>.
18899         (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
18900         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
18901         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
18902         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
18903         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
18904         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
18905         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
18906         * math/auto-libm-test-in: Don't allow missing errno from erfc.
18907         Add more erfc tests.
18908         * math/auto-libm-test-out: Regenerated.
18909         * sysdeps/i386/fpu/libm-test-ulps: Update.
18910         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18911
18912         * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
18913         exp2, expm1, j0 and j1.
18914         * math/auto-libm-test-out: Regenerated.
18915         * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
18916         (erfc_test_data): Likewise.
18917         (exp_test_data): Likewise.
18918         (exp_tonearest_test_data): Likewise.
18919         (exp_towardzero_test_data): Likewise.
18920         (exp_downward_test_data): Likewise.
18921         (exp_upward_test_data): Likewise.
18922         (exp10_test_data): Likewise.
18923         (exp2_test_data): Likewise.
18924         (expm1_test_data): Likewise.
18925         (j0_test_data): Likewise.
18926         (j1_test_data): Likewise.
18927         * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
18928         (input_flag_type): Add flag_xfail_rounding.
18929         (input_flags): Add xfail-rounding.
18930         (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
18931         (output_for_one_input_case): Handle flag_xfail_rounding.
18932         * sysdeps/i386/fpu/libm-test-ulps: Update.
18933         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18934
18935 2013-12-03  Aurelien Jarno  <aurelien@aurel32.net>
18936
18937         [BZ #16289]
18938         * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
18939         division by 0.
18940
18941 2013-12-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
18942
18943         [BZ #16195]
18944         * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
18945         (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
18946         (STAP_PROBE0): New macro.
18947         (STAP_PROBE1): Likewise.
18948         (STAP_PROBE2): Likewise.
18949         (STAP_PROBE3): Likewise.
18950         (STAP_PROBE4): Likewise.
18951
18952 2013-12-02  Ondřej Bílka  <neleai@seznam.cz>
18953
18954         * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
18955
18956 2013-12-02  Steve Ellcey  <sellcey@mips.com>
18957
18958         * benchtests/Makefile (bench): Add sqrt.
18959         (LDLIBS-bench-sqrt): New.
18960         * benchtests/sqrt-input: New.
18961
18962 2013-12-02  Pavel Simerda  <psimerda@redhat.com>
18963
18964         * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
18965         (GAIH_EAI): Likewise.
18966         (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
18967         (gaih_inet): Likewise.
18968         (getaddrinfo): Don't use GAIH_EAI.
18969
18970         * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
18971         (struct gaih): Remove definition.
18972
18973 2013-12-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
18974
18975         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
18976         Use HERRNOP directly.
18977
18978 2013-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18979
18980         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18981
18982 2013-11-30  Joseph Myers  <joseph@codesourcery.com>
18983
18984         * math/gen-auto-libm-tests.c (test_functions): Add more
18985         single-argument functions.
18986         (special_fill_pi_2): New function.
18987         (special_fill_minus_pi_2): Likewise.
18988         (special_fill_pi_6): Likewise.
18989         (special_fill_minus_pi_6): Likewise.
18990         (special_fill_pi_3): Likewise.
18991         (special_fill_2pi_3): Likewise.
18992         (special_fill_e): Likewise.
18993         (special_fill_1_e): Likewise.
18994         (special_fill_e_minus_1): Likewise.
18995         (special_real_inputs): Add more special inputs.
18996         (output_for_one_input_case): Do not require ERANGE on underflow to
18997         zero if round-to-nearest result does not underflow to zero, unless
18998         exact results required.
18999         * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
19000         atan, atanh, cbrt, cos and cosh.
19001         * math/auto-libm-test-out: Regenerated.
19002         * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
19003         (acos_tonearest_test_data): Likewise.
19004         (acos_towardzero_test_data): Likewise.
19005         (acos_downward_test_data): Likewise.
19006         (acos_upward_test_data): Likewise.
19007         (acosh_test_data): Likewise.
19008         (asin_test_data): Likewise.
19009         (asin_tonearest_test_data): Likewise.
19010         (asin_towardzero_test_data): Likewise.
19011         (asin_upward_test_data): Likewise.
19012         (asinh_test_data): Likewise.
19013         (atan_test_data): Likewise.
19014         (atanh_test_data): Likewise.
19015         (cbrt_test_data): Likewise.
19016         (cos_test_data): Likewise.
19017         (cos_tonearest_test_data): Likewise.
19018         (cos_towardzero_test_data): Likewise.
19019         (cos_downward_test_data): Likewise.
19020         (cos_upward_test_data): Likewise.
19021         (cosh_test_data): Likewise.
19022         (cosh_tonearest_test_data): Likewise.
19023         (cosh_towardzero_test_data): Likewise.
19024         (cosh_downward_test_data): Likewise.
19025         (cosh_upward_test_data): Likewise.
19026         * sysdeps/i386/fpu/libm-test-ulps: Update.
19027         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19028
19029 2013-11-29  Joseph Myers  <joseph@codesourcery.com>
19030
19031         [BZ #6787]
19032         * math/w_exp10.c (__exp10): Handle a zero result as underflow.
19033         * math/w_exp10f.c (__exp10f): Likewise.
19034         * math/w_exp10l.c (__exp10l): Likewise.
19035         * math/libm-test.inc (exp10_test_data): Add more tests and expect
19036         errno settings in existing tests.
19037
19038         [BZ #14032]
19039         * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
19040         precision control set to double precision.
19041         * sysdeps/i386/fpu/w_sqrt.c: New file.
19042         * math/auto-libm-test-in: Add more tests.
19043         * math/auto-libm-test-out: Update.
19044
19045         * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
19046         (sqrt_test_tonearest): New function.
19047         (sqrt_towardzero_test_data): New variable.
19048         (sqrt_test_towardzero): New function.
19049         (sqrt_downward_test_data): New variable.
19050         (sqrt_test_downward): New function.
19051         (sqrt_upward_test_data): New variable.
19052         (sqrt_test_upward): New function.
19053         (main): Call the new functions.
19054
19055         * math/gen-auto-libm-tests.c: New file.
19056         * math/auto-libm-test-in: Likewise.
19057         * math/auto-libm-test-out: New generated file.
19058         * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
19059         variables.
19060         (%beautify): Add generated representations of zero.
19061         (top level): Set $auto_input and call parse_auto_input.
19062         (beautify): Remove trailing "f" from hex float constants.
19063         (parse_args): Handle XFAIL_TEST.
19064         (convert_condition): New function.
19065         (or_value): Likewise.
19066         (or_cond_value): Likewise.
19067         (generate_testfile): Handle AUTO_TESTS_* lines.
19068         (parse_auto_input): New function.
19069         * math/libm-test.inc (XFAIL_TEST): New macro.
19070         (ERRNO_UNCHANGED): Update value.
19071         (ERRNO_EDOM): Likewise.
19072         (ERRNO_ERANGE): Likewise.
19073         (IGNORE_RESULT): Likewise.
19074         (TEST_COND_flt_32): New macro.
19075         (TEST_COND_dbl_64): Likewise.
19076         (TEST_COND_ldbl_96_intel): Likewise.
19077         (TEST_COND_ldbl_96_m68k): Likewise.
19078         (TEST_COND_ldbl_128): Likewise.
19079         (TEST_COND_ldbl_128ibm): Likewise.
19080         (TEST_COND_long32): Likewise.
19081         (TEST_COND_long64): Likewise.
19082         (TEST_COND_before_rounding): Likewise.
19083         (TEST_COND_after_rounding): Likewise.
19084         (enable_test): Handle XFAIL_TEST flag.
19085         (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
19086         with finite results.
19087         * math/Makefile ($(objpfx)libm-test.stmp): Depend on
19088         auto-libm-test-out.
19089
19090 2013-11-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
19091             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
19092
19093         [BZ #16214]
19094         * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
19095         __tls_get_addr_internal instead of __tls_get_offset in order to
19096         avoid GOT pointer dependency.  Make rtld export
19097         __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
19098         __tls_get_addr since we are a __tls_get_offset platform.
19099         * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
19100         GOT pointer being set up before.
19101         * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
19102
19103 2013-11-28  Joseph Myers  <joseph@codesourcery.com>
19104
19105         * manual/math.texi (Errors in Math Functions): Document accuracy
19106         goals.
19107
19108         [BZ #15004]
19109         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
19110         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
19111         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
19112         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
19113         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
19114         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
19115         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
19116         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
19117         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
19118         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
19119         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
19120         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
19121         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
19122         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
19123         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
19124         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
19125
19126         * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
19127         * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
19128         * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
19129         * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
19130         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
19131         Likewise.
19132         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
19133         Likewise.
19134         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
19135         Likewise.
19136         * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
19137         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
19138         (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
19139         atomic-feupdateenv and flt-rounds.
19140         * sysdeps/powerpc/nofpu/Versions (libc): Add
19141         __atomic_feholdexcept, __atomic_feclearexcept,
19142         __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
19143         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
19144         (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
19145         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
19146         (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
19147         here.
19148         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
19149         Update.
19150
19151         * manual/arith.texi (FP Exceptions): Document that exceptions may
19152         not be raised when matherr is used.
19153         (Math Error Reporting): Document overflow in directed rounding
19154         modes.  Document that errno may not be set when finite values are
19155         returned on overflow.  Document intent to set errno on underflow
19156         only for underflow to zero.
19157
19158         [BZ #16271]
19159         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
19160         round-to-nearest then adjust result for other rounding modes.
19161         * include/fenv.h (fegetround): Use libm_hidden_proto.
19162         * math/fegetround.c (fegetround): Use libm_hidden_def.
19163         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
19164         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
19165         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
19166         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
19167         Likewise.
19168         * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
19169         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
19170         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
19171         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
19172
19173 2013-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
19174
19175         [BZ #16077]
19176         * nss/Versions (libnss_files): Add
19177         _nss_files_gethostbyname3_r.
19178         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
19179         New function.
19180         (HOST_DB_LOOKUP): Remove macro.
19181         (_nss_files_gethostbyname_r): Implement function without the
19182         HOST_DB_LOOKUP macro.
19183         (_nss_files_gethostbyname2_r): Likewise.
19184
19185 2013-11-28  Ondřej Bílka  <neleai@seznam.cz>
19186
19187         * malloc/malloc.c (__libc_calloc): Make memset a tail call.
19188
19189 2013-11-26  Uros Bizjak  <ubizjak@gmail.com>
19190
19191         * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
19192         _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
19193         warning.
19194
19195 2013-11-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19196
19197         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
19198         __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
19199         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
19200         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
19201         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
19202         __fe_nomask_env_priv and attribute_hidden.
19203         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
19204         (libc_feupdateenv_test_ppc): Likewise.
19205         (libc_feresetround_ppc): Likewise.
19206         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
19207         (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
19208         compat_symbol macro.
19209         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
19210         (__fe_nomask_env): Likewise.
19211         * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
19212
19213 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
19214
19215         * string/Makefile: Remove ifunc tests.
19216         * string/test-string.h: Define TEST_IFUNC.
19217         * string/test-bcopy-ifunc.c: Remove.
19218         * string/test-bzero-ifunc.c: Likewise.
19219         * string/test-memccpy-ifunc.c: Likewise.
19220         * string/test-memchr-ifunc.c: Likewise.
19221         * string/test-memcmp-ifunc.c: Likewise.
19222         * string/test-memcpy-ifunc.c: Likewise.
19223         * string/test-memmem-ifunc.c: Likewise.
19224         * string/test-memmove-ifunc.c: Likewise.
19225         * string/test-mempcpy-ifunc.c: Likewise.
19226         * string/test-memrchr-ifunc.c: Likewise.
19227         * string/test-memset-ifunc.c: Likewise.
19228         * string/test-rawmemchr-ifunc.c: Likewise.
19229         * string/test-stpcpy-ifunc.c: Likewise.
19230         * string/test-stpncpy-ifunc.c: Likewise.
19231         * string/test-strcasecmp-ifunc.c: Likewise.
19232         * string/test-strcasestr-ifunc.c: Likewise.
19233         * string/test-strcat-ifunc.c: Likewise.
19234         * string/test-strchr-ifunc.c: Likewise.
19235         * string/test-strchrnul-ifunc.c: Likewise.
19236         * string/test-strcmp-ifunc.c: Likewise.
19237         * string/test-strcpy-ifunc.c: Likewise.
19238         * string/test-strcspn-ifunc.c: Likewise.
19239         * string/test-strlen-ifunc.c: Likewise.
19240         * string/test-strncasecmp-ifunc.c: Likewise.
19241         * string/test-strncat-ifunc.c: Likewise.
19242         * string/test-strncmp-ifunc.c: Likewise.
19243         * string/test-strncpy-ifunc.c: Likewise.
19244         * string/test-strnlen-ifunc.c: Likewise.
19245         * string/test-strpbrk-ifunc.c: Likewise.
19246         * string/test-strrchr-ifunc.c: Likewise.
19247         * string/test-strspn-ifunc.c: Likewise.
19248         * string/test-strstr-ifunc.c: Likewise.
19249
19250 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
19251
19252         * benchtests/Makefile: Remove ifunc tests.
19253         * benchtests/bench-string.h: Define TEST_IFUNC.
19254         * benchtests/bench-bcopy-ifunc.c: Remove.
19255         * benchtests/bench-bzero-ifunc.c: Likewise.
19256         * benchtests/bench-memccpy-ifunc.c: Likewise.
19257         * benchtests/bench-memchr-ifunc.c: Likewise.
19258         * benchtests/bench-memcmp-ifunc.c: Likewise.
19259         * benchtests/bench-memcpy-ifunc.c: Likewise.
19260         * benchtests/bench-memmem-ifunc.c: Likewise.
19261         * benchtests/bench-memmove-ifunc.c: Likewise.
19262         * benchtests/bench-mempcpy-ifunc.c: Likewise.
19263         * benchtests/bench-memrchr-ifunc.c: Likewise.
19264         * benchtests/bench-memset-ifunc.c: Likewise.
19265         * benchtests/bench-rawmemchr-ifunc.c: Likewise.
19266         * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
19267         * benchtests/bench-stpcpy-ifunc.c: Likewise.
19268         * benchtests/bench-stpncpy-ifunc.c: Likewise.
19269         * benchtests/bench-strcasecmp-ifunc.c: Likewise.
19270         * benchtests/bench-strcasestr-ifunc.c: Likewise.
19271         * benchtests/bench-strcat-ifunc.c: Likewise.
19272         * benchtests/bench-strchr-ifunc.c: Likewise.
19273         * benchtests/bench-strchrnul-ifunc.c: Likewise.
19274         * benchtests/bench-strcmp-ifunc.c: Likewise.
19275         * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
19276         * benchtests/bench-strcpy-ifunc.c: Likewise.
19277         * benchtests/bench-strcspn-ifunc.c: Likewise.
19278         * benchtests/bench-strlen-ifunc.c: Likewise.
19279         * benchtests/bench-strncasecmp-ifunc.c: Likewise.
19280         * benchtests/bench-strncat-ifunc.c: Likewise.
19281         * benchtests/bench-strncmp-ifunc.c: Likewise.
19282         * benchtests/bench-strncpy-ifunc.c: Likewise.
19283         * benchtests/bench-strnlen-ifunc.c: Likewise.
19284         * benchtests/bench-strpbrk-ifunc.c: Likewise.
19285         * benchtests/bench-strrchr-ifunc.c: Likewise.
19286         * benchtests/bench-strsep-ifunc.c: Likewise.
19287         * benchtests/bench-strspn-ifunc.c: Likewise.
19288         * benchtests/bench-strstr-ifunc.c: Likewise.
19289
19290 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
19291
19292         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
19293
19294 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
19295
19296         * resolv/netdb.h: Use __glibc_reserved instead __unused.
19297         * rt/aio.h: Likewise.
19298         * sysdeps/gnu/bits/utmp.h: Likewise.
19299         * sysdeps/gnu/bits/utmpx.h: Likewise.
19300         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
19301         * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
19302         * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
19303         * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
19304         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
19305         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
19306         * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
19307         * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
19308         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
19309         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
19310         * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
19311         * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
19312         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
19313         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
19314         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
19315         * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
19316         * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
19317         * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
19318         * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
19319         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
19320         * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
19321         * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
19322         * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
19323         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
19324         * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
19325         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
19326         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
19327         * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
19328         * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
19329         * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
19330         * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
19331         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
19332         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
19333         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
19334         * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
19335         * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
19336         * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
19337         * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
19338         * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
19339         * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
19340         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
19341         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
19342
19343 2013-11-25  Carlos O'Donell  <carlos@redhat.com>
19344
19345         [BZ #16245]
19346         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
19347         Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
19348
19349 2013-11-25  Joseph Myers  <joseph@codesourcery.com>
19350
19351         * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
19352         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
19353         Likewise.
19354
19355 2013-11-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19356
19357         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
19358         SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
19359         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
19360         (__fesetround): Remove define.
19361         * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
19362         rounding and exceptions handling.
19363         * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
19364         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
19365         (__fe_nomask_env): Likewise.
19366         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
19367         __fegetround instead of fegetround.
19368         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
19369         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
19370
19371 2013-11-21  Roland McGrath  <roland@hack.frob.com>
19372
19373         * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
19374         it's there.
19375
19376         * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
19377
19378 2013-11-21  Meador Inge  <meadori@codesourcery.com>
19379
19380         [BZ #11157]
19381         * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
19382         (encrypt_r): Likewise.
19383         * malloc/obstack.h (obstack_free): Likewise.
19384         * posix/unistd.h (encrypt): Likewise.
19385
19386 2013-11-21  Guy Martin  <gmsoft@tuxicoman.be>
19387
19388         * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
19389         DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
19390         DL_CALL_DT_FINI() that call the functions directly.
19391         * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
19392         * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
19393         * elf/dl-fini.c: Likewise.
19394
19395 2013-11-20  Ondřej Bílka  <neleai@seznam.cz>
19396
19397         * malloc/hooks.c (memalign_check): Add alignment rounding.
19398         * malloc/malloc.c (_mid_memalign): New function.
19399         (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
19400         Implement by calling _mid_memalign.
19401         * manual/probes.texi (Memory Allocation Probes): Remove
19402         memory_valloc_retry and memory_pvalloc_retry.
19403
19404 2013-11-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
19405
19406         * locale/programs/locarchive.c (open_archive): Add const
19407         qualifier to ARCHIVEFNAME and copy default fname to
19408         DEFAULT_FNAME.
19409
19410         [BZ #15601]
19411         * libio/tst-widetext.input: Rename Oriya to Odia.
19412         * locale/iso-639.def: Likewise.
19413
19414         * manual/probes.texi (Mathematical Function Probes): Add
19415         documentation for sin, cos, asin and acos probes.
19416         * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
19417         (__sin32): Add slowasin probe.
19418         (__cos32): Add slowacos probe.
19419         (__mpsin): Add slowsin probe.
19420         (__mpcos): Add slowcos probe.
19421
19422 2013-11-19  Joseph Myers  <joseph@codesourcery.com>
19423
19424         [BZ #15483]
19425         * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
19426         thread-local __sim_exceptions_thread and global
19427         __sim_exceptions_global.
19428         (__sim_disabled_exceptions): Change to thread-local
19429         __sim_disabled_exceptions_thread and global
19430         __sim_disabled_exceptions_global.
19431         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
19432         and global __sim_round_mode_global.
19433         (__simulate_exceptions): Use thread-local floating-point state and
19434         set global state from it as needed.
19435         * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
19436         __sim_exceptions_thread, __sim_disabled_exceptions_thread and
19437         __sim_round_mode_thread.
19438         * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
19439         (__sim_exceptions): Change to thread-local __sim_exceptions_thread
19440         and global __sim_exceptions_global.
19441         (__sim_disabled_exceptions): Change to thread-local
19442         __sim_disabled_exceptions_thread and global
19443         __sim_disabled_exceptions_global.
19444         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
19445         and global __sim_round_mode_global.
19446         [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
19447         (SIM_SET_GLOBAL): Likewise.
19448         * sysdeps/powerpc/soft-fp/sfp-machine.h
19449         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
19450         __sim_round_mode_thread.
19451         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
19452         __sim_disabled_exceptions_thread.
19453         (__sim_exceptions): Change to __sim_exceptions_thread.
19454         (__sim_disabled_exceptions): Change to
19455         __sim_disabled_exceptions_thread.
19456         (__sim_round_mode): Change to __sim_round_mode_thread.
19457         * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
19458         thread-local floating-point state and set global state from it as
19459         needed.
19460         * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
19461         * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
19462         (__sim_disabled_exceptions): Remove extern declaration.
19463         (feenableexcept): Use thread-local floating-point state and set
19464         global state from it as needed.
19465         * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
19466         extern declaration.
19467         (__sim_disabled_exceptions): Likewise.
19468         (__sim_round_mode): Likewise.
19469         (__fegetenv): Use thread-local floating-point state.
19470         * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
19471         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
19472         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
19473         floating-point state and set global state from it as needed.
19474         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
19475         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
19476         * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
19477         Likewise.
19478         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
19479         * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
19480         Likewise.
19481         sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
19482         * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
19483         Use __sim_round_mode_thread.
19484         * math/test-fenv-tls.c: New file.
19485         * math/Makefile (tests): Add test-fenv-tls.
19486         ($(objpfx)test-fenv-tls): Depend on
19487         $(common-objpfx)nptl/libpthread.so.
19488
19489 2013-11-19  Andreas Schwab  <schwab@suse.de>
19490
19491         * locale/programs/locale.c (show_info): Decode wordarray elements.
19492         * locale/categories.def (LC_MONETARY): Add element for
19493         _NL_MONETARY_CRNCYSTR.
19494         * locale/C-monetary.c (conversion_rate): New variable.
19495         (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
19496         element.
19497
19498 2013-11-18  Chris Metcalf  <cmetcalf@tilera.com>
19499
19500         * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
19501         Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
19502
19503 2013-11-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
19504
19505         * elf/Makefile (tst-auxv): New test.
19506         * elf/tst-auxv.c: New
19507         * elf/rtld.c (dl_main): Adjust AT_EXECFN
19508
19509 2013-11-18  Joseph Myers  <joseph@codesourcery.com>
19510
19511         * include/libc-symbols.h (__hidden_proto): Add argument "thread".
19512         (hidden_proto): Caller changed.
19513         (hidden_tls_proto): New macro.
19514         (libc_hidden_tls_proto): Likewise.
19515         (rtld_hidden_tls_proto): Likewise.
19516         (libm_hidden_tls_proto): Likewise.
19517         (libresolv_hidden_tls_proto): Likewise.
19518         (librt_hidden_tls_proto): Likewise.
19519         (libdl_hidden_tls_proto): Likewise.
19520         (libnss_files_hidden_tls_proto): Likewise.
19521         (libnsl_hidden_tls_proto): Likewise.
19522         (libnss_nisplus_hidden_tls_proto): Likewise.
19523         (libutil_hidden_tls_proto): Likewise.
19524
19525 2013-11-18  Ondřej Bílka  <neleai@seznam.cz>
19526
19527         [BZ #10253]
19528         * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
19529         (decompose_rpath): Defer expansion to fillin_rpath.
19530         (_dl_init_paths): Pass linkmap to fillin_rpath.
19531
19532 2013-11-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
19533
19534         * benchtests/Makefile: Add strsep.
19535         * benchtests/bench-strsep.c: New file: strsep benchtest.
19536         * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
19537
19538 2013-11-18  Andreas Schwab  <schwab@suse.de>
19539
19540         * locale/programs/locale.c (show_info) [case byte]: Check for
19541         '\377' instead of '\177'.
19542         * locale/C-monetary.c (not_available): Always use "\377".
19543         * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
19544         unspecified p_sign_posn and n_sign_posn.  Check for '\377' to
19545         detect unavailable sign_posn locale elements.
19546         * locale/localeconv.c (__localeconv): For grouping and
19547         mon_grouping handle "\177" and "\377" like no grouping.
19548         (INT_ELEM): New macro.  Use it to set all numeric members.
19549         * locale/programs/ld-monetary.c (monetary_read)
19550         <tok_mon_grouping>: Normalize single -1 to the empty string.
19551         * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
19552         Likewise.
19553
19554 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
19555
19556         [BZ #16055]
19557         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
19558         when we match (nil).
19559         * stdio-common/tst-sscanf.c (struct test): Add testcase.
19560
19561 2013-11-16  Joseph Myers  <joseph@codesourcery.com>
19562
19563         * math/libm-test.inc (TEST_NAN_SIGN): New macro.
19564         (NO_TEST_INLINE): Update value.
19565         (ERRNO_UNCHANGED): Likewise.
19566         (ERRNO_EDOM): Likewise.
19567         (ERRNO_ERANGE): Likewise.
19568         (IGNORE_RESULT): Likewise.
19569         (check_float_internal): Check signs of NaN results if
19570         TEST_NAN_SIGN used.
19571         (check_complex): Pass TEST_NAN_SIGN flag through to second
19572         check_float_internal call.
19573         (copysign_test_data): Add tests with quiet NaNs as second
19574         argument.  Use TEST_NAN_SIGN.
19575         (fabs_test_data): Add test of negative quiet NaN argument.  Use
19576         TEST_NAN_SIGN.
19577         (signbit_test_data): Add tests of quiet NaN argument.
19578         * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
19579
19580         * math/gen-libm-test.pl (show_exceptions): Take extra argument
19581         $ignore_result.
19582         (parse_args): Handle function results specified as IGNORE.
19583         * math/libm-test.inc (IGNORE_RESULT): New macro.
19584         (check_float_internal): Do not check numerical result if flag
19585         IGNORE_RESULT set.
19586         (check_complex): Pass through IGNORE_RESULT to second
19587         check_float_internal call.
19588         (check_int): Do not check numerical result if flag IGNORE_RESULT
19589         set.
19590         (check_long): Likewise.
19591         (check_bool): Likewise.
19592         (check_longlong): Likewise.
19593         (lrint_test_data): Add tests of infinite and NaN arguments.
19594         (lrint_tonearest_test_data): Likewise.
19595         (lrint_towardzero_test_data): Likewise.
19596         (lrint_downward_test_data): Likewise.
19597         (lrint_upward_test_data): Likewise.
19598         (llrint_test_data): Likewise.
19599         (llrint_tonearest_test_data): Likewise.
19600         (llrint_towardzero_test_data): Likewise.
19601         (llrint_downward_test_data): Likewise.
19602         (llrint_upward_test_data): Likewise.
19603         (lround_test_data): Likewise.
19604         (llround_test_data): Likewise.
19605
19606         * math/libm-test.inc (NO_TEST_INLINE): New macro.
19607         (ERRNO_UNCHANGED): Update value.
19608         (ERRNO_EDOM): Likewise.
19609         (ERRNO_ERANGE): Likewise.
19610         (NO_TEST_INLINE_FLOAT): New macro.
19611         (NO_TEST_INLINE_DOUBLE): Likewise.
19612         (enable_test): New function.
19613         (RUN_TEST_f_f): Check enable_test before running test.
19614         (RUN_TEST_2_f): Likewise.
19615         (RUN_TEST_fff_f): Likewise.
19616         (RUN_TEST_c_f): Likewise.
19617         (RUN_TEST_f_f1): Likewise.
19618         (RUN_TEST_fF_f1): Likewise.
19619         (RUN_TEST_fI_f1): Likewise.
19620         (RUN_TEST_ffI_f1): Likewise.
19621         (RUN_TEST_c_c): Likewise.
19622         (RUN_TEST_cc_c): Likewise.
19623         (RUN_TEST_f_i): Likewise.
19624         (RUN_TEST_f_i_tg): Likewise.
19625         (RUN_TEST_ff_i_tg): Likewise.
19626         (RUN_TEST_f_b): Likewise.
19627         (RUN_TEST_f_b_tg): Likewise.
19628         (RUN_TEST_f_l): Likewise.
19629         (RUN_TEST_f_L): Likewise.
19630         (RUN_TEST_fFF_11): Likewise.
19631         (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
19632         conditionals.
19633         (cosh_test_data): Likewise.
19634         (exp_test_data): Likewise.
19635         (expm1_test_data): Likewise.
19636         (hypot_test_data): Likewise.
19637         (pow_test_data): Likewise.
19638         (sinh_test_data): Likewise.
19639         (tanh_test_data): Likewise.
19640         * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
19641         flags argument.
19642
19643         * libm-test.inc (acos_test_data): Disallow inexact exceptions for
19644         tests with quiet NaN input and output.
19645         (acosh_test_data): Likewise.
19646         (asin_test_data): Likewise.
19647         (asinh_test_data): Likewise.
19648         (atan_test_data): Likewise.
19649         (atanh_test_data): Likewise.
19650         (atan2_test_data): Likewise.
19651         (cbrt_test_data): Likewise.
19652         (cos_test_data): Likewise.
19653         (cosh_test_data): Likewise.
19654         (erf_test_data): Likewise.
19655         (erfc_test_data): Likewise.
19656         (exp_test_data): Likewise.
19657         (exp10_test_data): Likewise.
19658         (exp2_test_data): Likewise.
19659         (expm1_test_data): Likewise.
19660         (hypot_test_data): Likewise.
19661         (j0_test_data): Likewise.
19662         (j1_test_data): Likewise.
19663         (jn_test_data): Likewise.
19664         (lgamma_test_data): Likewise.
19665         (log_test_data): Likewise.
19666         (log10_test_data): Likewise.
19667         (log1p_test_data): Likewise.
19668         (log2_test_data): Likewise.
19669         (pow_test_data): Likewise.
19670         (scalb_test_data): Likewise.
19671         (sin_test_data): Likewise.
19672         (sincos_test_data): Likewise.
19673         (sinh_test_data): Likewise.
19674         (tan_test_data): Likewise.
19675         (tanh_test_data): Likewise.
19676         (tgamma_test_data): Likewise.
19677         (y0_test_data): Likewise.
19678         (y1_test_data): Likewise.
19679         (yn_test_data): Likewise.
19680
19681         [BZ #16167]
19682         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
19683         argument being NaN and avoid computations with second argument in
19684         that case.
19685         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
19686         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
19687         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
19688
19689 2013-11-15  Arun Kumar Pyasi <arun@chitwanix.com>
19690
19691         * locale/iso-639.def: Add Chitwani Tharu (the).
19692
19693 2013-11-14  Andreas Schwab  <schwab@suse.de>
19694
19695         * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
19696         word instead of empty string.
19697
19698 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19699
19700         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
19701         (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
19702         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
19703         (__fe_nomask_env): Likewise.
19704
19705 2013-11-13  Steve Ellcey  <sellcey@mips.com>
19706
19707         * benchtests/bench-timing.h: Include time.h.
19708
19709 2013-11-13  H.J. Lu  <hongjiu.lu@intel.com>
19710
19711         [BZ #15997]
19712         * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
19713         to 3.4.0 for x32.
19714         * sysdeps/unix/sysv/linux/configure: Regenerated.
19715
19716 2013-11-13  Joseph Myers  <joseph@codesourcery.com>
19717
19718         [BZ #16151]
19719         * stdlib/strtod_l.c (round_and_return): Do not consider
19720         retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
19721         exponent one less than half the least subnormal exponent.
19722         * stdlib/test-strtod-round-data: Add more tests.
19723         * stdlib/tst-strtod-round.c (tests): Regenerated.
19724
19725 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19726
19727         [BZ #14143]
19728         * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
19729         (__fe_mask_env): Likewise.
19730         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
19731         libm_hidden_proto and add function prototype.
19732         (__fe_mask_env): Add function prototype.
19733         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
19734         (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
19735         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
19736         (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
19737         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
19738         (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
19739
19740 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
19741
19742         * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
19743         set reference_name to "" to avoid passing NULL to DSO_FILENAME.
19744
19745 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
19746
19747         * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
19748         of htab_find_slot().
19749
19750 2013-11-11  David S. Miller  <davem@davemloft.net>
19751
19752         [BZ #16150]
19753         * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
19754         symbol in the non-vis3 case in static builds.
19755         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
19756         * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
19757         * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
19758         * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
19759
19760 2013-11-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
19761
19762         [BZ #387]
19763         * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
19764         it is empty.
19765
19766 2013-11-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19767
19768         * benchtests/Makefile: Add bench-strtod.
19769         * benchtests/bench-strtod.c: New file: strtod benchtest
19770
19771 2013-11-11  Andreas Schwab  <schwab@suse.de>
19772
19773         [BZ #16153]
19774         * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
19775         terminating NUL in key length.
19776
19777 2013-11-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19778
19779         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
19780         Add artificial ODP entry for vDSO symbol for PPC64.
19781         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
19782         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
19783
19784 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
19785
19786         [BZ #15374]
19787         * nss/getent.c (services_keys): Recognize services starting with digit.
19788
19789 2013-11-06  David S. Miller  <davem@davemloft.net>
19790
19791         [BZ #15985]
19792         * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
19793         on pre-v9 cpus, use a fnegs+fmovs sequence instead.
19794
19795 2013-11-06  Will Newton  <will.newton@linaro.org>
19796
19797         * manual/memory.texi (Malloc Examples): Remove register
19798         keyword from examples.
19799
19800 2013-11-04  Chris Leonard  <cjl@sugarlabs.org>
19801
19802         * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
19803
19804 2013-11-04  Joseph Myers  <joseph@codesourcery.com>
19805
19806         [BZ #6981]
19807         * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
19808         depending on [__GCC_IEC_559 > 0].
19809         [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
19810         depending on [__GCC_IEC_559_COMPLEX > 0].
19811
19812 2013-11-03  Chris Leonard  <cjl@sugarlabs.org>
19813
19814         * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
19815         to iso-639.def.
19816
19817 2013-11-03  Ondřej Bílka  <neleai@seznam.cz>
19818
19819         * elf/rtld.c: Remove unused NONTLS_INIT_TP.
19820
19821 2013-11-01  Ondřej Bílka  <neleai@seznam.cz>
19822
19823         [BZ #16112]
19824         * malloc/malloc (malloc_info): Do not handle first bin as
19825         special case.
19826
19827 2013-11-01  Chris Leonard  <cjl@sugarlabs.org>
19828
19829         * locale/iso-639.def: Add Central Nahuatl (nhn).
19830
19831 2013-11-01  Bruno Haible  <bruno@clisp.org>
19832
19833         [BZ #7003]
19834         * manual/math.texi (BSD Random): Specify range upper bound as
19835         in POSIX.
19836
19837 2013-10-31  Chris Leonard  <cjl@sugarlabs.org>
19838
19839         * locale/iso-639.def: Add Meadow Mari (mhr).
19840
19841 2013-10-31  Ondřej Bílka  <neleai@seznam.cz>
19842
19843         [BZ #14752], [BZ #15763]
19844         * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
19845         Validate name.
19846         * rt/tst_shm.c: Add test for escaping directory.
19847
19848 2013-10-31  Andreas Schwab  <schwab@suse.de>
19849
19850         [BZ #15917]
19851         * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
19852         followed by 'x' as part of digit sequence.
19853         * stdio-common/tst-sscanf.c (double_tests2): New tests.
19854
19855 2013-10-31  Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
19856
19857         [BZ #16037]
19858         * configure.ac: allow GNU Make 4.0 and greater.
19859         * configure: Regenerated.
19860
19861 2013-10-30  Will Newton  <will.newton@linaro.org>
19862
19863         [BZ #16038]
19864         * malloc/hooks.c (memalign_check): Limit alignment to the
19865         maximum representable power of two.
19866         * malloc/malloc.c (__libc_memalign): Likewise.
19867         * malloc/tst-memalign.c (do_test): Add test for very
19868         large alignment values.
19869         * malloc/tst-posix_memalign.c (do_test): Likewise.
19870
19871 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
19872
19873         [BZ #11087]
19874         * malloc/malloc.c (sysmalloc): Compute statistics atomically.
19875         (munmap_chunk): Likewise.
19876         (mremap_chunk): Likewise.
19877
19878 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
19879
19880         [BZ #15799]
19881         * stdlib/div.c (div): Remove obsolete code.
19882         * stdlib/ldiv.c (ldiv): Likewise.
19883         * stdlib/lldiv.c (lldiv): Likewise.
19884
19885 2013-10-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
19886
19887         [BZ #16071]
19888         * nss/nss_files/files-XXX.c (get_contents_ret): New
19889         enumerator.
19890         (get_contents): New function.
19891         (internal_getent): Use it.  Expand size of LINEBUFLEN.
19892
19893 2013-10-30  Mike Frysinger  <vapier@gentoo.org>
19894
19895         * configure.in: Moved to ...
19896         * configure.ac: ... here. Change reference to configure.in
19897         to configure.ac.
19898         * sysdeps/arm/preconfigure.ac: ... here.
19899         configure.in to configure.ac.
19900         * sysdeps/gnu/configure.in: Moved to ...
19901         * sysdeps/gnu/configure.ac: ... here.
19902         * sysdeps/i386/configure.in: Moved to ...
19903         * sysdeps/i386/configure.ac: ... here.
19904         * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
19905         * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
19906         * sysdeps/mach/configure.in: Moved to ...
19907         * sysdeps/mach/configure.ac: ... here.
19908         * sysdeps/mach/hurd/configure.in: Moved to ...
19909         * sysdeps/mach/hurd/configure.ac: ... here.
19910         * sysdeps/powerpc/configure.in: Moved to ...
19911         * sysdeps/powerpc/configure.ac: ... here.
19912         * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
19913         * sysdeps/powerpc/powerpc32/configure.ac: ... here.
19914         * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
19915         * sysdeps/powerpc/powerpc64/configure.ac: ... here.
19916         * sysdeps/s390/s390-32/configure.in: Moved to ...
19917         * sysdeps/s390/s390-32/configure.ac: ... here.
19918         * sysdeps/s390/s390-64/configure.in: Moved to ...
19919         * sysdeps/s390/s390-64/configure.ac: ... here.
19920         * sysdeps/sh/configure.in: Moved to ...
19921         * sysdeps/sh/configure.ac: ... here.
19922         * sysdeps/sparc/configure.in: Moved to ...
19923         * sysdeps/sparc/configure.ac: ... here.
19924         * sysdeps/unix/sysv/linux/configure.in: Moved to ...
19925         * sysdeps/unix/sysv/linux/configure.ac: ... here.
19926         * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
19927         * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
19928         * sysdeps/x86_64/configure.in: Moved to ...
19929         * sysdeps/x86_64/configure.ac: ... here.
19930         * sysdeps/x86_64/preconfigure.in: Moved to ...
19931         * sysdeps/x86_64/preconfigure.ac: ... here.
19932         * aclocal.m4: Change reference to configure.in to configure.ac.
19933         * config.h.in: Likewise.
19934         * manual/install.texi: Likewise.
19935         * manual/maint.texi: Likewise.
19936         * Makefile: Likewise.
19937         * malloc/Makefile: Likewise.
19938         * nscd/Makefile: Likewise.
19939         * Makeconfig: Change reference to configure.in and
19940         preconfigure.in to configure.ac and preconfigure.ac
19941         respectively.
19942         * INSTALL: Regenerated.
19943         * configure: Likewise.
19944         * sysdeps/gnu/configure: Likewise.
19945         * sysdeps/i386/configure: Likewise.
19946         * sysdeps/ieee754/ldbl-opt/configure: Likewise.
19947         * sysdeps/mach/configure: Likewise.
19948         * sysdeps/mach/hurd/configure: Likewise.
19949         * sysdeps/powerpc/configure: Likewise.
19950         * sysdeps/powerpc/powerpc32/configure: Likewise.
19951         * sysdeps/powerpc/powerpc64/configure: Likewise.
19952         * sysdeps/s390/s390-32/configure: Likewise.
19953         * sysdeps/s390/s390-64/configure: Likewise.
19954         * sysdeps/sh/configure: Likewise.
19955         * sysdeps/sparc/configure: Likewise.
19956         * sysdeps/unix/sysv/linux/configure: Likewise.
19957         * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
19958         * sysdeps/x86_64/configure: Likewise.
19959         * sysdeps/x86_64/preconfigure: Likewise.
19960
19961 2013-10-29  Andreas Schwab  <schwab@suse.de>
19962
19963         * stdio-common/Makefile (tst-swscanf-ENV): Define.
19964
19965 2013-10-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
19966
19967         * benchtests/pow-inputs: Add new inputs.
19968
19969         * benchtests/exp-inputs: Add new inputs.
19970
19971         * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
19972         conditional check for return value.
19973         (__cos32): Likewise.
19974
19975 2013-10-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19976
19977         * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
19978         to provide a boost for large inputs with word alignment.
19979         * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
19980         implementation based on optimized PPC64 strcpy.
19981         * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
19982         strcpy for PPC64/POWER7 based on both doubleword and word load/store.
19983         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
19984         stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
19985
19986 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
19987
19988         [BZ #2801]
19989         * manual/socket.texi (Host Names): Fix gethostbyname_r example.
19990
19991 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
19992
19993         [BZ #14876]
19994         * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
19995         * time/tst-strptime.c (day_tests): Add testcase.
19996
19997 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
19998
19999         [BZ #14029]
20000         * manual/pattern.texi: Acknowledge that fnmatch can fail.
20001
20002 2013-10-25  Fabrice Bauzac  <fbauzac@debian71.nce.amadeus.net>
20003
20004         [BZ #16074]
20005         * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
20006         MAP_FAILED on error.
20007
20008 2013-10-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
20009
20010         [BZ #16072]
20011         * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
20012         heap for large requests.
20013
20014 2013-10-25  Aurelien Jarno  <aurelien@aurel32.net>
20015
20016         [BZ #9954]
20017         * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
20018         result if the result has no associated interface.
20019         * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
20020         interface for all 127.X.Y.Z addresses.
20021
20022 2013-10-24  Chris Leonard  <cjl@sugarlabs.org>
20023
20024         * locale/iso-639.def: Add Ligurian (lij)
20025
20026 2013-10-21  Ondřej Bílka  <neleai@seznam.cz>
20027
20028         [BZ #15825]
20029         * sunrpc/rpc_main.c: Document rpcgen -5.
20030
20031 2013-10-19  Michael Stahl  <mstahl@redhat.com>
20032
20033         * elf/rtld.c (do_preload): Print the reason why preloading failed.
20034
20035 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
20036
20037         [BZ #10278]
20038         * posix/glob.c: Match only directories when trailing slash is present.
20039         * posix/tst-gnuglob.c (my_opendir): Do not open files.
20040         (main): Add testcase.
20041
20042 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
20043
20044         [BZ #15670]
20045         * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
20046
20047 2013-10-18  Carlos O'Donell  <carlos@redhat.com>
20048
20049         * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
20050         AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
20051         AUTH_DES and cindex for FIPS 140-2.
20052         (DES Encryption): Add cindex FIPS 46-3.
20053
20054         * locale/locarchive.h (struct locarhandle): Add fname.
20055         * locale/programs/localedef.c (main): Pass ARGV[remaining]
20056         if an optional argument was specified to --list-archive,
20057         otherwise NULL.
20058         * locale/programs/locarchive.c (show_archive_content): Take new
20059         argument fname and pass it via ah.fname to open_archive.
20060         * locale/programs/localedef.h: Update decl.
20061         (open_archive): If AH->fname is non-null, open that file
20062         rather than the default file name, and don't ignore ENOENT.
20063         (create_archive): Set AH.fname to NULL.
20064         (delete_locales_from_archive): Likewise.
20065         (add_locales_to_archive): Likewise.
20066         * locale/programs/locfile.c (write_all_categories): Likewise.
20067
20068 2013-10-18  Joseph Myers  <joseph@codesourcery.com>
20069             Aldy Hernandez  <aldyh@redhat.com>
20070
20071         * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
20072         * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
20073         * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
20074         * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
20075         * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
20076         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
20077         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
20078         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
20079         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
20080         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
20081         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
20082         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
20083         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
20084         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
20085         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
20086         Likewise.
20087         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
20088         Likewise.
20089         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
20090         Likewise.
20091         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
20092         Likewise.
20093         * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
20094         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
20095         Likewise.
20096         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
20097         * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
20098         * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
20099         * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
20100         Likewise.
20101         * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
20102         * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
20103         * sysdeps/powerpc/preconfigure: Likewise.
20104         * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
20105         Likewise.
20106         * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
20107         Replace contents of file by #include of <fenv_libc.h>.
20108         * sysdeps/powerpc/soft-fp/sfp-machine.h
20109         [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
20110         and <sys/prctl.h>.
20111         [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
20112         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
20113         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
20114         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
20115         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
20116         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
20117         [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
20118         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
20119         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
20120         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
20121         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
20122         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
20123         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
20124         Allow copysignl PLT reference to be missing.
20125
20126 2013-10-18  Richard Sandiford  <richard@codesourcery.com>
20127             Joseph Myers  <joseph@codesourcery.com
20128
20129         [BZ #15948]
20130         * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
20131         single character.
20132         (add_to_tablewc): Assert sequence of wide characters is nonempty.
20133
20134 2013-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
20135
20136         * elf/tst-tls-dlinfo.c: Don't include tls.h.
20137         * elf/tst-tls1.c: Likewise.
20138         * elf/tst-tls10.h: Likewise.
20139         * elf/tst-tls14.c: Likewise.
20140         * elf/tst-tls2.c: Likewise.
20141         * elf/tst-tls3.c: Likewise.
20142         * elf/tst-tls4.c: Likewise.
20143         * elf/tst-tls5.c: Likewise.
20144         * elf/tst-tls6.c: Likewise.
20145         * elf/tst-tls7.c: Likewise.
20146         * elf/tst-tls8.c: Likewise.
20147         * elf/tst-tls9.c: Likewise.
20148         * elf/tst-tlsmod1.c: Likewise.
20149         * elf/tst-tlsmod13.c: Likewise.
20150         * elf/tst-tlsmod13a.c: Likewise.
20151         * elf/tst-tlsmod14a.c: Likewise.
20152         * elf/tst-tlsmod16a.c: Likewise.
20153         * elf/tst-tlsmod16b.c: Likewise.
20154         * elf/tst-tlsmod2.c: Likewise.
20155         * elf/tst-tlsmod3.c: Likewise.
20156         * elf/tst-tlsmod4.c: Likewise.
20157         * elf/tst-tlsmod5.c: Likewise.
20158         * elf/tst-tlsmod6.c: Likewise.
20159
20160 2013-10-18  Ondřej Bílka  <neleai@seznam.cz>
20161
20162         [BZ #12486]
20163         * malloc/malloc.c: remove checks for statistics.
20164
20165 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
20166
20167         [BZ #15277]
20168         * inet/inet_net.c (inet_network): Detect additional invalid strings.
20169         * inet/tst-network.c: Add testcase.
20170
20171 2013-10-17  Andreas Schwab  <schwab@suse.de>
20172
20173         [BZ #15218]
20174         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
20175         to determine canonical name.
20176
20177 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
20178
20179         * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
20180         * sysdeps/ieee754/dbl-64/dla.h: Likewise.
20181         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
20182         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
20183         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
20184         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
20185         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
20186         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
20187         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
20188         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
20189         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
20190         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
20191         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
20192         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
20193         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
20194         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
20195         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
20196         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
20197         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
20198         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
20199         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
20200         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
20201         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
20202         * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
20203         * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
20204         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
20205         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
20206         * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
20207         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
20208         * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
20209         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
20210         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
20211         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
20212         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
20213         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
20214         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
20215         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
20216         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
20217         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
20218         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
20219         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
20220         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
20221         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
20222         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
20223         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
20224         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
20225         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
20226         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
20227         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
20228         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
20229         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
20230         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
20231         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
20232         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
20233         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
20234         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
20235         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
20236         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
20237
20238 2013-10-17  Joseph Myers  <joseph@codesourcery.com>
20239
20240         [BZ #16041]
20241         * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
20242         make result into a quiet NaN.
20243
20244 2013-10-16  Joseph Myers  <joseph@codesourcery.com>
20245
20246         * soft-fp/adddf3.c: Fix horizontal whitespace.
20247         * soft-fp/addsf3.c: Likewise.
20248         * soft-fp/addtf3.c: Likewise.
20249         * soft-fp/divdf3.c: Likewise.
20250         * soft-fp/divsf3.c: Likewise.
20251         * soft-fp/divtf3.c: Likewise.
20252         * soft-fp/double.h: Likewise.
20253         * soft-fp/eqdf2.c: Likewise.
20254         * soft-fp/eqsf2.c: Likewise.
20255         * soft-fp/eqtf2.c: Likewise.
20256         * soft-fp/extenddftf2.c: Likewise.
20257         * soft-fp/extended.h: Likewise.
20258         * soft-fp/extendsfdf2.c: Likewise.
20259         * soft-fp/extendsftf2.c: Likewise.
20260         * soft-fp/extendxftf2.c: Likewise.
20261         * soft-fp/fixdfdi.c: Likewise.
20262         * soft-fp/fixdfsi.c: Likewise.
20263         * soft-fp/fixdfti.c: Likewise.
20264         * soft-fp/fixsfdi.c: Likewise.
20265         * soft-fp/fixsfsi.c: Likewise.
20266         * soft-fp/fixsfti.c: Likewise.
20267         * soft-fp/fixtfdi.c: Likewise.
20268         * soft-fp/fixtfsi.c: Likewise.
20269         * soft-fp/fixtfti.c: Likewise.
20270         * soft-fp/fixunsdfdi.c: Likewise.
20271         * soft-fp/fixunsdfsi.c: Likewise.
20272         * soft-fp/fixunsdfti.c: Likewise.
20273         * soft-fp/fixunssfdi.c: Likewise.
20274         * soft-fp/fixunssfsi.c: Likewise.
20275         * soft-fp/fixunssfti.c: Likewise.
20276         * soft-fp/fixunstfdi.c: Likewise.
20277         * soft-fp/fixunstfsi.c: Likewise.
20278         * soft-fp/fixunstfti.c: Likewise.
20279         * soft-fp/floatdidf.c: Likewise.
20280         * soft-fp/floatdisf.c: Likewise.
20281         * soft-fp/floatditf.c: Likewise.
20282         * soft-fp/floatsidf.c: Likewise.
20283         * soft-fp/floatsisf.c: Likewise.
20284         * soft-fp/floatsitf.c: Likewise.
20285         * soft-fp/floattidf.c: Likewise.
20286         * soft-fp/floattisf.c: Likewise.
20287         * soft-fp/floattitf.c: Likewise.
20288         * soft-fp/floatundidf.c: Likewise.
20289         * soft-fp/floatundisf.c: Likewise.
20290         * soft-fp/floatunditf.c: Likewise.
20291         * soft-fp/floatunsidf.c: Likewise.
20292         * soft-fp/floatunsisf.c: Likewise.
20293         * soft-fp/floatunsitf.c: Likewise.
20294         * soft-fp/floatuntidf.c: Likewise.
20295         * soft-fp/floatuntisf.c: Likewise.
20296         * soft-fp/floatuntitf.c: Likewise.
20297         * soft-fp/fmadf4.c: Likewise.
20298         * soft-fp/fmasf4.c: Likewise.
20299         * soft-fp/fmatf4.c: Likewise.
20300         * soft-fp/gedf2.c: Likewise.
20301         * soft-fp/gesf2.c: Likewise.
20302         * soft-fp/getf2.c: Likewise.
20303         * soft-fp/ledf2.c: Likewise.
20304         * soft-fp/lesf2.c: Likewise.
20305         * soft-fp/letf2.c: Likewise.
20306         * soft-fp/muldf3.c: Likewise.
20307         * soft-fp/mulsf3.c: Likewise.
20308         * soft-fp/multf3.c: Likewise.
20309         * soft-fp/negdf2.c: Likewise.
20310         * soft-fp/negsf2.c: Likewise.
20311         * soft-fp/negtf2.c: Likewise.
20312         * soft-fp/op-1.h: Likewise.
20313         * soft-fp/op-2.h: Likewise.
20314         * soft-fp/op-4.h: Likewise.
20315         * soft-fp/op-8.h: Likewise.
20316         * soft-fp/op-common.h: Likewise.
20317         * soft-fp/quad.h: Likewise.
20318         * soft-fp/single.h: Likewise.
20319         * soft-fp/soft-fp.h: Likewise.
20320         * soft-fp/sqrtdf2.c: Likewise.
20321         * soft-fp/sqrtsf2.c: Likewise.
20322         * soft-fp/sqrttf2.c: Likewise.
20323         * soft-fp/subdf3.c: Likewise.
20324         * soft-fp/subsf3.c: Likewise.
20325         * soft-fp/subtf3.c: Likewise.
20326         * soft-fp/truncdfsf2.c: Likewise.
20327         * soft-fp/trunctfdf2.c: Likewise.
20328         * soft-fp/trunctfsf2.c: Likewise.
20329         * soft-fp/trunctfxf2.c: Likewise.
20330         * soft-fp/unorddf2.c: Likewise.
20331         * soft-fp/unordsf2.c: Likewise.
20332         * soft-fp/unordtf2.c: Likewise.
20333
20334 2013-10-15  Joseph Myers  <joseph@codesourcery.com>
20335
20336         * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
20337         * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
20338
20339 2013-10-15   Ondřej Bílka  <neleai@seznam.cz>
20340
20341         * elf/dl-libc.c: Clear initfini list after freeing.
20342
20343 2013-10-14  Joseph Myers  <joseph@codesourcery.com>
20344
20345         * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
20346         * soft-fp/addsf3.c: Likewise.
20347         * soft-fp/addtf3.c: Likewise.
20348         * soft-fp/divdf3.c: Likewise.
20349         * soft-fp/divsf3.c: Likewise.
20350         * soft-fp/divtf3.c: Likewise.
20351         * soft-fp/double.h: Likewise.
20352         * soft-fp/eqdf2.c: Likewise.
20353         * soft-fp/eqsf2.c: Likewise.
20354         * soft-fp/eqtf2.c: Likewise.
20355         * soft-fp/extenddftf2.c: Likewise.
20356         * soft-fp/extended.h: Likewise.
20357         * soft-fp/extendsfdf2.c: Likewise.
20358         * soft-fp/extendsftf2.c: Likewise.
20359         * soft-fp/extendxftf2.c: Likewise.
20360         * soft-fp/fixdfdi.c: Likewise.
20361         * soft-fp/fixdfsi.c: Likewise.
20362         * soft-fp/fixdfti.c: Likewise.
20363         * soft-fp/fixsfdi.c: Likewise.
20364         * soft-fp/fixsfsi.c: Likewise.
20365         * soft-fp/fixsfti.c: Likewise.
20366         * soft-fp/fixtfdi.c: Likewise.
20367         * soft-fp/fixtfsi.c: Likewise.
20368         * soft-fp/fixtfti.c: Likewise.
20369         * soft-fp/fixunsdfdi.c: Likewise.
20370         * soft-fp/fixunsdfsi.c: Likewise.
20371         * soft-fp/fixunsdfti.c: Likewise.
20372         * soft-fp/fixunssfdi.c: Likewise.
20373         * soft-fp/fixunssfsi.c: Likewise.
20374         * soft-fp/fixunssfti.c: Likewise.
20375         * soft-fp/fixunstfdi.c: Likewise.
20376         * soft-fp/fixunstfsi.c: Likewise.
20377         * soft-fp/fixunstfti.c: Likewise.
20378         * soft-fp/floatdidf.c: Likewise.
20379         * soft-fp/floatdisf.c: Likewise.
20380         * soft-fp/floatditf.c: Likewise.
20381         * soft-fp/floatsidf.c: Likewise.
20382         * soft-fp/floatsisf.c: Likewise.
20383         * soft-fp/floatsitf.c: Likewise.
20384         * soft-fp/floattidf.c: Likewise.
20385         * soft-fp/floattisf.c: Likewise.
20386         * soft-fp/floattitf.c: Likewise.
20387         * soft-fp/floatundidf.c: Likewise.
20388         * soft-fp/floatundisf.c: Likewise.
20389         * soft-fp/floatunsidf.c: Likewise.
20390         * soft-fp/floatunsisf.c: Likewise.
20391         * soft-fp/floatuntidf.c: Likewise.
20392         * soft-fp/floatuntisf.c: Likewise.
20393         * soft-fp/floatuntitf.c: Likewise.
20394         * soft-fp/fmadf4.c: Likewise.
20395         * soft-fp/fmasf4.c: Likewise.
20396         * soft-fp/fmatf4.c: Likewise.
20397         * soft-fp/gedf2.c: Likewise.
20398         * soft-fp/gesf2.c: Likewise.
20399         * soft-fp/getf2.c: Likewise.
20400         * soft-fp/ledf2.c: Likewise.
20401         * soft-fp/lesf2.c: Likewise.
20402         * soft-fp/letf2.c: Likewise.
20403         * soft-fp/muldf3.c: Likewise.
20404         * soft-fp/mulsf3.c: Likewise.
20405         * soft-fp/multf3.c: Likewise.
20406         * soft-fp/negdf2.c: Likewise.
20407         * soft-fp/negsf2.c: Likewise.
20408         * soft-fp/negtf2.c: Likewise.
20409         * soft-fp/op-1.h: Likewise.
20410         * soft-fp/op-2.h: Likewise.
20411         * soft-fp/op-4.h: Likewise.
20412         * soft-fp/op-8.h: Likewise.
20413         * soft-fp/op-common.h: Likewise.
20414         * soft-fp/quad.h: Likewise.
20415         * soft-fp/single.h: Likewise.
20416         * soft-fp/soft-fp.h: Likewise.
20417         * soft-fp/sqrtdf2.c: Likewise.
20418         * soft-fp/sqrtsf2.c: Likewise.
20419         * soft-fp/sqrttf2.c: Likewise.
20420         * soft-fp/subdf3.c: Likewise.
20421         * soft-fp/subsf3.c: Likewise.
20422         * soft-fp/subtf3.c: Likewise.
20423         * soft-fp/truncdfsf2.c: Likewise.
20424         * soft-fp/trunctfdf2.c: Likewise.
20425         * soft-fp/trunctfsf2.c: Likewise.
20426         * soft-fp/trunctfxf2.c: Likewise.
20427         * soft-fp/unorddf2.c: Likewise.
20428         * soft-fp/unordsf2.c: Likewise.
20429         * soft-fp/unordtf2.c: Likewise.
20430
20431 2013-10-14   Ondřej Bílka  <neleai@seznam.cz>
20432
20433         [BZ #15672]
20434         * misc/error.c (error_tail): Fix possible buffer overflow.
20435
20436 2013-10-14  Aurelien Jarno  <aurelien@aurel32.net>
20437
20438         [BZ #13028]
20439         * res_send.c(__libc_res_nsend): Correctly copy the nameserver
20440         address.
20441
20442 2013-10-14  P. J. McDermott  <pj@pehjota.net>
20443
20444         [BZ #832]
20445         * elf/ldd.bash.in (try_trace): New function.  Delete previous code
20446         testing pipefail option.
20447
20448 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
20449
20450         * soft-fp/double.h: Indent preprocessor directives inside #if.
20451         * soft-fp/extended.h: Likewise.
20452         * soft-fp/op-2.h: Likewise.
20453         * soft-fp/op-4.h: Likewise.
20454         * soft-fp/op-common.h: Likewise.
20455         * soft-fp/quad.h: Likewise.
20456         * soft-fp/single.h: Likewise.
20457         * soft-fp/soft-fp.h: Likewise.
20458
20459 2013-10-12   Yuri Chornoivan <yurchor@ukr.net>
20460
20461         * iconv/iconv_prog.c: Fix typos.
20462         * stdio-common/psiginfo-data.h: Likewise.
20463
20464 2013-10-12   Reuben Thomas <rrt@sc3d.org>
20465
20466         [BZ #15764]
20467         * locale/setlocale.c: Fix typo.
20468
20469 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
20470
20471         [BZ #16036]
20472         * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
20473         signaling NaN arguments.
20474         * soft-fp/unordsf2.c (__unordsf2): Likewise.
20475         * soft-fp/unordtf2.c (__unordtf2): Likewise.
20476
20477         [BZ #14910]
20478         * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
20479         unordered operands.
20480         * soft-fp/gesf2.c (__gesf2): Likewise.
20481         * soft-fp/getf2.c (__getf2): Likewise.
20482         * soft-fp/ledf2.c (__ledf2): Likewise.
20483         * soft-fp/lesf2.c (__lesf2): Likewise.
20484         * soft-fp/letf2.c (__letf2): Likewise.
20485
20486         * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
20487         * soft-fp/eqsf2.c (__eqsf2): Likewise.
20488         * soft-fp/eqtf2.c (__eqtf2): Likewise.
20489         * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
20490         * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
20491         * soft-fp/fixdfti.c (__fixdfti): Likewise.
20492         * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
20493         * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
20494         * soft-fp/fixsfti.c (__fixsfti): Likewise.
20495         * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
20496         * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
20497         * soft-fp/fixtfti.c (__fixtfti): Likewise.
20498         * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
20499         * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
20500         * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
20501         * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
20502         * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
20503         * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
20504         * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
20505         * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
20506         * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
20507         * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
20508         * soft-fp/floatdisf.c (__floatdisf): Likewise.
20509         * soft-fp/floatsisf.c (__floatsisf): Likewise.
20510         * soft-fp/floattidf.c (__floattidf): Likewise.
20511         * soft-fp/floattisf.c (__floattisf): Likewise.
20512         * soft-fp/floattitf.c (__floattitf): Likewise.
20513         * soft-fp/floatundidf.c (__floatundidf): Likewise.
20514         * soft-fp/floatundisf.c (__floatundisf): Likewise.
20515         * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
20516         * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
20517         * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
20518         * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
20519         * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
20520         * soft-fp/gesf2.c (__gesf2): Likewise.
20521         * soft-fp/getf2.c (__getf2): Likewise.
20522         * soft-fp/ledf2.c (__ledf2): Likewise.
20523         * soft-fp/lesf2.c (__lesf2): Likewise.
20524         * soft-fp/letf2.c (__letf2): Likewise.
20525
20526         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
20527         Undefine and redefine.
20528         [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
20529         [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
20530         [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
20531         * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
20532         (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
20533         * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
20534         (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
20535         * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
20536         (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
20537         * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
20538         (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
20539         * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
20540         (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
20541         * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
20542         (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
20543
20544         [BZ #16032]
20545         * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
20546         without decrementing exponent if mantissa >= that for the
20547         denominator, not >.
20548         (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
20549         denominator, not >.  Decrement exponent in < case instead of
20550         incrementing in >= case.
20551         * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
20552         without decrementing exponent if mantissa >= that for the
20553         denominator, not >.
20554
20555         * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
20556         computing saturated result for unsigned overflow.
20557
20558 2013-10-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
20559             Jeff Law  <law@redhat.com>
20560
20561         * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
20562         (atan2Mp): Add systemtap probe marker.
20563         * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
20564         (__ieee754_log): Add systemtap probe marker.
20565         * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
20566         (atanMp): Add systemtap probe marker.
20567         * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
20568         (tanMp): Add systemtap probe marker.
20569         * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
20570         (__slowexp): Add systemtap probe marker.
20571         * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
20572         (__slowpow): Add systemtap probe marker.
20573         * manual/probes.texi: Document probes.
20574
20575 2013-10-11  Eric Biggers  <ebiggers3@gmail.com>
20576
20577         [BZ #15362]
20578         * libio/fileops.c (_IO_new_file_write): Return count of bytes
20579         written.
20580         (_IO_new_file_xsputn): Don't return EOF if nothing has been
20581         written.
20582         * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
20583         written to buffer but not flushed.
20584         * libio/iofwrite_u.c:  Likewise.
20585         * libio/iopadn.c:  Return bytes returned even if EOF was
20586         encountered.
20587         * libio/iowpadn.c:  Likewise.
20588         * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
20589         if _IO_padn does not write the whole buffer.
20590         [!COMPILE_WPRINTF] (PAD): Likewise.
20591
20592 2013-10-10  David S. Miller  <davem@davemloft.net>
20593
20594         * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
20595         directory block.
20596
20597 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
20598
20599         * soft-fp/extendxftf2.c: Use copyright year range.  Use URL
20600         instead of FSF address.
20601         * soft-fp/fixdfti.c: Likewise.
20602         * soft-fp/fixsfti.c: Likewise.
20603         * soft-fp/fixtfti.c: Likewise.
20604         * soft-fp/fixunsdfti.c: Likewise.
20605         * soft-fp/fixunssfti.c: Likewise.
20606         * soft-fp/fixunstfti.c: Likewise.
20607         * soft-fp/floattidf.c: Likewise.
20608         * soft-fp/floattisf.c: Likewise.
20609         * soft-fp/floattitf.c: Likewise.
20610         * soft-fp/floatuntidf.c: Likewise.
20611         * soft-fp/floatuntisf.c: Likewise.
20612         * soft-fp/floatuntitf.c: Likewise.
20613         * soft-fp/trunctfxf2.c: Likewise.
20614
20615         * soft-fp/extendxftf2.c: New file.  Copied from libgcc.
20616         * soft-fp/fixdfti.c: Likewise.
20617         * soft-fp/fixsfti.c: Likewise.
20618         * soft-fp/fixtfti.c: Likewise.
20619         * soft-fp/fixunsdfti.c: Likewise.
20620         * soft-fp/fixunssfti.c: Likewise.
20621         * soft-fp/fixunstfti.c: Likewise.
20622         * soft-fp/floattidf.c: Likewise.
20623         * soft-fp/floattisf.c: Likewise.
20624         * soft-fp/floattitf.c: Likewise.
20625         * soft-fp/floatuntidf.c: Likewise.
20626         * soft-fp/floatuntisf.c: Likewise.
20627         * soft-fp/floatuntitf.c: Likewise.
20628         * soft-fp/trunctfxf2.c: Likewise.
20629
20630 2013-10-10  David S. Miller  <davem@davemloft.net>
20631
20632         * sysdeps/sparc/fpu/libm-test-ulps: Update.
20633
20634 2013-10-10  Joseph Myers  <joseph@codsourcery.com>
20635
20636         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
20637         (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
20638         [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
20639         [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
20640         [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
20641         [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
20642         [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
20643
20644         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
20645         for NaNs before doing comparisons on argument.
20646         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
20647         Likewise.
20648
20649 2013-10-10  Will Newton  <will.newton@linaro.org>
20650
20651         * malloc/hooks.c (memalign_check): Ensure the value of bytes
20652         passed to _int_memalign does not overflow.
20653
20654 2013-10-10  Torvald Riegel  <triegel@redhat.com>
20655
20656         * scripts/bench.pl: Add include-sources directive.
20657         * benchtests/README: Update documentation.
20658
20659 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
20660
20661         * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
20662         * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
20663         instead of FP_INIT_ROUNDMODE.
20664         * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
20665         * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
20666
20667         [BZ #16034]
20668         * soft-fp/op-common.h (_FP_NEG): Document input as raw.  Do not
20669         copy class of input value.
20670         * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing.  Do
20671         not handle exceptions.
20672         * soft-fp/negsf2.c (__negsf2): Likewise.
20673         * soft-fp/negtf2.c (__negtf2): Likewise.
20674         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
20675
20676 2013-10-09  Joseph Myers  <joseph@codesourcery.com>
20677
20678         * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
20679         semicolon.  From Linux kernel.
20680
20681 2013-10-09  Adam Buchbinder  <adam.buchbinder@gmail.com>
20682
20683         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
20684
20685 2013-10-08  Yogesh Chaudhari  <mr.yogesh@gmail.com>
20686
20687         [BZ #156]
20688         * manual/socket.texi: Added statement about buffer
20689         for gethostbyname2_r.
20690
20691 2013-10-08  Ondřej Bílka  <neleai@seznam.cz>
20692
20693         * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
20694         Use .p2align directive instead, throughout.
20695         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
20696         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
20697         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
20698         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
20699         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
20700         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
20701         * sysdeps/x86_64/strchr.S: Likewise.
20702         * sysdeps/x86_64/strrchr.S: Likewise.
20703
20704 2013-10-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
20705
20706         * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
20707
20708         * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
20709
20710         * sysdeps/generic/math_private.h (__mpsin1): Remove
20711         declaration.
20712         (__mpcos1): Likewise.
20713         (__mpsin): New argument __range_reduce.
20714         (__mpcos): Likewise.
20715         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
20716         (slow): Use __mpsin and __mpcos.
20717         (slow1): Likewise.
20718         (slow2): Likewise.
20719         (sloww): Likewise.
20720         (sloww1): Likewise.
20721         (sloww2): Likewise.
20722         (bsloww): Likewise.
20723         (bsloww1): Likewise.
20724         (bsloww2): Likewise.
20725         (cslow2): Likewise.
20726         (csloww): Likewise.
20727         (csloww1): Likewise.
20728         (csloww2): Likewise.
20729         * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
20730         range_reduce.  Merge in __mpsin1.
20731         (__mpcos): Likewise.
20732         (__mpsin1): Remove.
20733         (__mpcos1): Likewise.
20734
20735 2013-10-07  Joseph Myers  <joseph@codesourcery.com>
20736
20737         * locale/loadlocale.c (_nl_intern_locale_data): Use
20738         LOCFILE_ALIGNED_P.
20739         * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
20740         LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
20741         * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
20742         obstack data is appropriately aligned.
20743         (obstack_int32_grow_fast): Likewise.
20744         * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
20745         * locale/programs/locfile.c (add_locale_uint32): Likewise.
20746         (add_locale_uint32_array): Likewise.
20747
20748 2013-10-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
20749
20750         * benchtests/Makefile: Remove ARGLIST and RET variables.
20751         ($(objpfx)bench-%.c): Pass only function name to the script.
20752         * benchtests/README: Update documentation.
20753         * benchtests/acos-inputs: Add new directives.
20754         * benchtests/acosh-inputs: Likewise.
20755         * benchtests/asin-inputs: Likewise.
20756         * benchtests/asinh-inputs: Likewise.
20757         * benchtests/atan-inputs: Likewise.
20758         * benchtests/atanh-inputs: Likewise.
20759         * benchtests/cos-inputs: Likewise.
20760         * benchtests/cosh-inputs: Likewise.
20761         * benchtests/exp-inputs: Likewise.
20762         * benchtests/log-inputs: Likewise.
20763         * benchtests/pow-inputs: Likewise.
20764         * benchtests/rint-inputs: Likewise.
20765         * benchtests/sin-inputs: Likewise.
20766         * benchtests/sinh-inputs: Likewise.
20767         * benchtests/tan-inputs: Likewise.
20768         * benchtests/tanh-inputs: Likewise.
20769         * scripts/bench.pl: Add support for new directives.
20770
20771 2013-10-07  Alan Modra  <amodra@gmail.com>
20772
20773         * README: Fix careless merge.
20774
20775 2013-10-05  Alan Modra  <amodra@gmail.com>
20776
20777         * NEWS: Mention powerpc64le support and bugs fixed.
20778         * README: Both big-endian and little-endian powerpc64 supported.
20779
20780 2013-10-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
20781
20782         * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
20783         (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
20784         (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
20785         _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
20786
20787 2013-10-04  Ryan S. Arnold  <ryan.arnold@linaro.org>
20788
20789         * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
20790         match prototype.
20791
20792 2013-10-04  Joseph Myers  <joseph@codesourcery.com>
20793
20794         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
20795         Move -mhard-float appending from
20796         ports/sysdeps/powerpc/powerpc32/Makefile.
20797         [$(with-fp) = yes] (ASFLAGS): Likewise.
20798         [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
20799         * sysdeps/powerpc/nofpu: Move directory from
20800         ports/sysdeps/powerpc/nofpu.
20801         * sysdeps/powerpc/soft-fp: Move directory from
20802         ports/sysdeps/powerpc/soft-fp.
20803         * sysdeps/powerpc/powerpc32/405: Move directory from
20804         ports/sysdeps/powerpc/powerpc32/405.
20805         * sysdeps/powerpc/powerpc32/440: Move directory from
20806         ports/sysdeps/powerpc/powerpc32/440.
20807         * sysdeps/powerpc/powerpc32/464: Move directory from
20808         ports/sysdeps/powerpc/powerpc32/464.
20809         * sysdeps/powerpc/powerpc32/476: Move directory from
20810         ports/sysdeps/powerpc/powerpc32/476.
20811         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
20812         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
20813         * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
20814         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
20815         * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
20816         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
20817         * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
20818         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
20819         * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
20820         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
20821         * README: Update for powerpc-*-linux-gnu software floating point
20822         support in libc.
20823
20824         * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
20825         case to powerpc/powerpc32*.
20826         * sysdeps/unix/sysv/linux/configure: Regenerated.
20827
20828         * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
20829         (_FPU_MASK_OM): Define as 0x04.
20830         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
20831         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
20832         0x00c10080.
20833         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
20834         0x0000003c.
20835         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
20836
20837         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
20838         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
20839         getcontext_e500.
20840         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
20841         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
20842         setcontext_e500.
20843         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
20844         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
20845         and setcontext_e500.
20846
20847 2013-10-04  Chris Leonard  <cjl@sugarlabs,.org>
20848
20849         * locale/iso-3166.def: Update iso-1366.def and related occurrences
20850
20851 2013-10-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
20852
20853         * manual/threads.texi (Default Thread Attributes): Fix typo.
20854
20855 2013-10-04  Will Newton  <will.newton@linaro.org>
20856
20857         * malloc/Makefile: Add tst-memalign.
20858         * malloc/tst-memalign.c: New file.
20859
20860         * malloc/tst-posix_memalign.c: Add comments.
20861         (do_test): Add comments and call free on all potentially
20862         allocated pointers. Add space after cast.
20863
20864         * malloc/tst-pvalloc.c: Add comments.
20865         (do_test): Add comments and call free on all potentially
20866         allocated pointers. Remove duplicate check for NULL pointer.
20867         Add space after cast.
20868
20869         * malloc/tst-valloc.c: Add comments.
20870         (do_test): Add comments and call free on all potentially
20871         allocated pointers. Remove duplicate check for NULL pointer.
20872         Add space after cast.
20873
20874 2013-10-04  Alan Modra  <amodra@gmail.com>
20875
20876         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
20877         Use stdint types in rather than __attribute__((mode())).
20878         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
20879
20880 2013-10-04  Alan Modra  <amodra@gmail.com>
20881
20882         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
20883         Correct handling of unaligned relocs for little-endian.
20884         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
20885
20886 2013-10-04  Alan Modra  <amodra@gmail.com>
20887
20888         * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
20889         * configure: Regenerate.
20890         * nptl/shlib-versions: Powerpc*le starts at 2.18.
20891         * shlib-versions: Likewise.
20892
20893 2013-10-04  Alan Modra  <amodra@gmail.com>
20894
20895         * string/tester.c (test_memrchr): Increment reported test cycle.
20896
20897 2013-10-04  Alan Modra  <amodra@gmail.com>
20898
20899         * string/test-memcpy.c (do_one_test): When reporting errors, print
20900         string address and don't overrun end of string.
20901
20902 2013-10-04  Alan Modra  <amodra@gmail.com>
20903
20904         * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
20905         insrdi.  Make better use of reg selection to speed exit slightly.
20906         Schedule entry path a little better.  Remove useless "are we done"
20907         checks on entry to main loop.  Handle wrapping around zero address.
20908         Correct main loop count.  Handle single left-over word from main
20909         loop inline rather than by using loop_small.  Remove extra word
20910         case in loop_small caused by wrong loop count.  Add little-endian
20911         support.
20912         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
20913         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.  Use proper
20914         cache hint.
20915         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
20916         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
20917         support.  Avoid rlwimi.
20918         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
20919
20920 2013-10-04  Alan Modra  <amodra@gmail.com>
20921
20922         * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
20923         insrdi.  Formatting.
20924         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
20925         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
20926         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
20927         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
20928         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
20929         * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
20930
20931 2013-10-04  Alan Modra  <amodra@gmail.com>
20932
20933         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
20934         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
20935         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
20936         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
20937         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
20938         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
20939         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
20940         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
20941         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.  Make better
20942         use of regs.  Use power7 mtocrf.  Tidy function tails.
20943
20944 2013-10-04  Alan Modra  <amodra@gmail.com>
20945
20946         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
20947         Formatting.  Consistently use rXXX register defines or rN defines.
20948         Use early exit labels that avoid restoring unused non-volatile regs.
20949         Make cr field use more consistent with rWORDn compares.  Rename
20950         regs used as shift registers for unaligned loop, using rN defines
20951         for short lifetime/multiple use regs.
20952         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
20953         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.  Exit with
20954         addi 1,1,64 to pop stack frame.  Simplify return value code.
20955         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
20956
20957 2013-10-04  Alan Modra  <amodra@gmail.com>
20958
20959         * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
20960         support.  Correct typos, formatting.  Optimize tail.  Use insrdi
20961         rather than rlwimi.
20962         * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
20963         * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
20964         little-endian support.  Correct typos.
20965         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise.  Use insrdi
20966         rather than rlwimi.
20967         * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define.  Use
20968         in loop and entry code to keep "and." results.
20969         (strchr): Add little-endian support.  Comment.  Move cntlzd
20970         earlier in tail.
20971         * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
20972
20973 2013-10-04  Alan Modra  <amodra@gmail.com>
20974
20975         * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
20976         * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
20977         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
20978         * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
20979
20980 2013-10-04  Alan Modra  <amodra@gmail.com>
20981
20982         * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
20983         (rTMP): Define as r11.
20984         (strcmp): Add little-endian support.  Optimise tail.
20985         * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
20986         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
20987         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
20988         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
20989         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
20990         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
20991         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
20992
20993 2013-10-04  Alan Modra  <amodra@gmail.com>
20994
20995         * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
20996         little-endian support.  Remove unnecessary "are we done" tests.
20997         Handle "s" wrapping around zero and extremely large "size".
20998         Correct main loop count.  Handle single left-over word from main
20999         loop inline rather than by using small_loop.  Correct comments.
21000         Delete "zero" tail, use "end_max" instead.
21001         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
21002
21003 2013-10-04  Alan Modra  <amodra@gmail.com>
21004
21005         * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
21006         support.  Don't branch over align.
21007         * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
21008         * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
21009         support.  Rearrange tmp reg use to suit.  Comment.
21010         * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
21011
21012 2013-10-04  Alan Modra  <amodra@gmail.com>
21013
21014         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
21015
21016 2013-10-04  Alan Modra  <amodra@gmail.com>
21017
21018         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
21019         conditional form of branch and link when obtaining pc.
21020         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
21021
21022 2013-10-04  Alan Modra  <amodra@gmail.com>
21023
21024         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
21025         HIWORD/LOWORD.
21026         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
21027         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
21028
21029 2013-10-04  Alan Modra  <amodra@gmail.com>
21030
21031         * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
21032         * sysdeps/powerpc/novmx-longjmp.c: Likewise.
21033         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
21034         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
21035         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
21036         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
21037         * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
21038         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
21039         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
21040         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
21041
21042 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
21043             Alistair Popple <alistair@ozlabs.au.ibm.com>
21044             Alan Modra <amodra@gmail.com>
21045
21046         [BZ #15723]
21047         * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
21048         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
21049         _dl_hwcap access for little-endian.
21050         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.  Don't
21051         destroy vmx regs when saving unaligned.
21052         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
21053         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save.  Don't
21054         destroy vmx regs when saving unaligned.
21055
21056 2013-10-04  Alan Modra  <amodra@gmail.com>
21057
21058         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
21059         Don't use a union to pack hi/low value.
21060
21061 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
21062
21063         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
21064         for little-endian.
21065         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
21066         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
21067         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
21068         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
21069         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
21070
21071 2013-10-04  Alan Modra  <amodra@gmail.com>
21072
21073         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
21074         constants to usual value for .cst8 section, and remove redundant
21075         high address load.
21076         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
21077         constant for 0x1p52.  Load little-endian words of double from
21078         correct stack offsets.
21079
21080 2013-10-04  Alan Modra  <amodra@gmail.com>
21081
21082         * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
21083         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
21084         words of double from correct stack offsets.
21085         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
21086         * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
21087         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
21088         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
21089         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
21090         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
21091         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
21092         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
21093         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
21094         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
21095         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
21096         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
21097         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
21098         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
21099         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
21100         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
21101         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
21102
21103 2013-10-04  Alan Modra  <amodra@gmail.com>
21104
21105         * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
21106         64-bit int/double union.
21107         (_FPU_SETCW): Likewise.
21108         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
21109         (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
21110
21111 2013-10-04  Alan Modra  <amodra@gmail.com>
21112
21113         * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
21114         * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
21115
21116 2013-10-04  Alan Modra  <amodra@gmail.com>
21117
21118         * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
21119         use vector int constants.
21120         (__float_and_test24, __float_and8, __float_get_exp): Likewise.
21121
21122 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
21123
21124         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
21125         array with long long.
21126         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
21127         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
21128         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
21129         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
21130         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
21131         * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
21132         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
21133         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
21134         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
21135         * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
21136         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
21137         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
21138         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
21139
21140 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
21141
21142         * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
21143         (__signbit): Likewise.  Correct for little-endian.
21144         (__signbitl): Call __signbit.
21145         (lrint): Correct for little-endian.
21146         (lrintf): Call lrint.
21147
21148 2013-10-04  Alan Modra  <amodra@gmail.com>
21149
21150         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
21151         union 32-bit int array member with 64-bit int array.
21152         (t515, tm256): Double rather than long double.
21153         (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
21154
21155 2013-10-04  Alan Modra  <amodra@gmail.com>
21156
21157         * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
21158         Delete.
21159         (IEEE854_LONG_DOUBLE_BIAS): Delete.
21160         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
21161         version of math_ldbl.h.
21162
21163 2013-10-04  Alan Modra  <amodra@gmail.com>
21164
21165         [BZ #15734], [BZ #15735]
21166         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
21167         all uses of ieee875 long double macros and unions.  Simplify test
21168         for 0.0L.  Correct |x|<|y| and |x|=|y| test.  Use
21169         ldbl_extract_mantissa value for ix,iy exponents.  Properly
21170         normalize after ldbl_extract_mantissa, and don't add hidden bit
21171         already handled.  Don't treat low word of ieee854 mantissa like
21172         low word of IBM long double and mask off bit when testing for
21173         zero.
21174         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
21175         all uses of ieee875 long double macros and unions.  Simplify tests
21176         for 0.0L and inf.  Correct double adjustment of k.  Delete dead code
21177         adjusting ha,hb.  Simplify code setting kld.  Delete two600 and
21178         two1022, instead use their values.  Recognise that tests for large
21179         "a" and small "b" are mutually exclusive.  Rename vars.  Comment.
21180         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
21181         Rewrite all uses of ieee875 long double macros and unions.  Simplify
21182         test for 0.0L and nan.  Correct negation.
21183         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
21184         ieee875 long double macros and unions.  Correct output for large
21185         magnitude x.  Correct absolute value calculation.
21186         (__erfcl): Likewise.
21187         * math/libm-test.inc: Add tests for errors discovered in IBM long
21188         double versions of fmodl, remainderl, erfl and erfcl.
21189
21190 2013-10-04  Alan Modra  <amodra@gmail.com>
21191
21192         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
21193         all uses of ieee854 long double macros and unions.  Simplify tests
21194         for long doubles that are fully specified by the high double.
21195         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
21196         Likewise.
21197         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
21198         Remove dead code too.
21199         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
21200         (__ieee754_ynl): Likewise.
21201         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
21202         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
21203         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
21204         Remove dead code too.
21205         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
21206         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
21207         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
21208         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
21209         Simplify.
21210         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
21211         Simplify.
21212         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
21213         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
21214         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
21215         Comment on variable precision.
21216         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
21217         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
21218         Likewise.
21219         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
21220         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
21221         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
21222         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
21223         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
21224
21225 2013-10-04  Alan Modra  <amodra@gmail.com>
21226
21227         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
21228         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
21229         all uses of ieee854 long double macros and unions.
21230         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
21231         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
21232         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
21233         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
21234         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
21235         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
21236         Likewise.
21237         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
21238         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
21239         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
21240         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
21241         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
21242         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
21243         Simplify sign and nan test too.
21244         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
21245         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
21246         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
21247         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
21248         Likewise.
21249         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
21250         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
21251         Likewise.
21252         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
21253         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
21254         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
21255         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
21256         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
21257         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
21258
21259 2013-10-04  Alan Modra  <amodra@gmail.com>
21260
21261         * stdio-common/printf_size.c (__printf_size): Don't use
21262         union ieee854_long_double in fpnum union.
21263         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.  Use
21264         signbit macro to retrieve sign from long double.
21265         * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
21266         retrieve sign from long double.
21267         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
21268         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
21269         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
21270         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
21271         * math/test-misc.c (main): Don't use union ieee854_long_double.
21272
21273 2013-10-04  Alan Modra  <amodra@gmail.com>
21274
21275         [BZ #15680]
21276         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
21277         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
21278         (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
21279         calculation.  Remove unnecessary test for denormal exponent.
21280         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
21281         Correct handling of denormals.  Avoid undefined shift behaviour.
21282         Correct normalisation of low mantissa when low double is denormal.
21283         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
21284         (ldbl_extract_mantissa): Likewise.  Comment.  Use uint64_t* for hi64.
21285         (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
21286         Correct normalisation of low mantissa.  Test for overflow of high
21287         mantissa and normalise.
21288         (ldbl_nearbyint): Use more readable constant for two52.
21289         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
21290         (__mpn_construct_long_double): Fix test for overflow of high
21291         mantissa and correct normalisation.  Avoid undefined shift.
21292
21293 2013-10-04  Alan Modra  <amodra@gmail.com>
21294
21295         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
21296         (union ibm_extended_long_double): Define as an array of ieee754_double.
21297         (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
21298         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
21299         to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
21300         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
21301         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
21302         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
21303         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
21304         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
21305         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
21306         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
21307         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
21308
21309 2013-10-03  Joseph Myers  <joseph@codesourcery.com>
21310
21311         * locale/programs/locarchive.c (add_locale): Use constant 4096 for
21312         page size instead of calling getpagesize.
21313
21314         * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
21315         (LOCFILE_ALIGN_MASK): Likewise.
21316         (LOCFILE_ALIGN_UP): Likewise.
21317         (LOCFILE_ALIGNED_P): Likewise.
21318         * locale/programs/ld-collate.c (collate_output): Use the new
21319         macros instead of __alignof__ (int32_t).
21320         * locale/weight.h (findidx): Likewise.
21321
21322 2013-10-03  Ondřej Bílka  <neleai@seznam.cz>
21323
21324         [BZ #431]
21325         * manual/string.texi: Fix strncat and wcsncat.
21326
21327 2013-10-03  Brooks Moses  <bmoses@google.com>
21328
21329         [BZ #15915]
21330         * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
21331         * Makerules: ...here, and adjust associated comments.
21332
21333 2013-10-02  Will Newton  <will.newton@linaro.org>
21334
21335         * malloc/Makefile: Add tst-pvalloc.
21336         * malloc/tst-pvalloc.c: New file.
21337
21338 2013-10-02  Will Newton  <will.newton@linaro.org>
21339
21340         * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
21341         improve test coverage.
21342
21343 2013-10-02  Will Newton  <will.newton@linaro.org>
21344
21345         * malloc/Makefile: Add tst-posix_memalign.
21346         * malloc/tst-posix_memalign.c: New file.
21347
21348 2013-10-01  Eric Blake  <eblake@redhat.com>
21349
21350         * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
21351         Use __THROWNL rather than __THROW on static functions.
21352
21353 2013-09-30  Petr Machata  <pmachata@redhat.com>
21354
21355         * elf/elf.h (R_AARCH64_ABS16): New macro.
21356         (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
21357         (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
21358         (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
21359         (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
21360         (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
21361         (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
21362         (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
21363         (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
21364         (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
21365         (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
21366         (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
21367         (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
21368         (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
21369         (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
21370         (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
21371         (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
21372         (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
21373         (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
21374         (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
21375         (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
21376         (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
21377         (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
21378         (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
21379         (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
21380         (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
21381         (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
21382         (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
21383         (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
21384         (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
21385         (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
21386         (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
21387         (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
21388         (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
21389         (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
21390         (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
21391         (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
21392         (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
21393         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
21394         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
21395         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
21396         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
21397         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
21398         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
21399         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
21400         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
21401         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
21402         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
21403         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
21404         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
21405         (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
21406         (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
21407         (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
21408         (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
21409         (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
21410         (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
21411         (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
21412         (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
21413         (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
21414         (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
21415         (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
21416         (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
21417         (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
21418         (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
21419         (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
21420         (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
21421         (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
21422         (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
21423         (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
21424         (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
21425         (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
21426         (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
21427         (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
21428         (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
21429         (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
21430         (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
21431         (R_AARCH64_TLSDESC_OFF_G1): Likewise.
21432         (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
21433         (R_AARCH64_TLSDESC_LDR): Likewise.
21434         (R_AARCH64_TLSDESC_ADD): Likewise.
21435         (R_AARCH64_TLSDESC_CALL): Likewise.
21436
21437 2013-09-30  Andreas Schwab  <schwab@suse.de>
21438
21439         [BZ #15048]
21440         * nscd/aicache.c (addhstaiX): Properly use the cache variable for
21441         the nss database lookup.
21442         * nscd/initgrcache.c (addinitgroupsX): Likewise.
21443         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
21444
21445 2013-09-28  Mike Frysinger  <vapier@gentoo.org>
21446
21447         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
21448
21449 2013-09-28  P. J. McDermott  <pj@pehjota.net>
21450
21451         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
21452         ${Bash-specific parameter/pattern/string} parameter expansion.
21453         * sysdeps/unix/make-syscalls.sh: Likewise.
21454
21455 2013-09-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
21456
21457         * sysdeps/sh/stackguard-macros.h: New file.
21458
21459 2013-09-26  Ondřej Bílka  <neleai@seznam.cz>
21460
21461         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
21462         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
21463         * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
21464         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
21465         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
21466         * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
21467
21468 2013-09-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21469
21470         * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
21471         Fix thread ID register.
21472
21473 2013-09-25  Joseph Myers  <joseph@codesourcery.com>
21474
21475         * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
21476         [POSIX || UNIX98]: Require rather than permitting all symbols from
21477         <time.h>.
21478         [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
21479         element of struct sched_param.
21480         [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
21481         [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
21482         [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
21483         [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
21484         constant.
21485
21486 2013-09-24  Olivier Langlois  <olivier@olivierlanglois.net>
21487
21488         * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
21489         argument calculation.
21490
21491 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
21492
21493         * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
21494         Expect macro.
21495         [POSIX] (pthread_attr_t): Do not require type.
21496         [POSIX] (pthread_cond_t): Likewise.
21497         [POSIX] (pthread_condattr_t): Likewise.
21498         [POSIX] (pthread_key_t): Likewise.
21499         [POSIX] (pthread_mutex_t): Likewise.
21500         [POSIX] (pthread_mutexattr_t): Likewise.
21501         [POSIX] (pthread_once_t): Likewise.
21502         [POSIX] (pthread_t): Likewise.
21503         [POSIX-based standards] (pthread_atfork): Expect function.
21504
21505 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
21506             Richard Sandiford  <richard@codesourcery.com>
21507
21508         * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
21509         (swap_endianness_p): New extern variable.
21510         (set_big_endian): New inline function.
21511         (maybe_swap_uint32): Likewise.
21512         (maybe_swap_uint32_array): Likewise.
21513         (maybe_swap_uint32_obstack): Likewise.
21514         * locale/programs/locfile.c: Include <stdbool.h>.
21515         (swap_endianness_p): New variable.
21516         (add_locale_uint32): Call maybe_swap_uint32.
21517         (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
21518         (write_locale_data): Call maybe_swap_uint32_array.
21519         * locale/programs/ld-collate.c (obstack_int32_grow): Call
21520         maybe_swap_uint32.
21521         (obstack_int32_grow_fast): Likewise.
21522         (output_weightwc): Call maybe_swap_uint32_obstack.
21523         (collate_output): Likewise.
21524         * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
21525         (OPT_LITTLE_ENDIAN): Likewise.
21526         (options): Add --little-endian and --big-endian options.
21527         (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
21528         * locale/programs/locarchive.c: Include "locfile.h".
21529         (GET): New macro.
21530         (SET): Likewise.
21531         (INC): Likewise.
21532         (create_archive): Use the new macros to access fields of
21533         structures directly mapped from or written to locale archives.
21534         (oldlocrecentcmp): Likewise.
21535         (enlarge_archive): Likewise.
21536         (insert_name): Likewise.
21537         (add_alias): Likewise.
21538         (add_locale): Likewise.
21539         (delete_locales_from_archive): Likewise.
21540         (show_archive_content): Likewise.
21541         (add_locale_to_archive): Likewise.  Use maybe_swap_uint32 on
21542         locale data.
21543
21544 2013-09-24  Roland McGrath  <roland@hack.frob.com>
21545
21546         * manual/freemanuals.texi: Updated from (newly) canonical copy at
21547         http://www.gnu.org/doc/freemanuals.texi.
21548         * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
21549
21550 2013-09-24  Will Newton  <will.newton@linaro.org>
21551
21552         * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
21553         macro.
21554
21555 2013-09-23  Joseph Myers  <joseph@codesourcery.com>
21556
21557         * locale/hashval.h (compute_hashval): Interpret bytes of key as
21558         unsigned char.
21559
21560 2013-09-23  Maciej W. Rozycki  <macro@codesourcery.com>
21561
21562         * manual/threads.texi (POSIX Threads): Fix a typo.
21563
21564 2013-09-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
21565
21566         [BZ #14547]
21567         * string/tst-strcoll-overflow.c: New test case.
21568         * string/Makefile (xtests): Add tst-strcoll-overflow.
21569         * string/strcoll_l.c (STRCOLL): Skip allocating memory for
21570         cache if string sizes may cause integer overflow.
21571
21572         [BZ #14547]
21573         * string/strcoll_l.c (coll_seq): New members rule, idx,
21574         save_idx and back_us.
21575         (get_next_seq_nocache): New function.
21576         (do_compare_nocache): New function.
21577         (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
21578         when malloc fails.
21579
21580 2013-09-23  Carlos O'Donell  <carlos@redhat.com>
21581
21582         [BZ #15754]
21583         * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
21584         __pointer_chk_guard_local, otherwise __pointer_chk_guard.
21585         * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
21586
21587         [BZ #15754]
21588         * elf/Makefile (tests): Add tst-ptrguard1.
21589         (tests-static): Add tst-ptrguard1-static.
21590         (tst-ptrguard1-ARGS): Define.
21591         (tst-ptrguard1-static-ARGS): Define.
21592         * elf/tst-ptrguard1.c: New file.
21593         * elf/tst-ptrguard1-static.c: New file.
21594         * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
21595         * sysdeps/i386/stackguard-macros.h: Likewise.
21596         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
21597         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
21598         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
21599         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
21600         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
21601         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
21602
21603 2013-09-23  Hector Marco  <hecmargi@upv.es>
21604             Ismael Ripoll  <iripoll@disca.upv.es>
21605             Carlos O'Donell  <carlos@redhat.com>
21606
21607         [BZ #15754]
21608         * sysdeps/generic/stackguard-macros.h: Define
21609         __pointer_chk_guard_local and POINTER_CHK_GUARD.
21610         * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
21611         Define __pointer_chk_guard_local.
21612         (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
21613         Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
21614
21615 2013-09-15  Vinitha Vijayan <vinitha.vijayann@gmail.com>
21616
21617         [BZ #15859]
21618         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
21619
21620 2013-09-20  Andreas Schwab  <schwab@linux-m68k.org>
21621
21622         * include/string.h (__ffs): Declare as hidden.
21623         * string/ffs.c (__ffs): Define as hidden.
21624         * sysdeps/i386/ffs.c (__ffs): Likewise.
21625         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
21626         * sysdeps/powerpc/ffs.c (__ffs): Likewise.
21627         * sysdeps/s390/ffs.c (__ffs): Likewise.
21628         * sysdeps/x86_64/ffs.c (__ffs): Likewise.
21629
21630 2013-09-20  Alexandre Oliva <aoliva@redhat.com>
21631
21632         * NEWS: Mention malloc probes.
21633
21634         * malloc/arena.c (new_heap): New memory_heap_new probe.
21635         (grow_heap): New memory_heap_more probe.
21636         (shrink_heap): New memory_heap_less probe.
21637         (heap_trim): New memory_heap_free probe.
21638         * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
21639         (systrim): New memory_sbrk_less probe.
21640         * manual/probes.texi: Document them.
21641
21642         * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
21643         * manual/probes.texi: Document it.
21644
21645         * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
21646         (__libc_realloc): Add memory_realloc_retry probe.
21647         (__libc_memalign): Add memory_memalign_retry probe.
21648         (__libc_valloc): Add memory_valloc_retry probe.
21649         (__libc_pvalloc): Add memory_pvalloc_retry probe.
21650         (__libc_calloc): Add memory_calloc_retry probe.
21651         * manual/probes.texi: Document them.
21652
21653         * malloc/arena.c (get_free_list): Add probe
21654         memory_arena_reuse_free_list.
21655         (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
21656         and memory_arena_reuse.
21657         (arena_get2) [!PER_THREAD]: Likewise.
21658         * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
21659         memory_arena_reuse_realloc.
21660         * manual/probes.texi: Document them.
21661
21662         * malloc/malloc.c (__libc_free): Add
21663         memory_mallopt_free_dyn_thresholds probe.
21664         (__libc_mallopt): Add multiple memory_mallopt probes.
21665         * manual/probes.texi: Document them.
21666
21667         * malloc/malloc.c: Include stap-probe.h.
21668         (__libc_mallopt): Add memory_mallopt probe.
21669         * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
21670         * manual/probes.texi: New.
21671         * manual/Makefile (chapters): Add probes.
21672         * manual/threads.texi: Set next node.
21673
21674 2013-09-19  Wei-Lun Chao  <bluebat@member.fsf.org>
21675
21676         [BZ #15963, #13985]
21677         * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
21678         czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
21679         Add `Chinese' to `nan' entry name.
21680
21681 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
21682
21683         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
21684         (POLYNOMIAL): Likewise.
21685         (TAYLOR_SINCOS): Likewise.
21686         (TAYLOR_SLOW): Likewise.
21687         (__sin): Use TAYLOR_SINCOS.
21688         (__cos): Likewise.
21689         (slow): Use TAYLOR_SLOW.
21690         (sloww): Likewise.
21691         (bsloww): Likewise.
21692         (csloww): Likewise.
21693
21694 2013-09-19  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
21695
21696         * stdlib/strtod_l.c: Fix buffer overrun.
21697
21698 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
21699
21700         * benchtests/Makefile (bench): Add sincos.
21701         * benchtests/bench-sincos.c: New file.
21702
21703         * math/libm-test.inc (cos_test_data): New test inputs.
21704         (sin_test_data): Likewise.
21705
21706         * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
21707         macro.
21708         (__sin): Use it.
21709         (__cos): Likewise.
21710         (slow1): Likewise.
21711         (slow2): Likewise.
21712         (sloww1): Likewise.
21713         (sloww2): Likewise.
21714         (bsloww1): Likewise.
21715         (bsloww2): Likewise.
21716         (cslow2): Likewise.
21717         (csloww1): Likewise.
21718         (csloww2): Likewise.
21719
21720         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
21721         function.
21722         (__sin): Use it.
21723         (__cos): Likewise.
21724
21725         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
21726         gotos.
21727         (__cos): Likewise.
21728
21729 2013-09-18  Maciej W. Rozycki  <macro@codesourcery.com>
21730
21731         * config.h.in (HAVE_MIPS_NAN2008): New macro.
21732         * elf/elf.h (EF_MIPS_NAN2008): Likewise.
21733         * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
21734         (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
21735         (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
21736         * elf/cache.c (print_entry): Handle the new cache flags.
21737
21738 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
21739             Aldy Hernandez  <aldyh@redhat.com>
21740
21741         * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
21742         Change condition to [_SOFT_FLOAT].
21743         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
21744         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
21745         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
21746         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
21747         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
21748         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
21749         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
21750         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
21751         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
21752         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
21753         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
21754         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
21755         [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
21756         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
21757         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
21758         [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
21759         declaration.
21760
21761 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
21762
21763         * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
21764         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
21765         (__longjmp): Use LOAD_GP to load saved GPRs.
21766         * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
21767         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
21768         (__sigsetjmp): Use SAVE_GP to save GPRs.
21769
21770         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
21771         Do not append -msoft-float.
21772         [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
21773
21774 2013-09-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
21775
21776         * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
21777
21778 2013-09-17  Joseph Myers  <joseph@codesourcery.com>
21779
21780         [BZ #15966]
21781         * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
21782         (_FPU_GETCW): Use initial "__" on variable and field names but not
21783         on macro parameter name.
21784         [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise.  Use
21785         parentheses around reference to macro parameter.
21786
21787 2013-09-13  Richard Sandiford  <richard@codesourcery.com>
21788
21789         * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
21790         prototype.
21791         (ctype_startup): Use uint32_t in cast and sizeof for
21792         ctype->charnames.
21793
21794 2013-09-11  Jia Liu  <proljc@gmail.com>
21795
21796         * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
21797         __daddr_t_defined.
21798         [__FreeBSD__]: Likewise.
21799
21800 2013-09-11  Ondřej Bílka  <neleai@seznam.cz>
21801
21802         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
21803         (__libc_ifunc_impl_list): Remove: __strchr_sse42.
21804         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
21805         (strchr): Remove __strchr_sse42 ifunc selection.
21806         * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
21807         * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
21808
21809 2013-09-11  Will Newton  <will.newton@linaro.org>
21810
21811         * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
21812         parameter to RES. Remove hardcoded 1000 value.
21813         * benchtests/bench-skeleton.c (main): Pass RES parameter
21814         to TIMING_INIT and multiply result by 1000.
21815
21816 2013-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21817
21818         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21819
21820 2013-09-11  Andreas Schwab  <schwab@suse.de>
21821
21822         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
21823         if not defined.
21824         (O_TMPFILE) [__USE_GNU]: Define.
21825         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
21826         Define.
21827
21828 2013-09-11  Will Newton  <will.newton@linaro.org>
21829
21830         [BZ #15857]
21831         * malloc/malloc.c (__libc_memalign): Check the value of bytes
21832         does not overflow.
21833
21834 2013-09-11  Will Newton  <will.newton@linaro.org>
21835
21836         [BZ #15856]
21837         * malloc/malloc.c (__libc_valloc): Check the value of bytes
21838         does not overflow.
21839
21840 2013-09-11  Will Newton  <will.newton@linaro.org>
21841
21842         [BZ #15855]
21843         * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
21844         does not overflow.
21845
21846 2013-09-10  Ondřej Bílka  <neleai@seznam.cz>
21847
21848         * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
21849         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
21850         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
21851         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
21852         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
21853
21854 2013-09-10  Allan McRae  <allan@archlinux.org>
21855
21856         [BZ #15748]
21857         * manual/arith.texi (Parsing of Floats): Clarify
21858         cross-reference.
21859
21860         [BZ #15849]
21861         * manual/install.texi (Running make install): Mention
21862         --enable-pt-chown.
21863         * INSTALL: Regenerated.
21864
21865 2013-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
21866
21867         * csu/init-first.c (_init): Remove the !SHARED condition around
21868         FPU control word initialization.
21869         * elf/dl-support.c (_dl_fpu_control): New variable.
21870         (_dl_aux_init) <AT_FPUCW>: Initialize it.
21871         * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
21872         (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
21873         * math/test-fpucw-static.c: New file.
21874         * math/test-fpucw-ieee.c: New file.
21875         * math/test-fpucw-ieee-static.c: New file.
21876         * math/Makefile (tests): Add `test-fpucw-ieee' and
21877         `$(tests-static)'.
21878         (tests-static): New variable.
21879         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
21880         dependency to...
21881         [($(build-shared),yes)]
21882         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
21883         ... this.
21884         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
21885         New dependency.
21886
21887 2013-09-09  Allan McRae  <allan@archlinux.org>
21888
21889         [BZ #15939]
21890         * manual/string.texi (Collation Functions): Fix typo in
21891         strcoll example.
21892         Reported by Suren Karapetyan <me@suren.karapetyan.name>.
21893
21894         [BZ #15893]
21895         * stdlib/isomac.c (get_null_defines): Fix memory leak.
21896
21897         [BZ #15892]
21898         * libio/memstream.c (open_memstream): Fix memory leak.
21899         * libio/wmemstream.c (open_wmemstream): Likewise.
21900
21901         [BZ #15895]
21902         * nscd/netgroupcache.c: Fix nesting of ifdefs.
21903
21904 2013-09-09  Will Newton  <will.newton@linaro.org>
21905
21906         * malloc/Makefile: Add tst-realloc to tests.
21907         * malloc/tst-realloc.c: New file.
21908
21909 2013-09-09  Allan McRae  <allan@archlinux.org>
21910
21911         [BZ #15844]
21912         * COPYING: Update from GNU website to fix FSF address.
21913         * COPYING.LIB: Likewise.
21914
21915 2013-09-06  David S. Miller  <davem@davemloft.net>
21916
21917         * po/zh_TW.po: Update Chinese (traditional) translation from
21918         translation project.
21919
21920 2013-09-06  Richard Sandiford  <richard@codesourcery.com>
21921             Joseph Myers  <joseph@codesourcery.com>
21922
21923         * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
21924         "localeinfo.h".
21925         (obstack_chunk_alloc): New macro.
21926         (obstack_chunk_free): Likewise.
21927         (record_offset): New function.
21928         (init_locale_data): Likewise.
21929         (align_locale_data): Likewise.
21930         (add_locale_empty): Likewise.
21931         (add_locale_raw_data): Likewise.
21932         (add_locale_raw_obstack): Likewise.
21933         (add_locale_string): Likewise.
21934         (add_locale_wstring): Likewise.
21935         (add_locale_uint32): Likewise.
21936         (add_locale_uint32_array): Likewise.
21937         (add_locale_char): Likewise.
21938         (start_locale_structure): Likewise.
21939         (end_locale_structure): Likewise.
21940         (start_locale_prelude): Likewise.
21941         (end_locale_prelude): Likewise.
21942         (write_locale_data): Take locale_file structure rather than an
21943         iovec.
21944         * locale/programs/locfile.h: Include "obstack.h".
21945         (struct locale_file): Change to store locale file contents instead
21946         of header.
21947         (init_locale_data): New prototype.
21948         (align_locale_data): Likewise.
21949         (add_locale_empty): Likewise.
21950         (add_locale_raw_data): Likewise.
21951         (add_locale_raw_obstack): Likewise.
21952         (add_locale_string): Likewise.
21953         (add_locale_wstring): Likewise.
21954         (add_locale_uint32): Likewise.
21955         (add_locale_uint32_array): Likewise.
21956         (add_locale_char): Likewise.
21957         (start_locale_structure): Likewise.
21958         (end_locale_structure): Likewise.
21959         (start_locale_prelude): Likewise.
21960         (end_locale_prelude): Likewise.
21961         (write_locale_data): Update prototype.
21962         * locale/programs/3level.h (struct TABLE): Remove result field.
21963         (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
21964         Use new locale_file interface.
21965         [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
21966         (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
21967         * locale/programs/ld-address.c (address_output): Use new
21968         locale_file interface.
21969         * locale/programs/ld-collate.c (NO_FINALIZE): Change to
21970         NO_ADD_LOCALE.
21971         (collate_finish): Don't call collseq_table_finalize.
21972         (collate_output): Use new locale_file interface.
21973         * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
21974         in file.
21975         (NO_FINALIZE): Change to NO_ADD_LOCALE.
21976         (TABLE): Move defines earlier in file.
21977         (ELEMENT): Likewise.
21978         (DEFAULT): Likewise.
21979         (wctrans_table_add): Move macro and inline function earlier in
21980         file.
21981         (struct wctype_table): Move type earlier in file.
21982         (add_locale_wctype_table): New static prototype.
21983         (struct locale_ctype_t): Use logical types instead of struct iovec
21984         pointers for members.
21985         (ctype_output): Use new locale_file interface.
21986         (wctype_table_finalize): Change to add_locale_wctype_table.  Use
21987         new locale_file interface.
21988         (allocate_arrays): Update for use of new locale_file interface.
21989         * locale/programs/ld-identification.c (identification_output): Use
21990         new locale_file interface.
21991         * locale/programs/ld-measurement.c (measurement_output): Likewise.
21992         * locale/programs/ld-messages.c (messages_output): Likewise.
21993         * locale/programs/ld-monetary.c (monetary_output): Likewise.
21994         * locale/programs/ld-name.c (name_output): Likewise.
21995         * locale/programs/ld-numeric.c (numeric_output): Likewise.
21996         * locale/programs/ld-paper.c (paper_output): Likewise.
21997         * locale/programs/ld-telephone.c (telephone_output): Likewise.
21998         * locale/programs/ld-time.c (time_output): Likewise.
21999
22000 2013-09-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22001
22002         * benchtests/Makefile: Add memrchr benchmark.
22003         * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
22004         benchmark as memrchr.
22005         * benchtests/bench-memrchr-ifunc.c: New file.
22006         * benchtests/bench-memrchr.c: New file.
22007
22008 2013-09-06   Will Newton  <will.newton@linaro.org>
22009
22010         * benchtests/Makefile (string-bench): Add memcpy.
22011
22012 2013-09-05  Carlos O'Donell  <carlos@redhat.com>
22013             Cong Wang  <amwang@redhat.com>
22014
22015         [BZ #15850]
22016         * sysdeps/unix/sysv/linux/bits/in.h
22017         [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
22018         * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
22019         before __USE_KERNEL_IPV6_DEFS uses.
22020         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
22021         IPPROTO_BEETPH.
22022         [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
22023         sockaddr_in6, or ipv6_mreq.
22024
22025 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22026
22027         * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
22028         memory access for final bytes in some large inputs.
22029         * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
22030
22031 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22032
22033         * string/test-memrchr.c: New file.
22034         * string/test-memrchr-ifunc.c: New file.
22035         * string/Makefile: Add new memrchr testcase.
22036
22037 2013-09-05  Mike Frysinger  <vapier@gentoo.org>
22038
22039         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
22040         fanotify_init returns EPERM.
22041
22042 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
22043
22044         * conform/conformtest.pl (newtoken): Treat tokens not allowed as
22045         errors.
22046         (top level): Treat second token from macro or constant entries for
22047         allowed headers as allowed.
22048         * include/complex.h: Condition internal declarations on
22049         [!_ISOMAC].
22050         * include/fenv.h: Condition include of <stdbool.h> and internal
22051         declarations on [!_ISOMAC].
22052
22053 2013-09-04  Chris Leonard  <cjl@sugarlabs,.org>
22054
22055         [BZ #15923]
22056         * locale/iso-4217.def: Update iso-1427.def and related occurrences.
22057
22058 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
22059
22060         * configure.in (--enable-versioning): Remove configure option.
22061         (libc_cv_asm_symver_directive): Remove configure test.
22062         (libc_cv_ld_version_script_option): Likewise.
22063         (VERSIONING): Remove variable and AC_SUBST.
22064         (DO_VERSIONING): Remove AC_DEFINE.
22065         * configure: Regenerated.
22066         * config.h.in (DO_VERSIONING): Remove macro.
22067         * Makerules [$(versioning) = yes]: Change conditionals to
22068         [$(build-shared) = yes].
22069         * config.make.in (versioning): Remove variable.
22070         * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
22071         [$(build-shared) = yes].
22072         * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
22073         * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
22074         * elf/Makefile [$(versioning) = yes]: Change conditionals to
22075         [$(build-shared) = yes].
22076         * extra-lib.mk [$(versioning) = yes]: Likewise.
22077         * hurd/Makefile [$(versioning) = yes]: Likewise.
22078         * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
22079         [SHARED].
22080         * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
22081         [SHARED].
22082         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
22083         [SHARED && !NO_HIDDEN].
22084         * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
22085         [SHARED].
22086         [SHARED && DO_VERSIONING]: Likewise..
22087         * libio/Makefile [$(versioning) = yes]: Change conditionals to
22088         [$(build-shared) = yes].
22089         * manual/install.texi (--disable-versioning): Remove
22090         documentation.
22091         * INSTALL: Regenerated.
22092         * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
22093         to [SHARED].
22094         * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
22095         [$(build-shared) = yes].
22096         * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
22097         * sysdeps/i386/i686/multiarch/strstr-c.c
22098         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
22099         [SHARED && !NO_HIDDEN].
22100         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
22101         [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
22102         * sysdeps/powerpc/powerpc32/dl-machine.c
22103         [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
22104         * sysdeps/powerpc/powerpc32/sysdep.h
22105         [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
22106         to [SHARED && PIC && !NO_HIDDEN].
22107         * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
22108         conditional to [SHARED].
22109
22110 2013-09-04   Will Newton  <will.newton@linaro.org>
22111
22112         * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
22113         * benchtests/bench-string.h: Include bench-timing.h instead
22114         of including hp-timing.h directly. (INNER_LOOP_ITERS): New
22115         define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
22116         call to HP_TIMING_DIFF_INIT.
22117         * benchtests/bench-memccpy.c: Use bench-timing.h macros
22118         instead of hp-timing.h macros.
22119         * benchtests/bench-memchr.c: Likewise.
22120         * benchtests/bench-memcmp.c: Likewise.
22121         * benchtests/bench-memcpy.c: Likewise.
22122         * benchtests/bench-memmem.c: Likewise.
22123         * benchtests/bench-memmove.c: Likewise.
22124         * benchtests/bench-memset.c: Likewise.
22125         * benchtests/bench-rawmemchr.c: Likewise.
22126         * benchtests/bench-strcasecmp.c: Likewise.
22127         * benchtests/bench-strcasestr.c: Likewise.
22128         * benchtests/bench-strcat.c: Likewise.
22129         * benchtests/bench-strchr.c: Likewise.
22130         * benchtests/bench-strcmp.c: Likewise.
22131         * benchtests/bench-strcpy.c: Likewise.
22132         * benchtests/bench-strcpy_chk.c: Likewise.
22133         * benchtests/bench-strlen.c: Likewise.
22134         * benchtests/bench-strncasecmp.c: Likewise.
22135         * benchtests/bench-strncat.c: Likewise.
22136         * benchtests/bench-strncmp.c: Likewise.
22137         * benchtests/bench-strncpy.c: Likewise.
22138         * benchtests/bench-strnlen.c: Likewise.
22139         * benchtests/bench-strpbrk.c: Likewise.
22140         * benchtests/bench-strrchr.c: Likewise.
22141         * benchtests/bench-strspn.c: Likewise.
22142         * benchtests/bench-strstr.c: Likewise.
22143
22144 2013-09-04  Will Newton  <will.newton@linaro.org>
22145
22146         * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
22147
22148 2013-09-03  Joseph Myers  <joseph@codesourcery.com>
22149
22150         [BZ #15427]
22151         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
22152         2**-30 instead of 2**-70 as threshold for returning -log(|x|).
22153         * math/libm-test.inc (lgamma_test_data): Add more tests.
22154         * sysdeps/i386/fpu/libm-test-ulps: Update.
22155         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22156
22157 2013-09-03   Ondřej Bílka  <neleai@seznam.cz>
22158
22159         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
22160         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
22161         Add ifunc.
22162         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
22163         Add strcmp-sse2-unaligned
22164         * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
22165
22166 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
22167
22168         * Versions.def (libc): Add GLIBC_2.19.
22169
22170 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
22171
22172         * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
22173         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
22174
22175 2013-09-02  Joseph Myers  <joseph@codesourcery.com>
22176
22177         [BZ #14155]
22178         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
22179         intermediate calculations in recurrence.
22180         (__ieee754_ynf): Likewise.
22181         * math/libm-test.inc (jn_test_data): Do not allow spurious
22182         underflow exception.  Add more tests.
22183         (yn_test_data): Add more tests.
22184         * sysdeps/i386/fpu/libm-test-ulps: Update.
22185         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22186
22187 2013-09-02   Ondřej Bílka  <neleai@seznam.cz>
22188
22189         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
22190
22191 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
22192
22193         * csu/init-first.c: Fix then/than typos.
22194         * locale/programs/ld-collate.c: Likewise.
22195         * locale/programs/linereader.h: Likewise.
22196         * manual/charset.texi: Likewise.
22197         * manual/filesys.texi: Likewise.
22198         * manual/stdio.texi: Likewise.
22199         * manual/string.texi: Likewise.
22200         * stdlib/fmtmsg.c: Likewise.
22201         * sysdeps/i386/stpncpy.S: Likewise.
22202         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
22203         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
22204         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
22205         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
22206
22207 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
22208
22209         * elf/dl-open.c: Fix typos.
22210         * iconvdata/gbbig5.c: Likewise.
22211         * iconvdata/iso-2022-jp.c: Likewise.
22212         * iconv/gconv_int.h: Likewise.
22213         * iconv/loop.c: Likewise.
22214         * nis/rpcsvc/nis.h: Likewise.
22215         * resolv/ns_name.c: Likewise.
22216         * stdio-common/vfscanf.c: Likewise.
22217         * streams/stropts.h: Likewise.
22218         * sunrpc/rpc_thread.c: Likewise.
22219         * sysdeps/i386/strpbrk.S: Likewise.
22220         * sysdeps/ieee754/k_standard.c: Likewise.
22221         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
22222         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
22223         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
22224         * sysdeps/mach/hurd/profil.c: Likewise.
22225         * sysdeps/s390/dl-procinfo.h: Likewise.
22226         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
22227         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
22228         * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
22229         * sysdeps/x86_64/dl-trampoline.S: Likewise.
22230         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
22231
22232 2013-08-30  Ondřej Bílka  <neleai@seznam.cz>
22233
22234         * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
22235         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
22236
22237 2013-08-29  Ondřej Bílka  <neleai@seznam.cz>
22238
22239         * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
22240         aix specific files.
22241         * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
22242         * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
22243         * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
22244         * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
22245         * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
22246         * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
22247         * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
22248         * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
22249
22250 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
22251             Roland McGrath  <roland@hack.frob.com>
22252
22253         * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
22254         * sysdeps/mach/hurd/bits/errno.h: Regenerate.
22255
22256 2013-08-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
22257
22258         * sysdeps/mach/hurd/i386/init-first.c (init1): Use
22259         __executable_start symbol instead of _start.
22260
22261 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
22262
22263         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
22264         (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
22265         Move macros to...
22266         * sysdeps/gnu/ldsodefs.h: ... this new file.
22267
22268         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
22269         (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
22270         instead of ELFOSABI_LINUX.
22271
22272         [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
22273         * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
22274         * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
22275         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
22276         Likewise.
22277         * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
22278         * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
22279         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
22280         Likewise.
22281         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
22282         (ibm_extended_long_double): Add ieee_nan member.
22283         * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
22284         (do_test): New function.
22285
22286         * math/basic-test.c (TEST_CONVERT): New macro, renamed from
22287         TEST_TRUNC.
22288         (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
22289         functions, renamed from truncdfsf_test, trunctfsf_test,
22290         trunctfdf_test.
22291         (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
22292         functions.
22293         (do_test): Run all these.
22294
22295 2013-08-29   Ondřej Bílka  <neleai@seznam.cz>
22296
22297         * argp/argp-help.c: Fix typos.
22298         * argp/argp-parse.c: Likewise.
22299         * debug/backtracesyms.c: Likewise.
22300         * elf/elf.h: Likewise.
22301         * malloc/malloc.c: Likewise.
22302         * nis/nis_print.c: Likewise.
22303         * resolv/res_comp.c: Likewise.
22304         * stdlib/stdlib.h: Likewise.
22305         * sunrpc/clnt_tcp.c: Likewise.
22306         * sunrpc/clnt_udp.c: Likewise.
22307         * sunrpc/clnt_unix.c: Likewise.
22308         * sysdeps/unix/bsd/ptsname.c: Likewise.
22309         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
22310         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
22311         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
22312         Likewise.
22313         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
22314         Likewise.
22315         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
22316         Likewise.
22317         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
22318
22319 2013-08-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
22320
22321         * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
22322         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
22323
22324 2013-08-27  Mike Frysinger  <vapier@gentoo.org>
22325
22326         [BZ #15897]
22327         * dlfcn/Makefile (tests): Add bug-dl-leaf.
22328         (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
22329         ($(objpfx)bug-dl-leaf): New rule.
22330         ($(objpfx)bug-dl-leaf.so): Likewise.
22331         ($(objpfx)bug-dl-leaf.out): Likewise.
22332         ($(objpfx)bug-dl-leaf-lib.so): Likewise.
22333         ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
22334         * dlfcn/bug-dl-leaf.c: New test.
22335         * dlfcn/bug-dl-leaf-lib.c: Likewise.
22336         * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
22337         * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
22338         (dlclose): Likewise.
22339         (dlmopen): Likewise.
22340
22341 2013-08-27  Roland McGrath  <roland@hack.frob.com>
22342
22343         * include/netdb.h [!_ISOMAC]:
22344         Don't include <tls.h>.
22345         (h_errno, __libc_h_errno): Move declaration and macros out of
22346         [_LIBC_REENTRANT].
22347
22348         * include/resolv.h [_RESOLV_H_]:
22349         Don't include <tls.h>.
22350         (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
22351         * resolv/res_libc.c: Don't include <tls.h>.
22352         (_res): Use __attribute__ ((nocommon)) in place of
22353         __attribute__ ((section (".bss"))).
22354
22355         * Makefile ($(common-objpfx)linkobj/libc_pic.a):
22356         If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
22357
22358         * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
22359
22360         * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
22361         only under [SIOCGIFCONF && SIOCGIFNETMASK].
22362
22363         * resolv/res_mkquery.c: Include <sys/time.h>.
22364
22365         * inet/ifreq.c: Moved to ...
22366         * sysdeps/unix/ifreq.c: ... here.
22367         * inet/ifreq.c: New file, true stub version.
22368
22369         * socket/sa_len.c: New file.
22370         * socket/Makefile (aux): Add it.
22371         * sysdeps/unix/sysv/linux/Makefile
22372         [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
22373         * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
22374         and #include <socket/sa_len.c>.
22375         * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
22376         HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
22377
22378         * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
22379         * bits/socket.h: ... here.
22380
22381         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
22382         Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
22383         (SOCK_MAX, SOCK_TYPE_MASK): New macros.
22384
22385 2013-08-27  Andreas Schwab  <schwab@suse.de>
22386
22387         [BZ #15736]
22388         * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
22389         * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
22390         (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
22391         * string/test-strcasecmp.c (test_main): Run tests in several
22392         locales.
22393         * string/test-strncasecmp.c (test_main): Likewise.
22394
22395         * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
22396         (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
22397         to __strcasecmp_nonascii and __strncasecmp_nonascii.
22398         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
22399         (__strncasecmp_ssse3) [PIC]: Likewise.
22400
22401 2013-08-26  Roland McGrath  <roland@hack.frob.com>
22402
22403         * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
22404
22405         * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
22406         instead of explicitly declaring xdecrypt.
22407         * nis/nss_nis/nis-publickey.c: Likewise.
22408
22409 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
22410
22411         [BZ #15890]
22412         * nscd/aicache.c: Include res_hconf.h.
22413         (addhstaiX): Initialize res_hconf.
22414
22415 2013-08-26  Andreas Schwab  <schwab@suse.de>
22416
22417         * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
22418         ($(objpfx)tst-tls-atexit): Add dependencies here instead.
22419
22420 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
22421
22422         * nscd/aicache.c (addhstaiX): Fix indentation.
22423
22424 2013-08-25  Mike Frysinger  <vapier@gentoo.org>
22425
22426         * configure.ac: Quote $build_pt_chown test.
22427         * configure: Regenerated.
22428
22429 2013-08-23  Joseph Myers  <joseph@codesourcery.com>
22430
22431         [BZ #15532]
22432         * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
22433         * math/s_cexpf.c (__cexpf): Likewise.
22434         * math/s_cexpl.c (__cexpl): Likewise.
22435         * math/libm-test.inc (cexp_test_data): Correct expected return
22436         value for NaN + i0.  Add another test.
22437
22438 2013-08-22  David S. Miller  <davem@davemloft.net>
22439
22440         * po/ca.po: Update Catalan translation from translation project.
22441         * po/uk.po: Add Ukrainian translations from translation project.
22442
22443 2013-08-21  Joseph Myers  <joseph@codesourcery.com>
22444
22445         [BZ #15797]
22446         * math/s_fdim.c (__fdim): Check for infinite arguments if result
22447         is infinite, not alongside NaN test.
22448         * math/s_fdimf.c (__fdimf): Likewise.
22449         * math/s_fdiml.c (__fdiml): Likewise.
22450         * math/libm-test.inc (fdim_test_data): Add more tests.  Test that
22451         errno is unchanged.
22452
22453 2013-08-21   Ondřej Bílka  <neleai@seznam.cz>
22454
22455         * argp/argp-help.c: Fix typos.
22456         * crypt/speeds.c: Likewise.
22457         * csu/check_fds.c: Likewise.
22458         * elf/dl-load.c: Likewise.
22459         * elf/dl-open.c: Likewise.
22460         * elf/reldep3.c: Likewise.
22461         * elf/reldep.c: Likewise.
22462         * elf/sprof.c: Likewise.
22463         * iconv/iconv_charmap.c: Likewise.
22464         * iconv/skeleton.c: Likewise.
22465         * iconv/strtab.c: Likewise.
22466         * io/lockf64.c: Likewise.
22467         * libio/libioP.h: Likewise.
22468         * resolv/gai_notify.c: Likewise.
22469         * resolv/ns_name.c: Likewise.
22470         * resolv/ns_samedomain.c: Likewise.
22471         * resolv/res_send.c: Likewise.
22472         * stdlib/random.c: Likewise.
22473         * sunrpc/rpc/xdr.h: Likewise.
22474         * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
22475         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
22476         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
22477         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
22478         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
22479         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
22480         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
22481         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
22482         * sysdeps/mach/hurd/check_fds.c: Likewise.
22483         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
22484         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
22485         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
22486         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
22487         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
22488         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
22489         * sysdeps/pthread/aio_notify.c: Likewise.
22490         * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
22491         * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
22492         * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
22493         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
22494         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
22495
22496 2013-08-21  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
22497
22498         * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
22499         version if bit_Slow_SSE4_2 is set.
22500         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
22501         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
22502
22503 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22504
22505         [BZ #15867]
22506         * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
22507         trampoline stack frame information.
22508         * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
22509         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
22510         (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
22511         (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
22512         (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
22513         * sysdeps/unix/sysv/linux/powerpc/init-first.c
22514         (_libc_vdso_platform_setup): Initialize the signal trampolines.
22515         * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
22516         sa_flags value.
22517         * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
22518         interrupting a syscall and set with option SA_SIGINFO.
22519
22520 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
22521
22522         [BZ #15531]
22523         * math/s_cproj.c (__cproj): Only return an infinity if one part of
22524         argument is infinite.
22525         * math/s_cprojf.c (__cprojf): Likewise.
22526         * math/s_cprojl.c (__cprojl): Likewise.
22527         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
22528         * math/libm-test.inc (cproj_test_data): Add more tests.
22529
22530         * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
22531
22532         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
22533         [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
22534         size.  Use __ffs to determine corresponding shift.
22535
22536 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
22537             Roland McGrath  <roland@hack.frob.com>
22538
22539         * Makefile (INSTALL): Remove trailing blank lines from output of
22540         makeinfo.
22541
22542 2013-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
22543
22544         * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
22545         Align 32 bit compat elf_greg to 8 bytes.
22546
22547 2013-08-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
22548
22549         * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
22550
22551 2013-08-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
22552
22553         * string/strcoll_l.c (coll_seq): New structure.
22554         (get_next_seq_cached): New function.
22555         (get_next_seq): New function.
22556         (do_compare): New function.
22557         (STRCOLL): Use GNU style definition.  Simplify implementation
22558         by using get_next_seq, get_next_seq_cached and do_compare.
22559
22560 2013-08-16  Florian Weimer  <fweimer@redhat.com>
22561
22562         [BZ #14699]
22563         CVE-2013-4237
22564         * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
22565         member.
22566         * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
22567         member.
22568         * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
22569         * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
22570         Return delayed error code.  Remove GETDENTS_64BIT_ALIGNED
22571         conditional.
22572         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
22573         GETDENTS_64BIT_ALIGNED.
22574         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
22575         * manual/filesys.texi (Reading/Closing Directory): Document
22576         ENAMETOOLONG return value of readdir_r.  Recommend readdir more
22577         strongly.
22578         * manual/conf.texi (Limits for Files): Add portability note to
22579         NAME_MAX, PATH_MAX.
22580         (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
22581
22582 2013-08-13  Andreas Schwab  <schwab@suse.de>
22583
22584         [BZ #15749]
22585         * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
22586         of fabs.
22587         * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
22588         LDBL_MAX_EXP >= 16384]: Add tests for it.
22589
22590 2013-08-12  David S. Miller  <davem@davemloft.net>
22591
22592         * version.h (RELEASE): Set to "development".
22593         (VERSION): Set to "2.18.90".
22594         * NEWS: Add 2.19 section.
22595
22596 2013-08-03  David S. Miller  <davem@davemloft.net>
22597
22598         * po/ko.po: Update Korean translation from translation project.
22599
22600 2013-08-01  David S. Miller  <davem@davemloft.net>
22601
22602         * manual/contrib.texi: Update entry for Siddhesh Poyarekar.  Add
22603         entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
22604         Bilka.
22605
22606 2013-07-30  David S. Miller  <davem@davemloft.net>
22607
22608         * po/fr.po: Update French translation from translation project.
22609
22610 2013-07-28  David S. Miller  <davem@davemloft.net>
22611
22612         * po/cs.po: Update Czech translation from translation project.
22613
22614         * po/sv.po: Update Swedish translation from translation project.
22615
22616 2013-07-27  David S. Miller  <davem@davemloft.net>
22617
22618         * po/eo.po: Update Esperanto translation from translation project.
22619
22620         * po/vi.po: Update Vietnamese translation from translation project.
22621
22622         * po/de.po: Update German translation from translation project.
22623
22624 2013-07-26  David S. Miller  <davem@davemloft.net>
22625
22626         * po/bg.po: Update Bulgarian translation from translation project.
22627
22628         * po/nl.po: Update Dutch translation from translation project.
22629         * po/pl.po: Update Polish translation from translation project.
22630         * po/ru.po: Update Russian translation from translation project.
22631
22632 2013-07-24  David S. Miller  <davem@davemloft.net>
22633
22634         * po/libc.pot: Update.
22635
22636 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22637
22638         * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
22639         variable page size.
22640         * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
22641         * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
22642         * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
22643
22644 2013-07-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
22645
22646         * sysdeps/s390/fpu/libm-test-ulps: Refresh.
22647
22648 2013-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
22649             Andreas Schwab  <schwab@suse.de>
22650             Roland McGrath  <roland@hack.frob.com>
22651             Joseph Myers  <joseph@codesourcery.com>
22652             Carlos O'Donell  <carlos@redhat.com>
22653
22654         [BZ #15755]
22655         * config.h.in: Define HAVE_PT_CHOWN.
22656         * config.make.in (build-pt-chown): New variable.
22657         * configure.in (--enable-pt_chown): New configure option.
22658         * configure: Regenerate.
22659         * login/Makefile: Include Makeconfig.  Build pt_chown only if
22660         build-pt-chown is enabled.
22661         * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
22662         pt_chown to fix pty ownership.
22663         * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
22664         CLOSE_ALL_FDS.
22665         * manual/install.texi (Configuring and compiling): Mention
22666         --enable-pt_chown. Add @findex for grantpt.
22667         * INSTALL: Regenerate.
22668
22669 2013-07-20  David S. Miller  <davem@davemloft.net>
22670
22671         * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
22672         difference between 32-bit and 64-bit.
22673
22674 2013-07-15  Carlos O'Donell  <carlos@redhat.com>
22675
22676         [BZ #15711]
22677         * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
22678         Avoid system header dependency with -ffreestanding.
22679         ($(objpfx)bits/syscall%d): Likewise.
22680
22681 2013-07-13  David S. Miller  <davem@davemloft.net>
22682
22683         * math/libm-test.inc (casin_test_data): Annotate more cases of missing
22684         underflows from atanl/atan2l due to bug 15319.
22685         (casinh_test_data): Likewise.
22686
22687 2013-07-07  David S. Miller  <davem@davemloft.net>
22688
22689         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
22690
22691 2013-07-05  Jeroen Albers  <_jeroen_@yahoo.com>
22692
22693         * sysdeps/i386/fpu/libm-test-ulps: Update.
22694         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22695
22696 2013-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
22697
22698         * configure.in (--enable-lock-elision): Fix message text.
22699         * INSTALL: Regenerate.
22700         * configure: Regenerate.
22701
22702 2013-07-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22703
22704         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22705
22706 2013-07-03  Andreas Jaeger  <aj@suse.de>
22707
22708         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
22709         define.
22710         (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
22711         (ptrace_peeksiginfo_args): Add.
22712         (__ptrace_peeksiginfo_flags): Add.
22713         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
22714         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
22715         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
22716
22717 2013-07-03  Allan McRae  <allan@archlinux.org>
22718
22719         * sysdeps/i386/fpu/libm-test-ulps: Update.
22720
22721 2013-07-02  David S. Miller  <davem@davemloft.net>
22722
22723         * sysdeps/sparc/fpu/libm-test-ulps: Update.
22724
22725 2013-07-02  Markus Trippelsdorf  <markus@trippelsdorf.de>
22726
22727         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
22728
22729 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
22730
22731         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
22732         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22733
22734 2013-07-02  Andi Kleen <ak@linux.intel.com>
22735
22736         * config.h.in (ENABLE_LOCK_ELISION): Add.
22737         * configure.in (--enable-lock-elision): Add option.
22738         * manual/install.texi: Document --enable lock elision.
22739         * configure: Regenerate
22740         * INSTALL: Regenerate.
22741
22742 2013-07-02  H.J. Lu  <hongjiu.lu@intel.com>
22743
22744         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
22745         SSE4.2 strcasecmp for libc.a.
22746         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
22747
22748 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
22749
22750         [BZ #13304]
22751         * soft-fp/op-common.h (_FP_FMA): New macro.
22752         * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
22753         (_FP_MUL_MEAT_DW_1_imm): Likewise.  Split out of ...
22754         (_FP_MUL_MEAT_1_imm): ... here.
22755         (_FP_MUL_MEAT_DW_1_wide): New macro.  Split out of ...
22756         (_FP_MUL_MEAT_1_wide): ... here.
22757         (_FP_MUL_MEAT_DW_1_hard): Likewise.  Split out of ...
22758         (_FP_MUL_MEAT_1_hard): ... here.
22759         * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
22760         (_FP_MUL_MEAT_DW_2_wide): Likewise.  Split out of ...
22761         (_FP_MUL_MEAT_2_wide): ... here.
22762         (_FP_MUL_MEAT_DW_2_wide_3mul): New macro.  Split out of ...
22763         (_FP_MUL_MEAT_2_wide_3mul): ... here.
22764         (_FP_MUL_MEAT_DW_2_gmp): New macro.  Split out of ...
22765         (_FP_MUL_MEAT_2_gmp): ... here.
22766         * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
22767         (_FP_MUL_MEAT_DW_4_wide): Likewise.  Split out of ...
22768         (_FP_MUL_MEAT_4_wide): ... here.
22769         (_FP_MUL_MEAT_DW_4_gmp): New macro.  Split out of ...
22770         (_FP_MUL_MEAT_4_gmp): ... here.
22771         * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
22772         (_FP_WFRACBITS_DW_S): Likewise.
22773         (_FP_WFRACXBITS_DW_S): Likewise.
22774         (_FP_HIGHBIT_DW_S): Likewise.
22775         (FP_FMA_S): Likewise.
22776         (_FP_FRAC_HIGH_DW_S): Likewise.
22777         * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
22778         (_FP_WFRACBITS_DW_D): Likewise.
22779         (_FP_WFRACXBITS_DW_D): Likewise.
22780         (_FP_HIGHBIT_DW_D): Likewise.
22781         (FP_FMA_D): Likewise.
22782         (_FP_FRAC_HIGH_DW_D): Likewise.
22783         * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
22784         (_FP_WFRACBITS_DW_E): Likewise.
22785         (_FP_WFRACXBITS_DW_E): Likewise.
22786         (_FP_HIGHBIT_DW_E): Likewise.
22787         (FP_FMA_E): Likewise.
22788         (_FP_FRAC_HIGH_DW_E): Likewise.
22789         * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
22790         (_FP_WFRACBITS_DW_Q): Likewise.
22791         (_FP_WFRACXBITS_DW_Q): Likewise.
22792         (_FP_HIGHBIT_DW_Q): Likewise.
22793         (FP_FMA_Q): Likewise.
22794         (_FP_FRAC_HIGH_DW_Q): Likewise.
22795         * soft-fp/fmasf4.c: New file.
22796         * soft-fp/fmadf4.c: Likewise.
22797         * soft-fp/fmatf4.c: Likewise.
22798
22799 2013-06-28  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
22800
22801         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
22802         bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
22803         Silvermont.
22804         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
22805         macro.
22806         (index_Slow_SSE4_2): Likewise.
22807         (index_Prefer_PMINUB_for_stringop): Likewise.
22808         * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
22809         bit_Slow_SSE4_2 is set.
22810         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
22811         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
22812
22813 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
22814
22815         * sysdeps/powerpc/Makefile: Add comment about generating an offset to
22816         rtld_global._dl_hwcap2.
22817         * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
22818         POWER8.
22819         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
22820         POWER8 feature descriptions defined in _dl_hwcap2.
22821         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
22822         string handling for POWER8 feature bits.
22823         (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
22824         (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
22825         _dl_powerpc_cap_flags.
22826         (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
22827         * sysdeps/powerpc/rtld-global-offsets.sym
22828         (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
22829         _dl_hwcap2 in the rtld_global_ro structure.
22830
22831 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
22832
22833         * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
22834         hardware capabilities in support of AT_HWCAP2.
22835         (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
22836         * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
22837         GLRO(dl_hwcap2).
22838         (_dl_show_auxv): Add support for calling _dl_procinfo to display
22839         AT_HWCAP2.  If a platform doesn't chose to handle displaying AT_HWCAP2
22840         explicitly the unknown a_type display mechanism is used.
22841         * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
22842         * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
22843         struct member.
22844         * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
22845         to macro prototype for AT_HWCAP2 support.
22846         * sysdeps/i386/dl-procinfo.h: Likewise.
22847         * sysdeps/s390/dl-procinfo.h: Likewise.
22848         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
22849         macro prototype for AT_HWCAP2 support.  Make WORD unsigned long int
22850         rather than signed int.  Stub in handler for TYPE == AT_HWCAP2 to
22851         return -1 for unknown a_type display fallback.
22852         * sysdeps/sparc/dl-procinfo.h: Likewise.
22853         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
22854         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
22855
22856 2013-06-28  Joseph Myers  <joseph@codesourcery.com>
22857
22858         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
22859         instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
22860
22861 2013-06-28  Pierre Ynard  <linkfanel@yahoo.fr>
22862
22863         [BZ #12492]
22864         * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
22865         mprotect making __stack_prot writable.
22866
22867 2013-06-28  Nathan Froyd  <froydnj@codesourcery.com>
22868             Joseph Myers  <joseph@codesourcery.com>
22869
22870         * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
22871         as being properly aligned.
22872
22873 2013-06-28  Maciej W. Rozycki  <macro@codesourcery.com>
22874
22875         * dlfcn/modstatic5.c: New file.
22876         * dlfcn/tststatic5.c: New file.
22877         * dlfcn/Makefile (tests): Add tststatic5.
22878         (tests-static): Likewise.
22879         (modules-names): Add modstatic5.
22880         (tststatic5-ENV): New variable.
22881         ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
22882
22883         [BZ #15022]
22884         * elf/dl-support.c (_dl_main_map): New variable.
22885         (_dl_ns): Use it to initialize [LM_ID_BASE] element.
22886         (_dl_nns, _dl_load_adds): Set to 1.
22887         (_dl_initial_searchlist): Refer to _dl_main_map.
22888         (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
22889         * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
22890         call to _dl_get_origin.
22891         * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
22892         around call_map.
22893         (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
22894         * dlfcn/modstatic3.c: New file.
22895         * dlfcn/tststatic3.c: New file.
22896         * dlfcn/tststatic4.c: New file.
22897         * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
22898         (tests-static): Likewise.
22899         (modules-names): Add modstatic3.
22900         (tststatic3-ENV, tststatic4-ENV): New variables.
22901         ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
22902         ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
22903
22904 2013-06-26  Joseph Myers  <joseph@codesourcery.com>
22905
22906         * configure.in (CC): Require GCC version 4.4 or later.
22907         * configure: Regenerated.
22908         * manual/install.texi (Tools for Compilation): Update GCC version
22909         requirement.
22910         * INSTALL: Regenerated.
22911
22912 2013-06-26  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
22913
22914         [BZ #15674]
22915         * string/test-memcmp.c (check2): New.
22916         (main): Call check2.
22917
22918         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
22919
22920 2013-06-26  Maciej W. Rozycki  <macro@codesourcery.com>
22921
22922         [BZ #15022]
22923         * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
22924         over to...
22925         (dl_open_worker) [!SHARED]: ... here.
22926
22927 2013-06-26  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
22928
22929         * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
22930
22931 2013-06-25  Richard Henderson  <rth@redhat.com>
22932
22933         * locale/programs/locarchive.c: Include <libc-internal.h>
22934
22935 2013-06-25  Joseph Myers  <joseph@codesourcery.com>
22936
22937         * manual/texinfo.tex: Update to version 2013-06-21.17, with
22938         trailing whitespace removed.
22939
22940 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
22941
22942         [BZ #10283]
22943         * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
22944         * locale/programs/locarchive.c: Include libc-mmap.h.
22945         (prepare_address_space): Take two new outputs (the mmap base and len).
22946         Align p to MAP_FIXED_ALIGNMENT.  Set mmap base and len to the right
22947         values.
22948         (create_archive): Declare new mmap base and len values for
22949         prepare_address_space, and store the result in ah.
22950         (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
22951         (enlarge_archive): If ah->mmap_base is not NULL, use that and
22952         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
22953         Declare new mmap base and len values for
22954         prepare_address_space, and store the result in new_ah.
22955         (open_archive): Declare new mmap base and len values for
22956         prepare_address_space, and store the result in ah.
22957         (close_archive): If ah->mmap_base is not NULL, use that and
22958         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
22959         * sysdeps/generic/libc-mmap.h: New file.
22960
22961 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
22962
22963         * include/libc-internal.h (ALIGN_DOWN): New helper macro.
22964         (ALIGN_UP): Likewise.
22965         (PTR_ALIGN_DOWN): Likewise.
22966         (PTR_ALIGN_UP): Likewise.
22967
22968 2013-06-24  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
22969
22970         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
22971         entry mapped to PPC_PLATFORM_POWER8.
22972         * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
22973         POWER8.
22974         (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
22975         (_dl_string_platform): Add case for exporting platform position for
22976         POWER8.
22977         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
22978         search path to sysdeps/powerpc/powerpc32/power8 directory.
22979         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
22980         search path to sysdeps/powerpc/powerpc64/power8 directory.
22981         * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
22982         power7 directories.
22983         * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
22984         power7 directories.
22985
22986 2013-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
22987
22988         * INSTALL: Regenerate.
22989
22990         * nscd/connections.c (nscd_init): Fix comment.
22991
22992 2013-06-22  Joseph Myers  <joseph@codesourcery.com>
22993
22994         * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
22995
22996         [BZ #15667]
22997         * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
22998         to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
22999
23000 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
23001
23002         * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
23003         DL_DST_REQ_STATIC.
23004         (DL_DST_REQ_STATIC): Remove macro.
23005
23006 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
23007
23008         [BZ #7006]
23009         * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
23010         with a shift of 0 bits.
23011
23012 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
23013
23014         * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
23015         $(tststatic-ENV).
23016
23017 2013-06-21  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
23018
23019         [BZ #15655]
23020         * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
23021
23022 2013-06-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23023
23024         * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
23025         * configure.in (libc_cv_cc_loop_to_function): Check if compiler
23026         accepts -fno-tree-loop-distribute-patterns.
23027         * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
23028         * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
23029         recursive call.
23030         * string/memset.c (memset): Likewise.
23031         * string/test-memmove.c (simple_memmove): Disable loop transformation
23032         to library calls.
23033         * string/test-memset.c (simple_memset): Likewise.
23034         * benchtests/bench-memmove.c (simple_memmove): Likewise.
23035         * benchtests/bench-memset.c (simple_memset): Likewise.
23036         * configure: Regenerated.
23037
23038 2013-06-20  Joseph Myers  <joseph@codesourcery.com>
23039
23040         * math/test-misc.c (main): Ignore fesetround failure when failures
23041         of subsequent rounding tests would be ignored.
23042
23043         [BZ #15654]
23044         * math/fedisblxcpt.c (fedisableexcept): Return 0.
23045         * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
23046         * math/fegetenv.c (__fegetenv): Return 0.
23047         * math/fegetexcept.c (fegetexcept): Return 0.
23048         * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
23049         FE_TONEAREST.
23050         * math/feholdexcpt.c (feholdexcept): Return 0.
23051         * math/fesetenv.c (__fesetenv): Return 0.
23052         * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
23053         argument FE_TONEAREST.
23054         * math/feupdateenv.c (__feupdateenv): Return 0.
23055         * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
23056
23057 2013-06-18  Roland McGrath  <roland@hack.frob.com>
23058
23059         * elf/rtld-Rules (rtld-compile-command.S): New variable.
23060         (rtld-compile-command.s, rtld-compile-command.c): New variables.
23061         ($(objpfx)rtld-%.os rules): Use them.
23062
23063 2013-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23064
23065         * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
23066         fields.
23067
23068 2013-06-17  Roland McGrath  <roland@hack.frob.com>
23069
23070         * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
23071         length of target pattern, then descending length of dependency pattern.
23072         * configure.in (AWK): Require gawk 3.1.2 or newer.
23073         * manual/install.texi (Tools for Compilation): Say that we do.
23074         * configure: Regenerated.
23075
23076         * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
23077         ($(common-objpfx)sysd-rules): Replace shell logic with running ...
23078         * scripts/sysd-rules.awk: ... this new script.
23079         * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
23080         than a glob-style pattern.
23081
23082 2013-06-17  Joseph Myers  <joseph@codesourcery.com>
23083
23084         * math/test-misc.c (main): Do not treat incorrectly rounded
23085         conversions as failure unless ROUNDING_TESTS passes.
23086
23087 2013-06-15  Joseph Myers  <joseph@codesourcery.com>
23088
23089         [BZ #15631]
23090         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
23091         restore exception state around main square root computation, then
23092         check for inexactness explicitly.
23093
23094         * math/libm-test.inc (fma_test_data): Add another test.
23095
23096 2013-06-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
23097
23098         * manual/threads.texi (Non-POSIX Extensions): New document
23099         node.  Document pthread_getattr_default_np and
23100         pthread_setattr_default_np.
23101
23102         * Versions.def (libpthread): Add GLIBC_2.18.
23103         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
23104         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
23105         Likewise.
23106         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
23107         Likewise.
23108         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
23109         Likewise.
23110         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
23111         Likewise.
23112         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
23113         Likewise.
23114         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
23115         Likewise.
23116         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
23117         Likewise.
23118         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
23119         Likewise.
23120         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
23121         Likewise.
23122
23123 2013-06-14  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
23124
23125         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
23126         Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
23127
23128 2013-06-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
23129             H.J. Lu  <hjl.tools@gmail.com>
23130
23131         [BZ #15627]
23132         * sysdeps/x86_64/rtld-memset.c: Remove file.
23133         * sysdeps/x86_64/rtld-memset.S: New file.
23134
23135 2013-06-14  Joseph Myers  <joseph@codesourcery.com>
23136
23137         * stdlib/tst-strtod-round.c: Include <math-tests.h>.
23138         (test_in_one_mode): Take arguments for whether the rounding mode
23139         is supported for each floating-point type.
23140         (do_test): Pass new arguments to test_in_one_mode using
23141         ROUNDING_TESTS.
23142
23143 2013-06-13  Roland McGrath  <roland@hack.frob.com>
23144
23145         * posix/tst-waitid.c (do_test): Distinguish different instances of
23146         stopped/continued in CHECK_SIGCHLD uses.  Insert a delay between
23147         sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
23148         before entering the kernel for waitpid.
23149
23150 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
23151
23152         * NEWS: Fix note on clock function precision.  Text by Roland
23153         McGrath.
23154
23155 2013-06-13  Roland McGrath  <roland@hack.frob.com>
23156
23157         * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
23158         it into place only when and if the sanity check passes.
23159
23160 2013-06-13  Joseph Myers  <joseph@codesourcery.com>
23161
23162         * stdlib/gen-tst-strtod-round.c (round_str): Always generate
23163         output for whether conversion result is exact.  Take argument
23164         indicating whether type is IBM long double.
23165         (round_for_all): Change need_exact field to ibm_ld.
23166         * stdlib/tst-strtod-round.c (struct exactness): New type.
23167         (struct test): Change bool ld_ok field to struct exactness exact.
23168         (TEST): Update all definitions for change to field.
23169         (tests): Regenerate array contents.
23170         (test_in_one_mode): Take pointer to new field instead of old ld_ok
23171         field value.  Check for IBM long double here.
23172         (do_test): Update calls to test_in_one_mode.
23173
23174 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
23175
23176         [BZ #12515]
23177         * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
23178         CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
23179
23180 2013-06-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23181
23182         [BZ #15605]
23183         * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
23184         generated by the compiler on loop optimizations.
23185         * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
23186         general definitions.
23187
23188 2013-06-12  Joseph Myers  <joseph@codesourcery.com>
23189
23190         * math/bug-nextafter.c: Include <math-tests.h>.
23191         (main): Only test for exceptions if EXCEPTION_TESTS is true for
23192         the relevant type.
23193         * math/bug-nexttoward.c: Include <math-tests.h>.
23194         (main): Only test for exceptions if EXCEPTION_TESTS is true for
23195         the relevant type.
23196         * math/test-misc.c: Include <math-tests.h>.
23197         (main): Only test for exceptions if EXCEPTION_TESTS is true for
23198         the relevant type.
23199
23200 2013-06-12  Andreas Jaeger  <aj@suse.de>
23201
23202         * po/ia.po: Update Interlingua translation from translation
23203         project.
23204
23205 2013-06-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
23206
23207         * include/fenv.h: Include stdbool.h.
23208         (struct rm_ctx): New structure.
23209         * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
23210         Define macro.
23211         (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
23212         (SET_RESTORE_ROUNDF): Likewise.
23213         (SET_RESTORE_ROUNDL): Likewise.
23214         (SET_RESTORE_ROUND_NOEX): Likewise.
23215         (SET_RESTORE_ROUND_NOEXF): Likewise.
23216         (SET_RESTORE_ROUND_NOEXL): Likewise.
23217         (SET_RESTORE_ROUND_53BIT): Likewise.
23218         [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
23219         (libc_feresetround_noexf_ctx): Likewise.
23220         (libc_feresetround_noexl_ctx): Likewise.
23221         (libc_feholdsetround_53bit_ctx): Likewise.
23222         (libc_feresetround_53bit_ctx): Likewise.
23223         * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
23224         (libc_feholdexcept_setround_sse_ctx): New function.
23225         (libc_fesetenv_sse_ctx): Likewise.
23226         (libc_feupdateenv_sse_ctx): Likewise.
23227         (libc_feholdexcept_setround_387_prec_ctx): Likewise.
23228         (libc_feholdexcept_setround_387_ctx): Likewise.
23229         (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
23230         (libc_feholdsetround_387_prec_ctx): Likewise.
23231         (libc_feholdsetround_387_ctx): Likewise.
23232         (libc_feholdsetround_387_53bit_ctx): Likewise.
23233         (libc_feholdsetround_sse_ctx): Likewise.
23234         (libc_feresetround_sse_ctx): Likewise.
23235         (libc_feresetround_387_ctx): Likewise.
23236         (libc_feupdateenv_387_ctx): Likewise.
23237         (libc_feholdexcept_setroundf_ctx): Define macro.
23238         (libc_fesetenvf_ctx): Likewise.
23239         (libc_feupdateenvf_ctx): Likewise.
23240         (libc_feholdsetroundf_ctx): Likewise.
23241         (libc_feresetroundf_ctx): Likewise.
23242         (libc_feholdexcept_setround_ctx): Likewise.
23243         (libc_fesetenv_ctx): Likewise.
23244         (libc_feupdateenv_ctx): Likewise.
23245         (libc_feholdsetround_ctx): Likewise.
23246         (libc_feresetround_ctx): Likewise.
23247         (libc_feholdexcept_setroundl_ctx): Likewise.
23248         (libc_feupdateenvl_ctx): Likewise.
23249         (libc_feholdsetroundl_ctx): Likewise.
23250         (libc_feresetroundl_ctx): Likewise.
23251         [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
23252         (libc_feresetround_53bit_ctx): Likewise.
23253
23254 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
23255
23256         * locale/iso-639.def: Convert to UTF-8.
23257
23258 2013-06-11  Joseph Myers  <joseph@codesourcery.com>
23259
23260         * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
23261         (EXCEPTION_TESTS_double): Likewise.
23262         (EXCEPTION_TESTS_long_double): Likewise.
23263         (EXCEPTION_TESTS): Likewise.
23264         * math/libm-test.inc (test_exceptions): Only test exceptions if
23265         EXCEPTION_TESTS (FLOAT).
23266
23267 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
23268
23269         * benchtests/Makefile (string-bench): Add strcpy_chk and
23270         stpcpy_chk.
23271         * benchtests/bench-stpcpy_chk-ifunc.c: New file.
23272         * benchtests/bench-stpcpy_chk.c: New file.
23273         * benchtests/bench-strcpy_chk-ifunc.c: New file.
23274         * benchtests/bench-strcpy_chk.c: New file.
23275         * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
23276         code.
23277         (do_test): Likewise.
23278
23279 2013-06-11  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
23280
23281         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
23282         ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
23283         * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
23284         with tabs where appropriate.
23285         [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
23286         dl-procinfo.h.
23287         [PPC_PLATFORM_PPC440]: Likewise.
23288         [PPC_PLATFORM_PPC464]: Likewise.
23289         [PPC_PLATFORM_PPC476]: Likewise.
23290         (_dl_string_platform): Add support for detecting ppc405, ppc440,
23291         ppc464, and ppc476 platform strings merging from ports/
23292         dl-procinfo.h.
23293
23294 2013-06-11  Andreas Schwab  <schwab@suse.de>
23295
23296         [BZ #14991]
23297         * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
23298         (from_ucs4_idx): Regenerate.
23299         (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
23300         (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
23301         (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
23302         (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
23303         (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
23304         (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
23305         (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
23306         (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
23307         from FROM_LOOP and TO_LOOP specific macros.
23308         (BODY): Handle combining characters.
23309         * iconvdata/BIG5HKSCS.irreversible: Update.
23310         * iconvdata/BIG5HKSCS.precomposed: New file.
23311         * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
23312         characters.
23313         * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
23314
23315 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
23316
23317         * include/sys/time.h: Fix indentation and add copyright header.
23318
23319         * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
23320         (do_test): Likewise.
23321         * string/test-memchr.c (do_one_test): Likewise.
23322         (do_test): Likewise.
23323         * string/test-memcmp.c (do_one_test): Likewise.
23324         (do_test): Likewise.
23325         * string/test-memcpy.c (do_one_test): Likewise.
23326         (do_test): Likewise.
23327         * string/test-memmem.c (do_one_test): Likewise.
23328         (do_test): Likewise.
23329         (do_random_tests): Likewise.
23330         * string/test-memmove.c (do_one_test): Likewise.
23331         (do_test): Likewise.
23332         * string/test-memset.c (do_one_test): Likewise.
23333         (do_test): Likewise.
23334         * string/test-rawmemchr.c (do_one_test): Likewise.
23335         (do_test): Likewise.
23336         * string/test-strcasecmp.c (do_one_test): Likewise.
23337         (do_test): Likewise.
23338         * string/test-strcasestr.c (do_one_test): Likewise.
23339         (do_test): Likewise.
23340         * string/test-strcat.c (do_one_test): Likewise.
23341         (do_test): Likewise.
23342         * string/test-strchr.c (do_one_test): Likewise.
23343         (do_test): Likewise.
23344         * string/test-strcmp.c (do_one_test): Likewise.
23345         (do_test): Likewise.
23346         * string/test-strcpy.c (do_one_test): Likewise.
23347         (do_test): Likewise.
23348         * string/test-string.h: Likewise.
23349         (test_init): Likewise.
23350         * string/test-strlen.c (do_one_test): Likewise.
23351         (do_test): Likewise.
23352         * string/test-strncasecmp.c (do_one_test): Likewise.
23353         (do_test): Likewise.
23354         * string/test-strncat.c (do_one_test): Likewise.
23355         (do_test): Likewise.
23356         * string/test-strncmp.c (do_one_test): Likewise.
23357         (do_test_limit): Likewise.
23358         (do_test): Likewise.
23359         * string/test-strncpy.c (do_one_test): Likewise.
23360         (do_test): Likewise.
23361         * string/test-strnlen.c (do_one_test): Likewise.
23362         (do_test): Likewise.
23363         * string/test-strpbrk.c (do_one_test): Likewise.
23364         (do_test): Likewise.
23365         * string/test-strrchr.c (do_one_test): Likewise.
23366         (do_test): Likewise.
23367         * string/test-strspn.c (do_one_test): Likewise.
23368         (do_test): Likewise.
23369         * string/test-strstr.c (do_one_test): Likewise.
23370         (do_test): Likewise.
23371
23372         * benchtests/Makefile (string-bench): Add string benchmarks.
23373         * benchtests/bench-bcopy-ifunc.c: New file.
23374         * benchtests/bench-bcopy.c: New file.
23375         * benchtests/bench-bzero-ifunc.c: New file.
23376         * benchtests/bench-bzero.c: New file.
23377         * benchtests/bench-memccpy-ifunc.c: New file.
23378         * benchtests/bench-memccpy.c: New file.
23379         * benchtests/bench-memchr-ifunc.c: New file.
23380         * benchtests/bench-memchr.c: New file.
23381         * benchtests/bench-memcmp-ifunc.c: New file.
23382         * benchtests/bench-memcmp.c: New file.
23383         * benchtests/bench-memmem-ifunc.c: New file.
23384         * benchtests/bench-memmem.c: New file.
23385         * benchtests/bench-memmove-ifunc.c: New file.
23386         * benchtests/bench-memmove.c: New file.
23387         * benchtests/bench-mempcpy-ifunc.c: New file.
23388         * benchtests/bench-mempcpy.c: New file.
23389         * benchtests/bench-memset-ifunc.c: New file.
23390         * benchtests/bench-memset.c: New file.
23391         * benchtests/bench-rawmemchr-ifunc.c: New file.
23392         * benchtests/bench-rawmemchr.c: New file.
23393         * benchtests/bench-stpcpy-ifunc.c: New file.
23394         * benchtests/bench-stpcpy.c: New file.
23395         * benchtests/bench-stpncpy-ifunc.c: New file.
23396         * benchtests/bench-stpncpy.c: New file.
23397         * benchtests/bench-strcasecmp-ifunc.c: New file.
23398         * benchtests/bench-strcasecmp.c: New file.
23399         * benchtests/bench-strcasestr-ifunc.c: New file.
23400         * benchtests/bench-strcasestr.c: New file.
23401         * benchtests/bench-strcat-ifunc.c: New file.
23402         * benchtests/bench-strcat.c: New file.
23403         * benchtests/bench-strchr-ifunc.c: New file.
23404         * benchtests/bench-strchr.c: New file.
23405         * benchtests/bench-strchrnul-ifunc.c: New file.
23406         * benchtests/bench-strchrnul.c: New file.
23407         * benchtests/bench-strcmp-ifunc.c: New file.
23408         * benchtests/bench-strcmp.c: New file.
23409         * benchtests/bench-strcpy-ifunc.c: New file.
23410         * benchtests/bench-strcpy.c: New file.
23411         * benchtests/bench-strcspn-ifunc.c: New file.
23412         * benchtests/bench-strcspn.c: New file.
23413         * benchtests/bench-strlen-ifunc.c: New file.
23414         * benchtests/bench-strlen.c: New file.
23415         * benchtests/bench-strncasecmp-ifunc.c: New file.
23416         * benchtests/bench-strncasecmp.c: New file.
23417         * benchtests/bench-strncat-ifunc.c: New file.
23418         * benchtests/bench-strncat.c: New file.
23419         * benchtests/bench-strncmp-ifunc.c: New file.
23420         * benchtests/bench-strncmp.c: New file.
23421         * benchtests/bench-strncpy-ifunc.c: New file.
23422         * benchtests/bench-strncpy.c: New file.
23423         * benchtests/bench-strnlen-ifunc.c: New file.
23424         * benchtests/bench-strnlen.c: New file.
23425         * benchtests/bench-strpbrk-ifunc.c: New file.
23426         * benchtests/bench-strpbrk.c: New file.
23427         * benchtests/bench-strrchr-ifunc.c: New file.
23428         * benchtests/bench-strrchr.c: New file.
23429         * benchtests/bench-strspn-ifunc.c: New file.
23430         * benchtests/bench-strspn.c: New file.
23431         * benchtests/bench-strstr-ifunc.c: New file.
23432         * benchtests/bench-strstr.c: New file.
23433
23434         * benchtests/Makefile: Disable parallel execution of targets.
23435         (string-bench): Add memcpy.
23436         (benchset): New variable to store a list of benchmark sets.
23437         (bench-func): Renamed from bench.
23438         (bench-set): New target.
23439         (bench): Depend on bench-func and bench-set.
23440         * benchtests/README: Add section on benchmark sets.
23441         * benchtests/bench-memcpy-ifunc.c: New file.
23442         * benchtests/bench-memcpy.c: New file.
23443         * benchtests/bench-string.h: New file.
23444
23445 2013-06-11  Andreas Schwab  <schwab@suse.de>
23446
23447         [BZ #15577]
23448         * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
23449         * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
23450         values in the triple.
23451         * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
23452         terminator in the group key.
23453
23454 2013-06-11  Andreas Jaeger  <aj@suse.de>
23455
23456         * po/zh_TW.po: Update Chinese (traditional) translation from
23457         translation project.
23458
23459 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
23460
23461         * include/time.h (__clock_gettime): Add libc_hidden_proto.
23462         * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
23463         __clock_getcpuclockid.  Add weak_alias and libc_hidden_def.
23464         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
23465         (clock_getcpuclockid): Likewise.
23466         * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
23467         Add weak_alias and libc_hidden_def.
23468         * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
23469         * rt/clock_gettime.c (clock_gettime): Rename to
23470         __clock_gettime.  Add weak_alias and libc_hidden_def.
23471         * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
23472         * rt/clock_nanosleep.c (clock_nanosleep): Rename to
23473         __clock_nanosleep.  Add weak_alias and libc_hidden_def.
23474         * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
23475         * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
23476         Likewise.
23477         * rt/clock_settime.c (clock_settime): Rename to
23478         __clock_settime.  Add weak_alias and libc_hidden_def.
23479         * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
23480
23481 2013-06-10  Joseph Myers  <joseph@codesourcery.com>
23482
23483         * mach/err_boot.sub: Remove trailing whitespace.
23484         * mach/err_ipc.sub: Likewise.
23485         * mach/err_mach.sub: Likewise.
23486
23487         * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
23488         (ROUNDING_TESTS_double): Likewise.
23489         (ROUNDING_TESTS_long_double): Likewise.
23490         (ROUNDING_TESTS): Likewise.
23491         * math/libm-test.inc: Include <math-tests.h>.
23492         (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
23493         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
23494         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
23495         (IF_ROUND_INIT_FE_UPWARD): Likewise.
23496
23497 2013-06-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
23498
23499         * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
23500         of assigning.
23501
23502 2013-06-08  Joseph Myers  <joseph@codesourcery.com>
23503
23504         * sysdeps/gnu/errlist.awk: Do not generate space at end of
23505         otherwise empty TRANS lines.
23506         * sysdeps/gnu/errlist.c: Regenerated.
23507
23508         * catgets/gencat.c (error_print): Use (void) in function
23509         definition.
23510         * crypt/crypt_util.c (__init_des): Likewise.
23511         * crypt/speeds.c (Stop): Likewise.
23512         (main): Likewise.
23513         * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
23514         * inet/ruserpass.c (token): Likewise.
23515         * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
23516         * intl/localealias.c (extend_alias_table): Likewise.
23517         * intl/plural-exp.c (init_germanic_plural): Likewise.
23518         * libio/fcloseall.c (__fcloseall): Likewise.
23519         * libio/genops.c (_IO_flush_all): Likewise.
23520         (_IO_flush_all_linebuffered): Likewise.
23521         (_IO_cleanup): Likewise.
23522         (_IO_iter_begin): Likewise.
23523         (_IO_iter_end): Likewise.
23524         (_IO_list_lock): Likewise.
23525         (_IO_list_unlock): Likewise.
23526         (_IO_list_resetlock): Likewise.
23527         * libio/getchar.c (getchar): Likewise.
23528         * libio/getchar_u.c (getchar_unlocked): Likewise.
23529         * libio/getwchar.c (getwchar): Likewise.
23530         * libio/getwchar_u.c (getwchar_unlocked): Likewise.
23531         * libio/oldstdfiles.c (_IO_check_libio): Likewise.
23532         * login/getpt.c (__getpt): Likewise.
23533         * login/tst-utmp.c (main): Likewise.
23534         * malloc/hooks.c (__malloc_check_init): Likewise.
23535         * malloc/malloc.c (__malloc_stats): Likewise.
23536         * malloc/mtrace.c (tr_break): Likewise.
23537         (mtrace): Likewise.
23538         (muntrace): Likewise.
23539         * misc/fstab.c (endfsent): Likewise.
23540         * misc/getclktck.c (__getclktck): Likewise.
23541         * misc/getdtsz.c (__getdtablesize): Likewise.
23542         * misc/gethostid.c (gethostid): Likewise.
23543         * misc/getpagesize.c (__getpagesize): Likewise.
23544         * misc/getsysstats.c (__get_nprocs_conf): Likewise.
23545         (__get_nprocs): Likewise.
23546         (__get_phys_pages): Likewise.
23547         (__get_avphys_pages): Likewise.
23548         * misc/getttyent.c (getttyent): Likewise.
23549         (setttyent): Likewise.
23550         (endttyent): Likewise.
23551         * misc/getusershell.c (getusershell): Likewise.
23552         (endusershell): Likewise.
23553         (setusershell): Likewise.
23554         (initshells): Likewise.
23555         * misc/hsearch.c (__hdestroy): Likewise.
23556         * misc/sync.c (sync): Likewise.
23557         * misc/syslog.c (closelog_internal): Likewise.
23558         (closelog): Likewise.
23559         * misc/ttyslot.c (ttyslot): Likewise.
23560         * misc/vhangup.c (vhangup): Likewise.
23561         * posix/fork.c (__fork): Likewise.
23562         * posix/getegid.c (__getegid): Likewise.
23563         * posix/geteuid.c (__geteuid): Likewise.
23564         * posix/getgid.c (__getgid): Likewise.
23565         * posix/getpid.c (__getpid): Likewise.
23566         * posix/getppid.c (__getppid): Likewise.
23567         * posix/getuid.c (__getuid): Likewise.
23568         * posix/pause.c (pause): Likewise.
23569         * posix/setpgrp.c (setpgrp): Likewise.
23570         * posix/setsid.c (__setsid): Likewise.
23571         * posix/test-vfork.c (noop): Likewise.
23572         * resolv/gethnamaddr.c (_endhtent): Likewise.
23573         (_gethtent): Likewise.
23574         (ht_endhostent): Likewise.
23575         (gethostent): Likewise.
23576         (dns_service): Likewise.
23577         * stdlib/drand48.c (drand48): Likewise.
23578         * stdlib/lrand48.c (lrand48): Likewise.
23579         * stdlib/mrand48.c (mrand48): Likewise.
23580         * stdlib/rand.c (rand): Likewise.
23581         * stdlib/random.c (__random): Likewise.
23582         * stdlib/setenv.c (clearenv): Likewise.
23583         * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
23584         * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
23585         * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
23586         * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
23587         (__get_nprocs): Likewise.
23588         (__get_phys_pages): Likewise.
23589         (__get_avphys_pages): Likewise.
23590         * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
23591         * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
23592         * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
23593         * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
23594         * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
23595         * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
23596         * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
23597         * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
23598         * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
23599         * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
23600         * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
23601         * sysdeps/mach/hurd/sync.c (sync): Likewise.
23602         * sysdeps/posix/clock.c (clock): Likewise.
23603         * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
23604         * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
23605         * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
23606         * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
23607         * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
23608         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
23609         (__get_nprocs_conf): Likewise.
23610         (__get_phys_pages): Likewise.
23611         (__get_avphys_pages): Likewise.
23612         * time/clock.c (clock): Likewise.
23613         * time/tzset.c (__tzname_max): Likewise.
23614
23615 2013-06-07  Joseph Myers  <joseph@codesourcery.com>
23616
23617         * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
23618         (__bswap_32): Do not use "register".
23619         * crypt/crypt.c (_ufc_doit_r): Likewise.
23620         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
23621         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
23622         * gmon/gmon.c (__monstartup): Likewise.
23623         * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
23624         * hurd/hurdmalloc.c (more_memory): Likewise.
23625         (malloc): Likewise.
23626         (free): Likewise.
23627         (realloc): Likewise.
23628         (malloc_fork_prepare): Likewise.
23629         (malloc_fork_parent): Likewise.
23630         (malloc_fork_child): Likewise.
23631         * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
23632         (_svcauth_des): Likewise.
23633         * inet/inet_lnaof.c (inet_lnaof): Likewise.
23634         * inet/inet_net.c (inet_network): Likewise.
23635         * inet/inet_netof.c (inet_netof): Likewise.
23636         * inet/rcmd.c (__validuser2_sa): Likewise.
23637         * io/fts.c (fts_open): Likewise.
23638         (fts_load): Likewise.
23639         (fts_close): Likewise.
23640         (fts_read): Likewise.
23641         (fts_children): Likewise.
23642         (fts_build): Likewise.
23643         (fts_stat): Likewise.
23644         (fts_sort): Likewise.
23645         (fts_alloc): Likewise.
23646         (fts_lfree): Likewise.
23647         * libio/fileops.c (_IO_new_file_xsputn): Likewise.
23648         (_IO_file_xsgetn): Likewise.
23649         (_IO_file_xsgetn_mmap): Likewise.
23650         * libio/iofopncook.c (_IO_cookie_read): Likewise.
23651         (_IO_cookie_write): Likewise.
23652         * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
23653         * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
23654         * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
23655         * malloc/obstack.c (_obstack_begin): Likewise.
23656         (_obstack_begin_1): Likewise.
23657         (_obstack_newchunk): Likewise.
23658         (_obstack_allocated_p): Likewise.
23659         (obstack_free): Likewise.
23660         (_obstack_memory_used): Likewise.
23661         * misc/getttyent.c (getttynam): Likewise.
23662         (getttyent): Likewise.
23663         (skip): Likewise.
23664         (value): Likewise.
23665         * misc/getusershell.c (initshells): Likewise.
23666         * misc/syslog.c (__vsyslog_chk): Likewise.
23667         * misc/ttyslot.c (ttyslot): Likewise.
23668         * nis/nis_hash.c (__nis_hash): Likewise.
23669         * posix/fnmatch_loop.c (FCT): Likewise.
23670         * posix/getconf.c (print_all): Likewise.
23671         (main): Likewise.
23672         * posix/getopt.c (exchange): Likewise.
23673         * posix/glob.c (globfree): Likewise.
23674         (prefix_array): Likewise.
23675         (__glob_pattern_type): Likewise.
23676         * resolv/arpa/nameser.h (NS_GET16): Likewise.
23677         (NS_GET32): Likewise.
23678         (NS_PUT16): Likewise.
23679         (NS_PUT32): Likewise.
23680         * resolv/gethnamaddr.c (getanswer): Likewise.
23681         (gethostbyname2): Likewise.
23682         (gethostbyaddr): Likewise.
23683         (_gethtent): Likewise.
23684         (_gethtbyname2): Likewise.
23685         (_gethtbyaddr): Likewise.
23686         * resolv/ns_print.c (dst_s_get_int16): Likewise.
23687         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
23688         * resolv/res_init.c (__res_vinit): Likewise.
23689         (net_mask): Likewise.
23690         * resolv/res_mkquery.c (outchar): Likewise.
23691         (PRINT): Likewise.
23692         * stdio-common/printf_fp.c (outchar): Likewise.
23693         (PRINT): Likewise.
23694         * stdio-common/printf_fphex.c (outchar): Likewise.
23695         (PRINT): Likewise.
23696         * stdio-common/printf_size.c (outchar): Likewise.
23697         (PRINT): Likewise.
23698         * stdio-common/test_rdwr.c (main): Likewise.
23699         * stdio-common/tfformat.c (matches): Likewise.
23700         * stdio-common/vfprintf.c (outchar): Likewise.
23701         (printf_unknown): Likewise.
23702         (buffered_vfprintf): Likewise.
23703         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
23704         * stdio-common/xbug.c (AppendToBuffer): Likewise.
23705         (ReadFile): Likewise.
23706         * stdlib/qsort.c (SWAP): Likewise.
23707         (_quicksort): Likewise.
23708         * stdlib/setenv.c (__add_to_environ): Likewise.
23709         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
23710         * stdlib/strtol_l.c (__strtol_l): Likewise.
23711         * stdlib/tst-strtod.c (main): Likewise.
23712         * stdlib/tst-strtol.c (main): Likewise.
23713         * stdlib/tst-strtoll.c (main): Likewise.
23714         * string/bits/string2.h (__strcmp_cc): Likewise.
23715         (__strcmp_cg): Likewise.
23716         (__strcspn_c1): Likewise.
23717         (__strcspn_c2): Likewise.
23718         (__strcspn_c3): Likewise.
23719         (__strspn_c1): Likewise.
23720         (__strspn_c2): Likewise.
23721         (__strspn_c3): Likewise.
23722         (__strsep_1c): Likewise.
23723         (__strsep_2c): Likewise.
23724         (__strsep_3c): Likewise.
23725         * string/memccpy.c (__memccpy): Likewise.
23726         * string/stpcpy.c (__stpcpy): Likewise.
23727         * string/strcmp.c (strcmp): Likewise.
23728         * string/strrchr.c (strrchr): Likewise.
23729         * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
23730         Likewise.
23731         * sysdeps/mach/hurd/getcwd.c
23732         (_hurd_canonicalize_directory_name_internal): Likewise.
23733         * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
23734         * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
23735         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
23736         * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
23737         Likewise, in both definitions.
23738         * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
23739         definitions.
23740         [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
23741         64] (__bswap_64): Likewise.
23742         * time/test_time.c (main): Likewise.
23743         * time/tzfile.c (__tzfile_read): Likewise.
23744         (__tzfile_compute): Likewise.
23745         * time/tzset.c (__tzset_parse_tz): Likewise.
23746         (tzset_internal): Likewise.
23747         (compute_change): Likewise.
23748         * wcsmbs/wcscat.c (__wcscat): Likewise.
23749         * wcsmbs/wcschr.c (wcschr): Likewise.
23750         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
23751         * wcsmbs/wcscspn.c (wcscspn): Likewise.
23752         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
23753         * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
23754         * wcsmbs/wcsspn.c (wcsspn): Likewise.
23755         * wcsmbs/wcsstr.c (wcsstr): Likewise.
23756         * wcsmbs/wmemchr.c (wmemchr): Likewise.
23757         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
23758         * wcsmbs/wmemset.c (wmemset): Likewise.
23759
23760 2013-06-06  Joseph Myers  <joseph@codesourcery.com>
23761
23762         * scripts/config.guess: Update to version 2013-05-16.
23763         * scripts/config.sub: Update to version 2013-04-24.
23764         * scripts/install-sh: Update to version 2011-11-20.07.
23765         * scripts/mkinstalldirs: Update to version 2009-04-28.21.
23766         * scripts/move-if-change: Update to version 2012-01-06 07:23.
23767
23768 2013-06-06   Ondřej Bílka  <neleai@seznam.cz>
23769
23770         * debug/fgetws_u_chk.c: Fix leading whitespaces.
23771         * elf/sln.c: Likewise.
23772         * hurd/hurd/ioctl.h: Likewise.
23773         * hurd/hurdmalloc.c: Likewise.
23774         * hurd/xattr.c: Likewise.
23775         * include/shlib-compat.h: Likewise.
23776         * inet/ruserpass.c: Likewise.
23777         * libio/iofgets_u.c: Likewise.
23778         * libio/iofgetws_u.c: Likewise.
23779         * locale/programs/ld-identification.c: Likewise.
23780         * locale/programs/ld-time.c: Likewise.
23781         * mach/msg-destroy.c: Likewise.
23782         * nss/nss_files/files-netgrp.c: Likewise.
23783         * resolv/res_data.c: Likewise.
23784         * soft-fp/op-1.h: Likewise.
23785         * soft-fp/op-2.h: Likewise.
23786         * soft-fp/op-4.h: Likewise.
23787         * soft-fp/op-common.h: Likewise.
23788         * stdio-common/printf_fphex.c: Likewise.
23789         * stdlib/strtod_l.c: Likewise.
23790         * sunrpc/rpc/clnt.h: Likewise.
23791         * sysdeps/generic/framestate.c: Likewise.
23792         * sysdeps/i386/bsd-_setjmp.S: Likewise.
23793         * sysdeps/i386/bsd-setjmp.S: Likewise.
23794         * sysdeps/i386/__longjmp.S: Likewise.
23795         * sysdeps/i386/setjmp.S: Likewise.
23796         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
23797         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
23798         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
23799         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
23800         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
23801         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
23802         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
23803         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
23804         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
23805         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
23806         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
23807         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
23808         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
23809         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
23810         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
23811         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
23812         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
23813         * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
23814         * sysdeps/ieee754/support.c: Likewise.
23815         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
23816         * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
23817         * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
23818         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
23819         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
23820         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
23821         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
23822         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
23823         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
23824         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
23825         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
23826         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
23827         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
23828         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
23829         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
23830         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
23831         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
23832         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
23833
23834 2013-06-05  Ondřej Bílka  <neleai@seznam.cz>
23835
23836         * posix/transbug.c: Remove executable mode.
23837
23838 2013-06-05  Joseph Myers  <joseph@codesourcery.com>
23839
23840         * crypt/speeds.c: Remove trailing whitespace.
23841         * dlfcn/default.c: Likewise.
23842         * elf/ifuncdep2.c: Likewise.
23843         * elf/ifuncmain1.c: Likewise.
23844         * elf/ifuncmain1vis.c: Likewise.
23845         * elf/testobj.h: Likewise.
23846         * elf/tst-stackguard1.c: Likewise.
23847         * gmon/sys/gmon.h: Likewise.
23848         * hurd/hurdmsg.c: Likewise.
23849         * hurd/new-fd.c: Likewise.
23850         * hurd/ports-get.c: Likewise.
23851         * iconvdata/ibm1008_420.c: Likewise.
23852         * inet/tst-getni1.c: Likewise.
23853         * inet/tst-getni2.c: Likewise.
23854         * libio/ioungetc.c: Likewise.
23855         * libio/wfiledoalloc.c: Likewise.
23856         * manual/libm-err-tab.pl: Likewise.
23857         * math/w_dremf.c: Likewise.
23858         * misc/ftruncate.c: Likewise.
23859         * posix/bug-glob2.c: Likewise.
23860         * posix/tst-pcre.c: Likewise.
23861         * posix/wait4.c: Likewise.
23862         * resolv/README: Likewise.
23863         * resolv/res_debug.h: Likewise.
23864         * resolv/tst-inet_ntop.c: Likewise.
23865         * setjmp/bug269-setjmp.c: Likewise.
23866         * soft-fp/extended.h: Likewise.
23867         * soft-fp/op-1.h: Likewise.
23868         * soft-fp/op-2.h: Likewise.
23869         * soft-fp/op-4.h: Likewise.
23870         * soft-fp/op-8.h: Likewise.
23871         * soft-fp/testit.c: Likewise.
23872         * stdio-common/bug16.c: Likewise.
23873         * stdlib/random.c: Likewise.
23874         * sunrpc/rpcsvc/rquota.x: Likewise.
23875         * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
23876         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
23877         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
23878         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
23879         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
23880         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
23881         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
23882         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
23883         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
23884         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
23885         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
23886         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
23887         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
23888         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
23889         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
23890         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
23891         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
23892         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
23893         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
23894         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
23895         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
23896         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
23897         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
23898         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
23899         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
23900         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
23901         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
23902         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
23903         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
23904         * sysdeps/ieee754/s_lib_version.c: Likewise.
23905         * sysdeps/mach/hurd/check_fds.c: Likewise.
23906         * sysdeps/mach/hurd/getsockname.c: Likewise.
23907         * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
23908         * sysdeps/mach/hurd/recvfrom.c: Likewise.
23909         * sysdeps/powerpc/bits/link.h: Likewise.
23910         * sysdeps/powerpc/dl-procinfo.c: Likewise.
23911         * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
23912         * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
23913         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
23914         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
23915         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
23916         * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
23917         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
23918         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
23919         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
23920         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
23921         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
23922         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
23923         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
23924         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
23925         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
23926         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
23927         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
23928         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
23929         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
23930         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
23931         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
23932         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
23933         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
23934         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
23935         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
23936         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
23937         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
23938         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
23939         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
23940         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
23941         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
23942         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
23943         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
23944         * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
23945         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
23946         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
23947         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
23948         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
23949         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
23950         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
23951         * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
23952         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
23953         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
23954         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
23955         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
23956         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
23957         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
23958         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
23959         * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
23960         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
23961         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
23962         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
23963         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
23964         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
23965         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
23966         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
23967         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
23968         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
23969         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
23970         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
23971         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
23972         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
23973         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
23974         * sysdeps/powerpc/sysdep.h: Likewise.
23975         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
23976         * sysdeps/s390/s390-64/sub_n.S: Likewise.
23977         * sysdeps/sh/dl-trampoline.S: Likewise.
23978         * sysdeps/sh/memset.S: Likewise.
23979         * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
23980         * sysdeps/sh/strlen.S: Likewise.
23981         * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
23982         * sysdeps/sparc/sparc32/dotmul.S: Likewise.
23983         * sysdeps/sparc/sparc32/memcpy.S: Likewise.
23984         * sysdeps/sparc/sparc32/rem.S: Likewise.
23985         * sysdeps/sparc/sparc32/sdiv.S: Likewise.
23986         * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
23987         * sysdeps/sparc/sparc32/strchr.S: Likewise.
23988         * sysdeps/sparc/sparc32/udiv.S: Likewise.
23989         * sysdeps/sparc/sparc32/urem.S: Likewise.
23990         * sysdeps/sparc/sparc64/add_n.S: Likewise.
23991         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
23992         * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
23993         * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
23994         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
23995         * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
23996         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
23997         * sysdeps/sparc/sparc64/strncpy.S: Likewise.
23998         * sysdeps/unix/bsd/times.c: Likewise.
23999         * sysdeps/unix/sysv/linux/a.out.h: Likewise.
24000         * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
24001         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
24002         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
24003         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
24004         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
24005         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
24006         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
24007         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
24008         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
24009         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
24010         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
24011         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
24012         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
24013         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
24014         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
24015         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
24016         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
24017         * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
24018         * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
24019         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
24020         * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
24021         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
24022         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
24023         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
24024         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
24025         * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
24026         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
24027         * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
24028         * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
24029         * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
24030         * sysdeps/x86_64/strcspn.S: Likewise.
24031
24032 2013-06-05  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
24033
24034         * locale/C-translit.h: Revert #include <stdint.h> because this is a
24035         generated file.  Regenerate properly from gen-translit.pl.
24036         * locale/gen-translit.pl: Add #include <stdint.h>.  This generates
24037         locale/C-translit.h.
24038
24039 2013-06-05  Andreas Schwab  <schwab@suse.de>
24040
24041         [BZ #15100]
24042         * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
24043         week as 6 instead of -1.
24044         * time/tst-strptime.c (day_tests): Add test case.
24045
24046 2013-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
24047
24048         * sysdeps/generic/math_private.h
24049         (libc_feholdexcept_setround_53bit): Replace with
24050         libc_feholdsetround_53bit.
24051         (libc_feupdateenv_53bit): Replace with
24052         libc_feresetround_53bit.
24053         (SET_RESTORE_ROUND_53BIT): Adjust.
24054
24055 2013-06-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
24056
24057         * string/test-strchrnul.c: Add copyright header.
24058
24059         * posix/tst-getaddrinfo4.c: Increase test timeout.
24060
24061 2013-06-03  Carlos O'Donell  <carlos@redhat.com>
24062
24063         [BZ #15536]
24064         * math/libm-test.inc (MAX_EXP): Remove
24065         (MIN_EXP): Define.
24066         (ulp): Use MIN_EXP - MANT_DIG.
24067         (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
24068
24069 2013-05-31  Carlos O'Donell  <carlos@redhat.com>
24070
24071         * po/be.po: Revert last change.
24072         * po/zh_CN.po: Likewise.
24073         * po/header.pot: Likewise.
24074
24075 2013-05-31  Joseph Myers  <joseph@codesourcery.com>
24076
24077         * Makefile ($(common-objpfx)linkobj/libc.so): Define
24078         link-libc-deps to empty as target-specific variable.
24079         * Makerules (link-libc-args): New variable.
24080         (libc-for-link): Likewise.
24081         (link-libc-deps): Likewise.
24082         (lib%.so): Depend on $(link-libc-deps).  Link with
24083         $(link-libc-args).
24084         (build-module): Link with $(link-libc-args).
24085         (build-module-asneeded): Likewise.
24086         (build-module-helper-objlist): Filter out $(link-libc-deps) from
24087         list of objects.
24088         ($(common-objpfx)libc.so): Define link-libc-deps to empty as
24089         target-specific variable.
24090         ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
24091         $(link-libc-deps) instead of libc.so and libc_nonshared.a.
24092         * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
24093         libc.
24094         * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
24095         libc and ld.so.
24096         ($(objpfx)libpcprofile.so): Likewise.
24097         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
24098         libc_nonshared.a.
24099         ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
24100         * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
24101         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
24102         $(link-libc-deps).
24103         ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
24104         * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
24105         * login/Makefile ($(objpfx)libutil.so): Likewise.
24106         * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
24107         * math/Makefile ($(objpfx)libm.so): Likewise.
24108         * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
24109         $(objpfx)libnsl.so): Define libc-for-link as target-specific
24110         variable instead of depending directly on libc.
24111         * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
24112         ($(objpfx)/libnss_test1.so): Change dependencies on libc to
24113         $(link-libc-deps).
24114         * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
24115         libc.
24116         [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
24117         ($(objpfx)libnss_dns.so): Remove dependencies on libc.
24118         ($(objpfx)libanl.so): Likewise.
24119         * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
24120         ld.so.
24121         * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
24122         $(link-libc-deps).
24123         * sysdeps/i386/fpu/Makefile: Remove file.
24124         * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
24125         ($(objpfx)libm.so): Remove dependency on ld.so.
24126
24127 2013-05-30  Patsy Franklin  <pfrankli@redhat.com>
24128
24129         [BZ # 15553]
24130         * nis/yp_xdr.c (XDRMAXNAME): Define.
24131         (XDRMAXRECORD): Define.
24132         (xdr_domainname): Use XDRMAXNAME.
24133         (xdr_mapname): Likewise.
24134         (xdr_peername): Likewise.
24135         (xdr_keydat): Use XDRMAXRECORD.
24136         (xdr_valdat): Likewise.
24137
24138 2013-05-30  Jeff Law  <law@redhat.com>
24139
24140         [BZ #14256]
24141         * manual/errno.texi (ESTALE): Update to account for more than
24142         just NFS file systems.
24143         * sysdeps/gnu/errlist.c: Regenerated.
24144
24145 2013-05-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
24146
24147         [BZ #15465]
24148         * elf/Makefile (tests): Add tst-null-argv.
24149         (modules-names):  Add tst-null-argv-lib.
24150         ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
24151         (tst-null-argv-ENV): Set environment for tst-null-argv.
24152         * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
24153         (RTLD_PROGNAME): New macro.
24154         * elf/tst-null-argv.c: New test case.
24155         * elf/tst-null-argv-lib.c: Library for test case.
24156         * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
24157         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
24158         * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
24159         * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
24160         * elf/dl-init.c (call_init): Likewise.
24161         (_dl_init): Likewise.
24162         * elf/dl-load.c (print_search_path): Likewise.
24163         (_dl_map_object): Likewise.
24164         * elf/dl-lookup.c (do_lookup_x): Likewise.
24165         (add_dependency): Likewise.
24166         (_dl_lookup_symbol_x): Likewise.
24167         (_dl_debug_bindings): Likewise.
24168         * elf/dl-open.c (_dl_show_scope): Likewise.
24169         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
24170         * elf/dl-version.c (match_symbol): Likewise.
24171         (_dl_check_map_versions): Likewise.
24172         * elf/rtld.c (dl_main): Likewise.
24173         (print_unresolved): Use RTLD_PROGNAME.
24174         (print_missing_version): Likewise.
24175         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
24176         (elf_machine_rela): Likewise.
24177         * sysdeps/powerpc/powerpc32/dl-machine.c
24178         (__process_machine_rela): Likewise.
24179         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
24180         Likewise.
24181         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
24182         Likewise.
24183         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
24184         Likewise.
24185         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
24186         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
24187         Likewise.
24188         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
24189         Likewise.
24190         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
24191
24192 2013-05-28  Carlos O'Donell  <carlos@redhat.com>
24193
24194         * po/be.po: Add descriptive title.
24195         * po/zh_CN.po: Likewise.
24196         * po/header.pot: Likewise.
24197
24198 2013-05-28  Mike Frysinger  <vapier@gentoo.org>
24199
24200         * locale/programs/locarchive.c (create_archive): Inlucde fname in
24201         error message.
24202         (enlarge_archive): Likewise.
24203
24204 2013-05-28  Ben North  <ben@redfrontdoor.org>
24205
24206         * manual/arith.texi (frexp): It is the magnitude of the return
24207         value which lies in [0.5, 1), not the return value itself.
24208
24209 2013-05-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24210
24211         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24212
24213 2013-05-26  Thomas Schwinge  <thomas@codesourcery.com>
24214
24215         * stdio-common/bug26.c (main): Correct fscanf template.
24216
24217         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
24218         declare _dl_skip_args.
24219
24220         * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
24221         Don't declare.
24222
24223         * manual/platform.texi: Add missing @end deftypefun.
24224
24225 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
24226
24227         [BZ #15529]
24228         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
24229         bit of mantissa of 2^16382.
24230         * math/libm-test.inc (hypot_test_data): Add more tests.
24231
24232         * math/libm-test.inc: Add drem and pow10 to list of tested
24233         functions.
24234         (pow10_test): New function.
24235         (drem_test): Likewise.
24236         (drem_test_tonearest): Likewise.
24237         (drem_test_towardzero): Likewise.
24238         (drem_test_downward): Likewise.
24239         (drem_test_upward): Likewise.
24240         (main): Call the new functions.
24241
24242         * math/libm-test.inc (finite_test_data): Remove.
24243         (finite_test): Run tests from isfinite_test_data.
24244         (gamma_test_data): Remove.
24245         (gamma_test): Run tests from lgamma_test_data.
24246         * sysdeps/i386/fpu/libm-test-ulps: Update.
24247         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24248
24249 2013-05-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24250
24251         * manual/platform.texi: Add PowerPC PPR function set documentation.
24252         * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
24253         implementation.
24254
24255 2013-05-24  Carlos O'Donell  <carlos@redhat.com>
24256
24257         * math/libm-test.inc (MAX_EXP): Define.
24258         (ULPDIFF): Define.
24259         (ulp): New function.
24260         (check_float_internal): Use ULPDIFF.
24261         (cpow_test): Disable failing test.
24262         (check_ulp): Test ulp() implemetnation.
24263         (main): Call check_ulp before starting tests.
24264
24265 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
24266
24267         * math/gen-libm-test.pl (generate_testfile): Do not handle
24268         START_DATA and END_DATA.
24269         * math/libm-test.inc (acos_test_data): Do not use START_DATA and
24270         END_DATA.
24271         (acos_tonearest_test_data): Likewise.
24272         (acos_towardzero_test_data): Likewise.
24273         (acos_downward_test_data): Likewise.
24274         (acos_upward_test_data): Likewise.
24275         (acosh_test_data): Likewise.
24276         (asin_test_data): Likewise.
24277         (asin_tonearest_test_data): Likewise.
24278         (asin_towardzero_test_data): Likewise.
24279         (asin_downward_test_data): Likewise.
24280         (asin_upward_test_data): Likewise.
24281         (asinh_test_data): Likewise.
24282         (atan_test_data): Likewise.
24283         (atanh_test_data): Likewise.
24284         (atan2_test_data): Likewise.
24285         (cabs_test_data): Likewise.
24286         (cacos_test_data): Likewise.
24287         (cacosh_test_data): Likewise.
24288         (carg_test_data): Likewise.
24289         (casin_test_data): Likewise.
24290         (casinh_test_data): Likewise.
24291         (catan_test_data): Likewise.
24292         (catanh_test_data): Likewise.
24293         (cbrt_test_data): Likewise.
24294         (ccos_test_data): Likewise.
24295         (ccosh_test_data): Likewise.
24296         (ceil_test_data): Likewise.
24297         (cexp_test_data): Likewise.
24298         (cimag_test_data): Likewise.
24299         (clog_test_data): Likewise.
24300         (clog10_test_data): Likewise.
24301         (conj_test_data): Likewise.
24302         (copysign_test_data): Likewise.
24303         (cos_test_data): Likewise.
24304         (cos_tonearest_test_data): Likewise.
24305         (cos_towardzero_test_data): Likewise.
24306         (cos_downward_test_data): Likewise.
24307         (cos_upward_test_data): Likewise.
24308         (cosh_test_data): Likewise.
24309         (cosh_tonearest_test_data): Likewise.
24310         (cosh_towardzero_test_data): Likewise.
24311         (cosh_downward_test_data): Likewise.
24312         (cosh_upward_test_data): Likewise.
24313         (cpow_test_data): Likewise.
24314         (cproj_test_data): Likewise.
24315         (creal_test_data): Likewise.
24316         (csin_test_data): Likewise.
24317         (csinh_test_data): Likewise.
24318         (csqrt_test_data): Likewise.
24319         (ctan_test_data): Likewise.
24320         (ctan_tonearest_test_data): Likewise.
24321         (ctan_towardzero_test_data): Likewise.
24322         (ctan_downward_test_data): Likewise.
24323         (ctan_upward_test_data): Likewise.
24324         (ctanh_test_data): Likewise.
24325         (ctanh_tonearest_test_data): Likewise.
24326         (ctanh_towardzero_test_data): Likewise.
24327         (ctanh_downward_test_data): Likewise.
24328         (ctanh_upward_test_data): Likewise.
24329         (erf_test_data): Likewise.
24330         (erfc_test_data): Likewise.
24331         (exp_test_data): Likewise.
24332         (exp_tonearest_test_data): Likewise.
24333         (exp_towardzero_test_data): Likewise.
24334         (exp_downward_test_data): Likewise.
24335         (exp_upward_test_data): Likewise.
24336         (exp10_test_data): Likewise.
24337         (exp2_test_data): Likewise.
24338         (expm1_test_data): Likewise.
24339         (fabs_test_data): Likewise.
24340         (fdim_test_data): Likewise.
24341         (finite_test_data): Likewise.
24342         (floor_test_data): Likewise.
24343         (fma_test_data): Likewise.
24344         (fma_towardzero_test_data): Likewise.
24345         (fma_downward_test_data): Likewise.
24346         (fma_upward_test_data): Likewise.
24347         (fmax_test_data): Likewise.
24348         (fmin_test_data): Likewise.
24349         (fmod_test_data): Likewise.
24350         (fpclassify_test_data): Likewise.
24351         (frexp_test_data): Likewise.
24352         (gamma_test_data): Likewise.
24353         (hypot_test_data): Likewise.
24354         (ilogb_test_data): Likewise.
24355         (isfinite_test_data): Likewise.
24356         (isgreater_test_data): Likewise.
24357         (isgreaterequal_test_data): Likewise.
24358         (isinf_test_data): Likewise.
24359         (isless_test_data): Likewise.
24360         (islessequal_test_data): Likewise.
24361         (islessgreater_test_data): Likewise.
24362         (isnan_test_data): Likewise.
24363         (isnormal_test_data): Likewise.
24364         (issignaling_test_data): Likewise.
24365         (isunordered_test_data): Likewise.
24366         (j0_test_data): Likewise.
24367         (j1_test_data): Likewise.
24368         (jn_test_data): Likewise.
24369         (ldexp_test_data): Likewise.
24370         (lgamma_test_data): Likewise.
24371         (lrint_test_data): Likewise.
24372         (lrint_tonearest_test_data): Likewise.
24373         (lrint_towardzero_test_data): Likewise.
24374         (lrint_downward_test_data): Likewise.
24375         (lrint_upward_test_data): Likewise.
24376         (llrint_test_data): Likewise.
24377         (llrint_tonearest_test_data): Likewise.
24378         (llrint_towardzero_test_data): Likewise.
24379         (llrint_downward_test_data): Likewise.
24380         (llrint_upward_test_data): Likewise.
24381         (log_test_data): Likewise.
24382         (log10_test_data): Likewise.
24383         (log1p_test_data): Likewise.
24384         (log2_test_data): Likewise.
24385         (logb_test_data): Likewise.
24386         (logb_downward_test_data): Likewise.
24387         (lround_test_data): Likewise.
24388         (llround_test_data): Likewise.
24389         (modf_test_data): Likewise.
24390         (nearbyint_test_data): Likewise.
24391         (nextafter_test_data): Likewise.
24392         (nexttoward_test_data): Likewise.
24393         (pow_test_data): Likewise.
24394         (pow_tonearest_test_data): Likewise.
24395         (pow_towardzero_test_data): Likewise.
24396         (pow_downward_test_data): Likewise.
24397         (pow_upward_test_data): Likewise.
24398         (remainder_test_data): Likewise.
24399         (remainder_tonearest_test_data): Likewise.
24400         (remainder_towardzero_test_data): Likewise.
24401         (remainder_downward_test_data): Likewise.
24402         (remainder_upward_test_data): Likewise.
24403         (remquo_test_data): Likewise.
24404         (rint_test_data): Likewise.
24405         (rint_tonearest_test_data): Likewise.
24406         (rint_towardzero_test_data): Likewise.
24407         (rint_downward_test_data): Likewise.
24408         (rint_upward_test_data): Likewise.
24409         (round_test_data): Likewise.
24410         (scalb_test_data): Likewise.
24411         (scalbn_test_data): Likewise.
24412         (scalbln_test_data): Likewise.
24413         (signbit_test_data): Likewise.
24414         (sin_test_data): Likewise.
24415         (sin_tonearest_test_data): Likewise.
24416         (sin_towardzero_test_data): Likewise.
24417         (sin_downward_test_data): Likewise.
24418         (sin_upward_test_data): Likewise.
24419         (sincos_test_data): Likewise.
24420         (sinh_test_data): Likewise.
24421         (sinh_tonearest_test_data): Likewise.
24422         (sinh_towardzero_test_data): Likewise.
24423         (sinh_downward_test_data): Likewise.
24424         (sinh_upward_test_data): Likewise.
24425         (sqrt_test_data): Likewise.
24426         (tan_test_data): Likewise.
24427         (tan_tonearest_test_data): Likewise.
24428         (tan_towardzero_test_data): Likewise.
24429         (tan_downward_test_data): Likewise.
24430         (tan_upward_test_data): Likewise.
24431         (tanh_test_data): Likewise.
24432         (tgamma_test_data): Likewise.
24433         (trunc_test_data): Likewise.
24434         (y0_test_data): Likewise.
24435         (y1_test_data): Likewise.
24436         (yn_test_data): Likewise.
24437         (significand_test_data): Likewise.
24438
24439         * math/gen-libm-test.pl (@functions): Remove variable.
24440         (generate_testfile): Don't handle START and END lines.
24441         * math/libm-test.inc (START): New macro.
24442         (END): Likewise.
24443         (END_COMPLEX): Likewise.
24444         (acos_test): Use END macro without arguments.
24445         (acos_test_tonearest): Likewise.
24446         (acos_test_towardzero): Likewise.
24447         (acos_test_downward): Likewise.
24448         (acos_test_upward): Likewise.
24449         (acosh_test): Likewise.
24450         (asin_test): Likewise.
24451         (asin_test_tonearest): Likewise.
24452         (asin_test_towardzero): Likewise.
24453         (asin_test_downward): Likewise.
24454         (asin_test_upward): Likewise.
24455         (asinh_test): Likewise.
24456         (atan_test): Likewise.
24457         (atanh_test): Likewise.
24458         (atan2_test): Likewise.
24459         (cabs_test): Likewise.
24460         (cacos_test): Use END_COMPLEX macro without arguments.
24461         (cacosh_test): Likewise.
24462         (carg_test): Use END macro without arguments.
24463         (casin_test): Use END_COMPLEX macro without arguments.
24464         (casinh_test): Likewise.
24465         (catan_test): Likewise.
24466         (catanh_test): Likewise.
24467         (cbrt_test): Use END macro without arguments.
24468         (ccos_test): Use END_COMPLEX macro without arguments.
24469         (ccosh_test): Likewise.
24470         (ceil_test): Use END macro without arguments.
24471         (cexp_test): Use END_COMPLEX macro without arguments.
24472         (cimag_test): Use END macro without arguments.
24473         (clog_test): Use END_COMPLEX macro without arguments.
24474         (clog10_test): Likewise.
24475         (conj_test): Likewise.
24476         (copysign_test): Use END macro without arguments.
24477         (cos_test): Likewise.
24478         (cos_test_tonearest): Likewise.
24479         (cos_test_towardzero): Likewise.
24480         (cos_test_downward): Likewise.
24481         (cos_test_upward): Likewise.
24482         (cosh_test): Likewise.
24483         (cosh_test_tonearest): Likewise.
24484         (cosh_test_towardzero): Likewise.
24485         (cosh_test_downward): Likewise.
24486         (cosh_test_upward): Likewise.
24487         (cpow_test): Use END_COMPLEX macro without arguments.
24488         (cproj_test): Likewise.
24489         (creal_test): Use END macro without arguments.
24490         (csin_test): Use END_COMPLEX macro without arguments.
24491         (csinh_test): Likewise.
24492         (csqrt_test): Likewise.
24493         (ctan_test): Likewise.
24494         (ctan_test_tonearest): Likewise.
24495         (ctan_test_towardzero): Likewise.
24496         (ctan_test_downward): Likewise.
24497         (ctan_test_upward): Likewise.
24498         (ctanh_test): Likewise.
24499         (ctanh_test_tonearest): Likewise.
24500         (ctanh_test_towardzero): Likewise.
24501         (ctanh_test_downward): Likewise.
24502         (ctanh_test_upward): Likewise.
24503         (erf_test): Use END macro without arguments.
24504         (erfc_test): Likewise.
24505         (exp_test): Likewise.
24506         (exp_test_tonearest): Likewise.
24507         (exp_test_towardzero): Likewise.
24508         (exp_test_downward): Likewise.
24509         (exp_test_upward): Likewise.
24510         (exp10_test): Likewise.
24511         (exp2_test): Likewise.
24512         (expm1_test): Likewise.
24513         (fabs_test): Likewise.
24514         (fdim_test): Likewise.
24515         (finite_test): Likewise.
24516         (floor_test): Likewise.
24517         (fma_test): Likewise.
24518         (fma_test_towardzero): Likewise.
24519         (fma_test_downward): Likewise.
24520         (fma_test_upward): Likewise.
24521         (fmax_test): Likewise.
24522         (fmin_test): Likewise.
24523         (fmod_test): Likewise.
24524         (fpclassify_test): Likewise.
24525         (frexp_test): Likewise.
24526         (gamma_test): Likewise.
24527         (hypot_test): Likewise.
24528         (ilogb_test): Likewise.
24529         (isfinite_test): Likewise.
24530         (isgreater_test): Likewise.
24531         (isgreaterequal_test): Likewise.
24532         (isinf_test): Likewise.
24533         (isless_test): Likewise.
24534         (islessequal_test): Likewise.
24535         (islessgreater_test): Likewise.
24536         (isnan_test): Likewise.
24537         (isnormal_test): Likewise.
24538         (issignaling_test): Likewise.
24539         (isunordered_test): Likewise.
24540         (j0_test): Likewise.
24541         (j1_test): Likewise.
24542         (jn_test): Likewise.
24543         (ldexp_test): Likewise.
24544         (lgamma_test): Likewise.
24545         (lrint_test): Likewise.
24546         (lrint_test_tonearest): Likewise.
24547         (lrint_test_towardzero): Likewise.
24548         (lrint_test_downward): Likewise.
24549         (lrint_test_upward): Likewise.
24550         (llrint_test): Likewise.
24551         (llrint_test_tonearest): Likewise.
24552         (llrint_test_towardzero): Likewise.
24553         (llrint_test_downward): Likewise.
24554         (llrint_test_upward): Likewise.
24555         (log_test): Likewise.
24556         (log10_test): Likewise.
24557         (log1p_test): Likewise.
24558         (log2_test): Likewise.
24559         (logb_test): Likewise.
24560         (logb_test_downward): Likewise.
24561         (lround_test): Likewise.
24562         (llround_test): Likewise.
24563         (modf_test): Likewise.
24564         (nearbyint_test): Likewise.
24565         (nextafter_test): Likewise.
24566         (nexttoward_test): Likewise.
24567         (pow_test): Likewise.
24568         (pow_test_tonearest): Likewise.
24569         (pow_test_towardzero): Likewise.
24570         (pow_test_downward): Likewise.
24571         (pow_test_upward): Likewise.
24572         (remainder_test): Likewise.
24573         (remainder_test_tonearest): Likewise.
24574         (remainder_test_towardzero): Likewise.
24575         (remainder_test_downward): Likewise.
24576         (remainder_test_upward): Likewise.
24577         (remquo_test): Likewise.
24578         (rint_test): Likewise.
24579         (rint_test_tonearest): Likewise.
24580         (rint_test_towardzero): Likewise.
24581         (rint_test_downward): Likewise.
24582         (rint_test_upward): Likewise.
24583         (round_test): Likewise.
24584         (scalb_test): Likewise.
24585         (scalbn_test): Likewise.
24586         (scalbln_test): Likewise.
24587         (signbit_test): Likewise.
24588         (sin_test): Likewise.
24589         (sin_test_tonearest): Likewise.
24590         (sin_test_towardzero): Likewise.
24591         (sin_test_downward): Likewise.
24592         (sin_test_upward): Likewise.
24593         (sincos_test): Likewise.
24594         (sinh_test): Likewise.
24595         (sinh_test_tonearest): Likewise.
24596         (sinh_test_towardzero): Likewise.
24597         (sinh_test_downward): Likewise.
24598         (sinh_test_upward): Likewise.
24599         (sqrt_test): Likewise.
24600         (tan_test): Likewise.
24601         (tan_test_tonearest): Likewise.
24602         (tan_test_towardzero): Likewise.
24603         (tan_test_downward): Likewise.
24604         (tan_test_upward): Likewise.
24605         (tanh_test): Likewise.
24606         (tgamma_test): Likewise.
24607         (trunc_test): Likewise.
24608         (y0_test): Likewise.
24609         (y1_test): Likewise.
24610         (yn_test): Likewise.
24611         (significand_test): Likewise.
24612
24613 2013-05-24  Ondřej Bílka  <neleai@seznam.cz>
24614
24615         [BZ #15381]
24616         * libio/genops.c (_IO_no_init): Initialize wide struct info.
24617
24618 2013-05-23  Edjunior Machado  <emachado@linux.vnet.ibm.com>
24619
24620         [BZ #14894]
24621         * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
24622         __ppc_mdoio and __ppc_mdoom.
24623         * manual/platform.texi: Document new functions __ppc_yield,
24624         __ppc_mdoio and __ppc_mdoom.
24625
24626 2013-05-22  Carlos O'Donell  <carlos@redhat.com>
24627
24628         * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
24629         (main): Mention "tls" pseudo-hwcap is legacy.
24630         * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
24631
24632 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
24633
24634         * math/gen-libm-test.pl (parse_args): Output only string of
24635         arguments as text for test name, not full call or descriptions of
24636         tests for extra outputs.
24637         (generate_testfile): Do not pass function name to parse_args.
24638         Generate this_func variable from START.
24639         * math/libm-test.inc (struct test_f_f_data): Rename test_name
24640         field to arg_str.
24641         (struct test_ff_f_data): Likewise.
24642         (test_ff_f_data_nexttoward): Likewise.
24643         (struct test_fi_f_data): Likewise.
24644         (struct test_fl_f_data): Likewise.
24645         (struct test_if_f_data): Likewise.
24646         (struct test_fff_f_data): Likewise.
24647         (struct test_c_f_data): Likewise.
24648         (struct test_f_f1_data): Likewise.  Remove field extra_name.
24649         (struct test_fF_f1_data): Likewise.
24650         (struct test_ffI_f1_data): Likewise.
24651         (struct test_c_c_data): Rename test_name field to arg_str.
24652         (struct test_cc_c_data): Likewise.
24653         (struct test_f_i_data): Likewise.
24654         (struct test_ff_i_data): Likewise.
24655         (struct test_f_l_data): Likewise.
24656         (struct test_f_L_data): Likewise.
24657         (struct test_fFF_11_data): Likewise.  Remove fields extra1_name
24658         and extra2_name.
24659         (COMMON_TEST_SETUP): New macro.
24660         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
24661         (COMMON_TEST_CLEANUP): Likewise.
24662         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
24663         (RUN_TEST_f_f): Take argument string.  Call new setup and cleanup
24664         macros.
24665         (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
24666         (RUN_TEST_2_f): Take argument string.  Call new setup and cleanup
24667         macros.
24668         (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
24669         (RUN_TEST_fff_f): Take argument string.  Call new setup and
24670         cleanup macros.
24671         (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
24672         (RUN_TEST_c_f): Take argument string.  Call new setup and cleanup
24673         macros.
24674         (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
24675         (RUN_TEST_f_f1): Take argument string.  Call new setup and cleanup
24676         macros.
24677         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
24678         (RUN_TEST_fF_f1): Take argument string.  Call new setup and
24679         cleanup macros.
24680         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
24681         (RUN_TEST_fI_f1): Take argument string.  Call new setup and
24682         cleanup macros.
24683         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
24684         (RUN_TEST_ffI_f1): Take argument string.  Call new setup and
24685         cleanup macros.
24686         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
24687         (RUN_TEST_c_c): Take argument string.  Call new setup and cleanup
24688         macros.
24689         (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
24690         (RUN_TEST_cc_c): Take argument string.  Call new setup and cleanup
24691         macros.
24692         (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
24693         (RUN_TEST_f_i): Take argument string.  Call new setup and cleanup
24694         macros.
24695         (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
24696         (RUN_TEST_f_i_tg): Take argument string.  Call new setup and
24697         cleanup macros.
24698         (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
24699         (RUN_TEST_ff_i_tg): Take argument string.  Call new setup and
24700         cleanup macros.
24701         (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
24702         (RUN_TEST_f_b): Take argument string.  Call new setup and cleanup
24703         macros.
24704         (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
24705         (RUN_TEST_f_b_tg): Take argument string.  Call new setup and
24706         cleanup macros.
24707         (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
24708         (RUN_TEST_f_l): Take argument string.  Call new setup and cleanup
24709         macros.
24710         (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
24711         (RUN_TEST_f_L): Take argument string.  Call new setup and cleanup
24712         macros.
24713         (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
24714         (RUN_TEST_fFF_11): Take argument string.  Call new setup and
24715         cleanup macros.
24716         (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
24717
24718 2013-05-22  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
24719
24720         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
24721         to _sifields.sigfault.
24722         (si_addr_lsb): Define new macro.
24723         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
24724         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
24725         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
24726
24727 2013-05-03  Carlos O'Donell  <carlos at redhat.com>
24728
24729         [BZ #15441]
24730         * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
24731         returns -1.
24732         (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
24733         null return -1.
24734         * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
24735         loading the domain.
24736
24737 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
24738
24739         * math/gen-libm-test.pl (parse_args): Do not include expected
24740         result in test name.
24741         * sysdeps/i386/fpu/libm-test-ulps: Update test names.
24742         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
24743         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
24744         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
24745         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
24746         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24747
24748 2013-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
24749
24750         * benchtests/Makefile: Sort function entries.
24751
24752         * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
24753         tanh, asinh, acosh, atanh.
24754         * benchtests/acos-inputs: New file.
24755         * benchtests/acosh-inputs: New file.
24756         * benchtests/asin-inputs: New file.
24757         * benchtests/asinh-inputs: New file.
24758         * benchtests/atanh-inputs: New file.
24759         * benchtests/cosh-inputs: New file.
24760         * benchtests/log-inputs: New file.
24761         * benchtests/sinh-inputs: New file.
24762         * benchtests/tanh-inputs: New file.
24763
24764 2013-05-21  Dmitry V. Levin  <ldv@altlinux.org>
24765
24766         [BZ #15339]
24767         * posix/tst-getaddrinfo4.c: New test.
24768         * posix/Makefile (tests): Add it.
24769
24770 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
24771
24772         [BZ #15339]
24773         * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
24774         when no services were used.
24775         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
24776         Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
24777
24778 2013-05-21  Andreas Schwab  <schwab@suse.de>
24779
24780         [BZ #15014]
24781         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
24782         [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
24783         successful.
24784         * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
24785         redundant variable declarations and reallocation of buffer when
24786         parsing as IPv6 address.  Always set NSS status when called from
24787         reentrant functions.  Use NETDB_INTERNAL instead of TRY_AGAIN when
24788         buffer too small.  Correct computation of needed size.
24789         * nss/Makefile (tests): Add test-digits-dots.
24790         * nss/test-digits-dots.c: New test.
24791
24792 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
24793
24794         * benchtests/Makefile: Remove instructions for adding
24795         benchmark tests.
24796         * benchtests/README: New file to explain how to execute and
24797         enhance the benchmark tests.
24798
24799 2013-05-21  Andreas Schwab  <schwab@suse.de>
24800
24801         [BZ #15493]
24802         * setjmp/Makefile (tests): Add tst-sigsetjmp.
24803         * setjmp/tst-sigsetjmp.c: New test.
24804
24805 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
24806
24807         * sysdeps/x86_64/memset.S (memset): New implementation.
24808         (__bzero): Likewise.
24809         (__memset_tail): New function.
24810
24811 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
24812
24813         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
24814         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
24815         __memcpy_sse2_unaligned ifunc selection.
24816         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
24817         Add memcpy-sse2-unaligned.S.
24818         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
24819         Add: __memcpy_sse2_unaligned.
24820
24821 2013-05-19  Joseph Myers  <joseph@codesourcery.com>
24822
24823         [BZ #15490]
24824         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
24825         math_force_eval before restoring floating-point envrionment.
24826         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
24827         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
24828         Likewise.
24829         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
24830         <math_private.h>.
24831         (__nearbyintl): Use math_force_eval before restoring
24832         floating-point environment.
24833         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
24834
24835         * math/gen-libm-test.pl (special_functions): Remove.
24836         (parse_args): Don't handle TEST_extra.  Handle functions with no
24837         return value.
24838         * math/libm-test.inc (struct test_sincos_data): Replace with
24839         struct test_fFF_11_data.
24840         (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
24841         (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
24842         (sincos_test_data): Change element type to struct
24843         test_fFF_11_data.  Use TEST_fFF_11 instead of TEST_extra.
24844         (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
24845         RUN_TEST_LOOP_sincos.
24846         * math/README.libm-test: Don't mention special handling of
24847         individual functions.
24848         * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
24849         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
24850         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
24851         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
24852         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
24853         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24854
24855         * math/gen-libm-test.pl (get_variable): Remove function.
24856         (parse_args): Don't show pointer parameters to call in test
24857         names.  Use "extra output N" in test names for extra outputs
24858         rather than naming variables.
24859
24860 2013-05-18  Joseph Myers  <joseph@codesourcery.com>
24861
24862         [BZ #15488]
24863         * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
24864         __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
24865         * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
24866         double tests.
24867         * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
24868         disable.
24869         (do_test) [NO_LONG_DOUBLE]: Do not disable call to
24870         check_long_double.
24871
24872         * math/gen-libm-test.pl (@tests): Remove variable.
24873         ($count): Likewise.
24874         (new_test): Remove function.
24875         (show_exceptions): New function.
24876         (special_functions): Use show_exceptions instead of new_test.
24877         (parse_args): Likewise.
24878         (generate_testfile): Pass only function name in generated call to
24879         print_max_error or print_complex_max_error.
24880         (get_ulps): Do not handle complex tests specially.
24881         (output_test): Rename to ...
24882         (get_all_ulps_for_test): ... this.  Return a string rather than
24883         printing to a file.  Require ulps to be present.
24884         (output_ulps): Generate arrays rather than #defines.
24885         * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
24886         (struct ulp_data): New type.
24887         (BUILD_COMPLEX_ULP): Remove macro.
24888         (compare_ulp_data): New function.
24889         (find_ulps): Likewise.
24890         (find_test_ulps): Likewise.
24891         (find_function_ulps): Likewise.
24892         (find_complex_function_ulps): Likewise.
24893         (print_max_error): Determine allowed ulps using
24894         find_function_ulps.
24895         (print_complex_max_error): Determine allowed ulps using
24896         find_complex_function_ulps.
24897         (check_float_internal): Determine max ulps using find_test_ulps.
24898         (check_float): Do not take max_ulp parameter.  Update call to
24899         check_float_internal.
24900         (check_complex): Likewise.
24901         (check_int): Do not take max_ulp parameter.
24902         (check_long): Likewise.
24903         (check_bool): Likewise.
24904         (check_longlong): Likewise.
24905         (struct test_f_f_data): Remove max_ulp field.
24906         (struct test_ff_f_data): Likewise.
24907         (struct test_ff_f_data_nexttoward): Likewise.
24908         (struct test_fi_f_data): Likewise.
24909         (struct test_fl_f_data): Likewise.
24910         (struct test_if_f_data): Likewise.
24911         (struct test_fff_f_data): Likewise.
24912         (struct test_c_f_data): Likewise.
24913         (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
24914         (struct test_fF_f1_data): Likewise.
24915         (struct test_ffI_f1_data): Likewise.
24916         (struct test_c_c_data): Remove max_ulp field.
24917         (struct test_cc_c_data): Likewise.
24918         (struct test_f_i_data): Likewise.
24919         (struct test_ff_i_data): Likewise.
24920         (struct test_f_l_data): Likewise.
24921         (struct test_f_L_data): Likewise.
24922         (struct test_sincos_data): Likewise.
24923         (RUN_TEST_f_f): Do not handle ulps.
24924         (RUN_TEST_LOOP_f_f): Likewise.
24925         (RUN_TEST_2_f): Likewise.
24926         (RUN_TEST_LOOP_2_f): Likewise.
24927         (RUN_TEST_fff_f): Likewise.
24928         (RUN_TEST_LOOP_fff_f): Likewise.
24929         (RUN_TEST_c_f): Likewise.
24930         (RUN_TEST_LOOP_c_f): Likewise.
24931         (RUN_TEST_f_f1): Likewise.
24932         (RUN_TEST_LOOP_f_f1): Likewise.
24933         (RUN_TEST_fF_f1): Likewise.
24934         (RUN_TEST_LOOP_fF_f1): Likewise.
24935         (RUN_TEST_fI_f1): Likewise.
24936         (RUN_TEST_LOOP_fI_f1): Likewise.
24937         (RUN_TEST_ffI_f1): Likewise.
24938         (RUN_TEST_LOOP_ffI_f1): Likewise.
24939         (RUN_TEST_c_c): Likewise.
24940         (RUN_TEST_LOOP_c_c): Likewise.
24941         (RUN_TEST_cc_c): Likewise.
24942         (RUN_TEST_LOOP_cc_c): Likewise.
24943         (RUN_TEST_f_i): Likewise.
24944         (RUN_TEST_LOOP_f_i): Likewise.
24945         (RUN_TEST_f_i_tg): Likewise.
24946         (RUN_TEST_LOOP_f_i_tg): Likewise.
24947         (RUN_TEST_ff_i_tg): Likewise.
24948         (RUN_TEST_LOOP_ff_i_tg): Likewise.
24949         (RUN_TEST_f_b): Likewise.
24950         (RUN_TEST_LOOP_f_b): Likewise.
24951         (RUN_TEST_f_b_tg): Likewise.
24952         (RUN_TEST_LOOP_f_b_tg): Likewise.
24953         (RUN_TEST_f_l): Likewise.
24954         (RUN_TEST_LOOP_f_l): Likewise.
24955         (RUN_TEST_f_L): Likewise.
24956         (RUN_TEST_LOOP_f_L): Likewise.
24957         (RUN_TEST_sincos): Likewise.
24958         (RUN_TEST_LOOP_sincos): Likewise.
24959
24960 2013-05-17  Joseph Myers  <joseph@codesourcery.com>
24961
24962         [BZ #15480]
24963         [BZ #15485]
24964         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
24965         main case of finite arguments, set rounding mode to FE_TONEAREST
24966         and discard exceptions.
24967         * math/libm-test.inc (remainder_test_data): Disallow "inexact"
24968         exceptions.
24969         (remainder_tonearest_test_data): New variable.
24970         (remainder_test_tonearest): New function.
24971         (remainder_towardzero_test_data): New variable.
24972         (remainder_test_towardzero): New function.
24973         (remainder_downward_test_data): New variable.
24974         (remainder_test_downward): New function.
24975         (remainder_upward_test_data): New variable.
24976         (remainder_test_upward): New function.
24977         (main): Call the new test functions.
24978
24979         * math/libm-test.inc (struct test_f_f1_data): Remove field
24980         extra_init.
24981         (struct test_fF_f1_data): Likewise.
24982         (struct test_ffI_f1_data): Likewise.
24983         (RUN_TEST_f_f1): Remove argument EXTRA_INIT.  Initialize EXTRA_VAR
24984         based on value of EXTRA_EXPECTED.
24985         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
24986         (RUN_TEST_fF_f1): Remove argument EXTRA_INIT.  Initialize
24987         EXTRA_VAR based on value of EXTRA_EXPECTED.
24988         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
24989         (RUN_TEST_fI_f1): Remove argument EXTRA_INIT.  Initialize
24990         EXTRA_VAR based on value of EXTRA_EXPECTED.
24991         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
24992         (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT.  Initialize
24993         EXTRA_VAR based on value of EXTRA_EXPECTED.
24994         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
24995         * math/gen-libm-test.pl (parse_args): Don't output initializers
24996         for extra output values.
24997
24998         * math/libm-test.inc (check_int): Expect result to be exactly
24999         equal to expected value and do not handle ulps.
25000         (check_long): Likewise.
25001         (check_longlong): Likewise.
25002
25003         * math/libm-test.inc (ceil_test_data): Test for "inexact"
25004         exceptions.
25005         (cimag_test_data): Likewise.
25006         (conj_test_data): Likewise.
25007         (copysign_test_data): Likewise.
25008         (cproj_test_data): Likewise.
25009         (creal_test_data): Likewise.
25010         (fabs_test_data): Likewise.
25011         (fdim_test_data): Likewise.
25012         (finite_test_data): Likewise.
25013         (floor_test_data): Likewise.
25014         (fmax_test_data): Likewise.
25015         (fmin_test_data): Likewise.
25016         (fmod_test_data): Likewise.
25017         (fpclassify_test_data): Likewise.
25018         (frexp_test_data): Likewise.
25019         (ilogb_test_data): Likewise.
25020         (isfinite_test_data): Likewise.
25021         (isgreater_test_data): Likewise.
25022         (isgreaterequal_test_data): Likewise.
25023         (isinf_test_data): Likewise.
25024         (isless_test_data): Likewise.
25025         (islessequal_test_data): Likewise.
25026         (islessgreater_test_data): Likewise.
25027         (isnan_test_data): Likewise.
25028         (isnormal_test_data): Likewise.
25029         (issignaling_test_data): Likewise.
25030         (isunordered_test_data): Likewise.
25031         (ldexp_test_data): Likewise.
25032         (lrint_test_data): Likewise.
25033         (lrint_test_data) [TEST_FLOAT]: Disable one test.
25034         (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
25035         (lrint_tonearest_test_data): Test for "inexact" exceptions.
25036         (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
25037         (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
25038         (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
25039         test input.
25040         (lrint_towardzero_test_data): Test for "inexact" exceptions.
25041         (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
25042         (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
25043         (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
25044         that test input.
25045         (lrint_downward_test_data): Test for "inexact" exceptions.
25046         (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
25047         (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
25048         (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
25049         test input.
25050         (lrint_upward_test_data): Test for "inexact" exceptions.
25051         (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
25052         test input.
25053         (llrint_test_data): Test for "inexact" exceptions.
25054         (llrint_test_data) [TEST_FLOAT]: Disable one test.
25055         (llrint_tonearest_test_data): Test for "inexact" exceptions.
25056         (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
25057         (llrint_towardzero_test_data): Test for "inexact" exceptions.
25058         (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
25059         (llrint_downward_test_data): Test for "inexact" exceptions.
25060         (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
25061         (llrint_upward_test_data): Test for "inexact" exceptions.
25062         (logb_test_data): Likewise.
25063         (logb_downward_test_data): Likewise.
25064         (nextafter_test_data): Likewise.
25065         (nexttoward_test_data): Likewise.
25066         (remainder_test_data): Likewise.
25067         (remquo_test_data): Likewise.
25068         (scalbn_test_data): Likewise.
25069         (scalbln_test_data): Likewise.
25070         (signbit_test_data): Likewise.
25071         (sqrt_test_data): Likewise.
25072         (significand_test_data): Likewise.
25073
25074 2013-05-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
25075
25076         [BZ #15424]
25077         * benchtests/bench-modf.c (struct args): Mark arg0 as
25078         volatile.
25079         * scripts/bench.pl: Mark members of struct args as volatile.
25080
25081 2013-05-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25082
25083         [BZ # 15497]
25084         * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
25085         negative infinity on POWER6 or lower.
25086         * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
25087
25088 2013-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
25089
25090         [BZ #15442]
25091         * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
25092         (_FP_FRAC_SNANP_SEMIRAW): Likewise.
25093         (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
25094         (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
25095         (_FP_SETQNAN): New macro.
25096         (_FP_SETQNAN_SEMIRAW): Likewise.
25097         (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
25098         (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
25099         (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
25100         (FP_EXTEND): Use _FP_FRAC_SNANP.
25101         (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
25102         * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
25103         into account.
25104         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
25105         New macro.
25106         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
25107         Likewise.
25108
25109 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
25110
25111         * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
25112         with DIVIDE_BY_ZERO_EXCEPTION.
25113         (gamma_test_data): Likewise.
25114         (lgamma_test_data): Likewise.
25115         (log_test_data): Likewise.
25116         (log10_test_data): Likewise.
25117         (log2_test_data): Likewise.
25118         (tgamma_test_data): Likewise.
25119
25120         * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
25121         (acos_test_tonearest): Likewise.
25122         (acos_test_towardzero): Likewise.
25123         (acos_test_downward): Likewise.
25124         (acos_test_upward): Likewise.
25125         (acosh_test): Likewise.
25126         (asin_test): Likewise.
25127         (asin_test_tonearest): Likewise.
25128         (asin_test_towardzero): Likewise.
25129         (asin_test_downward): Likewise.
25130         (asin_test_upward): Likewise.
25131         (asinh_test): Likewise.
25132         (atan_test): Likewise.
25133         (atanh_test): Likewise.
25134         (atan2_test): Likewise.
25135         (cabs_test): Likewise.
25136         (cacos_test): Likewise.
25137         (cacosh_test): Likewise.
25138         (casin_test): Likewise.
25139         (casinh_test): Likewise.
25140         (catan_test): Likewise.
25141         (catanh_test): Likewise.
25142         (cbrt_test): Likewise.
25143         (ccos_test): Likewise.
25144         (ccosh_test): Likewise.
25145         (cexp_test): Likewise.
25146         (clog_test): Likewise.
25147         (clog10_test): Likewise.
25148         (cos_test): Likewise.
25149         (cos_test_tonearest): Likewise.
25150         (cos_test_towardzero): Likewise.
25151         (cos_test_downward): Likewise.
25152         (cos_test_upward): Likewise.
25153         (cosh_test): Likewise.
25154         (cosh_test_tonearest): Likewise.
25155         (cosh_test_towardzero): Likewise.
25156         (cosh_test_downward): Likewise.
25157         (cosh_test_upward): Likewise.
25158         (cpow_test): Likewise.
25159         (csin_test): Likewise.
25160         (csinh_test): Likewise.
25161         (csqrt_test): Likewise.
25162         (ctan_test): Likewise.
25163         (ctan_test_tonearest): Likewise.
25164         (ctan_test_towardzero): Likewise.
25165         (ctan_test_downward): Likewise.
25166         (ctan_test_upward): Likewise.
25167         (ctanh_test): Likewise.
25168         (ctanh_test_tonearest): Likewise.
25169         (ctanh_test_towardzero): Likewise.
25170         (ctanh_test_downward): Likewise.
25171         (ctanh_test_upward): Likewise.
25172         (erf_test): Likewise.
25173         (erfc_test): Likewise.
25174         (exp_test): Likewise.
25175         (exp_test_tonearest): Likewise.
25176         (exp_test_towardzero): Likewise.
25177         (exp_test_downward): Likewise.
25178         (exp_test_upward): Likewise.
25179         (exp10_test): Likewise.
25180         (exp2_test): Likewise.
25181         (expm1_test): Likewise.
25182         (fmod_test): Likewise.
25183         (gamma_test): Likewise.
25184         (hypot_test): Likewise.
25185         (j0_test): Likewise.
25186         (j1_test): Likewise.
25187         (jn_test): Likewise.
25188         (lgamma_test): Likewise.
25189         (log_test): Likewise.
25190         (log10_test): Likewise.
25191         (log1p_test): Likewise.
25192         (log2_test): Likewise.
25193         (logb_test_downward): Likewise.
25194         (pow_test): Likewise.
25195         (pow_test_tonearest): Likewise.
25196         (pow_test_towardzero): Likewise.
25197         (pow_test_downward): Likewise.
25198         (pow_test_upward): Likewise.
25199         (remainder_test): Likewise.
25200         (remquo_test): Likewise.
25201         (sin_test): Likewise.
25202         (sin_test_tonearest): Likewise.
25203         (sin_test_towardzero): Likewise.
25204         (sin_test_downward): Likewise.
25205         (sin_test_upward): Likewise.
25206         (sincos_test): Likewise.
25207         (sinh_test): Likewise.
25208         (sinh_test_tonearest): Likewise.
25209         (sinh_test_towardzero): Likewise.
25210         (sinh_test_downward): Likewise.
25211         (sinh_test_upward): Likewise.
25212         (sqrt_test): Likewise.
25213         (tan_test): Likewise.
25214         (tan_test_tonearest): Likewise.
25215         (tan_test_towardzero): Likewise.
25216         (tan_test_downward): Likewise.
25217         (tan_test_upward): Likewise.
25218         (tanh_test): Likewise.
25219         (tgamma_test): Likewise.
25220         (y0_test): Likewise.
25221         (y1_test): Likewise.
25222         (yn_test): Likewise.
25223
25224         * math/gen-libm-test.pl (adjust_arg): Remove function.
25225         (special_function): Remove argument $in_func.  Only handle
25226         generating output for tables of tests, not inside functions.
25227         (parse_args): Likewise.
25228         (generate_testfile): Remove variable $in_func.  Update call to
25229         parse_args.
25230         * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
25231         (MINUS_ZERO_INIT): Rename macro to minus_zero.
25232         (PLUS_INFTY_INIT): Rename macro to plus_infty.
25233         (MINUS_INFTY_INIT): Rename macro to minus_infty.
25234         (QNAN_VALUE_INIT): Rename macro to qnan_value.
25235         (MAX_VALUE_INIT): Rename macro to max_value.
25236         (MIN_VALUE_INIT): Rename macro to min_value.
25237         (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
25238         (plus_zero): Remove variable.
25239         (minus_zero): Likewise.
25240         (plus_infty): Likewise.
25241         (minus_infty): Likewise.
25242         (qnan_value): Likewise.
25243         (max_value): Likewise.
25244         (min_value): Likewise.
25245         (min_subnorm_value): Likewise.
25246
25247 2013-05-16  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
25248
25249         * crypt/sha512-block.c: Add missing #include <stdint.h> due to
25250         uint64_t or uint32_t usage.
25251         * crypt/sha256-block.c: Likewise.
25252         * crypt/sha256-crypt.c: Likewise.
25253         * crypt/sha256.c: Likewise.
25254         * crypt/sha512-block.c: Likewise.
25255         * crypt/sha512-crypt.c: Likewise.
25256         * crypt/sha512.c: Likewise.
25257         * debug/backtrace-tst.c: Likewise.
25258         * debug/pcprofiledump.c: Likewise.
25259         * elf/cache.c: Likewise.
25260         * elf/dl-cache.c: Likewise.
25261         * elf/dl-misc.c: Likewise.
25262         * elf/dl-profile.c: Likewise.
25263         * elf/dl-support.c: Likewise.
25264         * elf/ldconfig.c: Likewise.
25265         * elf/sprof.c: Likewise.
25266         * iconv/dummy-repertoire.c: Likewise.
25267         * iconv/iconv_charmap.c: Likewise.
25268         * iconv/skeleton.c: Likewise.
25269         * iconvdata/8bit-generic.c: Likewise.
25270         * iconvdata/cp737.h: Likewise.
25271         * iconvdata/cp775.h: Likewise.
25272         * iconvdata/ibm1008.h: Likewise.
25273         * iconvdata/ibm1025.h: Likewise.
25274         * iconvdata/ibm1046.h: Likewise.
25275         * iconvdata/ibm1097.h: Likewise.
25276         * iconvdata/ibm1112.h: Likewise.
25277         * iconvdata/ibm1122.h: Likewise.
25278         * iconvdata/ibm1123.h: Likewise.
25279         * iconvdata/ibm1124.h: Likewise.
25280         * iconvdata/ibm1129.h: Likewise.
25281         * iconvdata/ibm1130.h: Likewise.
25282         * iconvdata/ibm1132.h: Likewise.
25283         * iconvdata/ibm1133.h: Likewise.
25284         * iconvdata/ibm1137.h: Likewise.
25285         * iconvdata/ibm1140.h: Likewise.
25286         * iconvdata/ibm1141.h: Likewise.
25287         * iconvdata/ibm1142.h: Likewise.
25288         * iconvdata/ibm1143.h: Likewise.
25289         * iconvdata/ibm1144.h: Likewise.
25290         * iconvdata/ibm1145.h: Likewise.
25291         * iconvdata/ibm1146.h: Likewise.
25292         * iconvdata/ibm1147.h: Likewise.
25293         * iconvdata/ibm1148.h: Likewise.
25294         * iconvdata/ibm1149.h: Likewise.
25295         * iconvdata/ibm1153.h: Likewise.
25296         * iconvdata/ibm1154.h: Likewise.
25297         * iconvdata/ibm1155.h: Likewise.
25298         * iconvdata/ibm1156.h: Likewise.
25299         * iconvdata/ibm1157.h: Likewise.
25300         * iconvdata/ibm1158.h: Likewise.
25301         * iconvdata/ibm1160.h: Likewise.
25302         * iconvdata/ibm1161.h: Likewise.
25303         * iconvdata/ibm1162.h: Likewise.
25304         * iconvdata/ibm1163.h: Likewise.
25305         * iconvdata/ibm1164.h: Likewise.
25306         * iconvdata/ibm1166.h: Likewise.
25307         * iconvdata/ibm1167.h: Likewise.
25308         * iconvdata/ibm12712.h: Likewise.
25309         * iconvdata/ibm1390.h: Likewise.
25310         * iconvdata/ibm1399.h: Likewise.
25311         * iconvdata/ibm16804.h: Likewise.
25312         * iconvdata/ibm4517.h: Likewise.
25313         * iconvdata/ibm4899.h: Likewise.
25314         * iconvdata/ibm4909.h: Likewise.
25315         * iconvdata/ibm4971.h: Likewise.
25316         * iconvdata/ibm5347.h: Likewise.
25317         * iconvdata/ibm803.h: Likewise.
25318         * iconvdata/ibm856.h: Likewise.
25319         * iconvdata/ibm901.h: Likewise.
25320         * iconvdata/ibm902.h: Likewise.
25321         * iconvdata/ibm9030.h: Likewise.
25322         * iconvdata/ibm9066.h: Likewise.
25323         * iconvdata/ibm921.h: Likewise.
25324         * iconvdata/ibm922.h: Likewise.
25325         * iconvdata/ibm9448.h: Likewise.
25326         * iconvdata/isiri-3342.h: Likewise.
25327         * iconvdata/jis0201.h: Likewise.
25328         * include/link.h: Likewise.
25329         * include/netdb.h: Likewise.
25330         * inet/check_native.c: Likewise.
25331         * inet/check_pf.c: Likewise.
25332         * inet/getipv4sourcefilter.c: Likewise.
25333         * inet/getnameinfo.c: Likewise.
25334         * inet/getsourcefilter.c: Likewise.
25335         * inet/htonl.c: Likewise.
25336         * inet/setipv4sourcefilter.c: Likewise.
25337         * inet/setsourcefilter.c: Likewise.
25338         * inet/test-inet6_opt.c: Likewise.
25339         * inet/tst-network.c: Likewise.
25340         * locale/C-collate.c: Likewise.
25341         * locale/C-ctype.c: Likewise.
25342         * locale/C-time.c: Likewise.
25343         * locale/C-translit.h: Likewise.
25344         * locale/loadarchive.c: Likewise.
25345         * locale/programs/3level.h: Likewise.
25346         * locale/programs/charmap.c: Likewise.
25347         * locale/programs/charmap.h: Likewise.
25348         * locale/programs/ld-address.c: Likewise.
25349         * locale/programs/ld-collate.c: Likewise.
25350         * locale/programs/ld-ctype.c: Likewise.
25351         * locale/programs/ld-identification.c: Likewise.
25352         * locale/programs/ld-measurement.c: Likewise.
25353         * locale/programs/ld-messages.c: Likewise.
25354         * locale/programs/ld-monetary.c: Likewise.
25355         * locale/programs/ld-name.c: Likewise.
25356         * locale/programs/ld-numeric.c: Likewise.
25357         * locale/programs/ld-paper.c: Likewise.
25358         * locale/programs/ld-telephone.c: Likewise.
25359         * locale/programs/ld-time.c: Likewise.
25360         * locale/programs/linereader.c: Likewise.
25361         * locale/programs/locale.c: Likewise.
25362         * locale/programs/locarchive.c: Likewise.
25363         * locale/programs/locfile.h: Likewise.
25364         * locale/programs/repertoire.c: Likewise.
25365         * locale/programs/simple-hash.c: Likewise.
25366         * locale/programs/simple-hash.h: Likewise.
25367         * malloc/memusage.c: Likewise.
25368         * malloc/memusagestat.c: Likewise.
25369         * nis/nis_defaults.c: Likewise.
25370         * nis/nis_hash.c: Likewise.
25371         * nis/nis_print.c: Likewise.
25372         * nis/nis_xdr.c: Likewise.
25373         * nscd/connections.c: Likewise.
25374         * nscd/hstcache.c: Likewise.
25375         * nscd/nscd_gethst_r.c: Likewise.
25376         * nscd/nscd_getserv_r.c: Likewise.
25377         * nscd/nscd_helper.c: Likewise.
25378         * nscd/servicescache.c: Likewise.
25379         * nss/makedb.c: Likewise.
25380         * nss/nss_db/db-XXX.c: Likewise.
25381         * nss/nss_db/db-initgroups.c: Likewise.
25382         * nss/nss_db/db-netgrp.c: Likewise.
25383         * nss/nss_files/files-network.c: Likewise.
25384         * nss/nss_files/files-parse.c: Likewise.
25385         * posix/bug-regex5.c: Likewise.
25386         * posix/fnmatch_loop.c: Likewise.
25387         * posix/regcomp.c: Likewise.
25388         * posix/regexec.c: Likewise.
25389         * posix/tst-rfc3484-2.c: Likewise.
25390         * posix/tst-rfc3484-3.c: Likewise.
25391         * posix/tst-rfc3484.c: Likewise.
25392         * resolv/nss_dns/dns-canon.c: Likewise.
25393         * resolv/nss_dns/dns-network.c: Likewise.
25394         * resolv/res_init.c: Likewise.
25395         * resolv/res_mkquery.c: Likewise.
25396         * resolv/tst-aton.c: Likewise.
25397         * stdlib/cxa_atexit.c: Likewise.
25398         * stdlib/cxa_finalize.c: Likewise.
25399         * stdlib/gen-fpioconst.c: Likewise.
25400         * stdlib/strtol_l.c: Likewise.
25401         * string/tst-endian.c: Likewise.
25402         * sunrpc/auth_des.c: Likewise.
25403         * sunrpc/clnt_udp.c: Likewise.
25404         * sunrpc/rtime.c: Likewise.
25405         * sunrpc/svcauth_des.c: Likewise.
25406         * sunrpc/xdr.c: Likewise.
25407         * sunrpc/xdr_intXX_t.c: Likewise.
25408         * sunrpc/xdr_rec.c: Likewise.
25409         * sysdeps/generic/ldconfig.h: Likewise.
25410         * sysdeps/generic/ldsodefs.h: Likewise.
25411         * sysdeps/generic/memusage.h: Likewise.
25412         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
25413         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
25414         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
25415         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
25416         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
25417         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
25418         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
25419         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
25420         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
25421         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
25422         * sysdeps/posix/getaddrinfo.c: Likewise.
25423         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
25424         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
25425         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
25426         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
25427         * sysdeps/powerpc/test-gettimebase.c: Likewise.
25428         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
25429         * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
25430         * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
25431         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
25432         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
25433         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
25434         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
25435         * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
25436         * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
25437         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
25438         * sysdeps/x86_64/dl-tls.h: Likewise.
25439         * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
25440         * time/alt_digit.c: Likewise.
25441         * time/era.c: Likewise.
25442         * wcsmbs/tst-c16c32-1.c: Likewise.
25443
25444 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
25445
25446         * math/libm-test.inc (struct test_sincos_data): New type.
25447         (RUN_TEST_LOOP_sincos): New macro.
25448         (sincos_test_data): New variable.
25449         (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
25450
25451 2013-05-16  Richard Henderson  <rth@redhat.com>
25452
25453         * math/atest-exp2.c (LIMB64): New macro.
25454         (CONSTSZ): New macro.
25455         (mp_exp1, mp_exp_m1, mp_log2): New variables.
25456         (hexdig): Move ...
25457         (print_mpn_fp): ... to function scope.
25458         (read_mpn_hex): Remove.
25459         (get_log2): Remove.
25460         (exp2_mpn): Use mp_log2.
25461         (main): Use mp_exp1.
25462
25463 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
25464
25465         * math/libm-test.inc: Remove comment about not testing "inexact"
25466         exceptions.
25467         (INEXACT_EXCEPTION): New macro.
25468         (NO_INEXACT_EXCEPTION): Likewise.
25469         (INVALID_EXCEPTION_OK): Update value.
25470         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
25471         (OVERFLOW_EXCEPTION_OK): Likewise.
25472         (UNDERFLOW_EXCEPTION_OK): Likewise.
25473         (IGNORE_ZERO_INF_SIGN): Likewise.
25474         (ERRNO_UNCHANGED): Likewise.
25475         (ERRNO_EDOM): Likewise.
25476         (ERRNO_ERANGE): Likewise.
25477         (test_exceptions): Handle testing "inexact" exceptions.
25478         (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
25479         (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
25480         (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
25481         (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
25482         INEXACT_EXCEPTION.
25483         (rint_towardzero_test_data): Likewise.
25484         (rint_downward_test_data): Likewise.
25485         (rint_upward_test_data): Likewise.
25486
25487         * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
25488         with OVERFLOW_EXCEPTION.
25489         (exp10_test_data): Likewise.
25490         (exp2_test_data): Likewise.
25491         (expm1_test_data): Likewise.
25492         (lgamma_test_data): Likewise.
25493         (pow_test_data): Likewise.
25494         (tgamma_test_data): Likewise.
25495         (yn_test_data): Remove duplicate test of overflow.
25496
25497         * math/libm-test.inc (struct test_cc_c_data): New type.
25498         (RUN_TEST_LOOP_cc_c): New macro.
25499         (cpow_test_data): New variable.
25500         (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
25501
25502         * math/libm-test.inc (struct test_f_L_data): New type.
25503         (RUN_TEST_LOOP_f_L): New macro.
25504         (llrint_test_data): New variable.
25505         (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
25506         (llrint_tonearest_test_data): New variable.
25507         (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
25508         (llrint_towardzero_test_data): New variable.
25509         (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
25510         (llrint_downward_test_data): New variable.
25511         (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
25512         (llrint_upward_test_data): New variable.
25513         (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
25514         (llround_test_data): New variable.
25515         (llround_test): Run tests with RUN_TEST_LOOP_f_L.
25516
25517 2013-05-13  Peter Collingbourne  <pcc@google.com>
25518
25519         * math/atest-exp2.c (get_log2): Remove const attribute.
25520
25521 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
25522
25523         * math/libm-test.inc (struct test_f_l_data): New type.
25524         (RUN_TEST_LOOP_f_l): New macro.
25525         (lrint_test_data): New variable.
25526         (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
25527         (lrint_tonearest_test_data): New variable.
25528         (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
25529         (lrint_towardzero_test_data): New variable.
25530         (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
25531         (lrint_downward_test_data): New variable.
25532         (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
25533         (lrint_upward_test_data): New variable.
25534         (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
25535         (lround_test_data): New variable.
25536         (lround_test): Run tests with RUN_TEST_LOOP_f_l.
25537
25538 2013-05-15  Peter Collingbourne  <pcc@google.com>
25539
25540         * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
25541         (EXTRACT_WORDS64) Use where appropriate.
25542         (INSERT_WORDS64) Likewise.
25543
25544         * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
25545         constraints with x constraints.
25546         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
25547
25548         * malloc/obstack.c (_obstack_compat): Add initializer.
25549
25550 2013-05-15  Edjunior Machado  <emachado@linux.vnet.ibm.com>
25551
25552         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
25553         si_trapno and add si_addr_lsb to _sifields.sigfault.
25554         (si_trapno): Remove macro.
25555         (si_addr_lsb): Define new macro.
25556         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
25557
25558 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
25559
25560         * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
25561         instead of TEST_f_l.
25562         (llrint_test_tonearest): Likewise.
25563         (llrint_test_towardzero): Likewise.
25564         (llrint_test_downward): Likewise.
25565         (llrint_test_upward): Likewise.
25566         (llround_test): Likewise.
25567
25568         * math/libm-test.inc (struct test_f_i_data): Add comment.
25569         (RUN_TEST_LOOP_f_b): New macro.
25570         (RUN_TEST_LOOP_f_b_tg): Likewise.
25571         (finite_test_data): New variable.
25572         (finite_test): Run tests with RUN_TEST_LOOP_f_b.
25573         (isfinite_test_data): New variable.
25574         (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
25575         (isinf_test_data): New variable.
25576         (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
25577         (isnan_test_data): New variable.
25578         (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
25579         (isnormal_test_data): New variable.
25580         (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
25581         (issignaling_test_data): New variable.
25582         (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
25583         (signbit_test_data): New variable.
25584         (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
25585
25586         * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
25587         with INVALID_EXCEPTION.
25588         (acosh_test_data): Likewise.
25589         (asin_test_data): Likewise.
25590         (atanh_test_data): Likewise.
25591         (fmod_test_data): Likewise.
25592         (log_test_data): Likewise.
25593         (log10_test_data): Likewise.
25594         (log2_test_data): Likewise.
25595         (pow_test_data): Likewise.
25596         (sqrt_test_data): Likewise.
25597         (y0_test_data): Likewise.
25598         (y1_test_data): Likewise.
25599         (yn_test_data): Likewise.
25600
25601         * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
25602         function contents.
25603
25604         * math/libm-test.inc (struct test_ff_i_data): New type.
25605         (RUN_TEST_LOOP_ff_i_tg): New macro.
25606         (isgreater_test_data): New variable.
25607         (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
25608         (isgreaterequal_test_data): New variable.
25609         (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
25610         (isless_test_data): New variable.
25611         (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
25612         (islessequal_test_data): New variable.
25613         (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
25614         (islessgreater_test_data): New variable.
25615         (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
25616         (isunordered_test_data): New variable.
25617         (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
25618
25619 2013-05-14  David S. Miller  <davem@davemloft.net>
25620
25621         * sysdeps/sparc/fpu/libm-test-ulps: Update.
25622
25623 2013-05-14  Joseph Myers  <joseph@codesourcery.com>
25624
25625         * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
25626
25627         * math/libm-test.inc (struct test_fF_f1_data): Change type of
25628         extra_test to int.
25629         (struct test_f_i_data): Change type of max_ulp to int.
25630
25631         * math/libm-test.inc (test_ffI_f1_data): New type.
25632         (RUN_TEST_LOOP_ffI_f1): New macro.
25633         (remquo_test_data): New variable.
25634         (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
25635
25636         * setjmp/tst-setjmp-fp.c: New file.
25637         * setjmp/Makefile (tests): Add tst-setjmp-fp.
25638         (link-libm): New variable.
25639         ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
25640
25641         * math/libm-test.inc (struct test_f_i_data): New type.
25642         (RUN_TEST_LOOP_f_i): New macro.
25643         (RUN_TEST_LOOP_f_i_tg): Likewise.
25644         (fpclassify_test_data): New variable.
25645         (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
25646         (ilogb_test_data): New variable.
25647         (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
25648
25649         * math/libm-test.inc (scalbln_test): Correct function name in END
25650         call.
25651
25652         * math/libm-test.inc (struct test_f_f1_data): Add comment.
25653         (RUN_TEST_LOOP_fI_f1): New macro.
25654         (frexp_test_data): New variable.
25655         (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
25656
25657         * math/libm-test.inc (struct test_fF_f1_data): New type.
25658         (RUN_TEST_LOOP_fF_f1): New macro.
25659         (modf_test_data): New variable.
25660         (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
25661
25662         * math/libm-test.inc (struct test_f_f1_data): New type.
25663         (RUN_TEST_LOOP_f_f1): New macro.
25664         (gamma_test_data): New variable.
25665         (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
25666         (lgamma_test_data): New variable.
25667         (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
25668
25669 2013-05-13  Carlos O'Donell  <carlos@redhat.com>
25670
25671         * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
25672         * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
25673         (main): Comment "tls" pseudo-hwcap.
25674
25675 2013-05-13  Joseph Myers  <joseph@codesourcery.com>
25676
25677         * math/libm-test.inc (struct test_fl_f_data): New type.
25678         (RUN_TEST_LOOP_fl_f): New variable.
25679         (scalbln_test_data): New variable.
25680         (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
25681
25682         * math/libm-test.inc (struct test_fi_f_data): New type.
25683         (RUN_TEST_LOOP_fi_f): New macro.
25684         (ldexp_test_data): New variable.
25685         (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
25686         (scalbn_test_data): New variable.
25687         (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
25688
25689         * math/libm-test.inc (struct test_c_f_data): New type.
25690         (RUN_TEST_LOOP_c_f): New macro.
25691         (cabs_test_data): New variable.
25692         (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
25693         (carg_test_data): New variable.
25694         (carg_test): Run tests with RUN_TEST_LOOP_c_f.
25695         (cimag_test_data): New variable.
25696         (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
25697         (creal_test_data): New variable.
25698         (creal_test): Run tests with RUN_TEST_LOOP_c_f.
25699
25700         * math/libm-test.inc (struct test_if_f_data): New type.
25701         (RUN_TEST_LOOP_if_f): New macro.
25702         (jn_test_data): New variable.
25703         (jn_test): Run tests with RUN_TEST_LOOP_if_f.
25704         (yn_test_data): New variable.
25705         (yn_test): Run tests with RUN_TEST_LOOP_if_f.
25706
25707         * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
25708
25709 2013-05-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25710
25711         * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
25712         (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
25713
25714 2013-05-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
25715
25716         * benchtests/Makefile (CPPFLAGS-nonlib): Add
25717         -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
25718         (bench-deps): Add bench-timing.h.
25719         * benchtests-bench-skeleton.c: Include bench-timing.h.
25720         (main): Use TIMING_* macros instead of clock_gettime.
25721         * benchtests/bench-timing.h: New file.
25722
25723         [BZ #14582]
25724         * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
25725         Renamed from _LIB_VERSION.
25726         (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
25727
25728 2013-05-12  Joseph Myers  <joseph@codesourcery.com>
25729
25730         * math/libm-test.inc (struct test_fff_f_data): New type.
25731         (RUN_TEST_LOOP_fff_f): New macro.
25732         (fma_test_data): New variable.
25733         (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
25734         (fma_towardzero_test_data): New variable.
25735         (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
25736         (fma_downward_test_data): New variable.
25737         (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
25738         (fma_upward_test_data): New variable.
25739         (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
25740
25741         * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
25742         (struct test_c_c_data): New type.
25743         (RUN_TEST_LOOP_c_c): New macro.
25744         (cacos_test_data): New variable.
25745         (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
25746         (cacosh_test_data): New variable.
25747         (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
25748         (casin_test_data): New variable.
25749         (casin_test): Run tests with RUN_TEST_LOOP_c_c.
25750         (casinh_test_data): New variable.
25751         (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
25752         (catan_test_data): New variable.
25753         (catan_test): Run tests with RUN_TEST_LOOP_c_c.
25754         (catanh_test_data): New variable.
25755         (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
25756         (ccos_test_data): New variable.
25757         (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
25758         (ccosh_test_data): New variable.
25759         (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
25760         (cexp_test_data): New variable.
25761         (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
25762         (clog_test_data): New variable.
25763         (clog_test): Run tests with RUN_TEST_LOOP_c_c.
25764         (clog10_test_data): New variable.
25765         (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
25766         (conj_test_data): New variable.
25767         (conj_test): Run tests with RUN_TEST_LOOP_c_c.
25768         (cproj_test_data): New variable.
25769         (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
25770         (csin_test_data): New variable.
25771         (csin_test): Run tests with RUN_TEST_LOOP_c_c.
25772         (csinh_test_data): New variable.
25773         (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
25774         (csqrt_test_data): New variable.
25775         (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
25776         (ctan_test_data): New variable.
25777         (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
25778         (ctan_tonearest_test_data): New variable.
25779         (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
25780         (ctan_towardzero_test_data): New variable.
25781         (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
25782         (ctan_downward_test_data): New variable.
25783         (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
25784         (ctan_upward_test_data): New variable.
25785         (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
25786         (ctanh_test_data): New variable.
25787         (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
25788         (ctanh_tonearest_test_data): New variable.
25789         (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
25790         (ctanh_towardzero_test_data): New variable.
25791         (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
25792         (ctanh_downward_test_data): New variable.
25793         (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
25794         (ctanh_upward_test_data): New variable.
25795         (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
25796         * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
25797         of BUILD_COMPLEX.
25798
25799         * math/libm-test.inc (struct test_ff_f_data): New type.
25800         (struct test_ff_f_data_nexttoward): Likewise.
25801         (RUN_TEST_LOOP_2_f): New macro.
25802         (RUN_TEST_LOOP_ff_f): Likewise.
25803         (atan2_test_data): New variable.
25804         (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
25805         (copysign_test_data): New variable.
25806         (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
25807         (fdim_test_data): New variable.
25808         (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
25809         (fmax_test_data): New variable.
25810         (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
25811         (fmin_test_data): New variable.
25812         (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
25813         (fmod_test_data): New variable.
25814         (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
25815         (hypot_test_data): New variable.
25816         (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
25817         (nextafter_test_data): New variable.
25818         (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
25819         (nexttoward_test_data): New variable.
25820         (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
25821         (pow_test_data): New variable.
25822         (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
25823         (pow_tonearest_test_data): New variable.
25824         (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
25825         (pow_towardzero_test_data): New variable.
25826         (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
25827         (pow_downward_test_data): New variable.
25828         (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
25829         (pow_upward_test_data): New variable.
25830         (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
25831         (remainder_test_data): New variable.
25832         (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
25833         (scalb_test_data): New variable.
25834         (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
25835         * sysdeps/i386/fpu/libm-test-ulps: Update.
25836
25837 2013-05-11  Joseph Myers  <joseph@codesourcery.com>
25838
25839         * math/libm-test.inc (fma_test): Use max_value instead of local
25840         variable fltmax.
25841         (nextafter_test): Likewise.
25842
25843         * math/libm-test.inc (acos_towardzero_test_data): New variable.
25844         (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
25845         (acos_downward_test_data): New variable.
25846         (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
25847         (acos_upward_test_data): New variable.
25848         (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
25849         (acosh_test_data): New variable.
25850         (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
25851         (asin_test_data): New variable.
25852         (asin_test): Run tests with RUN_TEST_LOOP_f_f.
25853         (asin_tonearest_test_data): New variable.
25854         (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
25855         (asin_towardzero_test_data): New variable.
25856         (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
25857         (asin_downward_test_data): New variable.
25858         (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
25859         (asin_upward_test_data): New variable.
25860         (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
25861         (asinh_test_data): New variable.
25862         (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
25863         (atan_test_data): New variable.
25864         (atan_test): Run tests with RUN_TEST_LOOP_f_f.
25865         (atanh_test_data): New variable.
25866         (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
25867         (cbrt_test_data): New variable.
25868         (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
25869         (ceil_test_data): New variable.
25870         (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
25871         (cos_test_data): New variable.
25872         (cos_test): Run tests with RUN_TEST_LOOP_f_f.
25873         (cos_tonearest_test_data): New variable.
25874         (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
25875         (cos_towardzero_test_data): New variable.
25876         (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
25877         (cos_downward_test_data): New variable.
25878         (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
25879         (cos_upward_test_data): New variable.
25880         (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
25881         (cosh_test_data): New variable.
25882         (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
25883         (cosh_tonearest_test_data): New variable.
25884         (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
25885         (cosh_towardzero_test_data): New variable.
25886         (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
25887         (cosh_downward_test_data): New variable.
25888         (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
25889         (cosh_upward_test_data): New variable.
25890         (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
25891         (erf_test_data): New variable.
25892         (erf_test): Run tests with RUN_TEST_LOOP_f_f.
25893         (erfc_test_data): New variable.
25894         (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
25895         (exp_test_data): New variable.
25896         (exp_test): Run tests with RUN_TEST_LOOP_f_f.
25897         (exp_tonearest_test_data): New variable.
25898         (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
25899         (exp_towardzero_test_data): New variable.
25900         (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
25901         (exp_downward_test_data): New variable.
25902         (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
25903         (exp_upward_test_data): New variable.
25904         (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
25905         (exp10_test_data): New variable.
25906         (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
25907         (exp2_test_data): New variable.
25908         (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
25909         (expm1_test_data): New variable.
25910         (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
25911         (fabs_test_data): New variable.
25912         (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
25913         (floor_test_data): New variable.
25914         (floor_test): Run tests with RUN_TEST_LOOP_f_f.
25915         (j0_test_data): New variable.
25916         (j0_test): Run tests with RUN_TEST_LOOP_f_f.
25917         (j1_test_data): New variable.
25918         (j1_test): Run tests with RUN_TEST_LOOP_f_f.
25919         (log_test_data): New variable.
25920         (log_test): Run tests with RUN_TEST_LOOP_f_f.
25921         (log10_test_data): New variable.
25922         (log10_test): Run tests with RUN_TEST_LOOP_f_f.
25923         (log1p_test_data): New variable.
25924         (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
25925         (log2_test_data): New variable.
25926         (log2_test): Run tests with RUN_TEST_LOOP_f_f.
25927         (logb_test_data): New variable.
25928         (logb_test): Run tests with RUN_TEST_LOOP_f_f.
25929         (logb_downward_test_data): New variable.
25930         (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
25931         (nearbyint_test_data): New variable.
25932         (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
25933         (rint_test_data): New variable.
25934         (rint_test): Run tests with RUN_TEST_LOOP_f_f.
25935         (rint_tonearest_test_data): New variable.
25936         (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
25937         (rint_towardzero_test_data): New variable.
25938         (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
25939         (rint_downward_test_data): New variable.
25940         (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
25941         (rint_upward_test_data): New variable.
25942         (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
25943         (round_test_data): New variable.
25944         (round_test): Run tests with RUN_TEST_LOOP_f_f.
25945         (sin_test_data): New variable.
25946         (sin_test): Run tests with RUN_TEST_LOOP_f_f.
25947         (sin_tonearest_test_data): New variable.
25948         (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
25949         (sin_towardzero_test_data): New variable.
25950         (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
25951         (sin_downward_test_data): New variable.
25952         (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
25953         (sin_upward_test_data): New variable.
25954         (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
25955         (sinh_test_data): New variable.
25956         (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
25957         (sinh_tonearest_test_data): New variable.
25958         (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
25959         (sinh_towardzero_test_data): New variable.
25960         (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
25961         (sinh_downward_test_data): New variable.
25962         (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
25963         (sinh_upward_test_data): New variable.
25964         (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
25965         (sqrt_test_data): New variable.
25966         (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
25967         (tan_test_data): New variable.
25968         (tan_test): Run tests with RUN_TEST_LOOP_f_f.
25969         (tan_tonearest_test_data): New variable.
25970         (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
25971         (tan_towardzero_test_data): New variable.
25972         (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
25973         (tan_downward_test_data): New variable.
25974         (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
25975         (tan_upward_test_data): New variable.
25976         (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
25977         (tanh_test_data): New variable.
25978         (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
25979         (tgamma_test_data): New variable.
25980         (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
25981         (trunc_test_data): New variable.
25982         (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
25983         (y0_test_data): New variable.
25984         (y0_test): Run tests with RUN_TEST_LOOP_f_f.
25985         (y1_test_data): New variable.
25986         (y1_test): Run tests with RUN_TEST_LOOP_f_f.
25987         (significand_test_data): New variable.
25988         (significand_test): Run tests with RUN_TEST_LOOP_f_f.
25989
25990 2013-05-10  Christian Grönke  <cgr_bugs@sysgo.com>
25991
25992         [BZ #12387]
25993         * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
25994
25995 2013-05-10  Pino Toscano  <toscano.pino@tiscali.it>
25996
25997         * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
25998
25999 2013-05-10  Andreas Jaeger  <aj@suse.de>
26000
26001         [BZ #15448]
26002         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
26003         (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
26004
26005 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
26006
26007         * math/gen-libm-test.pl (adjust_arg): New function.
26008         (special_functions): Handle generating output in both functions
26009         and arrays.
26010         (parse_args): Likewise.
26011         (generate_testfile): Handle START_DATA and END_DATA.  Pass extra
26012         $in_func argument to parse_args.
26013         * math/libm-test.inc (struct test_f_f_data): New type.
26014         (IF_ROUND_INIT_): New macro.
26015         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
26016         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
26017         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
26018         (IF_ROUND_INIT_FE_UPWARD): Likewise.
26019         (ROUND_RESTORE_): Likewise.
26020         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
26021         (ROUND_RESTORE_FE_TONEAREST): Likewise.
26022         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
26023         (ROUND_RESTORE_FE_UPWARD): Likewise.
26024         (RUN_TEST_LOOP_f_f): New macro.
26025         (acos_test_data): New variable.
26026         (acos_test): Run tests with RUN_TEST_LOOP_f_f.
26027         (acos_tonearest_test_data): New variable.
26028         (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
26029
26030 2013-05-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
26031
26032         * benchtests/bench-skeleton.c (startup): Fix coding style.
26033
26034 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
26035
26036         [BZ #6809]
26037         * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
26038         negative infinity argument.
26039         * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
26040         negative infinity argument.
26041         * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
26042         negative infinity argument.
26043         * math/libm-test.inc (tgamma_test): Expect errno to be set for
26044         domain errors.
26045
26046 2013-05-10  Florian Weimer  <fweimer@redhat.com>
26047
26048         * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
26049         * iconv/iconv_charmap.c (charmap_conversion): Likewise.
26050         * iconv/iconv_prog.c (main): Likewise.
26051         * locale/programs/charmap-dir.c (charmap_readdir)
26052         (fopen_uncompressed): Likewise.
26053         * locale/programs/locfile.c (siblings_uncached)
26054         (write_locale_data): Use lstat64 instead of lstat.
26055         * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
26056         stat.
26057
26058 2013-05-10  Andreas Jaeger  <aj@suse.de>
26059
26060         [BZ #15395]
26061         * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
26062         localization.
26063         Include <locale.h>.
26064
26065 2013-05-09  Carlos O'Donell  <carlos@redhat.com>
26066
26067         * elf/dl-close.c (_dl_close_worker): Add comments.
26068
26069 2013-05-09  Joseph Myers  <joseph@codesourcery.com>
26070
26071         [BZ #15359]
26072         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
26073         high part of pi/2.
26074         (__ieee754_rem_pio2l): Update comments.
26075
26076         [BZ #15429]
26077         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
26078         high part of pi/2.
26079         (__ieee754_rem_pio2l): Update comments.
26080
26081         * math/libm-test.inc (M_SQRT_2_2): Remove macro.
26082         (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
26083
26084         * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
26085         M_PI_4l.
26086
26087         * math/libm-test.inc (M_PI_34l): Define using decimal constant.
26088         (M_PI_34_LOG10El): Likewise.
26089         (M_PI2_LOG10El): Likewise.
26090         (M_PI4_LOG10El): Likewise.
26091         (M_PI_LOG10El): Likewise.
26092
26093 2013-05-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26094
26095         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26096
26097 2013-05-08  Joseph Myers  <joseph@codesourcery.com>
26098
26099         * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
26100         (MINUS_ZERO_INIT): Likewise.
26101         (PLUS_INFTY_INIT): Likewise.
26102         (MINUS_INFTY_INIT): Likewise.
26103         (QNAN_VALUE_INIT): Likewise.
26104         (MAX_VALUE_INIT): Likewise.
26105         (MIN_VALUE_INIT): Likewise.
26106         (MIN_SUBNORM_VALUE_INIT): Likewise.
26107         (plus_zero): Initialize with PLUS_ZERO_INIT.
26108         (minus_zero): Initialize with MINUS_ZERO_INIT.
26109         (plus_infty): Initialize with PLUS_INFTY_INIT.
26110         (minus_infty): Initialize with MINUS_INFTY_INIT.
26111         (qnan_value): Initialize with QNAN_VALUE_INIT.
26112         (max_value): Initialize with MAX_VALUE_INIT.
26113         (min_value): Initialize with MIN_VALUE_INIT.
26114         (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
26115
26116         * math/libm-test.inc (RUN_TEST_if_f): New macro.
26117         (jn_test): Use TEST_if_f instead of TEST_ff_f.
26118         (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
26119         (yn_test): Use TEST_if_f instead of TEST_ff_f.
26120
26121         * math/libm-test.inc (RUN_TEST_f_f): New macro.
26122         (RUN_TEST_2_f): Likewise.
26123         (RUN_TEST_ff_f): Likewise.
26124         (RUN_TEST_fi_f): Likewise.
26125         (RUN_TEST_fl_f): Likewise.
26126         (RUN_TEST_fff_f): Likewise.
26127         (RUN_TEST_c_f): Likewise.
26128         (RUN_TEST_f_f1): Likewise.
26129         (RUN_TEST_fF_f1): Likewise.
26130         (RUN_TEST_fI_f1): Likewise.
26131         (RUN_TEST_ffI_f1): Likewise.
26132         (RUN_TEST_c_c): Likewise.
26133         (RUN_TEST_cc_c): Likewise.
26134         (RUN_TEST_f_i): Likewise.
26135         (RUN_TEST_f_i_tg): Likewise.
26136         (RUN_TEST_ff_i_tg): Likewise.
26137         (RUN_TEST_f_b): Likewise.
26138         (RUN_TEST_f_b_tg): Likewise.
26139         (RUN_TEST_f_l): Likewise.
26140         (RUN_TEST_f_L): Likewise.
26141         (RUN_TEST_sincos): Likewise.
26142         * math/gen-libm-test.pl (new_test): Take new argument to indicate
26143         whether to show exceptions.  Do not include ");\n" in return
26144         value.
26145         (special_functions): Output call to RUN_TEST_sincos instead of
26146         check_float calls.  Update calls to new_test.
26147         (parse_args): Output call to single RUN_TEST_* macro instead of
26148         check_* calls and other assignments.  Update calls to new_test.
26149
26150         [BZ #2546]
26151         [BZ #2560]
26152         [BZ #5159]
26153         [BZ #15426]
26154         * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
26155         input to result for tgamma overflow.
26156         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
26157         (gamma_coeff): New variable.
26158         (NCOEFF): New macro.
26159         (gamma_positive): New function.
26160         (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
26161         underflow here.  Use gamma_positive instead of exp (lgamma) for
26162         other arguments.
26163         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
26164         (gamma_coeff): New variable.
26165         (NCOEFF): New macro.
26166         (gammaf_positive): New function.
26167         (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
26168         underflow here.  Use gamma_positive instead of exp (lgamma) for
26169         other arguments.
26170         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
26171         (gamma_coeff): New variable.
26172         (NCOEFF): New macro.
26173         (gammal_positive): New function.
26174         (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
26175         underflow here.  Use gamma_positive instead of exp (lgamma) for
26176         other arguments.
26177         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
26178         (gamma_coeff): New variable.
26179         (NCOEFF): New macro.
26180         (gammal_positive): New function.
26181         (__ieee754_gammal_r): Handle positive infinity, overflow and
26182         underflow here.  Handle NaN the same as positive infinity.  Remove
26183         check x < 0xffffffff for negative integers.  Use gamma_positive
26184         instead of exp (lgamma) for other arguments.
26185         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
26186         (gamma_coeff): New variable.
26187         (NCOEFF): New macro.
26188         (gammal_positive): New function.
26189         * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
26190         * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
26191         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
26192         * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
26193         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
26194         * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
26195         * sysdeps/generic/math_private.h (__gamma_productf): New
26196         prototype.
26197         (__gamma_product): Likewise.
26198         (__gamma_productl): Likewise.
26199         * math/Makefile (libm-calls): Add gamma_product.
26200         * math/libm-test.inc (tgamma_test): Add more tests.
26201         * sysdeps/i386/fpu/libm-test-ulps: Update.
26202         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26203
26204 2013-05-08  Ondřej Bílka  <neleai@seznam.cz>
26205
26206         * benchtests/bench-skeleton.c (main): Preheat CPU.
26207
26208 2013-05-07  Aurelien Jarno <aurelien@aurel32.net>
26209
26210         * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
26211
26212 2013-05-07  Roland McGrath  <roland@hack.frob.com>
26213
26214         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
26215         and _dl_skip_args_internal.
26216
26217 2013-05-07  Carlos O'Donell  <carlos@redhat.com>
26218
26219         * manual/message.texi (Message Translation): Talk about users.
26220         Message to key mapping impacts design.
26221
26222 2013-05-06  Roland McGrath  <roland@hack.frob.com>
26223
26224         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
26225
26226         * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
26227
26228         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
26229         * sysdeps/wordsize-64/glob64.c: ... here.
26230
26231         * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
26232         (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
26233         New macros.
26234
26235         * debug/getlogin_r_chk.c: Moved to ...
26236         * login/getlogin_r_chk.c: ... here.
26237         * debug/Makefile (routines): Move getlogin_r_chk to ...
26238         * login/Makefile (routines): ... here.
26239         * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
26240         * login/Versions (libc: GLIBC_2.4): ... here.
26241
26242         * io/poll.c (__poll): Renamed from poll.
26243         Add libc_hidden_def.
26244         (poll): Define as weak alias.
26245
26246         * debug/ptsname_r_chk.c: Moved to ...
26247         * login/ptsname_r_chk.c: ... here.
26248         * debug/Makefile (routines): Move ptsname_r_chk to ...
26249         * login/Makefile (routines): ... here.
26250         * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
26251         * login/Versions (libc: GLIBC_2.4): ... here.
26252
26253         * posix/getlogin.c: Moved to ...
26254         * login/getlogin.c: ... here.
26255         * posix/getlogin_r.c: Moved to ...
26256         * login/getlogin_r.c: ... here.
26257         * posix/getlogin_r.c: Moved to ...
26258         * login/getlogin_r.c: ... here.
26259         * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
26260         * login/Makefile (routines): ... here.
26261         * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
26262         * login/Versions (libc: GLIBC_2.0): ... here.
26263
26264         * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
26265         (setrlimit): Define as weak alias.
26266
26267         * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
26268         Call __ names for open, ftruncate, and close.
26269         For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
26270         (truncate): Define as weak alias.
26271
26272 2013-05-06  Joseph Myers  <joseph@codesourcery.com>
26273
26274         * math/gen-libm-test.pl (parse_args): Initialize x before each
26275         test of frexp, modf and remquo.
26276
26277         * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
26278         test signgam value.
26279
26280 2013-05-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26281
26282         [BZ #15418]
26283         [BZ #15419]
26284         * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
26285         internal tests.
26286         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
26287
26288 2013-05-06  Roland McGrath  <roland@hack.frob.com>
26289
26290         * elf/dl-writev.h: New file.
26291         * elf/dl-misc.c: Include it.
26292         (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
26293         * sysdeps/unix/sysv/linux/dl-writev.h: New file.
26294
26295 2013-05-04  Joseph Myers  <joseph@codesourcery.com>
26296
26297         * math/libm-test.inc (noXFails): Remove variable.
26298         (noXPasses): Likewise.
26299         (BUILD_COMPLEX_INT): Remove macro.
26300         (print_screen): Remove xfail argument.
26301         (print_screen_max_error): Likewise.
26302         (update_stats): Likewise.
26303         (print_max_error): Likewise.  Update calls to other affected
26304         functions.
26305         (print_complex_max_error): Likewise.
26306         (test_single_exception): Update calls to print_screen.
26307         (test_single_errno): Likewise.
26308         (check_float_internal): Remove xfail argument.  Update calls to
26309         other affected functions.
26310         (check_float): Likewise.
26311         (check_complex): Likewise.
26312         (check_int): Likewise.
26313         (check_long): Likewise.
26314         (check_bool): Likewise.
26315         (check_longlong): Likewise.
26316         (main): Don't print noXFails and noXPasses.
26317         * math/gen-libm-test.pl (top level): Don't mention expected
26318         failure handling in comment.
26319         (new_test): Don't handle expected failures.
26320         (parse_args): Don't mention expected failure handling in comment.
26321         (generate_testfile): Don't handle expected failures.
26322         (parse_ulps): Likewise.
26323         (print_ulps_file): Likewise.
26324         (get_failure): Remove function.
26325         (output_test): Don't handle expected failures.
26326         * make/README.libm-test: Don't mention expected failure handling.
26327
26328         * math/libm-test.inc (plus_zero): Make const.  Add initializer.
26329         (minus_zero): Likewise.
26330         (plus_infty): Likewise.
26331         (minus_infty): Likewise.
26332         (qnan_value): Likewise.
26333         (max_value): Likewise.
26334         (min_value): Likewise.
26335         (min_subnorm_value): Likewise.
26336         (initialize): Do not initialize those variables dynamically.
26337
26338 2013-05-03  Roland McGrath  <roland@hack.frob.com>
26339
26340         * io/open.c (__open_2): Moved to ...
26341         * io/open_2.c: ... this new file.
26342         * io/open64.c (__open64_2): Moved to ...
26343         * io/open64_2.c: ... this new file.
26344         * io/openat.c (__openat_2): Moved to ...
26345         * io/openat_2.c: ... this new file.
26346         * io/openat64.c (__openat64_2): Moved to ...
26347         * io/openat64_2.c: ... this new file.
26348         * io/Makefile (routines): Add them.
26349         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
26350         * sysdeps/unix/sysv/linux/open_2.c: File removed.
26351         * sysdeps/unix/sysv/linux/open64_2.c: File removed.
26352         * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
26353         * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
26354         * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
26355         (__openat64): Add hidden_ver.
26356         * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
26357         * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
26358
26359         * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
26360         Separately conditionalize setting of GLRO(dl_sysinfo) so
26361         that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
26362         as well, but the actual setting is only under [NEED_DL_SYSINFO].
26363
26364 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26365
26366         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
26367         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
26368         definition.
26369         (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
26370         * sysdeps/unix/sysv/linux/powerpc/init-first.c
26371         (_libc_vdso_platform_setup): Add __vdso_time initialization.
26372         * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
26373         for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
26374
26375 2013-05-03  Joseph Myers  <joseph@codesourcery.com>
26376
26377         * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
26378         test signgam value.
26379
26380         * math/libm-test.inc (hypot_test): Do not use
26381         IGNORE_ZERO_INF_SIGN.
26382
26383 2013-05-03  Andreas Jaeger  <aj@suse.de>
26384
26385         * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
26386         Linux 3.9.
26387         * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
26388         (PF_MAX): Adjust for VSOCK change.
26389
26390 2013-05-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26391
26392         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26393
26394 2013-05-02  Carlos O'Donell  <carlos@redhat.com>
26395
26396         [BZ #15264]
26397         * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
26398         * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
26399         * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
26400
26401 2013-05-02  David S. Miller  <davem@davemloft.net>
26402
26403         * sysdeps/sparc/fpu/libm-test-ulps: Update.
26404
26405 2013-05-01  Ondřej Bílka  <neleai@seznam.cz>
26406
26407         * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
26408
26409 2013-05-01  Roland McGrath  <roland@hack.frob.com>
26410
26411         * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
26412
26413 2013-05-01  Richard Smith  <richard@metafoo.co.uk>
26414
26415         [BZ #14952]
26416         * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
26417         [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
26418         Use __attribute__ ((__gnu_inline__)).
26419         [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
26420         Don't use __attribute__ ((__gnu_inline__)).
26421
26422 2013-05-01  Joseph Myers  <joseph@codesourcery.com>
26423
26424         [BZ #15423]
26425         * math/s_catan.c (__catan): Handle small real or imaginary part of
26426         input specially to avoid spurious underflow.
26427         * math/s_catanf.c (__catanf): Likewise.
26428         * math/s_catanh.c (__catanh): Likewise.
26429         * math/s_catanhf.c (__catanhf): Likewise.
26430         * math/s_catanhl.c (__catanhl): Likewise.
26431         * math/s_catanl.c (__catanl): Likewise.
26432         * math/libm-test.inc (catan_test): Add more tests.
26433         (catanh_test): Likewise.
26434         * sysdeps/i386/fpu/libm-test-ulps: Update.
26435         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26436
26437 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26438
26439         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26440
26441 2013-04-30  Joseph Myers  <joseph@codesourcery.com>
26442
26443         [BZ #15416]
26444         * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
26445         accurately for denominator in atan2.
26446         * math/s_catanf.c (__catanf): Likewise.
26447         * math/s_catanh.c (__catanh): Likewise.
26448         * math/s_catanhf.c (__catanhf): Likewise.
26449         * math/s_catanhl.c (__catanhl): Likewise.
26450         * math/s_catanl.c (__catanl): Likewise.
26451         * math/libm-test.inc (catan_test): Add more tests.
26452         (catanh_test): Likewise.
26453         * sysdeps/i386/fpu/libm-test-ulps: Update.
26454         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26455
26456 2013-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
26457
26458         * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
26459
26460         * benchtests/Makefile (bench): Remove slow benchmarks.
26461         * benchtests/atan-inputs: Add slow benchmark inputs.
26462         * benchtests/bench-modf.c (NUM_VARIANTS): Define.
26463         (BENCH_FUNC): Accept variant offset.
26464         (VARIANT): Define.
26465         * benchtests/bench-skeleton.c (main): Run benchmark for each
26466         variant.
26467         * benchtests/cos-inputs: Add slow benchmark inputs.
26468         * benchtests/exp-inputs: Likewise.
26469         * benchtests/pow-inputs: Likewise.
26470         * benchtests/sin-inputs: Likewise.
26471         * benchtests/slowatan-inputs: Remove.
26472         * benchtests/slowatan.c: Remove.
26473         * benchtests/slowcos-inputs: Remove.
26474         * benchtests/slowcos.c: Remove.
26475         * benchtests/slowexp-inputs: Remove.
26476         * benchtests/slowexp.c: Remove.
26477         * benchtests/slowpow-inputs: Remove.
26478         * benchtests/slowpow.c: Remove.
26479         * benchtests/slowsin-inputs: Remove.
26480         * benchtests/slowsin.c: Remove.
26481         * benchtests/slowtan-inputs: Remove.
26482         * benchtests/slowtan.c: Remove.
26483         * benchtests/tan-inputs: Add slow benchmark inputs.
26484         * scripts/bench.pl: Parse comments and directives.
26485
26486         * benchtests/Makefile: Remove *-ITER.  Define BENCH_DURATION
26487         in CPPFLAGS.
26488         ($(objpfx)bench-%.c): Remove *-ITER.
26489         * benchtests/bench-modf.c: Remove definition of ITER.
26490         * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
26491         (main): Loop for DURATION seconds instead of fixed number of
26492         iterations.
26493         * scripts/bench.pl: Don't expect iterations in parameters.
26494
26495 2013-04-29  Roland McGrath  <roland@hack.frob.com>
26496
26497         * io/fchdir.c (__fchdir): Renamed from fchdir.
26498         (fchdir): Define as weak alias.
26499
26500 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
26501
26502         * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
26503         (ERRNO_EDOM): Likewise.
26504         (ERRNO_ERANGE): Likewise.
26505         (noErrnoTests): New variable.
26506         (init_max_error): Set errno to 0.
26507         (test_single_errno): New function.
26508         (test_errno): Likewise.
26509         (check_float_internal): Call test_errno.  Set errno to 0.
26510         (check_complex): Refer to errno tests in comment.
26511         (check_int): Call test_errno.  Set errno to 0.
26512         (check_long): Likewise.
26513         (check_bool): Likewise.
26514         (check_longlong): Likewise.
26515         (cos_test): Use ERRNO_* flags for errno tests instead of
26516         check_int.
26517         (expm1_test): Likewise.
26518         (fmod_test): Likewise.
26519         (ilogb_test): Likewise.
26520         (lgamma_test): Likewise.
26521         (pow_test): Likewise.
26522         (remainder_test): Likewise.
26523         (sin_test): Likewise.
26524         (tan_test): Likewise.
26525         (yn_test): Likewise.
26526         (initialize): Set errno to 0.
26527         (main): Print number of errno tests.
26528         * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
26529
26530 2013-04-29  Andreas Jaeger  <aj@suse.de>
26531
26532         [BZ #15084]
26533         * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
26534         and RES_USEVC.
26535
26536         [BZ #15085]
26537         * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
26538         * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
26539         unimplemented.
26540
26541         [BZ #15380]
26542         * stdlib/random.c (__initstate): Return NULL if
26543         __initstate fails.
26544
26545         [BZ #15086]
26546         * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
26547         RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
26548         RES_SNGLKUPREOP.
26549
26550 2013-04-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26551
26552         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26553
26554 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
26555
26556         * math/libm-test.inc (cacos_test): Add missing semicolons at ends
26557         of individual tests.
26558         (casin_test): Likewise.
26559         (casinh_test): Likewise.
26560
26561 2013-04-27  Joseph Myers  <joseph@codesourcery.com>
26562
26563         [BZ #15409]
26564         * math/s_catan.c (__catan): Handle arguments with large real or
26565         imaginary part separately without squaring.
26566         * math/s_catanf.c (__catanf): Likewise.
26567         * math/s_catanh.c (__catanh): Likewise.
26568         * math/s_catanhf.c (__catanhf): Likewise.
26569         * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
26570         and redefine.
26571         (__catanhl): Handle arguments with large real or imaginary part
26572         separately without squaring.
26573         * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
26574         and redefine.
26575         (__catanl): Handle arguments with large real or imaginary part
26576         separately without squaring.
26577         * math/libm-test.inc (catan_test): Add more tests.
26578         (catanh_test): Likewise.
26579         * sysdeps/i386/fpu/libm-test-ulps: Update.
26580         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26581
26582 2013-04-27  Andreas Jaeger  <aj@suse.de>
26583
26584         [BZ #15007]
26585         * stdlib/stdlib.h: Update guards for qecvt.
26586         * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
26587         <stdlib.h>.
26588
26589 2013-04-27  Allan McRae  <allan@archlinux.org>
26590
26591         * sysdeps/i386/fpu/libm-test-ulps: Update.
26592
26593 2013-04-26  Joseph Myers  <joseph@codesourcery.com>
26594
26595         [BZ #15406]
26596         * math/s_catan.c: Include <float.h>.
26597         (__catan): Ensure underflow exception occurs for underflowed
26598         result.
26599         * math/s_catanf.c: Include <float.h>.
26600         (__catanf): Ensure underflow exception occurs for underflowed
26601         result.
26602         * math/s_catanh.c: Include <float.h>.
26603         (__catanh): Ensure underflow exception occurs for underflowed
26604         result.
26605         * math/s_catanhf.c: Include <float.h>.
26606         (__catanhf): Ensure underflow exception occurs for underflowed
26607         result.
26608         * math/s_catanhl.c: Include <float.h>.
26609         (__catanhl): Ensure underflow exception occurs for underflowed
26610         result.
26611         * math/s_catanl.c: Include <float.h>.
26612         (__catanl): Ensure underflow exception occurs for underflowed
26613         result.
26614         * math/libm-test.inc (catan_test): Add more tests.
26615         (catanh_test): Likewise.
26616
26617         [BZ #15405]
26618         * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
26619         underflowed result.
26620         * math/s_ccoshf.c (__ccoshf): Likewise.
26621         * math/s_ccoshl.c (__ccoshl): Likewise.
26622         * math/s_csin.c (__csin): Likewise.
26623         * math/s_csinf.c (__csinf): Likewise.
26624         * math/s_csinh.c (__csinh): Likewise.
26625         * math/s_csinhf.c (__csinhf): Likewise.
26626         * math/s_csinhl.c (__csinhl): Likewise.
26627         * math/s_csinl.c (__csinl): Likewise.
26628         * math/libm-test.inc (ccos_test): Add more tests.
26629         (ccosh_test): Likewise.
26630         (csin_test): Likewise.
26631         (csinh_test): Likewise.
26632
26633 2013-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26634
26635         * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
26636         * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
26637         * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
26638         * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
26639         * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
26640         powerpc/power5+/fpu folders.
26641         * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
26642
26643
26644 2013-04-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
26645
26646         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26647
26648 2013-04-25  Joseph Myers  <joseph@codesourcery.com>
26649
26650         * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
26651         additions to variable.
26652         [$(config-machine) = x86_64] (modules-names): Likewise.
26653         ($(objpfx)tst-audit3): Remove dependency.
26654         ($(objpfx)tst-audit3.out): Likewise.
26655         ($(objpfx)tst-audit4): Likewise.
26656         ($(objpfx)tst-audit4.out): Likewise.
26657         ($(objpfx)tst-audit5): Likewise.
26658         ($(objpfx)tst-audit5.out): Likewise.
26659         ($(objpfx)tst-audit6): Likewise.
26660         ($(objpfx)tst-audit6.out): Likewise.
26661         ($(objpfx)tst-audit7): Likewise.
26662         ($(objpfx)tst-audit7.out): Likewise.
26663         (tst-audit3-ENV): Remove variable.
26664         (tst-audit4-ENV): Likewise.
26665         (tst-audit5-ENV): Likewise.
26666         (tst-audit6-ENV): Likewise.
26667         (tst-audit7-ENV): Likewise.
26668         [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
26669         [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
26670         addition to variable.
26671         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
26672         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
26673         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
26674         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
26675         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
26676         * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
26677         tst-audit3, tst-audit4 and tst-audit5.
26678         [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
26679         tst-audit6 and tst-audit7.
26680         [$(subdir) = elf] (modules-names): Add audit modules for those
26681         tests.
26682         [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
26683         [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
26684         [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
26685         [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
26686         [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
26687         [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
26688         [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
26689         [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
26690         [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
26691         [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
26692         [$(subdir) = elf] (tst-audit3-ENV): New variable.
26693         [$(subdir) = elf] (tst-audit4-ENV): Likewise.
26694         [$(subdir) = elf] (tst-audit5-ENV): Likewise.
26695         [$(subdir) = elf] (tst-audit6-ENV): Likewise.
26696         [$(subdir) = elf] (tst-audit7-ENV): Likewise.
26697         [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
26698         Likewise.
26699         [$(subdir) = elf && $(config-cflags-avx) = yes]
26700         (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
26701         [$(subdir) = elf && $(config-cflags-avx) = yes]
26702         (CFLAGS-tst-auditmod4a.c): Likewise.
26703         [$(subdir) = elf && $(config-cflags-avx) = yes]
26704         (CFLAGS-tst-auditmod4b.c): Likewise.
26705         [$(subdir) = elf && $(config-cflags-avx) = yes]
26706         (CFLAGS-tst-auditmod6b.c): Likewise.
26707         [$(subdir) = elf && $(config-cflags-avx) = yes]
26708         (CFLAGS-tst-auditmod6c.c): Likewise.
26709         [$(subdir) = elf && $(config-cflags-avx) = yes]
26710         (CFLAGS-tst-auditmod7b.c): Likewise.
26711         * elf/tst-audit3.c: Move to ...
26712         * sysdeps/x86_64/tst-audit3.c: ... here.
26713         * elf/tst-audit4.c: Move to ...
26714         * sysdeps/x86_64/tst-audit4.c: ... here.
26715         * elf/tst-audit5.c: Move to ...
26716         * sysdeps/x86_64/tst-audit5.c: ... here.
26717         * elf/tst-audit6.c: Move to ...
26718         * sysdeps/x86_64/tst-audit6.c: ... here.
26719         * elf/tst-audit7.c: Move to ...
26720         * sysdeps/x86_64/tst-audit7.c: ... here.
26721         * elf/tst-auditmod3a.c: Move to ...
26722         * sysdeps/x86_64/tst-auditmod3a.c: ... here.
26723         * elf/tst-auditmod3b.c: Move to ...
26724         * sysdeps/x86_64/tst-auditmod3b.c: ... here.
26725         * elf/tst-auditmod4a.c: Move to ...
26726         * sysdeps/x86_64/tst-auditmod4a.c: ... here.
26727         * elf/tst-auditmod4b.c: Move to ...
26728         * sysdeps/x86_64/tst-auditmod4b.c: ... here.
26729         * elf/tst-auditmod5a.c: Move to ...
26730         * sysdeps/x86_64/tst-auditmod5a.c: ... here.
26731         * elf/tst-auditmod5b.c: Move to ...
26732         * sysdeps/x86_64/tst-auditmod5b.c: ... here.
26733         * elf/tst-auditmod6a.c: Move to ...
26734         * sysdeps/x86_64/tst-auditmod6a.c: ... here.
26735         * elf/tst-auditmod6b.c: Move to ...
26736         * sysdeps/x86_64/tst-auditmod6b.c: ... here.
26737         * elf/tst-auditmod6c.c: Move to ...
26738         * sysdeps/x86_64/tst-auditmod6c.c: ... here.
26739         * elf/tst-auditmod7a.c: Move to ...
26740         * sysdeps/x86_64/tst-auditmod7a.c: ... here.
26741         * elf/tst-auditmod7b.c: Move to ...
26742         * sysdeps/x86_64/tst-auditmod7b.c: ... here.
26743
26744 2013-04-25  Paul Pluzhnikov  <ppluzhnikov@google.com>
26745
26746         [BZ #15366]
26747         * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
26748         define unconditionally.
26749         * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
26750         define unconditionally.
26751         (INT8_C, INT16_C, etc.): Likewise.
26752
26753 2013-04-25  Maciej W. Rozycki  <macro@codesourcery.com>
26754
26755         * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
26756         __ehdr_start with hidden visibility.
26757
26758         * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
26759
26760 2013-04-24  Carlos O'Donell  <carlos@redhat.com>
26761
26762         * math/libm-test.inc (cos_test): Use accurate hex constants.
26763         (sincost_test): Likewise.
26764
26765 2013-04-24  Joseph Myers  <joseph@codesourcery.com>
26766
26767         * math/libm-test.inc (catan_test): Add more tests.
26768         (catanh_test): Likewise.
26769
26770         * math/s_catanf.c (__catanf): Use suffixed floating-point
26771         constants.
26772         * math/s_catanhf.c (__catanhf): Likewise.
26773         * math/s_catanhl.c (__catanhl): Likewise.
26774         * math/s_catanl.c (__catanl): Likewise.
26775
26776         [BZ #15394]
26777         * math/s_catan.c (__catan): Calculate imaginary part of result
26778         with log1p not log unless computing log of number close to 0.
26779         * math/s_catanf.c (__catanf): Likewise.
26780         * math/s_catanl.c (__catanl): Likewise.
26781         * math/s_catanh.c (__catanh): Calculate real part of result with
26782         log1p not log unless computing log of number close to 0.
26783         * math/s_catanhf.c (__catanhf): Likewise.
26784         * math/s_catanhl.c (__catanhl): Likewise.
26785         * math/libm-test.inc (catan_test): Add more tests.
26786         (catanh_test): Likewise.
26787         * sysdeps/i386/fpu/libm-test-ulps: Update.
26788         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26789
26790 2013-04-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
26791
26792         * benchtests/Makefile: Mention files in which fast and slow
26793         paths of math functions are implemented.
26794
26795 2013-04-23  Roland McGrath  <roland@hack.frob.com>
26796
26797         * sysdeps/posix/timespec_get.c: New file.
26798
26799 2013-04-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26800
26801         * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
26802         POWER.
26803         * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
26804         for POWER.
26805         * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
26806         powerpc/power5/fpu folders.
26807         * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
26808         * benchtests/Makefile: Add modf testcase.
26809         * benchtests/bench-modf.c: New file: Benchmark test for mo
26810
26811 2013-04-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
26812
26813         [BZ #14888]
26814         * time/Makefile (tests): Add tst-strptime-whitespace.
26815         * time/strptime_l.c (get_number): Use ISSPACE.
26816         (__strptime_internal): Likewise.
26817         * time/tst-strptime-whitespace.c: New test case.
26818
26819 2013-04-23  Andreas Schwab  <schwab@linux-m68k.org>
26820
26821         * nss/nss_files/files-init.c (TF): Don't initialize flexible array
26822         member.
26823         (_nss_files_init): Set it here.
26824
26825 2013-04-23  Heiko Carstens  <heiko.carstens@de.ibm.com>
26826
26827         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
26828         f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
26829         unsigned.
26830
26831 2013-04-22  Jan-Benedict Glaw  <jbglaw@getslash.de>
26832
26833         * nss/getent.c (shadow_keys): Call endspent, not endpwent.
26834
26835 2013-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
26836
26837         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
26838         size just once.
26839
26840 2013-04-21  David S. Miller  <davem@davemloft.net>
26841
26842         * po/ru.po: Update Russion translation from translation project.
26843
26844 2013-04-17  Adam Conrad  <adconrad@0c3.net>
26845
26846         * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
26847         and setfsgid.
26848
26849 2013-04-17  Carlos O'Donell  <carlos@redhat.com>
26850
26851         * configure.in: Remove i386 configure warning. Remove i386 case.
26852         * configure: Regenerate.
26853         * sysdeps/i386/configure.in: Raise error if config_machine is i386.
26854         Add example to error message.
26855         * sysdeps/i386/configure: Regenerate.
26856
26857 2013-04-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
26858
26859         * benchtests/Makefile (bench): Add cos, tan, slowcos and
26860         slowtan.
26861         * benchtests/cos-inputs: New file.
26862         * benchtests/slowcos-inputs: New file.
26863         * benchtests/slowcos.c: New file.
26864         * benchtests/slowtan-inputs: New file.
26865         * benchtests/slowtan.c: New file.
26866         * benchtests/tan-inputs: New file.
26867
26868 2013-04-16  Roland McGrath  <roland@hack.frob.com>
26869
26870         * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
26871         considered kosher.
26872
26873 2013-04-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
26874
26875         * benchtests/Makefile: Include cppflags-iterator.mk to add
26876         -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
26877
26878         * Makefile.in (bench-clean): New target.
26879         * benchtests/Makefile (bench-clean): Likewise.
26880
26881 2013-04-16  David Holsgrove  <david.holsgrove@xilinx.com>
26882
26883         * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
26884
26885 2013-04-15  Thomas Schwinge  <thomas@codesourcery.com>
26886
26887         * stdio-common/tstdiomisc.c: Fix coding-style violation.
26888
26889 2013-04-15  Andreas Schwab  <schwab@suse.de>
26890
26891         * nscd/grpcache.c (cache_addgr): Properly check for short write.
26892         * nscd/initgrcache.c (addinitgroupsX): Likewise.
26893         * nscd/pwdcache.c (cache_addpw): Likewise.
26894         * nscd/servicescache.c (cache_addserv): Likewise.  Don't write
26895         more than recsize.
26896
26897 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
26898
26899         * benchtests/Makefile (bench): Write all output to
26900         bench-out.tmp together.
26901
26902 2013-04-15  Andreas Schwab  <schwab@suse.de>
26903
26904         * nscd/nscd.c (main): Don't fork again after closing files.
26905
26906 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
26907
26908         * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
26909
26910         * benchtests/Rules (bench-deps): Collect dependencies into a
26911         single variable.  Add Makefile to dependencies.
26912         ($(objpfx)bench-%.c): Depend on bench-deps.
26913
26914 2013-04-12  Roland McGrath  <roland@hack.frob.com>
26915             Xavier Roche  <roche+kml2@exalead.com>
26916
26917         [BZ #15361]
26918         * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
26919         just that it's a file descriptor.
26920         * manual/llio.texi (Synchronizing AIO Operations): Update description
26921         for EBADF error from aio_fsync.
26922
26923 2013-04-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
26924
26925         * Rules (bench): Move target definition...
26926         * benchtests/Makefile: ... here.
26927
26928 2013-04-11  Carlos O'Donell  <carlos@redhat.com>
26929
26930         * math/libm-test.inc (cos_test): Fix PI/2 test.
26931         (sincos_test): Likewise.
26932         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
26933         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
26934
26935 2013-04-11  Andreas Schwab  <schwab@suse.de>
26936
26937         [BZ #13988]
26938         * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
26939         accept exponent character only when digits were seen.
26940         * stdio-common/Makefile (tests): Add bug26.
26941         * stdio-common/bug26.c: New file.
26942
26943         [BZ #14293]
26944         * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
26945         non-freeable.
26946
26947 2013-04-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
26948
26949         * Makeconfig (rtld-prefix): Define built linker prefix.
26950         * Rules (run-bench): Use it.
26951         * math/Makefile (run-regen-ulps): Likewise.
26952
26953         * Rules (bench): Remove eval.
26954
26955 2013-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
26956             Roland McGrath  <roland@hack.frob.com>
26957             Ondrej Bilka  <neleai@seznam.cz>
26958
26959         [BZ #15346]
26960         * time/getdate.c: Include ctype.h and alloca.h.
26961         (__getdate_r): Trim leading and trailing spaces of input.
26962         * time/tst-getdate.c (tests): Add tests with leading and
26963         trailing spaces.
26964
26965 2013-04-08  Roland McGrath  <roland@hack.frob.com>
26966
26967         [BZ #14280]
26968         * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
26969         when computing value.
26970
26971 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
26972
26973         * math/README.libm-test (How can I generate "libm-test-ulps"?):
26974         Use testrun.sh to run libm tests.
26975
26976         [BZ #15309]
26977         * elf/dl-open.c (dl_open_worker): memset all of seen array.
26978
26979 2013-04-06  Marko Myllynen  <myllynen@redhat.com>
26980
26981         [BZ #15264]
26982         * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
26983
26984 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
26985
26986         * Makefile.in (regen-ulps): New target.
26987         * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
26988         [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
26989         [ifneq (no,$(PERL)] (regen-ulps): New target.
26990         [ifeq (no,$(PERL)] (regen-ulps): New target.
26991         * math/libm-test.inc (ulps_file_name): Define.
26992         (output_dir): New variable.
26993         (options): Add "output-dir" option.
26994         (parse_opt): Handle 'o' case.
26995         (main): If output_dir is non-NULL use it as a prefix
26996         otherwise use "".
26997         * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
26998
26999 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
27000
27001         [BZ #10060, #10062]
27002         * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
27003         * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
27004         fail configure if __sync_val_compare_and_swap is not inlined.
27005         * sysdeps/i386/configure: Regenerate.
27006         * configure.in: Build for i686 when configured for i386.
27007         * configure: Regenerate.
27008         * README: Remove i386 reference.
27009
27010 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
27011
27012         * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
27013         * sysdeps/s390/s390-64/sysdep.h: Likewise.
27014
27015 2013-04-05  Thomas Schwinge  <thomas@codesourcery.com>
27016
27017         * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
27018         (lmsnanval): New variables.
27019         (F): Add conversion tests.
27020         * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
27021         * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
27022
27023         * stdio-common/tstdiomisc.c (F): Properly collect individual
27024         tests' results.
27025
27026         [BZ #14686, #15336]
27027         * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
27028         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
27029         Instead, use input NaN values or generate a qNaN by arithmetic
27030         operation.  Also fix bugs to comply with the standard.
27031         * math/libm-test.inc (remainder_test): Add more tests.
27032
27033         [BZ #15335, #15342]
27034         * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
27035         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
27036         input NaN values or generate a qNaN by arithmetic operation.
27037
27038         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
27039         unreachable code.
27040
27041         * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
27042         definitions.
27043
27044 2013-04-03  Joseph Myers  <joseph@codesourcery.com>
27045
27046         [BZ #14478]
27047         * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
27048         underflowed result.
27049         * math/s_cexpf.c (__cexpf): Likewise.
27050         * math/s_cexpl.c (__cexpl): Likewise.
27051         * math/libm-test.inc (cexp_test): Add more tests.
27052
27053 2013-04-03  Andreas Schwab  <schwab@suse.de>
27054
27055         [BZ #15330]
27056         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
27057         order arrays from heap if bigger than alloca cutoff.
27058
27059 2013-04-03  Thomas Schwinge  <thomas@codesourcery.com>
27060
27061         * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
27062         (SNAN_TESTS_double): Refer to GCC PR56831.
27063         * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
27064         GCC PR56828.
27065
27066 2013-04-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
27067
27068         * Rules (bench): Move bench.out after the run is complete.
27069
27070         * Rules (bench): Echo currently running benchmark.
27071
27072         * benchtests/Makefile (bench): Add atan and slowatan.
27073         * benchtests/atan-inputs: New file.
27074         * benchtests/slowatan-inputs: New file.
27075         * benchtests/slowatan.c: New file.
27076
27077         * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
27078         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
27079         its value.
27080
27081         [BZ #15305]
27082         * sysdeps/unix/sysv/linux/kernel-features.h
27083         [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
27084         __ASSUME_XFS_RESTRICTED_CHOWN.
27085         * sysdeps/unix/sysv/linux/pathconf.c
27086         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
27087         Save and restore errno.
27088
27089 2013-04-02  Joseph Myers  <joseph@codesourcery.com>
27090
27091         [BZ #15327]
27092         * math/s_cacosh.c (__cacosh): Implement for finite nonzero
27093         arguments using __kernel_casinh.
27094         * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
27095         arguments using __kernel_casinhf.
27096         * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
27097         arguments using __kernel_casinhl.
27098         * math/libm-test.inc (cacosh_test): Add more tests.
27099         * sysdeps/i386/fpu/libm-test-ulps: Update.
27100         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27101
27102 2013-04-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
27103
27104         * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
27105         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
27106
27107         * bench/Makefile (bench): Add sin and slowsin.
27108         * benchtests/sin-inputs: New file.
27109         * benchtests/slowsin-inputs: New file.
27110         * benchtests/slowsin.c: New file.
27111
27112         * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
27113         (bench): Add slowexp and slowpow.
27114         (exp-ITER): Increase iterations.
27115         (pow-ITER): Likewise.
27116         * benchtests/exp-inputs: Change input.
27117         * benchtests/pow-inputs: Likewise.
27118         * benchtests/slowexp-inputs: New file.
27119         * benchtests/slowexp.c: New file.
27120         * benchtests/slowpow-inputs: New file.
27121         * benchtests/slowpow.c: New file.
27122
27123 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27124
27125         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
27126         instructions.
27127         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
27128         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
27129         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
27130         * benchtests/Makefile: Add rint benchtest.
27131         * benchtests/rint-inputs: Input for rint benchtest.
27132
27133 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
27134
27135         * Versions.def (libm): Add GLIBC_2.18.
27136         * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
27137         hidden libm prototypes.
27138         [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
27139         * math/Makefile (libm-calls): Add s_issignaling.
27140         * math/Versions (libm: GLIBC_2.18): Add __issignaling,
27141         __issignalingf, __issignalingl.  Adjust all libm.abilist files.
27142         * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
27143         declaration.
27144         * math/math.h [__USE_GNU] (issignaling): New macro.
27145         * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
27146         * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
27147         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
27148         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
27149         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
27150         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
27151         * manual/arith.texi (issignaling): New section.
27152         * manual/libm-err-tab.pl (@all_functions): Update comment.
27153         * math/gen-libm-test.pl (parse_args): Apply special handling for
27154         issignaling.
27155         * math/libm-test.inc (print_float, issignaling_test): New
27156         functions.
27157         (check_float_internal): Add issignaling checks.
27158         * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
27159         default definition.
27160         * sysdeps/powerpc/math-tests.h: New file.
27161         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
27162         tests.
27163         * math/test-snan.c (TEST_FUNC): Likewise.
27164
27165 2013-03-30  David S. Miller  <davem@davemloft.net>
27166
27167         * po/de.po: Update from translation team.
27168
27169 2013-03-30  Joseph Myers  <joseph@codesourcery.com>
27170
27171         [BZ #10357]
27172         * math/k_casinh.c (__kernel_casinh): Handle arguments with
27173         imaginary part less than 1.0 and real part less than 0.5
27174         specially.
27175         * math/k_casinhf.c (__kernel_casinhf): Likewise.
27176         * math/k_casinhl.c (__kernel_casinhl): Likewise.
27177         * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
27178         (cacos_test): Add more tests.
27179         (casin_test): Likewise.
27180         (casinh_test): Likewise.
27181         * sysdeps/i386/fpu/libm-test-ulps: Update.
27182         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27183
27184 2013-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
27185
27186         * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
27187         ONE with its value.
27188
27189         * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
27190         (__pow_mp): Replace ONE and MONE with their values.
27191         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
27192         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
27193         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
27194         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
27195         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
27196         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
27197
27198         * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
27199
27200         * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
27201         (__pow_mp): Replace ZERO and MZERO with their values.
27202         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
27203         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
27204         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
27205         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
27206         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
27207         * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
27208         (__sqr): Likewise.
27209
27210         * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
27211
27212         * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
27213
27214 2013-03-28  Roland McGrath  <roland@hack.frob.com>
27215
27216         * include/stdlib.h [!SHARED] (__call_tls_dtors):
27217         Declare with __attribute__ ((weak)).
27218         * stdlib/exit.c (__libc_atexit) [!SHARED]:
27219         Call __call_tls_dtors only if it's not NULL.
27220
27221 2013-03-28  Roland McGrath  <roland@hack.frob.com>
27222
27223         * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
27224         didn't do it already, then set _dl_phdr and _dl_phnum based on the
27225         magic __ehdr_start linker symbol if it's defined.
27226         * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
27227         them up here if it was already done.
27228
27229         * elf/dl-support.c (_dl_phdr): Make pointer to const.
27230         (_dl_aux_init): Use const in cast when setting it.
27231         * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
27232         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
27233         * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
27234
27235         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
27236         Declare them here.
27237         * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
27238         * csu/libc-tls.c: Nor here.
27239         * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
27240
27241         * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
27242         (__libc_message): Never call vsyslog.
27243
27244 2013-03-28  Alan Modra  <amodra@gmail.com>
27245
27246         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
27247         Define as empty.
27248         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
27249         Likewise.
27250
27251 2013-03-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27252
27253         [BZ #15214]
27254         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
27255         underflow.
27256         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27257
27258 2013-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
27259
27260         [BZ #15304]
27261         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
27262         Don't add gid passed as argument.
27263
27264         * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
27265
27266 2013-03-27  Joseph Myers  <joseph@codesourcery.com>
27267
27268         [BZ #15307]
27269         * math/k_casinh.c (__kernel_casinh): Handle arguments with
27270         imaginary part between 1.0 and 1.5 and real part less than 0.5
27271         specially.
27272         * math/k_casinhf.c (__kernel_casinhf): Likewise.
27273         * math/k_casinhl.c (__kernel_casinhl): Likewise.
27274         * math/libm-test.inc (cacos_test): Add more tests.
27275         (casin_test): Likewise.
27276         (casinh_test): Likewise.
27277         * sysdeps/i386/fpu/libm-test-ulps: Update.
27278         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27279
27280 2013-03-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
27281
27282         * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
27283         constants.
27284         (norm): Likewise.
27285         (denorm): Likewise.
27286         (__dbl_mp): Likewise.
27287         (add_magnitudes): Likewise.
27288         (sub_magnitudes): Likewise.
27289         (__add): Likewise.
27290         (__sub): Likewise.
27291         (__mul): Likewise.
27292         (__sqr): Likewise.
27293         (__inv): Likewise.
27294         (__dvd): Likewise.
27295
27296         * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
27297         commented code.
27298         * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
27299         (__dubcos): Likewise.
27300         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
27301         (__ieee754_acos): Likewise.
27302         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
27303         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
27304         (__exp1): Likewise.
27305         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
27306         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
27307         (log1): Likewise.
27308         (my_log2): Likewise.
27309         (checkint): Likewise.
27310         * sysdeps/ieee754/dbl-64/e_remainder.c
27311         (__ieee754_remainder): Likewise.
27312         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
27313         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
27314         (bsloww): Likewise.
27315         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
27316
27317         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
27318         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
27319         MANTISSA_STORE_T to store computations on mantissa.  Use
27320         macros for rounding and division.
27321         (denorm): Likewise.
27322         (__dbl_mp): Likewise.
27323         (add_magnitudes): Likewise.
27324         (sub_magnitudes): Likewise.
27325         (__mul): Likewise.
27326         (__sqr): Likewise.
27327         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
27328         powers of two in terms of TWOPOW macro.
27329         (mp_no): Make type of mantissa as MANTISSA_T.
27330         [!RADIXI]: Define RADIXI.
27331         [!TWO52]: Define TWO52.
27332         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
27333
27334 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27335
27336         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
27337         llroundl symbol when building for PPC32.
27338
27339 2013-03-24  Mark H Weaver  <mhw@netris.org>
27340
27341         * manual/arith.texi (Normalization Functions): Fix prototypes for
27342         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
27343
27344 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27345
27346         [BZ #13889]
27347         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
27348         high value to check if expl overflow.
27349         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
27350         to check for underflow and overflow.
27351         * math/libm-test.inc: Add exp test.
27352
27353 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
27354
27355         [BZ #11120]
27356         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
27357         with NOT_IN_libc.
27358
27359 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27360
27361         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
27362         symbol.
27363
27364 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
27365
27366         * math/gen-libm-test.pl (parse_args, special_functions): Properly
27367         wrap blocks consisting of several statements.
27368
27369         * sysdeps/generic/math-tests.h: New file.
27370         * sysdeps/i386/fpu/math-tests.h: Likewise.
27371         * math/test-snan.c: Include it.
27372         (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
27373
27374 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
27375
27376         [BZ #15285]
27377         * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
27378         (__ieee754_j0l): Do not improve calculations using cos of twice
27379         input for inputs above LDBL_MAX / 2.0L.
27380         (__ieee754_y0l): Likewise.
27381         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
27382         (__ieee754_j1l): Do not improve calculations using cos of twice
27383         input for inputs above LDBL_MAX / 2.0L.
27384         (__ieee754_y1l): Likewise.
27385         * math/libm-test.inc (j0_test): Add another test.
27386         (j1_test): Likewise.
27387         (y0_test): Likewise.
27388         (y1_test): Likewise.
27389         * sysdeps/i386/fpu/libm-test-ulps: Update.
27390
27391 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
27392
27393         * Rules ($(objpfx)bench-%.c): Include code from a C source
27394         file.
27395
27396 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
27397
27398         [BZ #15287]
27399         * math/k_casinh.c (__kernel_casinh): Handle arguments with
27400         imaginary part 1.0 and real part less than 0.5 specially.
27401         * math/k_casinhf.c (__kernel_casinhf): Likewise.
27402         * math/k_casinhl.c (__kernel_casinhl): Likewise.
27403         * math/libm-test.inc (cacos_test): Add more tests.
27404         (casin_test): Likewise.
27405         (casinh_test): Likewise.
27406         * sysdeps/i386/fpu/libm-test-ulps: Update.
27407         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27408
27409 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
27410
27411         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
27412         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
27413
27414 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
27415
27416         * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
27417         * config.make.in (config-cflags-sse4): Remove variable.
27418         (config-cflags-avx): Likewise.
27419         (config-cflags-sse2avx): Likewise.
27420         (config-cflags-novzeroupper): Likewise.
27421         (config-asflags-i686): Likewise.
27422         (have-mfma4): Likewise.
27423         (have-as-vis3): Likewise.
27424         (MIG): Likewise.
27425         * configure.in (MIG): Do not AC_SUBST.
27426         (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
27427         (libc_cv_cc_sse4): Do not AC_SUBST.
27428         (libc_cv_cc_avx): Likewise.
27429         (libc_cv_cc_sse2avx): Likewise.
27430         (libc_cv_cc_novzeroupper): Likewise.
27431         (libc_cv_cc_fma4): Likewise.
27432         (libc_cv_as_i686): Likewise.
27433         (libc_cv_sparc_as_vis3): Likewise.
27434         * sysdeps/i386/configure.in (config-cflags-sse4): Set using
27435         LIBC_CONFIG_VAR.
27436         (config-asflags-i686): Likewise.
27437         (config-cflags-avx): Likewise.
27438         (config-cflags-sse2avx): Likewise.
27439         (have-mfma4): Likewise.
27440         (config-cflags-novzeroupper): Likewise.
27441         * sysdeps/mach/configure.in (MIG): Likewise.
27442         * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
27443         * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
27444         LIBC_CONFIG_VAR.
27445         (config-cflags-avx): Likewise.
27446         (config-cflags-sse2avx): Likewise.
27447         (have-mfma4): Likewise.
27448         (config-cflags-novzeroupper): Likewise.
27449         * configure: Regenerated.
27450         * sysdeps/i386/configure: Likewise.
27451         * sysdeps/mach/configure: Likewise.
27452         * sysdeps/sparc/configure: Likewise.
27453         * sysdeps/x86_64/configure: Likewise.
27454
27455 2013-03-20  Roland McGrath  <roland@hack.frob.com>
27456
27457         [BZ #14812]
27458         * locale/programs/localedef.c (options): Put N_ translation marker
27459         on argument names, not just descriptions.
27460
27461 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
27462
27463         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
27464
27465 2013-03-20  Ondřej Bílka  <neleai@seznam.cz>
27466
27467         [BZ #14176]
27468         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
27469
27470 2013-03-19  Roland McGrath  <roland@hack.frob.com>
27471
27472         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
27473         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
27474         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
27475         [!BEFORE_ABORT] (before_abort): New function.
27476         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
27477         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
27478         (writev_for_fatal): New function.
27479         (WRITEV_FOR_FATAL): New macro; call that.
27480         (backtrace_and_maps): New function.
27481         (BEFORE_ABORT): New macro; call that.
27482         (struct str_list): Type removed.
27483         (__libc_message, __libc_fatal): Functions removed.
27484         Include <sysdeps/posix/libc_fatal.c> instead.
27485
27486 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
27487
27488         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
27489         constants.
27490         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
27491         double constants.
27492
27493 2013-03-19  Andreas Schwab  <schwab@suse.de>
27494
27495         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
27496         * sysdeps/gnu/configure: Regenerate.
27497
27498         * configure.in: Substitute libc_cv_rtlddir.
27499         * configure: Regenerate.
27500         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
27501         * Makeconfig (rtlddir, inst_rtlddir): New variables.
27502         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
27503         * elf/Makefile (install-others, CFLAGS-interp.c)
27504         (ldso_install, common-ldd-rewrite): Likewise.
27505         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
27506         $(inst_slibdir)/$(rtld-installed-name).
27507         * scripts/rellns-sh: Add -p option.
27508         * Makerules (make-shlib-link): Use rellns-sh to get relative name
27509         for source.
27510
27511 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
27512
27513         * manual/nptl.texi: Renamed to ...
27514         * manual/threads.texi: ... this.
27515         * manual/Makefile (chapters): Update.
27516
27517 2013-03-18  Roland McGrath  <roland@hack.frob.com>
27518
27519         [BZ #14812]
27520         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
27521         on argument names, not just descriptions.
27522         * malloc/memusagestat.c (options): Likewise.
27523         * nss/getent.c (options): Likewise.
27524
27525 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
27526
27527         [BZ #14812]
27528         * iconv/iconv_prog.c (options): Put N_ translation marker
27529         on argument names, not just descriptions.
27530         * iconv/iconvconfig.c (options): Likewise.
27531
27532 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
27533
27534         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
27535         implementation which is faster on all x86_64 architectures.
27536         Tested on AMD, Intel Nehalem, SNB, IVB.
27537         * sysdeps/x86_64/strnlen.S: Likewise.
27538
27539         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
27540         Remove all multiarch strlen and strnlen versions.
27541         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
27542         Remove strlen and strnlen related parts.
27543
27544         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
27545         Inline strlen part.
27546         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
27547
27548         * sysdeps/x86_64/multiarch/strlen.S: Remove.
27549         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
27550         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
27551         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
27552         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
27553         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
27554
27555 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
27556
27557         * manual/memory.texi (Malloc Tunable Parameters):
27558         Sort parameters alphabetically. Add comments for missing entries.
27559
27560 2013-03-17  David S. Miller  <davem@davemloft.net>
27561
27562         * sysdeps/sparc/fpu/libm-test-ulps: Update.
27563
27564 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
27565
27566         [BZ #15283]
27567         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
27568         for arguments at most half maximum finite value.
27569         * math/libm-test.inc (j0_test): Add more tests.
27570         (j1_test): Likewise.
27571         (y0_test): Likewise.
27572         (y1_test): Likewise.
27573         * sysdeps/i386/fpu/libm-test-ulps: Update.
27574         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27575
27576         [BZ #14155]
27577         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
27578         1 / x and functions P and Q for arguments above 0x1p256L.
27579         (__ieee754_y0l): Likewise.
27580         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
27581         (__ieee754_y1l): Likewise.
27582         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
27583         (j1_test): Likewise.
27584         (y0_test): Likewise.
27585         (y1_test): Likewise.
27586
27587 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
27588
27589         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
27590         variable.
27591
27592 2013-03-15  Roland McGrath  <roland@hack.frob.com>
27593
27594         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
27595         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
27596         zero since it's initialized to EXEC_PAGESIZE.
27597
27598         * sysdeps/unix/sysv/linux/ldsodefs.h
27599         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
27600         * sysdeps/generic/ldsodefs.h: ... here.
27601
27602 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
27603
27604         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
27605
27606         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
27607         math/test-snan.c.
27608         * math/test-snan.c: Renamed from
27609         sysdeps/powerpc/fpu/test-powerpc-snan.c.
27610         * math/Makefile (tests): Add test-snan.
27611         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
27612         test-powerpc-snan.
27613
27614         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
27615         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
27616         functions.
27617         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
27618         __builtin_nan family of functions.
27619         * math/libm-test.inc (initialize): Initialize qnan_value with
27620         __builtin_nan family of functions.
27621         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
27622         Remove variables.
27623         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
27624         Remove functions.
27625         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
27626         storage class.  Initialize qNaN_var and sNaN_var with
27627         __builtin_nan and __builtin_nans families of functions,
27628         respectively.
27629
27630         * math/libm-test.inc (acosh_test): Also test with qNaN input.
27631         (sqrt_test): Remove duplicate test with qNaN input.
27632         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
27633         (round_test, signbit_test, significand_test): Note missing +/-Inf
27634         as well as qNaN tests.
27635
27636         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
27637         qNaN_var.  Fix a few strings, too.
27638         * math/libm-test.inc (nan_value): Rename to qnan_value.
27639         * math/gen-libm-test.pl (%beautify): Adjust to that.
27640         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
27641         * math/test-misc.c (main): Likewise.
27642         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
27643         to __qnan_bytes, and __qnan_union, respectively.
27644         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
27645         Likewise.
27646         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
27647         and lqnanval, respectively.
27648         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
27649         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
27650         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
27651         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
27652
27653         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
27654         * math/test-misc.c (main) [__x86_64__]: Enable test for long
27655         doubles.
27656
27657         * math/test-misc.c (main): Fix copy'n'pastos.
27658         * misc/tst-efgcvt.c (special): Likewise.
27659
27660         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
27661         Remove declarations.
27662
27663 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
27664
27665         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
27666         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
27667         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
27668         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
27669
27670 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27671
27672         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
27673         macro to return vdso values correctly in IFUNC implementations.
27674         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
27675         Optimization by using IFUNC.
27676
27677 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
27678             Richard Henderson  <rth@redhat.com>
27679             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
27680
27681         * Makefile.in (bench): New target.
27682         * NEWS: Mention the benchmark framework.
27683         * Rules (bench): Likewise.
27684         (binaries-bench): Generate binaries for functions to
27685         benchmark.
27686         * benchtests/Makefile: New makefile for benchmark tests.
27687         * benchtests/bench-skeleton.c: New skeleton file for benchmark
27688         programs.
27689         * benchtests/exp-inputs: New input file for EXP function.
27690         * benchtests/pow-inputs: New input file for POW function.
27691         * scripts/bench.pl: New script to generate source files for
27692         benchmark programs.
27693
27694 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
27695
27696         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
27697         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
27698         computations on mantissa.  Use macros for rounding and
27699         division.
27700         (denorm): Likewise.
27701         (__dbl_mp): Likewise.
27702         (add_magnitudes): Likewise.
27703         (sub_magnitudes): Likewise.
27704         (__mul): Likewise.
27705         (__sqr): Likewise.
27706         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
27707         powers of two in terms of TWOPOW macro.
27708         (mp_no): Make type of mantissa as MANTISSA_T.
27709         [!RADIXI]: Define RADIXI.
27710         [!TWO52]: Define TWO52.
27711         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
27712
27713         * manual/nptl.texi (cindex): Modify threads to pthreads.
27714
27715 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
27716
27717         * sysdeps/x86_64/preconfigure: Regenerated.
27718
27719 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
27720
27721         [BZ #14155]
27722         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
27723         0x1p28 and above.
27724         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
27725         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
27726         0x1p28 and above.
27727         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
27728         * math/libm-test.inc (j0_test): Do not allow one spurious
27729         underflow exception.
27730         (y1_test): Likewise.
27731
27732 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
27733
27734         * manual/Makefile (chapters): Add nptl.
27735         * manual/debug.texi (Debugging Support): Add link to Threads
27736         chapter.
27737         * manual/nptl.texi: New file.
27738
27739         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
27740
27741 2013-03-14  Petr Baudis  <pasky@ucw.cz>
27742
27743         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
27744         for non-NULL pointer before the memory validity test. Pointed
27745         out by Holger Brunck <holger.brunck@keymile.com>.
27746
27747 2013-03-13  Andreas Schwab  <schwab@suse.de>
27748
27749         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
27750         instead of .os.
27751
27752 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
27753
27754         * timezone/zic.c: Update from tzcode 2013b.
27755
27756 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
27757
27758         * manual/install.texi (Configuring and compiling):
27759         Mention i686 and i586.
27760         * INSTALL: Regenerate.
27761
27762 2013-03-12  Roland McGrath  <roland@hack.frob.com>
27763
27764         * sysdeps/init_array/elf-init.c: New file.
27765         * csu/elf-init.c
27766         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
27767         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
27768
27769         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
27770         __gmon_start__ as global, but as static with a .preinit_array pointer.
27771         * sysdeps/init_array/gmon-start.c: New file.  Use that.
27772         * sysdeps/init_array/crti.S: New file, empty except for comments.
27773         * sysdeps/init_array/crtn.S: Likewise.
27774
27775 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
27776
27777         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
27778         definining bcopy.
27779         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
27780         Remove Prefer_SSE_for_memop.
27781         * sysdeps/x86_64/multiarch/init-arch.h: Remove
27782         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
27783         HAS_PREFER_SSE_FOR_MEMOP.
27784         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
27785         memset-x86-64.
27786         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
27787         Remove bzero, memset ifunc support.
27788         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
27789         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
27790         * sysdeps/x86_64/multiarch/memset.S: Likewise.
27791         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
27792
27793 2013-03-11  Andreas Schwab  <schwab@suse.de>
27794
27795         [BZ #15234]
27796         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
27797         by SHLIB_COMPAT.
27798         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
27799         (GLIBC_2.16): Remove pthread_atfork.
27800
27801 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
27802
27803         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
27804         (ptestcases.h): Likewise.
27805
27806 2013-03-08  Roland McGrath  <roland@hack.frob.com>
27807
27808         * Makeconfig ($(common-objpfx)config.status): Depend on
27809         sysdeps/*/preconfigure{,.in} too.
27810
27811 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
27812
27813         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
27814         (__free_hook): Use void * instead of __malloc_ptr_t.
27815         (__malloc_hook): Likewise.
27816         (__realloc_hook): Likewise.
27817         (__memalign_hook): Likewise.
27818         (__after_morecore_hook): Likewise.
27819         * malloc/arena.c (save_malloc_hook): Likewise.
27820         (save_free_hook): Likewise.
27821         * malloc/hooks.c (malloc_hook_ini): Likewise.
27822         (realloc_hook_ini): Likewise.
27823         (memalign_hook_ini): Likewise.
27824         * malloc/malloc.c (malloc_hook_ini): Likewise.
27825         (realloc_hook_ini): Likewise.
27826         (memalign_hook_ini): Likewise.
27827         (__free_hook): Likewise.
27828         (__malloc_hook): Likewise.
27829         (__realloc_hook): Likewise.
27830         (__memalign_hook): Likewise.
27831         (__libc_malloc): Likewise.
27832         (__libc_free): Likewise.
27833         (__libc_realloc): Likewise.
27834         (__libc_memalign): Likewise.
27835         (__libc_valloc): Likewise.
27836         (__libc_pvalloc): Likewise.
27837         (__libc_calloc): Likewise.
27838         (__posix_memalign): Likewise.
27839         * malloc/morecore.c (__sbrk): Likewise.
27840         (__default_morecore): Likewise.
27841
27842         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
27843
27844         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
27845         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
27846         __malloc_ptrdiff_t.
27847
27848         * malloc/malloc.h (__malloc_size_t): Remove macro.
27849         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
27850         __malloc_size_t.
27851         (old_memalign_hook): Likewise.
27852         (old_realloc_hook): Likewise.
27853         (struct hdr): Likewise.
27854         (flood): Likewise.
27855         (mallochook): Likewise.
27856         (memalignhook): Likewise.
27857         (reallochook): Likewise.
27858         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
27859         (tr_old_realloc_hook): Likewise.
27860         (tr_old_memalign_hook): Likewise.
27861         (tr_mallochook): Likewise.
27862         (tr_reallochook): Likewise.
27863         (tr_memalignhook): Likewise.
27864
27865 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27866
27867         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
27868         default_ldbl_pack and using as default implementation.
27869         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
27870         implementation.
27871         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
27872         redundant definition.
27873         (ldbl_insert_mantissa): Likewise.
27874         (ldbl_canonicalize): Likewise.
27875         (ldbl_nearbyint): Likewise.
27876         (ldbl_pack): Rename to ldbl_pack_ppc.
27877         (ldbl_unpack): Rename to ldbl_unpack_ppc.
27878         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
27879         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
27880
27881 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
27882
27883         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
27884         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
27885         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
27886         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
27887         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
27888         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
27889         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
27890         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
27891
27892 2013-03-07  Andreas Jaeger  <aj@suse.de>
27893
27894         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
27895         bits/mman-linux.h.
27896
27897 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
27898
27899         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
27900         Include mpa.h and declare __MPEXP.
27901         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
27902         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
27903         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
27904         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
27905         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
27906         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
27907         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
27908
27909         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
27910         (__slowpow): Use long double EXPL and LOGL functions to
27911         compute POW.
27912         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
27913         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
27914         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
27915         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
27916         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
27917         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
27918
27919         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
27920         intermediate variable to calculate exponent.
27921         (__sqr): Likewise.
27922         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
27923         Likewise.
27924         (__sqr): Likewise.
27925
27926         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
27927         [!NO__SQR]: Define __sqr.
27928         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
27929         and NO__SQR.  Remove all code except __mul and __sqr.  Include
27930         sysdeps/ieee754/dbl-64/mpa.c.
27931         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
27932
27933         [BZ #12723]
27934         * posix/Makefile (tests): Add tst-pathconf.
27935         * posix/tst-pathconf.c: New test case.
27936         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
27937         _PC_PIPE_BUF.
27938         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
27939
27940 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
27941
27942         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
27943
27944 2013-03-06  Andreas Jaeger  <aj@suse.de>
27945
27946         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
27947         definition via __MAP_ANONYMOUS.
27948
27949         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
27950         it's not part of Linux headers.
27951
27952         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
27953         (MAP_HUGE_MASK): Define.
27954
27955         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
27956         Define.
27957         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
27958         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
27959         Define.
27960         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
27961         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
27962         Define.
27963         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
27964         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
27965         Define.
27966         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
27967
27968         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
27969         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
27970         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
27971         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
27972         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
27973         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
27974
27975         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
27976         Handle f2fs.
27977
27978         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
27979         Handle f2fs and efivarfs.
27980
27981         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
27982         f2fs.
27983
27984         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
27985         (EFIVARFS_MAGIC): Add.
27986         (F2FS_LINK_MAX): Add.
27987
27988 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
27989
27990         * stdio-common/vfprintf.c: Replace __builtin_expect with
27991         __glibc_unlikely.
27992
27993 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
27994
27995         [BZ #13550]
27996         * sysdeps/generic/bp-sym.h: Remove file.
27997         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
27998         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
27999         <bp-sym.h> and <bp-asm.h>.
28000         (__longjmp): Don't use BP_SYM.
28001         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
28002         and <bp-asm.h>.
28003         (memcpy): Don't use BP_SYM.
28004         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
28005         <bp-sym.h> and <bp-asm.h>.
28006         (memcpy): Don't use BP_SYM.
28007         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
28008         <bp-asm.h>.
28009         (memcpy): Don't use BP_SYM.
28010         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
28011         <bp-asm.h>.
28012         (memset): Don't use BP_SYM.
28013         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
28014         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
28015         (__bzero): Don't use BP_SYM.
28016         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
28017         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
28018         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
28019         <bp-sym.h> and <bp-asm.h>.
28020         (memcmp): Don't use BP_SYM.  Remove comment about bounded
28021         pointers.
28022         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
28023         <bp-sym.h> and <bp-asm.h>.
28024         (memcpy): Don't use BP_SYM.
28025         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
28026         <bp-sym.h> and <bp-asm.h>.
28027         (memset): Don't use BP_SYM.
28028         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
28029         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
28030         (__bzero): Don't use BP_SYM.
28031         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
28032         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
28033         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
28034         <bp-sym.h> and <bp-asm.h>.
28035         (strncmp): Don't use BP_SYM.  Remove comment about bounded
28036         pointers.
28037         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
28038         <bp-sym.h> and <bp-asm.h>.
28039         (memcpy): Don't use BP_SYM.
28040         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
28041         <bp-sym.h> and <bp-asm.h>.
28042         (memset): Don't use BP_SYM.
28043         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
28044         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
28045         (__bzero): Don't use BP_SYM.
28046         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
28047         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
28048         * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
28049         <bp-sym.h> and <bp-asm.h>.
28050         (__memchr): Don't use BP_SYM.
28051         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
28052         <bp-sym.h> and <bp-asm.h>.
28053         (memcmp): Don't use BP_SYM.  Remove comment about bounded
28054         pointers.
28055         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
28056         <bp-sym.h> and <bp-asm.h>.
28057         (memcpy): Don't use BP_SYM.
28058         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
28059         <bp-sym.h> and <bp-asm.h>.
28060         (__mempcpy): Don't use BP_SYM.
28061         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
28062         <bp-sym.h> and <bp-asm.h>.
28063         (__memrchr): Don't use BP_SYM.
28064         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
28065         <bp-sym.h> and <bp-asm.h>.
28066         (memset): Don't use BP_SYM.
28067         (__bzero): Likewise.
28068         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
28069         <bp-sym.h> and <bp-asm.h>.
28070         (__rawmemchr): Don't use BP_SYM.
28071         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
28072         <bp-sym.h> and <bp-asm.h>.
28073         (__STRCMP): Don't use BP_SYM.
28074         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
28075         <bp-sym.h> and <bp-asm.h>.
28076         (strchr): Don't use BP_SYM.
28077         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
28078         <bp-sym.h> and <bp-asm.h>.
28079         (__strchrnul): Don't use BP_SYM.
28080         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
28081         <bp-sym.h> and <bp-asm.h>.
28082         (strlen): Don't use BP_SYM.
28083         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
28084         <bp-sym.h> and <bp-asm.h>.
28085         (strncmp): Don't use BP_SYM.  Remove comment about bounded
28086         pointers.
28087         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
28088         <bp-sym.h> and <bp-asm.h>.
28089         (__strnlen): Don't use BP_SYM.
28090         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
28091         <bp-sym.h> and <bp-asm.h>.
28092         (__GI__setjmp): Don't use BP_SYM.
28093         (_setjmp): Likewise.
28094         (__sigsetjmp): Likewise.
28095         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
28096         (L(start_addresses)): Don't use BP_SYM.
28097         (_start): Likewise.
28098         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
28099         <bp-asm.h>.
28100         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
28101         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
28102         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
28103         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
28104         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
28105         <bp-asm.h>.
28106         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
28107         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
28108         about bounded pointers.
28109         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
28110         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
28111         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
28112         <bp-asm.h>.
28113         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
28114         about bounded pointers.  Remove GKM FIXME comments.
28115         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
28116         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
28117         <bp-asm.h>.
28118         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
28119         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
28120         Remove GKM FIXME comments.
28121         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
28122         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
28123         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
28124         <bp-asm.h>.
28125         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
28126         about bounded pointers.  Remove GKM FIXME comment.
28127         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
28128         and <bp-asm.h>.
28129         (strncmp): Don't use BP_SYM.  Remove comment about bounded
28130         pointers.
28131         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
28132         <bp-sym.h> and <bp-asm.h>.
28133         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
28134         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
28135         <bp-sym.h> and <bp-asm.h>.
28136         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
28137         comment.
28138
28139 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
28140
28141         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
28142         call free(NULL).
28143
28144 2013-03-05  David S. Miller  <davem@davemloft.net>
28145
28146         * po/es.po: Update from translation team.
28147
28148 2013-03-05  Andreas Jaeger  <aj@suse.de>
28149
28150         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
28151         <bits/mman-linux.h>.
28152         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
28153         is fine.
28154         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
28155         <bits/mman-linux.h> to end of file.
28156         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
28157         is fine.
28158         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
28159         <bits/mman-linux.h> to end of file.
28160         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
28161         is fine.
28162         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
28163         <bits/mman-linux.h> to end of file.
28164
28165         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
28166         (MCL_CURRENT, MCL_FUTURE): Define here.
28167
28168 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
28169
28170         [BZ #15232]
28171         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
28172         attribute_hidden.
28173         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
28174
28175 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
28176
28177         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
28178         fourth parameter needed for rt_sigprocmask syscall.
28179         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
28180         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
28181         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
28182         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
28183         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
28184         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
28185
28186 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
28187
28188         [BZ #13550]
28189         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
28190         comment about bounded pointers.
28191         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
28192         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
28193
28194 2013-03-04  Andreas Jaeger  <aj@suse.de>
28195
28196         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
28197         common definitions.
28198
28199         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
28200         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
28201         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
28202         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
28203         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
28204         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
28205
28206 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28207
28208         [BZ #15055]
28209         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
28210         __ieee754_sqrl instead of __sqrl.
28211
28212 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
28213
28214         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
28215         * sysdeps/powerpc/fpu_control.h: ... here.
28216         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
28217         * sysdeps/powerpc/bits/fenvinline.h: ... here.
28218         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
28219         * sysdeps/powerpc/bits/mathinline.h: ... here.
28220
28221 2013-03-01  Roland McGrath  <roland@hack.frob.com>
28222
28223         * elf/dl-hwcaps.c (_dl_important_hwcaps):
28224         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
28225         to just [NEED_DL_SYSINFO_DSO].
28226         * elf/dl-support.c: Likewise.
28227         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
28228         * elf/rtld.c (dl_main): Likewise.
28229         * elf/setup-vdso.h (setup_vdso): Likewise.
28230         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
28231         * sysdeps/unix/sysv/linux/dl-sysdep.c
28232         (_dl_discover_osversion): Likewise.
28233
28234 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
28235
28236         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
28237         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
28238
28239 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
28240
28241         * NEWS: Mention libm performance improvements and non-x86 PI
28242         futex support.
28243
28244         * csu/libc-start.c (__pthread_initialize_minimal): Change
28245         function arguments.
28246         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
28247
28248 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
28249
28250         [BZ #13550]
28251         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
28252         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
28253         <bp-sym.h> and <bp-asm.h>.
28254         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
28255         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
28256         and <bp-asm.h>.
28257         (memcpy): Don't use BP_SYM.
28258         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
28259         <bp-asm.h>.
28260         (__mpn_add_n): Don't use BP_SYM.
28261         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
28262         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
28263         and <bp-asm.h>.
28264         (__mpn_addmul_1): Don't use BP_SYM.
28265         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
28266         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
28267         <bp-sym.h>.
28268         (_setjmp): Don't use BP_SYM.
28269         (__novmx_setjmp): Likewise.
28270         (__GI__setjmp): Likewise.
28271         (__vmx_setjmp): Likewise.
28272         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
28273         <bp-sym.h>.
28274         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
28275         (__bzero): Don't use BP_SYM.
28276         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
28277         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
28278         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
28279         <bp-sym.h> and <bp-asm.h>.
28280         (memcpy): Don't use BP_SYM.
28281         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
28282         <bp-sym.h> and <bp-asm.h>.
28283         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
28284         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
28285         <bp-sym.h> and <bp-asm.h>.
28286         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
28287         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
28288         <bp-asm.h>.
28289         (__mpn_lshift): Don't use BP_SYM.
28290         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
28291         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
28292         <bp-asm.h>.
28293         (memset): Don't use BP_SYM.
28294         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
28295         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
28296         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
28297         <bp-asm.h>.
28298         (__mpn_mul_1): Don't use BP_SYM.
28299         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
28300         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
28301         <bp-sym.h> and <bp-asm.h>.
28302         (memcmp): Don't use BP_SYM.
28303         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
28304         <bp-sym.h> and <bp-asm.h>.
28305         (memcpy): Don't use BP_SYM.
28306         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
28307         <bp-sym.h> and <bp-asm.h>.
28308         (memset): Don't use BP_SYM.
28309         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
28310         <bp-sym.h> and <bp-asm.h>.
28311         (strncmp): Don't use BP_SYM.
28312         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
28313         <bp-sym.h> and <bp-asm.h>.
28314         (memcpy): Don't use BP_SYM.
28315         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
28316         <bp-sym.h> and <bp-asm.h>.
28317         (memset): Don't use BP_SYM.
28318         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
28319         <bp-sym.h> and <bp-asm.h>.
28320         (__memchr): Don't use BP_SYM.
28321         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
28322         <bp-sym.h> and <bp-asm.h>.
28323         (memcmp): Don't use BP_SYM.
28324         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
28325         <bp-sym.h> and <bp-asm.h>.
28326         (memcpy): Don't use BP_SYM.
28327         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
28328         <bp-sym.h> and <bp-asm.h>.
28329         (__mempcpy): Don't use BP_SYM.
28330         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
28331         <bp-sym.h> and <bp-asm.h>.
28332         (__memrchr): Don't use BP_SYM.
28333         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
28334         <bp-sym.h> and <bp-asm.h>.
28335         (memset): Don't use BP_SYM.
28336         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
28337         <bp-sym.h> and <bp-asm.h>.
28338         (__rawmemchr): Don't use BP_SYM.
28339         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
28340         <bp-sym.h> and <bp-asm.h>.
28341         (__STRCMP): Don't use BP_SYM.
28342         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
28343         <bp-sym.h> and <bp-asm.h>.
28344         (strchr): Don't use BP_SYM.
28345         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
28346         <bp-sym.h> and <bp-asm.h>.
28347         (__strchrnul): Don't use BP_SYM.
28348         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
28349         <bp-sym.h> and <bp-asm.h>.
28350         (strlen): Don't use BP_SYM.
28351         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
28352         <bp-sym.h> and <bp-asm.h>.
28353         (strncmp): Don't use BP_SYM.
28354         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
28355         <bp-sym.h> and <bp-asm.h>.
28356         (__strnlen): Don't use BP_SYM.
28357         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
28358         <bp-asm.h>.
28359         (__mpn_rshift): Don't use BP_SYM.
28360         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
28361         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
28362         <bp-sym.h> and <bp-asm.h>.
28363         (__sigsetjmp): Don't use BP_SYM.
28364         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
28365         (L(start_addresses)): Don't use BP_SYM.
28366         (_start): Likewise.
28367         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
28368         <bp-asm.h>.
28369         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
28370         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
28371         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
28372         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
28373         <bp-asm.h>.
28374         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
28375         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
28376         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
28377         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
28378         <bp-asm.h>.
28379         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
28380         comments.
28381         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
28382         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
28383         <bp-asm.h>.
28384         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
28385         FIXME comments.
28386         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
28387         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
28388         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
28389         <bp-asm.h>.
28390         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
28391         comment.
28392         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
28393         and <bp-asm.h>.
28394         (strncmp): Don't use BP_SYM,
28395         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
28396         <bp-asm.h>.
28397         (__mpn_sub_n): Don't use BP_SYM.
28398         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
28399         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
28400         and <bp-asm.h>.
28401         (__mpn_submul_1): Don't use BP_SYM.
28402         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
28403         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
28404         <bp-sym.h> and <bp-asm.h>.
28405         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
28406         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
28407         <bp-sym.h> and <bp-asm.h>.
28408         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
28409         comment.
28410
28411 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
28412
28413         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
28414         Use ZK to minimize writes to Z.
28415         (sub_magnitudes): Simplify code a bit.
28416         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
28417         Use ZK to minimize writes to Z.
28418         (sub_magnitudes): Simplify code a bit.
28419
28420 2013-02-27  Roland McGrath  <roland@hack.frob.com>
28421
28422         * csu/gmon-start.c: Add special exception to license text.
28423
28424 2013-02-27  Richard Henderson  <rth@redhat.com>
28425
28426         * scripts/config.guess: Update from config.git.
28427         * scripts/config.sub: Likewise.
28428
28429 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
28430
28431         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
28432
28433         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
28434
28435         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
28436
28437         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
28438
28439         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
28440
28441 2013-02-26  Roland McGrath  <roland@hack.frob.com>
28442
28443         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
28444         [$(build-shared = yes].
28445
28446 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
28447
28448         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
28449         (__mul): Reduce iterations for calculating mantissa.
28450
28451         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
28452         MPTWO.
28453         (__mpranred): Likewise.
28454
28455         [BZ #15160]
28456         * malloc/memusagestat.c (main): Draw graphs for heap and stack
28457         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
28458
28459 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
28460
28461         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
28462         Define __attribute__.
28463
28464 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
28465
28466         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
28467         unused.
28468         * posix/regex_internal.h (__attribute): Remove.
28469         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
28470         (re_string_context_at): Likewise.
28471         (bitset_not): Use __attribute__ and mark function as possibly
28472         unused.
28473         (bitset_merge): Likewise.
28474         (bitset_mask): Likewise.
28475         (re_string_char_size_at): Likewise.
28476         (re_string_wchar_at): Likewise.
28477         (re_string_elem_size_at): Likewise.
28478
28479 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
28480
28481         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
28482         code.
28483         (cc32): Likewise.
28484
28485         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
28486         (__acr): Likewise.
28487         (__cpy): Likewise.
28488         (norm): Likewise.
28489         (denorm): Likewise.
28490         (__dbl_mp): Likewise.
28491         (add_magnitudes): Likewise.
28492         (sub_magnitudes): Likewise.
28493         (__mul): Likewise.
28494         (__inv): Likewise.
28495
28496         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
28497         style.
28498
28499         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
28500         style.
28501
28502         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
28503         code.
28504
28505         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
28506         up changes with default code.
28507         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
28508         Likewise.
28509
28510 2013-02-24  Allan McRae  <allan@archlinux.org>
28511
28512         * manual/socket.texi (The Internet Namespace): Order menu items
28513         to match that in the file.
28514
28515         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
28516         node listing of the info page menu.
28517
28518 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
28519
28520         [BZ #13550]
28521         * sysdeps/i386/bp-asm.h: Remove file.
28522         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
28523         (PARMS): Do not use macros from bp-asm.h.
28524         (S1): Likewise.
28525         (S2): Likewise.
28526         (SIZE): Likewise.
28527         (__mpn_add_n): Do not use BP_SYM
28528         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
28529         "bp-asm.h".
28530         (PARMS): Do not use macros from bp-asm.h.
28531         (S1): Likewise.
28532         (SIZE): Likewise.
28533         (__mpn_addmul_1): Do not use BP_SYM
28534         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
28535         "bp-asm.h".
28536         (PARMS): Do not use macros from bp-asm.h.
28537         (SIGMSK): Likewise.
28538         (_setjmp): Likewise.  Do not use BP_SYM.
28539         * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
28540         "bp-asm.h".
28541         (PARMS): Do not use macros from bp-asm.h.
28542         (SIGMSK): Likewise.
28543         (setjmp): Likewise.  Do not use BP_SYM.
28544         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
28545         "bp-asm.h".
28546         (PARMS): Do not use macros from bp-asm.h.
28547         (__frexp): Do not use BP_SYM.
28548         (frexp): Likewise.
28549         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
28550         "bp-asm.h".
28551         (PARMS): Do not use macros from bp-asm.h.
28552         (__frexpf): Do not use BP_SYM.
28553         (frexpf): Likewise.
28554         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
28555         "bp-asm.h".
28556         (PARMS): Do not use macros from bp-asm.h.
28557         (__frexpl): Do not use BP_SYM.
28558         (frexpl): Likewise.
28559         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
28560         "bp-asm.h".
28561         (PARMS): Do not use macros from bp-asm.h.
28562         (__remquo): Do not use BP_SYM.
28563         (remquo): Likewise.
28564         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
28565         "bp-asm.h".
28566         (PARMS): Do not use macros from bp-asm.h.
28567         (__remquof): Do not use BP_SYM.
28568         (remquof): Likewise.
28569         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
28570         "bp-asm.h".
28571         (PARMS): Do not use macros from bp-asm.h.
28572         (__remquol): Do not use BP_SYM.
28573         (remquol): Likewise.
28574         * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
28575         "bp-asm.h".
28576         (PARMS): Do not use macros from bp-asm.h.
28577         (DEST): Likewise.
28578         (SRC): Likewise.
28579         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
28580         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
28581         "bp-asm.h".
28582         (PARMS): Do not use macros from bp-asm.h.
28583         (strlen): Do not use BP_SYM.
28584         * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
28585         "bp-asm.h".
28586         (PARMS): Do not use macros from bp-asm.h.
28587         (S1): Likewise.
28588         (S2): Likewise.
28589         (SIZE): Likewise.
28590         (__mpn_add_n): Do not use BP_SYM.
28591         * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
28592         "bp-asm.h".
28593         (PARMS): Do not use macros from bp-asm.h.
28594         (S1): Likewise.
28595         (SIZE): Likewise.
28596         (__mpn_addmul_1): Do not use BP_SYM.
28597         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
28598         weak_alias.
28599         (bzero): Likewise.
28600         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
28601         "bp-asm.h".
28602         (PARMS): Do not use macros from bp-asm.h.
28603         (S): Likewise.
28604         (SIZE): Likewise.
28605         (__mpn_lshift): Do not use BP_SYM.
28606         * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
28607         "bp-asm.h".
28608         (PARMS): Do not use macros from bp-asm.h.
28609         (DEST): Likewise.
28610         (SRC): Likewise.
28611         (LEN): Likewise.
28612         (memcpy): Likewise.  Do not use BP_SYM.
28613         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
28614         libc_hidden_def and weak_alias.
28615         (mempcpy): Do not use BP_SYM in weak_alias.
28616         * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
28617         "bp-asm.h".
28618         (PARMS): Do not use macros from bp-asm.h.
28619         (DEST): Likewise.
28620         (LEN): Likewise.
28621         [!BZERO_P] (CHR): Likewise.
28622         (memset): Likewise.  Do not use BP_SYM.
28623         * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
28624         "bp-asm.h".
28625         (PARMS): Do not use macros from bp-asm.h.
28626         (S1): Likewise.
28627         (SIZE): Likewise.
28628         (__mpn_mul_1): Do not use BP_SYM.
28629         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
28630         "bp-asm.h".
28631         (PARMS): Do not use macros from bp-asm.h.
28632         (S): Likewise.
28633         (SIZE): Likewise.
28634         (__mpn_rshift): Do not use BP_SYM.
28635         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
28636         "bp-asm.h".
28637         (PARMS): Do not use macros from bp-asm.h.
28638         (STR): Likewise.
28639         (CHR): Likewise.
28640         (strchr): Likewise.  Do not use BP_SYM.
28641         (index): Do not use BP_SYM in weak_alias.
28642         * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
28643         "bp-asm.h".
28644         (PARMS): Do not use macros from bp-asm.h.
28645         (DEST): Likewise.
28646         (SRC): Likewise.
28647         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
28648         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
28649         "bp-asm.h".
28650         (PARMS): Do not use macros from bp-asm.h.
28651         (strlen): Do not use BP_SYM.
28652         * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
28653         "bp-asm.h".
28654         (PARMS): Do not use macros from bp-asm.h.
28655         (S1): Likewise.
28656         (S2): Likewise.
28657         (SIZE): Likewise.
28658         (__mpn_sub_n): Do not use BP_SYM.
28659         * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
28660         "bp-asm.h".
28661         (PARMS): Do not use macros from bp-asm.h.
28662         (S1): Likewise.
28663         (SIZE): Likewise.
28664         (__mpn_submul_1): Do not use BP_SYM.
28665         * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
28666         "bp-asm.h".
28667         (PARMS): Do not use macros from bp-asm.h.
28668         (S1): Likewise.
28669         (S2): Likewise.
28670         (SIZE): Likewise.
28671         (__mpn_add_n): Do not use BP_SYM.
28672         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
28673         weak_alias.
28674         (bzero): Likewise.
28675         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
28676         "bp-asm.h".
28677         (PARMS): Do not use macros from bp-asm.h.
28678         (BLK2): Likewise.
28679         (LEN): Likewise.
28680         (memcmp): Do not use BP_SYM.
28681         (bcmp): Do not use BP_SYM in weak_alias.
28682         * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
28683         "bp-asm.h".
28684         (PARMS): Do not use macros from bp-asm.h.
28685         (DEST): Likewise.
28686         (SRC): Likewise.
28687         (LEN): Likewise.
28688         (memcpy): Likewise.  Do not use BP_SYM.
28689         * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
28690         "bp-asm.h".
28691         (PARMS): Do not use macros from bp-asm.h.
28692         (DEST): Likewise.
28693         (SRC): Likewise.
28694         (LEN): Likewise.
28695         (memmove): Likewise.  Do not use BP_SYM.
28696         * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
28697         "bp-asm.h".
28698         (PARMS): Do not use macros from bp-asm.h.
28699         (DEST): Likewise.
28700         (SRC): Likewise.
28701         (LEN): Likewise.
28702         (__mempcpy): Likewise.  Do not use BP_SYM.
28703         (mempcpy): Do not use BP_SYM in weak_alias.
28704         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
28705         "bp-asm.h".
28706         (PARMS): Do not use macros from bp-asm.h.
28707         (DEST): Likewise.
28708         (LEN): Likewise.
28709         [!BZERO_P] (CHR): Likewise.
28710         (memset): Likewise.  Do not use BP_SYM.
28711         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
28712         "bp-asm.h".
28713         (PARMS): Do not use macros from bp-asm.h.
28714         (STR2): Likewise.
28715         (strcmp): Do not use BP_SYM.
28716         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
28717         "bp-asm.h".
28718         (PARMS): Do not use macros from bp-asm.h.
28719         (STR): Likewise.
28720         (DELIM): Likewise.
28721         [USE_AS_STRTOK_R] (SAVE): Likewise.
28722         (FUNCTION): Likewise.  Do not use BP_SYM.
28723         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
28724         aliases.
28725         (strtok_r): Likewise.
28726         (__GI___strtok_r): Likewise.
28727         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
28728         (PARMS): Do not use macros from bp-asm.h.
28729         (S): Likewise.
28730         (SIZE): Likewise.
28731         (__mpn_lshift): Do not use BP_SYM.
28732         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
28733         (PARMS): Do not use macros from bp-asm.h.
28734         (STR): Likewise.
28735         (CHR): Likewise.
28736         (__memchr): Do not use BP_SYM.
28737         (memchr): Do not use BP_SYM in weak_alias.
28738         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
28739         (PARMS): Do not use macros from bp-asm.h.
28740         (BLK2): Likewise.
28741         (LEN): Likewise.
28742         (memcmp): Do not use BP_SYM.
28743         (bcmp): Do not use BP_SYM in weak_alias.
28744         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
28745         (PARMS): Do not use macros from bp-asm.h.
28746         (S1): Likewise.
28747         (SIZE): Likewise.
28748         (__mpn_mul_1): Do not use BP_SYM.
28749         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
28750         "bp-asm.h".
28751         (PARMS): Do not use macros from bp-asm.h.
28752         (STR): Likewise.
28753         (CHR): Likewise.
28754         (__rawmemchr): Do not use BP_SYM.
28755         (rawmemchr): Do not use BP_SYM in weak_alias.
28756         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
28757         (PARMS): Do not use macros from bp-asm.h.
28758         (S): Likewise.
28759         (SIZE): Likewise.
28760         (__mpn_rshift): Do not use BP_SYM.
28761         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
28762         (PARMS): Do not use macros from bp-asm.h.
28763         (SIGMSK): Likewise.
28764         (__sigsetjmp): Likewise.  Do not use BP_SYM.
28765         * sysdeps/i386/start.S: Do not include "bp-sym.h".
28766         (_start): Do not use BP_SYM.
28767         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
28768         (PARMS): Do not use macros from bp-asm.h.
28769         (DEST): Likewise.
28770         (SRC): Likewise.
28771         (__stpcpy): Likewise.  Do not use BP_SYM.
28772         (stpcpy): Do not use BP_SYM in weak_alias.
28773         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
28774         "bp-asm.h".
28775         (PARMS): Do not use macros from bp-asm.h.
28776         (DEST): Likewise.
28777         (SRC): Likewise.
28778         (LEN): Likewise.
28779         (__stpncpy): Likewise.  Do not use BP_SYM.
28780         (stpncpy): Do not use BP_SYM in weak_alias.
28781         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
28782         (PARMS): Do not use macros from bp-asm.h.
28783         (STR): Likewise.
28784         (CHR): Likewise.
28785         (strchr): Likewise.  Do not use BP_SYM.
28786         * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
28787         "bp-asm.h".
28788         (PARMS): Do not use macros from bp-asm.h.
28789         (STR): Likewise.
28790         (CHR): Likewise.
28791         (__strchrnul): Likewise.  Do not use BP_SYM.
28792         (strchrnul): Do not use BP_SYM in weak_alias.
28793         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
28794         "bp-asm.h".
28795         (PARMS): Do not use macros from bp-asm.h.
28796         (STOP): Likewise.
28797         (strcspn): Do not use BP_SYM.
28798         * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
28799         "bp-asm.h".
28800         (PARMS): Do not use macros from bp-asm.h.
28801         (STR): Likewise.
28802         (STOP): Likewise.
28803         (strpbrk): Likewise.  Do not use BP_SYM.
28804         * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
28805         "bp-asm.h".
28806         (PARMS): Do not use macros from bp-asm.h.
28807         (STR): Likewise.
28808         (CHR): Likewise.
28809         (strrchr): Likewise.  Do not use BP_SYM.
28810         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
28811         (PARMS): Do not use macros from bp-asm.h.
28812         (SKIP): Likewise.
28813         (strspn): Do not use BP_SYM.
28814         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
28815         (PARMS): Do not use macros from bp-asm.h.
28816         (STR): Likewise.
28817         (DELIM): Likewise.
28818         (SAVE): Likewise.
28819         (FUNCTION): Likewise.  Do not use BP_SYM.
28820         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
28821         aliases.
28822         (strtok_r): Likewise.
28823         (__GI___strtok_r): Likewise.
28824         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
28825         (PARMS): Do not use macros from bp-asm.h.
28826         (S1): Likewise.
28827         (S2): Likewise.
28828         (SIZE): Likewise.
28829         (__mpn_sub_n): Do not use BP_SYM.
28830         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
28831         "bp-asm.h".
28832         (PARMS): Do not use macros from bp-asm.h.
28833         (S1): Likewise.
28834         (SIZE): Likewise.
28835         (__mpn_submul_1): Do not use BP_SYM.
28836         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
28837         <bp-sym.h>.
28838         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
28839         and <bp-asm.h>.
28840         (PARMS): Do not use macros from bp-asm.h.
28841         (FLAGS): Likewise.
28842         (PTID): Likewise.
28843         (TLS): Likewise.
28844         (CTID): Likewise.
28845         (__clone): Do not use BP_SYM.
28846         (clone): Do not use BP_SYM in weak_alias.
28847         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
28848         and <bp-asm.h>.
28849         (PARMS): Do not use macros from bp-asm.h.
28850         (LEN): Likewise.
28851         (__mmap64): Do not use BP_SYM.
28852         (mmap64): Do not use BP_SYM in weak_alias.
28853         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
28854         <bp-sym.h> and <bp-asm.h>.
28855         (PARMS): Do not use macros from bp-asm.h.
28856         (__posix_fadvise64_l64): Do not use BP_SYM.
28857         * sysdeps/unix/sysv/linux/i386/semtimedop.S
28858         (PARMS): Do not use macros from bp-asm.h.
28859         (NSOPS): Likewise.
28860         (semtimedop): Do not use BP_SYM.
28861         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
28862         and <bp-asm.h>.
28863
28864 2013-02-21  Allan McRae  <allan@archlinux.org>
28865
28866         * manual/message.texi (Charset conversion in gettext):
28867         Move @end statement to beginning of line.
28868
28869 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
28870
28871         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
28872         static.
28873         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
28874         Likewise.
28875
28876         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
28877         (denorm): Likewise.
28878         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
28879         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
28880
28881 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
28882
28883         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
28884         tail-call to the resolved function if pltexit isn't needed.
28885
28886 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
28887
28888         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
28889         or Y being zero as being unlikely.
28890         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
28891         Likewise.
28892
28893 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
28894
28895         * manual/nss.texi (System Databases and Name Service Switch):
28896         Remove frobnicate @pxref.
28897
28898 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
28899
28900         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
28901         __attribute__ ((unused)) to __attribute__ ((__unused__)).
28902
28903 2013-02-20  Petr Machata  <pmachata@redhat.com>
28904
28905         * elf/elf.h (R_ARM_TARGET1): New macro.
28906         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
28907         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
28908         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
28909         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
28910         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
28911         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
28912         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
28913         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
28914         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
28915         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
28916         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
28917         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
28918         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
28919         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
28920         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
28921         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
28922         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
28923         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
28924         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
28925         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
28926         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
28927         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
28928         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
28929         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
28930         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
28931         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
28932         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
28933         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
28934         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
28935         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
28936         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
28937         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
28938         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
28939         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
28940         (R_ARM_THM_GOT_BREL12): Likewise.
28941         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
28942         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
28943         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
28944         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
28945         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
28946         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
28947         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
28948         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
28949         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
28950
28951 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
28952
28953         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
28954         __attribute_used__ to __attribute__ ((unused)).
28955
28956 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
28957
28958         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
28959         powerpc mpa.c.
28960         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
28961         comment formatting.
28962         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
28963
28964 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
28965
28966         [BZ #13550]
28967         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
28968         Remove macro.
28969         (ENTER): Remove both macro definitions.
28970         (LEAVE): Likewise.
28971         (CHECK_BOUNDS_LOW): Likewise.
28972         (CHECK_BOUNDS_HIGH): Likewise.
28973         (CHECK_BOUNDS_BOTH): Likewise.
28974         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
28975         (RETURN_BOUNDED_POINTER): Likewise.
28976         (RETURN_NULL_BOUNDED_POINTER): Likewise.
28977         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
28978         (POP_ERRNO_LOCATION_RETURN): Likewise.
28979         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
28980         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
28981         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
28982         macros.
28983         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
28984         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
28985         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
28986         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
28987         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
28988         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
28989         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
28990         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
28991         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
28992         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
28993         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
28994         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
28995         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
28996         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
28997         removed macros.
28998         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
28999         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
29000         macros.
29001         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
29002         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
29003         * sysdeps/i386/i586/memset.S (memset): Likewise.
29004         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
29005         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
29006         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
29007         macros.
29008         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
29009         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
29010         Change uses of L(2) to L(out).
29011         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
29012         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
29013         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
29014         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
29015         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
29016         removed macros.
29017         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
29018         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
29019         macros.
29020         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
29021         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
29022         (RETURN): Do not use macro LEAVE.
29023         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
29024         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
29025         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
29026         * sysdeps/i386/i686/memset.S (memset): Likewise.
29027         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
29028         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
29029         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
29030         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
29031         Likewise.
29032         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
29033         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
29034         L(1_2) and L(1_3) into L(1).
29035         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
29036         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
29037         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
29038         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
29039         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
29040         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
29041         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
29042         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
29043         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
29044         macros.
29045         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
29046         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
29047         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
29048         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
29049         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
29050         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
29051         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
29052         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
29053         * sysdeps/i386/strcspn.S (strcspn): Likewise.
29054         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
29055         * sysdeps/i386/strrchr.S (strrchr): Likewise.
29056         * sysdeps/i386/strspn.S (strspn): Likewise.
29057         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
29058         conditional code.
29059         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
29060         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
29061         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
29062         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
29063         L(1_3) into L(1_1).
29064         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
29065         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
29066         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
29067         macros.
29068         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
29069
29070 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
29071
29072         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
29073         macro.
29074
29075 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
29076
29077         * math/atest-exp.c (exp_mpn): Remove ROUND.
29078         * math/atest-exp2.c (exp_mpn): Likewise.
29079         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
29080
29081         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
29082         * stdlib/tst-tls-atexit-lib.c: Likewise.
29083         * stdlib/tst-tls-atexit.c: Likewise.
29084
29085 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
29086
29087         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
29088         and __attribute_alloc_size__.
29089
29090 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
29091
29092         * include/programs/xmalloc.h: Change __attribute_alloc_size to
29093         __attribute_alloc_size__.
29094         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
29095         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
29096
29097 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
29098
29099         * include/programs/xmalloc.h: New file.
29100         * catgets/gencat.c: Include it.
29101         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
29102         * elf/pldd.c: Likewise.
29103         * iconv/iconv_charmap.c: Likewise.
29104         * iconv/iconvconfig.c: Likewise.
29105         * iconv/strtab.c: Likewise.
29106         * locale/programs/locale.c: Likewise.
29107         * locale/programs/localedef.h: Likewise.
29108         * locale/programs/simple-hash.c: Likewise.
29109         * nscd/nscd.h: Likewise.
29110         * nss/makedb.c: Likewise.
29111         * sysdeps/generic/ldconfig.h: Likewise.
29112
29113 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
29114
29115         * Versions.def: Add GLIBC_2.18.
29116         * include/link.h (struct link_map): New member l_tls_dtor_count.
29117         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
29118         (__call_tls_dtors): Likewise.
29119         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
29120         __cxa_thread_atexit_impl.
29121         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
29122         Likewise.
29123         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
29124         Likewise.
29125         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
29126         Likewise.
29127         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
29128         Likewise.
29129         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
29130         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
29131         Likewise.
29132         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
29133         Likewise.
29134         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
29135         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
29136         Likewise.
29137         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
29138         (tests): Add test case tst-tls-atexit.
29139         (modules-names): Add shared library for tst-tls-atexit.
29140         * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
29141         (GLIBC_PRIVATE): Add __call_tls_dtors.
29142         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
29143         for libstdc++.
29144         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
29145         * stdlib/tst-tls-atexit.c: New test case.
29146         * stdlib/tst-tls-atexit-lib.c: New test case.
29147
29148         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
29149
29150         * elf/Versions (ld): Add _dl_find_dso_for_object.
29151         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
29152         * elf/dl-open.c (_dl_find_dso_for_object): New function.
29153         (dl_open_worker): Use _dl_find_dso_for_object.
29154         * elf/dl-sym.c (do_sym): Likewise.
29155         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
29156
29157 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
29158
29159         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
29160         Syntactic changes only.
29161         (_dl_runtime_profile): Do a tail-call to the resolved function.
29162
29163 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
29164
29165         [BZ #13550]
29166         * sysdeps/x86_64/bp-asm.h: Remove file.
29167         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
29168         <bp-sym.h> and <bp-asm.h>.
29169         (__clone): Do not use BP_SYM.
29170         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
29171         <bp-sym.h> and <bp-asm.h>.
29172         * sysdeps/unix/x86_64/sysdep.S: Likewise.
29173         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
29174         "bp-asm.h".
29175         (_setjmp): Do not use BP_SYM.
29176         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
29177         "bp-asm.h".
29178         (setjmp): Do not use BP_SYM.
29179         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
29180         libc_hidden_def.
29181         (mempcpy): Do not use BP_SYM in weak_alias.
29182         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
29183         "bp-asm.h".
29184         (strchr): Do not use BP_SYM.
29185         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
29186         "bp-asm.h".
29187         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
29188         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
29189         (_start): Do not use BP_SYM.
29190         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
29191         "bp-asm.h".
29192         (strcat): Do not use BP_SYM.
29193         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
29194         "bp-asm.h".
29195         (STRCMP): Do not use BP_SYM.
29196         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
29197         "bp-asm.h".
29198         (STRCPY): Do not use BP_SYM.
29199         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
29200         "bp-asm.h".
29201         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
29202         "bp-asm.h".
29203         (FUNCTION): Do not use BP_SYM.
29204         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
29205         weak_alias.
29206         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
29207
29208 2013-02-17  Andreas Jaeger  <aj@suse.de>
29209
29210         * time/Versions: Sort entries.
29211         * string/Versions: Likewise.
29212         * resolv/Versions: Likewise.
29213         * posix/Versions: Likewise.
29214         * iconv/Versions: Likewise.
29215         * elf/Versions: Likewise.
29216         * wcsmbs/Versions: Likewise.
29217
29218 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
29219
29220         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
29221         loop termination condition.
29222
29223         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
29224         variable to calculate EZ.
29225         (__sqr): Likewise.
29226
29227         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
29228         the lower precision input.
29229
29230 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
29231
29232         [BZ #13550]
29233         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
29234         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
29235         (run-via-rtld-prefix): Do not handle %-bp tests.
29236         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
29237         (all-object-suffixes): Remove .ob.
29238         (bppfx): Remove variable.
29239         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
29240         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
29241         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
29242         [$(build-bounded) = yes] (libtype.ob): Likewise.
29243         * Makerules (elide-routines.ob): Remove variable.
29244         (do-tests-clean): Do not handle *-bp.out.
29245         (common-mostlyclean): Do not handle *-bp and *-bp.out.
29246         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
29247         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
29248         (tests): Do not include $(tests-bp.out).
29249         (xtests): Do not include $(xtests-bp.out).
29250         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
29251         [$(build-bounded) = yes] ($(addprefix
29252         $(objpfx),$(binaries-bounded))): Remove rule.
29253         ($(objpfx)%-bp.out): Remove rule.
29254         * config.make.in (build-bounded): Remove variable.
29255         * crypt/Makefile [$(build-bounded) = yes]
29256         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
29257         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
29258         append to variable.
29259         [$(build-bounded) = yes] (install-lib): Likewise.
29260         [$(build-bounded) = yes] (generated): Likewise.
29261         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
29262         Remove rule.
29263         * intl/Makefile [$(build-bounded) = yes]
29264         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
29265         * math/Makefile [$(build-bounded) = yes]
29266         ($(tests:%=$(objpfx)%-bp): Likewise.
29267         * misc/Makefile [$(build-bounded) = yes]
29268         ($(objpfx)tst-tsearch-bp): Likewise.
29269         * nptl/Makeconfig (bounded-thread-library): Remove variable.
29270         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
29271         Remove dependency.
29272         * string/Makefile (o-objects.ob): Remove variable.
29273         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
29274         (CFLAGS-.ob): Remove variable.
29275         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
29276         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
29277         both definitions of variable.
29278         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
29279         (ASFLAGS-.ob): Remove variable.
29280
29281 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
29282
29283         [BZ #13550]
29284         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
29285         Remove __BOUNDED_POINTERS__ from condition.
29286         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
29287         * string/bits/string2.h [!__NO_STRING_INLINES &&
29288         !__BOUNDED_POINTERS__]: Likewise.
29289         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
29290         Likewise.
29291         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
29292         Remove conditional code.
29293         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
29294         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
29295         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
29296         condition.
29297
29298         [BZ #13550]
29299         * csu/libc-start.c: Do not include <bp-sym.h>.
29300         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
29301         * elf/dl-open.c: Do not include <bp-sym.h>.
29302         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
29303         * math/fegetenv.c: Do not include <bp-sym.h>.
29304         (fegetenv): Do not use BP_SYM in versioned symbols.
29305         * nptl/sysdeps/pthread/bits/libc-lockP.h
29306         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
29307         <bp-sym.h>.
29308         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
29309         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
29310         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
29311         (__pthread_mutex_destroy): Likewise.
29312         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
29313         (__pthread_mutex_lock): Likewise.
29314         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
29315         (__pthread_mutex_trylock): Likewise.
29316         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
29317         (__pthread_mutex_unlock): Likewise.
29318         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
29319         (__pthread_mutexattr_init): Likewise.
29320         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
29321         (__pthread_mutexattr_destroy): Likewise.
29322         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
29323         (__pthread_mutexattr_settype): Likewise.
29324         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
29325         (__pthread_rwlock_init): Likewise.
29326         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
29327         (__pthread_rwlock_destroy): Likewise.
29328         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
29329         (__pthread_rwlock_rdlock): Likewise.
29330         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
29331         (__pthread_rwlock_tryrdlock): Likewise.
29332         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
29333         (__pthread_rwlock_wrlock): Likewise.
29334         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
29335         (__pthread_rwlock_trywrlock): Likewise.
29336         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
29337         (__pthread_rwlock_unlock): Likewise.
29338         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
29339         (__pthread_key_create): Likewise.
29340         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
29341         (__pthread_setspecific): Likewise.
29342         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
29343         (__pthread_getspecific): Likewise.
29344         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
29345         Likewise.
29346         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
29347         (_pthread_cleanup_push_defer): Likewise.
29348         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
29349         (_pthread_cleanup_pop_restore): Likewise.
29350         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
29351         (pthread_setcancelstate): Likewise.
29352         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
29353         <bp-sym.h>.
29354         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
29355         (memchr): Do not use BP_SYM in weak_alias.
29356         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
29357         (fegetenv): Do not use BP_SYM in versioned symbols.
29358         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
29359         (fesetenv): Do not use BP_SYM in versioned symbols.
29360         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
29361         (feupdateenv): Do not use BP_SYM in versioned symbols.
29362         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
29363         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
29364         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
29365         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
29366         (open64): Do not use BP_SYM in weak_alias.
29367         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
29368         (fegetenv): Do not use BP_SYM in versioned symbols.
29369         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
29370         (fesetenv): Do not use BP_SYM in versioned symbols.
29371         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
29372         (feupdateenv): Do not use BP_SYM in versioned symbols.
29373         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
29374         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
29375         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
29376         (feraiseexcept): Do not use BP_SYM in versioned symbols.
29377         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
29378         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
29379         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
29380         <bp-sym.h>.
29381         (__libc_start_main): Do not use BP_SYM.
29382
29383 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
29384
29385         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
29386         redundant return line.
29387         (norm): Likewise.
29388         (denorm): Likewise.
29389         (dbl_mp): Likewise.
29390         (sub_magnitudes): Likewise.
29391         (__add): Likewise.
29392         (__sub): Likewise.
29393         (__mul): Likewise.
29394         (__inv): Likewise.
29395         (__dvd): Likewise.
29396         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
29397         (norm): Likewise.
29398         (denorm): Likewise.
29399         (dbl_mp): Likewise.
29400         (sub_magnitudes): Likewise.
29401         (__add): Likewise.
29402         (__sub): Likewise.
29403         (__mul): Likewise.
29404         (__inv): Likewise.
29405         (__dvd): Likewise.
29406
29407         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
29408         instead of __mul.
29409         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
29410         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
29411         (cc32): Likewise.
29412
29413         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
29414         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
29415         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
29416         of __mul for squares.
29417         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
29418         function
29419         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
29420         Likewise.
29421         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
29422         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
29423
29424 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
29425
29426         [BZ #13550]
29427         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
29428         code.
29429         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
29430         prototype or function definition.  Rename ubp_* variables and
29431         parameters.  Remove argv definitions conditional on
29432         [__BOUNDED_POINTERS__].
29433         * debug/backtrace.c (__backtrace): Do not use __unbounded.
29434         * elf/dl-runtime.c (_dl_fixup): Likewise.
29435         * include/set-hooks.h (RUN_HOOK): Likewise.
29436         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
29437         definition.
29438         * string/strcpy.c (strcpy): Do not use __unbounded.
29439         * sysdeps/generic/frame.h (struct layout): Likewise.
29440         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
29441         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
29442         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
29443         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
29444         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
29445         (__backtrace): Likewise.
29446         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
29447         use __ptrvalue.
29448         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
29449         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
29450         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
29451         Likewise.
29452         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
29453         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
29454         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
29455         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
29456         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
29457         Do not use __unbounded.
29458         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
29459         Rename __unboundedrlimits parameter to rlimits in prototype.
29460         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
29461         Do not use __unbounded.
29462         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
29463         not use __ptrvalue.
29464         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
29465         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
29466         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
29467         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
29468         __ptrvalue or __unbounded.
29469         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
29470         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
29471         use __unbounded.
29472         (__new_msgctl): Do not use __ptrvalue.
29473         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
29474         __unbounded.
29475         (__libc_msgrcv): Do not use __ptrvalue.
29476         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
29477         startup_info): Do not use __unbounded.
29478         (__libc_start_main): Likewise.  Rename ubp_* variables and
29479         parameters.  Remove argv definitions conditional on
29480         [__BOUNDED_POINTERS__].
29481         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
29482         __ptrvalue.
29483         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
29484         use __unbounded.
29485         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
29486         or __ptrvalue.
29487         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
29488         use __unbounded.
29489         (__new_shmctl): Do not use __ptrvalue.
29490         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
29491         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
29492         Likewise.
29493         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
29494         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
29495         (__libc_sigaction): Likewise.
29496         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
29497         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
29498         Likewise.
29499         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
29500
29501 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
29502
29503         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
29504
29505         * string/mempcpy.c: Implement by calling memcpy.
29506
29507 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
29508
29509         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
29510
29511         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
29512         evaluation.
29513
29514         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
29515         values in the mantissa.
29516
29517         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
29518         minimize writes to Z.
29519         (sub_magnitudes): Simplify code a bit.
29520
29521 2013-02-12  Roland McGrath  <roland@hack.frob.com>
29522
29523         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
29524         from the message.  The linker prefixes all warnings with that already.
29525
29526 2013-02-12  Andreas Schwab  <schwab@suse.de>
29527
29528         [BZ #15078]
29529         * posix/regexec.c (extend_buffers): Add parameter min_len.
29530         (check_matching): Pass minimum needed length.
29531         (clean_state_log_if_needed): Likewise.
29532         (get_subexp): Likewise.
29533         * posix/Makefile (tests): Add bug-regex34.
29534         (bug-regex34-ENV): Define.
29535         * posix/bug-regex34.c: New file.
29536
29537         [BZ #11561]
29538         * posix/regcomp.c (parse_bracket_exp): When looking up collating
29539         elements compare against the byte sequence of it, not its name.
29540         * posix/Makefile (tests): Add bug-regex35.
29541         (bug-regex35-ENV): Define.
29542         * posix/bug-regex35.c: New file.
29543
29544 2013-02-11  Tom de Vries  <tom@codesourcery.com>
29545
29546         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
29547         comment.
29548         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
29549         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
29550         (CHECK_EOL): Add undef.
29551
29552 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
29553
29554         * bits/stdlib-bsearch.h: New file.
29555         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
29556         * stdlib/stdlib.h: Likewise.
29557
29558 2013-02-11  Roland McGrath  <roland@hack.frob.com>
29559
29560         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
29561         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
29562         declaration.
29563         * manual/search.texi (Array Search Function): Add missing const in
29564         lfind prototype.
29565         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
29566         declaration to use rlim_t.
29567         (Basic Scheduling Functions): Remove erroneous const from
29568         sched_getparam prototype.  Remove erroneous * from
29569         sched_get_priority_max and sched_get_priority_min prototypes.
29570         (Resource Usage): Fix summary @comment on vtimes to refer to
29571         sys/vtimes.h rather than vtimes.h.
29572         Add missing *s in vtimes prototype.
29573         (Limits on Resources): Fix ulimit prototype to return long int.
29574         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
29575         prototypes to use long int rather than double.
29576         (BSD Random): Fix initstate and setstate to use char *, not void *.
29577         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
29578         prototype to make second argument 'struct aiocb64 *const[]'.
29579         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
29580         (Status of AIO Operations): Remove erroneous const in aio_return and
29581         aio_return64 prototypes.
29582         (Synchronizing I/O): Fix sync prototype to return void.
29583         * manual/startup.texi (Suboptions): Remove an erroneous const in
29584         getsubopt prototype.
29585         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
29586         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
29587         use size_t rather than int.
29588         (Scanning All Users): Likewise for getpwent_r.
29589         (Setting Groups): Add missing const to setgroups prototype.
29590         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
29591         * manual/socket.texi (Host Names): Fix gethostbyaddr and
29592         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
29593         'const void *' rather than 'const char *'.
29594         (Host Address Functions): Likewise for inet_ntop.
29595         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
29596         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
29597         ssize_t for return value.
29598         (Sending Data): Likewise for send, sendto, sendmsg.
29599         (Socket Option Functions): Add a missing const in setsockopt prototype.
29600         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
29601         use wchar_t for the argument.
29602         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
29603         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
29604         take no arguments.
29605         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
29606         double/float/long double for second argument.
29607         Fix return types of significand, significandf, significandl.
29608         * manual/filesys.texi (Setting Permissions): Use mode_t for second
29609         argument in fchmod prototype.
29610         (File Owner): Use uid_t and gid_t in fchown prototype.
29611         (File Times): Add const to utimes, futimes, and lutimes prototypes.
29612         (Making Special Files): Use mode_t and dev_t in mknod prototype.
29613         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
29614         use 'const struct dirent **' as argument types to CMP function pointer
29615         argument.
29616         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
29617         (File Times): Fix summary magic @comment for struct utimbuf and utime
29618         to refer to utime.h, not time.h.
29619         * manual/string.texi (Argz Functions): Add missing const in
29620         argz_extract and argz_next prototypes.
29621         (Finding Tokens in a String): Likewise for basename.
29622         (String/Array Comparison): Fix typo in wcscasecmp prototype.
29623         (Copying and Concatenation): Fix typo in wmemmove prototype.
29624         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
29625         (Signal Stack): Remove erroneous const in sigstack prototype.
29626         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
29627         prototype.
29628         (Simple Calendar Time): Likewise for stime.
29629         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
29630         prototype.
29631         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
29632         say sys/sysctl.h instead.
29633         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
29634         and vsyslog prototypes.
29635
29636 2013-02-11  Tom de Vries  <tom@codesourcery.com>
29637
29638         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
29639         Remove.
29640
29641 2013-02-11  Roland McGrath  <roland@hack.frob.com>
29642
29643         * misc/sys/mman.h: Fix typo in mremap comment.
29644
29645 2013-02-08  Roland McGrath  <roland@hack.frob.com>
29646
29647         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
29648         the '\0' terminator.
29649
29650 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
29651
29652         [BZ #13550]
29653         * debug/segfault.c: Don't include <bp-checks.h>.
29654         * sysdeps/generic/bp-checks.h: Remove file.
29655         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
29656         (__GETDENTS): Don't use CHECK_N.
29657         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
29658         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
29659         (__getgroups): Don't use CHECK_N.
29660         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
29661         (setgroups): Don't use CHECK_N.
29662         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
29663         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
29664         (__libc_msgrcv): Don't use CHECK_N.
29665         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
29666         (__libc_msgsnd): Don't use CHECK_N.
29667         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
29668         <bp-checks.h>.
29669         (__libc_pread): Don't use CHECK_N.
29670         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
29671         include <bp-checks.h>.
29672         (__libc_pread64): Don't use CHECK_N.
29673         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
29674         include <bp-checks.h>.
29675         (__libc_pwrite): Don't use CHECK_N.
29676         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
29677         include <bp-checks.h>.
29678         (__libc_pwrite64): Don't use CHECK_N.
29679         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
29680         <bp-checks.h>.
29681         (__libc_pread): Don't use CHECK_N.
29682         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
29683         include <bp-checks.h>.
29684         (__libc_pread64): Don't use CHECK_N.
29685         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
29686         include <bp-checks.h>.
29687         (__libc_pwrite): Don't use CHECK_N.
29688         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
29689         include <bp-checks.h>.
29690         (__libc_pwrite64): Don't use CHECK_N.
29691         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
29692         (do_pread): Don't use CHECK_N.
29693         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
29694         (do_pread64): Don't use CHECK_N.
29695         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
29696         (do_pwrite): Don't use CHECK_N.
29697         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
29698         (do_pwrite64): Don't use CHECK_N.
29699         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
29700         (__libc_readv): Don't use CHECK_N.
29701         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
29702         (semop): Don't use CHECK_N.
29703         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
29704         <bp-checks.h>.
29705         (semtimedop): Don't use CHECK_N.
29706         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
29707         (__libc_pread): Don't use CHECK_N.
29708         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
29709         <bp-checks.h>.
29710         (__libc_pread64): Don't use CHECK_N.
29711         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
29712         <bp-checks.h>.
29713         (__libc_pwrite): Don't use CHECK_N.
29714         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
29715         <bp-checks.h>.
29716         (__libc_pwrite64): Don't use CHECK_N.
29717         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
29718         <bp-checks.h>.
29719         (__libc_msgrcv): Don't use CHECK_N.
29720         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
29721         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
29722         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
29723         (__libc_writev): Don't use CHECK_N.
29724
29725 2013-02-08  Roland McGrath  <roland@hack.frob.com>
29726
29727         * string/strcpy.c: Removed unused variable.
29728
29729         * Makeconfig (+sysdep-includes): Define with := rather than =.
29730         Use an existing include/ subdir of each sysdeps dir before it.
29731
29732 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
29733
29734         * nscd/connection.c (register_traced_file): Comment function.
29735         [HAVE_INOTIFY] (union __inev): Define.
29736         [HAVE_INOTIFY] (inotify_check_files): New function.
29737         [HAVE_INOTIFY] (clear_db_cache): Likewise.
29738         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
29739         clear_db_cache.
29740         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
29741
29742 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
29743
29744         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
29745         loaded if not already and that a failure is permanent.
29746
29747 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
29748
29749         [BZ #15006]
29750         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
29751         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
29752
29753 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
29754
29755         [BZ #13550]
29756         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
29757         (CHECK_1_NULL_OK): Likewise.
29758         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
29759         (__fxstat): Do not use CHECK_1.
29760         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
29761         <bp-checks.h>.
29762         (___fxstat64): Do not use CHECK_1.
29763         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
29764         <bp-checks.h>.
29765         (__fxstatat): Do not use CHECK_1.
29766         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
29767         <bp-checks.h>.
29768         (__fxstatat64): Do not use CHECK_1.
29769         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
29770         <bp-checks.h>.
29771         (__fxstat): Do not use CHECK_1.
29772         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
29773         <bp-checks.h>.
29774         (__fxstatat): Do not use CHECK_1.
29775         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
29776         <bp-checks.h>.
29777         (__getresgid): Do not use CHECK_1.
29778         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
29779         <bp-checks.h>.
29780         (__getresuid): Do not use CHECK_1.
29781         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
29782         <bp-checks.h>.
29783         (__lxstat): Do not use CHECK_1.
29784         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
29785         <bp-checks.h>.
29786         (__old_msgctl): Do not use CHECK_1.
29787         (__new_msgctl): Likewise.
29788         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
29789         <bp-checks.h>.
29790         (__new_setrlimit): Do not use CHECK_1.
29791         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
29792         <bp-checks.h>.
29793         (__old_shmctl): Do not use CHECK_1.
29794         (__new_shmctl): Likewise.
29795         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
29796         <bp-checks.h>.
29797         (__xstat): Do not use CHECK_1.
29798         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
29799         (__lxstat): Do not use CHECK_1.
29800         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
29801         <bp-checks.h>.
29802         (___lxstat64): Do not use CHECK_1.
29803         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
29804         (__old_msgctl): Do not use CHECK_1.
29805         (__new_msgctl): Likewise.
29806         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
29807         <bp-checks.h>.
29808         (__gettimeofday): Do not use CHECK_1.
29809         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
29810         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
29811         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
29812         <bp-checks.h>.
29813         (__gettimeofday): Do not use CHECK_1.
29814         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
29815         (__old_shmctl): Do not use CHECK_1_NULL_OK.
29816         (__new_shmctl): Do not use CHECK_1.
29817         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
29818         <bp-checks.h>.
29819         (do_sigtimedwait): Do not use CHECK_1.
29820         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
29821         <bp-checks.h>.
29822         (do_sigwaitinfo): Do not use CHECK_1.
29823         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
29824         <bp-checks.h>.
29825         (msgctl): Do not use CHECK_1.
29826         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
29827         <bp-checks.h>.
29828         (shmctl): Do not use CHECK_1.
29829         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
29830         (ustat): Do not use CHECK_1.
29831         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
29832         <bp-checks.h>.
29833         (__fxstat): Do not use CHECK_1.
29834         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
29835         <bp-checks.h>.
29836         (__fxstatat): Do not use CHECK_1.
29837         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
29838         <bp-checks.h>.
29839         (__lxstat): Do not use CHECK_1.
29840         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
29841         <bp-checks.h>.
29842         (__xstat): Do not use CHECK_1.
29843         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
29844         (__xstat): Do not use CHECK_1.
29845         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
29846         (___xstat64): Do not use CHECK_1.
29847
29848         [BZ #13550]
29849         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
29850         definitions.
29851         (CHECK_BOUNDS_HIGH): Likewise.
29852         * string/strcpy.c: Do not include <bp-checks.h>.
29853         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
29854
29855 2013-02-07  Roland McGrath  <roland@hack.frob.com>
29856
29857         * nscd/nscd-client.h (__nscd_drop_map_ref):
29858         Add __attribute__ ((unused)).
29859         * nis/nss-nisplus.h (niserr2nss): Likewise.
29860
29861         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
29862         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
29863
29864         * csu/libc-tls.c (init_static_tls, init_slotinfo):
29865         Remove inline keyword.
29866         * include/rounding-mode.h (round_away): Likewise.
29867         * libio/wfileops.c (adjust_wide_data): Likewise.
29868         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
29869         (__m128i_strloadu_tolower): Likewise.
29870         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
29871         (__m128i_strloadu_tolower): Likewise.
29872         * time/mktime.c (ydhms_diff): Likewise.
29873         * locale/elem-hash.h (elem_hash): Likewise.
29874         * locale/setlocale.c (setdata): Likewise.
29875         * posix/regex_internal.h (re_string_char_size_at): Likewise.
29876         (re_string_wchar_at): Likewise.
29877         (bitset_not, bitset_merge, bitset_mask): Likewise.
29878         [!(__GNUC__ > 3)] (inline): Remove macro.
29879         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
29880         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
29881         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
29882         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
29883         * string/memcmp.c (memcmp_bytes): Likewise.
29884         * locale/programs/locarchive.c (compute_hashval): Likewise.
29885         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
29886         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
29887         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
29888         * nss/getent.c (print_rpc, print_protocols): Likewise.
29889         (print_passwd, print_group, print_aliases): Likewise.
29890         * nis/nss-nisplus.h (niserr2nss): Likewise.
29891         * nscd/connections.c (restart_p): Likewise.
29892         Change return type to bool.
29893
29894 2013-02-05  Roland McGrath  <roland@hack.frob.com>
29895
29896         * Makeconfig (all-Depend-files): Add existing
29897         $(sorted-subdirs:=/Depend) files.
29898         (all-subdirs): Remove nss.
29899         * sysdeps/unix/inet/Subdirs: Add it here instead.
29900         * hesiod/Depend: New file.
29901
29902         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
29903         instead of calling alloca.
29904
29905         * io/lseek.c (__lseek): Rename to __libc_lseek.
29906         Define __lseek as an alias.
29907
29908         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
29909
29910 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
29911
29912         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
29913         else clause and remove check for non-standard endianness.
29914
29915 2013-02-04  David S. Miller  <davem@davemloft.net>
29916
29917         * sysdeps/sparc/fpu/libm-test-ulps: Update.
29918
29919 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
29920
29921         [BZ #13550]
29922         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
29923         (__ubp_memchr): Remove prototype.
29924         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
29925         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
29926         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
29927         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
29928         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
29929         Remove alias.
29930         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
29931         (__ubp_memchr): Likewise.
29932         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
29933         (__ubp_memchr): Likewise.
29934         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
29935         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
29936         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
29937         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
29938         CHECK_STRING.
29939         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
29940         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
29941         (__getcwd): Do not use CHECK_STRING.
29942         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
29943         <bp-checks.h>.
29944         (__real_chown): Do not use CHECK_STRING.
29945         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
29946         <bp-checks.h>.
29947         (fchownat): Do not use CHECK_STRING.
29948         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
29949         CHECK_STRING.
29950         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
29951         <bp-checks.h>.
29952         (__lchown): Do not use CHECK_STRING.
29953         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
29954         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
29955         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
29956         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
29957         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
29958         include <bp-checks.h>.
29959         (truncate64): Do not use CHECK_STRING.
29960         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
29961         <bp-checks.h>.
29962         (__real_chown): Do not use CHECK_STRING.
29963         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
29964         <bp-checks.h>.
29965         (__lchown): Do not use CHECK_STRING.
29966         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
29967         <bp-checks.h>.
29968         (__chown): Do not use CHECK_STRING.
29969         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
29970         <bp-checks.h>.
29971         (truncate64): Do not use CHECK_STRING.
29972         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
29973         Likewise.
29974         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
29975         (__xmknod): Do not use CHECK_STRING.
29976         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
29977         <bp-checks.h>.
29978         (__xmknodat): Do not use CHECK_STRING.
29979         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
29980         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
29981
29982 2013-02-04  Andreas Schwab  <schwab@suse.de>
29983
29984         [BZ #14142]
29985         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
29986         * include/netdb.h: Likewise for h_errno.
29987         * elf/tst-stackguard1.c: Include <tls.h>.
29988
29989 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
29990
29991         * elf/link.h (struct link_map): Extend the l_addr comment.
29992         * include/link.h (struct link_map): Likewise.
29993
29994 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
29995
29996         [BZ #13550]
29997         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
29998         (BOUNDED_1): Remove macro.
29999         * debug/backtrace.c: Don't include <bp-checks.h>.
30000         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
30001         (__backtrace): Likewise.
30002         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
30003         <bp-checks.h>.
30004         (__backtrace): Don't use BOUNDED_1.
30005         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
30006         <bp-checks.h>.
30007         (__backtrace): Don't use BOUNDED_1.
30008         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
30009         (__backtrace): Don't use BOUNDED_1.
30010         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
30011         (shmat): Don't use BOUNDED_N.
30012
30013 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
30014
30015         [BZ #13550]
30016         * sysdeps/generic/bp-start.h: Remove file.
30017         * csu/libc-start.c: Don't include <bp-start.h>.
30018         (LIBC_START_MAIN): Set up __environ directly instead of using
30019         INIT_ARGV_and_ENVIRON.
30020         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
30021         <bp-start.h>.
30022
30023         [BZ #13550]
30024         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
30025         definitions.
30026         (CHECK_FCNTL): Likewise.
30027         (CHECK_N_PAGES): Likewise.
30028
30029         [BZ #13550]
30030         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
30031         definitions.
30032         (CHECK_SIGSET_NULL_OK): Likewise.
30033         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
30034         <bp-checks.h>.
30035         (sigpending): Don't use CHECK_SIGSET.
30036         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
30037         <bp-checks.h>.
30038         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
30039         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
30040         <bp-checks.h>.
30041         (do_sigsuspend): Don't use CHECK_SIGSET.
30042         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
30043         use CHECK_SIGSET.
30044         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
30045         (do_sigwait): Don't use CHECK_SIGSET.
30046         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
30047         use CHECK_SIGSET.
30048         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
30049         include <bp-checks.h>.
30050         (sigpending): Don't use CHECK_SIGSET.
30051         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
30052         include <bp-checks.h>.
30053         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
30054         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
30055         <bp-checks.h>.
30056         (sigpending): Don't use CHECK_SIGSET.
30057         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
30058         <bp-checks.h>.
30059         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
30060
30061         [BZ #13550]
30062         * sysdeps/generic/bp-semctl.h: Remove file.
30063         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
30064         <bp-checks.h> and <bp-semctl.h>.
30065         (__old_semctl): Don't use CHECK_SEMCTL.
30066         (__new_semctl): Likewise.
30067         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
30068         and <bp-semctl.h>.
30069         (__old_semctl): Don't use CHECK_SEMCTL.
30070         (__new_semctl): Likewise.
30071         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
30072         <bp-checks.h> and <bp-semctl.h>.
30073         (__old_semctl): Don't use CHECK_SEMCTL.
30074         (__new_semctl): Likewise.
30075         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
30076         <bp-checks.h> and <bp-semctl.h>.
30077         (semctl): Don't use CHECK_SEMCTL.
30078
30079         [BZ #13550]
30080         * Makerules (elide-bp-thunks): Remove variable.
30081         (elide-routines.oS): Don't use $(elide-bp-thunks).
30082         (elide-routines.os): Likewise.
30083         (elide-routines.o): Likewise.
30084         (elide-routines.op): Likewise.
30085         (elide-routines.og): Likewise.
30086         (objects): Don't use $(bp-thunks).
30087         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
30088         include.
30089         (common-generated): Do not add s-proto-bp.d.
30090         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
30091         (int): Likewise.
30092         (typ): Likewise.
30093         Do not generate makefile rules for bounded-pointer thunks.
30094         * sysdeps/generic/bp-thunks.h: Remove file.
30095         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
30096         * sysdeps/unix/s-proto-bp.S: Likewise.
30097
30098         [BZ #15062]
30099         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
30100         parts of result separately when argument is not close to line from
30101         -i to i and one part of argument is small.
30102         * math/k_casinhf.c (__kernel_casinhf): Likewise.
30103         * math/k_casinhl.c (__kernel_casinhl): Likewise.
30104         * math/libm-test.inc (cacos_test): Add more tests.
30105         (casin_test): Likewise.
30106         (casinh_test): Likewise.
30107         * sysdeps/i386/fpu/libm-test-ulps: Update.
30108         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30109
30110 2013-01-31  David S. Miller  <davem@davemloft.net>
30111
30112         * po/de.po: Update from translation team.
30113
30114 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
30115
30116         * time/tzfile.c: Include stdint.h for SIZE_MAX.
30117
30118 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
30119
30120         * configure.in (_AC_PROG_CC_C89): New definition.
30121         * configure: Regenerate.
30122
30123         * configure.in (AC_PROG_CPP): New definition.
30124         * configure: Regenerate.
30125
30126 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
30127
30128         * debug/tst-backtrace.h: New file.
30129         * debug/tst-backtrace2.c: Include tst-backtrace.h.
30130         (ret): Remove variable.
30131         (x): Likewise.
30132         (FAIL): Remove macro.
30133         (NO_INLINE): Likewise.
30134         (fn1): Use match function instead of strstr.
30135         * debug/tst-backtrace3.c: Include tst-backtrace.h.
30136         (ret): Remove variable.
30137         (x): Likewise.
30138         (FAIL): Remove macro.
30139         (NO_INLINE): Likewise.
30140         (fn): Use match function instead of strstr.
30141         * debug/tst-backtrace4.c: Include tst-backtrace.h.
30142         (ret): Remove variable.
30143         (x): Likewise.
30144         (FAIL): Remove macro.
30145         (NO_INLINE): Likewise.
30146         (handle_signal): Use match function instead of strstr.
30147         * debug/tst-backtrace5.c: Include tst-backtrace.h.
30148         (ret): Remove variable.
30149         (x): Likewise.
30150         (FAIL): Remove macro.
30151         (NO_INLINE): Likewise.
30152         (handle_signal): Use match function instead of strstr.
30153
30154 2013-01-23  Roland McGrath  <roland@hack.frob.com>
30155
30156         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
30157
30158 2013-01-23  David S. Miller  <davem@davemloft.net>
30159
30160         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
30161         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
30162         argument of CAS if possible.
30163         * sysdeps/sparc/sparc64/bits/atomic.h
30164         (__arch_compare_and_exchange_val_32_acq): Likewise.
30165         (__arch_compare_and_exchange_val_64_acq): Likewise.
30166
30167 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
30168
30169         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
30170         * sysdeps/posix/ulimit.c: ... this.
30171         Include <limits.h>.
30172         * sysdeps/unix/bsd/ulimit.c: Remove file.
30173
30174 2013-01-23  Adam Conrad  <adconrad@0c3.net>
30175
30176         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
30177         (LDFLAGS-tst-array5): Likewise.
30178
30179 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
30180
30181         [BZ #15036]
30182         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
30183         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
30184         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
30185         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
30186
30187 2013-01-21  David S. Miller  <davem@davemloft.net>
30188
30189         * sysdeps/sparc/backtrace.c: New file.
30190         * sysdeps/sparc/sparc32/backtrace.h: New file.
30191         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
30192         * sysdeps/sparc/sparc64/backtrace.h: New file.
30193         * sysdeps/sparc/sparc64/backtrace.c: Delete.
30194         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
30195         -funwind-tables.
30196
30197 2013-01-21  Andreas Schwab  <schwab@suse.de>
30198
30199         [BZ #15020]
30200         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
30201         closed its stdout.
30202
30203 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
30204
30205         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
30206         "mpa2.h".
30207         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
30208
30209 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
30210             Mark Mitchell  <mark@codesourcery.com>
30211             Tom de Vries  <tom@codesourcery.com>
30212             Paul Pluzhnikov  <ppluzhnikov@google.com>
30213
30214         * debug/tst-backtrace2.c: New file.
30215         * debug/tst-backtrace3.c: Likewise.
30216         * debug/tst-backtrace4.c: Likewise.
30217         * debug/tst-backtrace5.c: Likewise.
30218         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
30219         (CFLAGS-tst-backtrace3.c): Likewise.
30220         (CFLAGS-tst-backtrace4.c): Likewise.
30221         (CFLAGS-tst-backtrace5.c): Likewise.
30222         (LDFLAGS-tst-backtrace2): Likewise.
30223         (LDFLAGS-tst-backtrace3): Likewise.
30224         (LDFLAGS-tst-backtrace4): Likewise.
30225         (LDFLAGS-tst-backtrace5): Likewise.
30226         (tests): Add new tests tst-backtrace2, tst-backtrace3,
30227         tst-backtrace4 and tst-backtrace5.
30228
30229 2013-01-18  Anton Blanchard  <anton@samba.org>
30230             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
30231
30232         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
30233         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
30234         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
30235         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
30236         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
30237         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
30238         "+r" and remove output regs list as redundant.  Add explicit inline
30239         asm to specify register of return val to work around compiler codegen
30240         bug.  Remove (int) cast on return value.  Add return type parameter to
30241         use in macro so that this macro does not truncate return value for
30242         64-bit values.
30243         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
30244         pass to INTERNAL_VSYSCALL_NCS.
30245         (INLINE_VSYSCALL): Add 'long int' as return type to
30246         INTERNAL_VSYSCALL_NCS macro invocation.
30247         (INTERNAL_VSYSCALL): Add 'long int' as return type to
30248         INTERNAL_VSYSCALL_NCS macro invocation.
30249         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
30250
30251 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
30252
30253         [BZ #14496]
30254         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
30255         Fix application of SIMD FP exception mask.
30256
30257         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
30258         mp_no from a power of two.
30259         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
30260         __mpexp_twomm1.  Use __pow_mp.
30261
30262         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
30263         multiplication.
30264
30265 2013-01-17  David S. Miller  <davem@davemloft.net>
30266
30267         * sysdeps/sparc/fpu/libm-test-ulps: Update.
30268
30269 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
30270
30271         [BZ #15023]
30272         * include/complex.h: Condition contents on [!_COMPLEX_H].
30273         (__kernel_casinhf): New prototype.
30274         (__kernel_casinh): Likewise.
30275         (__kernel_casinhl): Likewise.
30276         * math/Makefile (libm_calls): Add k_casinh.
30277         * math/k_casinh.c: New file.
30278         * math/k_casinhf.c: Likewise.
30279         * math/k_casinhl.c: Likewise.
30280         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
30281         finite nonzero arguments.
30282         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
30283         finite nonzero arguments.
30284         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
30285         finite nonzero arguments.
30286         * math/s_casinh.c: Do not include <float.h>.
30287         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
30288         * math/s_casinhf.c: Do not include <float.h>.
30289         (__casinhf): Move code for finite nonzero arguments to
30290         k_casinhf.c.
30291         * math/s_casinhl.c: Do not include <float.h>.
30292         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
30293         redefine.
30294         (__casinhl): Move code for finite nonzero arguments to
30295         k_casinhl.c.
30296         * math/libm-test.inc (cacos_test): Add more tests.
30297         * sysdeps/i386/fpu/libm-test-ulps: Update.
30298         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30299
30300 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
30301
30302         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
30303         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
30304         [!HAVE_MREMAP]: Remove [defined linux] case.
30305         * malloc/arena.c: Do not include <malloc-sysdep.h>.
30306
30307 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
30308
30309         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
30310
30311 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
30312
30313         * elf/elf.h (R_386_SIZE32): New relocation.
30314         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
30315         R_386_SIZE32.
30316         (elf_machine_rela): Likewise.
30317         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
30318         R_X86_64_SIZE64 and R_X86_64_SIZE32.
30319
30320 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
30321
30322         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
30323         (FP_FAST_FMA): Do not define.
30324         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
30325         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
30326         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
30327         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
30328         !_SOFT_FLOAT]: Likewise.
30329         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
30330         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
30331         value.
30332         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
30333         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
30334         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
30335         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
30336         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
30337         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
30338         file.
30339
30340 2013-01-16  Andreas Schwab  <schwab@suse.de>
30341
30342         [BZ #14327]
30343         * include/stdlib.h (__mktemp): Add declaration.
30344         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
30345         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
30346
30347 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
30348
30349         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
30350         definitions.
30351         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
30352         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
30353         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
30354         definitions here.
30355         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
30356         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
30357         definitions.
30358         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
30359         and ONE.
30360         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
30361         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
30362         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
30363         definitions.
30364         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
30365         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
30366         definitions.
30367         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
30368
30369         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
30370
30371 2013-01-15  David S. Miller  <davem@davemloft.net>
30372
30373         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
30374         trunc{,f} to libm-sysdep_routes.
30375         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
30376         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
30377         file.
30378         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
30379         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
30380         file.
30381         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
30382         file.
30383         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
30384         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
30385         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
30386         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
30387         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
30388         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
30389         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
30390         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
30391
30392         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
30393         nearbyint{,f} to libm-sysdep_routes.
30394         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
30395         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
30396         New file.
30397         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
30398         file.
30399         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
30400         New file.
30401         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
30402         file.
30403         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
30404         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
30405         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
30406         file.
30407         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
30408         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
30409         file.
30410         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
30411         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
30412         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
30413
30414         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
30415         libc_feholdexcept and libc_fesetenv.
30416
30417 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
30418
30419         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
30420
30421 2013-01-14  David S. Miller  <davem@davemloft.net>
30422
30423         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
30424         (SPARC_ASM_VIS2_IFUNC): Likewise.
30425         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
30426         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
30427         use of 'siam' instruction.
30428         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
30429         Likewise.
30430         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
30431         Likewise.
30432         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
30433         Likewise.
30434         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
30435         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
30436         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
30437         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
30438         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
30439         file.
30440         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
30441         file.
30442         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
30443         file.
30444         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
30445         file.
30446         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
30447         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
30448         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
30449         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
30450         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
30451         new VIS2 routines.
30452         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
30453         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
30454         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
30455         Likewise.
30456         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
30457         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
30458         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
30459         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
30460         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
30461         routines to libm-sysdep_routines.
30462         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
30463
30464         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
30465         fdim/fdimf to libm-sysdep_routines.
30466         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
30467         file.
30468         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
30469         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
30470         file.
30471         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
30472         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
30473         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
30474         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
30475         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
30476         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
30477         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
30478
30479 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
30480
30481         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
30482         to optimize copies.
30483
30484         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
30485         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
30486         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
30487
30488         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
30489         local variable MPTWO.
30490         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
30491         Likewise.
30492
30493 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
30494
30495         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
30496         GLOB_NOESCAPE.
30497
30498 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
30499
30500         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
30501
30502 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
30503
30504         * manual/pattern.texi (glob_t): Document gl_flags.
30505         (glob64_t): Likewise.
30506
30507 2013-01-11  David S. Miller  <davem@davemloft.net>
30508
30509         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
30510         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
30511         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
30512         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
30513         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
30514         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
30515         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
30516         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
30517         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
30518         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
30519         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
30520         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
30521         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
30522
30523         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
30524         sparc V9 rather than using V8 code.
30525         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
30526         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
30527
30528         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
30529         Move to...
30530         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
30531         Here.
30532
30533 2013-01-11  Roland McGrath  <roland@hack.frob.com>
30534
30535         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
30536         not in the main loop.
30537         * configure: Regenerated.
30538
30539 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
30540
30541         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
30542         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
30543         to just #else.
30544         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
30545         [!__GLIBC_HAVE_LONG_LONG] case.
30546         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
30547         condition to just #else.
30548         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
30549         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
30550         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
30551         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
30552         unconditional.
30553         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
30554         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
30555         #elif condition to just #else.
30556         * sysdeps/unix/sysv/linux/sys/sysmacros.h
30557         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
30558         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
30559         #elif condition to just #else.
30560
30561 2013-01-11  Steve Ellcey  <sellcey@mips.com>
30562
30563         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
30564         (EF_MIPS_ARCH_64): Fix value.
30565         (EF_MIPS_ARCH_32R2): New.
30566         (EF_MIPS_ARCH_64R2): New.
30567
30568 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
30569
30570         * Makeconfig (+link-pie-before-libc): New.
30571         (+link-pie-after-libc): Likewise.
30572         (+link-pie-tests): Likewise.
30573         (+link-pie): Rewritten.
30574         (link-before-libc): Remove $(config-LDFLAGS).
30575         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
30576         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
30577         (config-LDFLAGS): Renamed to ...
30578         (rtld-LDFLAGS): This.
30579         (rtld-tests-LDFLAGS): New macro.
30580         (link-libc-rpath-link): Likewise.
30581         (link-libc-tests-rpath-link): Likewise.
30582         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
30583         (link-libc): Prepand $(link-libc-rpath-link).
30584         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
30585         (test-program-prefix): New macro.
30586         (test-via-rtld-prefix): Likewise.
30587         (test-program-cmd): Likewise.
30588         (host-test-program-cmd): Likewise.
30589         * Makefile ($(common-objpfx)testrun.sh): Replace
30590         $(run-program-prefix) with $(test-program-prefix).
30591         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
30592         $(rtld-LDFLAGS).
30593         ($(common-objpfx)shlib.lds): Likewise.
30594         (build-module-helper): Likewise.
30595         ($(common-objpfx)format.lds): Likewise.
30596         * Rules (binaries-pie-tests): New.
30597         (binaries-pie-notests): Likewise.
30598         (binaries-pie): Rewritten.
30599         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
30600         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
30601         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
30602         (make-test-out): Replace $(host-built-program-cmd) with
30603         $(host-test-program-cmd).
30604         * config.make.in (build-hardcoded-path-in-tests): New variable.
30605         * configure.in (--enable-hardcoded-path-in-tests): New configure
30606         option.
30607         (hardcoded_path_in_tests): New AC_SUBST.
30608         * configure: Regenerated.
30609         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
30610         $(built-program-cmd) with $(test-program-cmd).
30611         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
30612         (test_program_cmd): This.
30613         * elf/Makefile ($(objpfx)order.out): Run test with
30614         $(test-program-prefix).
30615         ($(objpfx)order2.out): Likewise.
30616         ($(objpfx)tst-initorder.out): Likewise.
30617         ($(objpfx)tst-initorder2.out): Likewise.
30618         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
30619         $(test-program-cmd).
30620         ($(objpfx)tst-array1-static.out): Likewise.
30621         ($(objpfx)tst-array2.out): Likewise.
30622         ($(objpfx)tst-array3.out): Likewise.
30623         ($(objpfx)tst-array4.out): Likewise.
30624         ($(objpfx)tst-array5.out): Likewise.
30625         ($(objpfx)tst-array5-static.out): Likewise.
30626         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
30627         $(test-program-cmd).
30628         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
30629         $(run-program-prefix) with $(test-program-prefix).
30630         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
30631         (test_program_prefix): This.
30632         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
30633         $(run-program-prefix) with $(test-program-prefix).
30634         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
30635         (test_program_prefix): This.
30636         * iconvdata/tst-tables.sh: Likewise.
30637         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
30638         $(run-program-prefix) with $(test-program-prefix).
30639         ($(objpfx)tst-translit.out): Likewise.
30640         ($(objpfx)tst-gettext2.out): Likewise.
30641         ($(objpfx)tst-gettext4.out): Likewise.
30642         ($(objpfx)tst-gettext6.out): Likewise.
30643         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
30644         (test_program_prefix): This.
30645         * intl/tst-gettext2.sh: Likewise.
30646         * intl/tst-gettext4.sh  Likewise.
30647         * intl/tst-gettext6.sh: Likewise.
30648         * intl/tst-translit.sh: Likewise.
30649         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
30650         with $(test-program-cmd).
30651         * libio/Makefile ($(objpfx)test-freopen.out): Replace
30652         $(run-program-prefix) with $(test-program-prefix).
30653         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
30654         (test_program_prefix): This.
30655         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
30656         $(run-program-prefix) with $(test-program-prefix).
30657         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
30658         (test_program_prefix): This.
30659         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
30660         * posix/Makefile ($(objpfx)globtest.out): Replace
30661         $(run-via-rtld-prefix) and $(test-wrapper) with
30662         $(test-program-prefix) and $(test-via-rtld-prefix).
30663         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
30664         $(test-program-prefix).
30665         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
30666         $(host-test-program-cmd).
30667         (tst-spawn-ARGS): Likewise.
30668         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
30669         $(test-program-prefix).
30670         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
30671         (test_via_rtld_prefix): This.
30672         (test_wrapper): Renamed to ...
30673         (test_program_prefix): This.
30674         (run_program_prefix): Replaced by test_program_prefix.
30675         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
30676         (test_program_prefix): This.
30677         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
30678         with $(host-test-program-cmd).
30679         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
30680         $(run-program-prefix) with $(test-program-prefix).
30681         ($(objpfx)tst-printf.out): Likewise.
30682         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
30683         $(test-program-cmd).
30684         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
30685         (test_program_prefix): This.
30686         * stdio-common/tst-unbputc.sh: Likewise.
30687         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
30688         $(run-program-prefix) with $(test-program-prefix).
30689         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
30690         (test_program_prefix): This.
30691         * string/Makefile ($(objpfx)tst-svc.out):  Replace
30692         $(built-program-cmd) with $(test-program-cmd).
30693
30694 2013-01-11  Andreas Jaeger  <aj@suse.de>
30695
30696         [BZ #15003]
30697         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
30698         value. Sync with Linux 3.7.
30699
30700 2013-01-10  David S. Miller  <davem@davemloft.net>
30701
30702         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
30703         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
30704         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
30705
30706 2013-01-10  Roland McGrath  <roland@hack.frob.com>
30707
30708         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
30709         never set.
30710         * configure: Regenerated.
30711
30712 2013-01-10  David S. Miller  <davem@davemloft.net>
30713
30714         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
30715         sparc V9 rather than using V8 code.
30716         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
30717         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
30718
30719 2013-01-10  Roland McGrath  <roland@hack.frob.com>
30720
30721         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
30722         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
30723         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
30724         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
30725         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
30726         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
30727         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
30728         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
30729         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
30730         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
30731         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
30732         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
30733         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
30734         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
30735         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
30736         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
30737         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
30738         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
30739         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
30740         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
30741         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
30742         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
30743         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
30744         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
30745         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
30746         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
30747         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
30748
30749 2013-01-10  David S. Miller  <davem@davemloft.net>
30750
30751         * sysdeps/sparc/fpu/libm-test-ulps: Update.
30752
30753 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
30754
30755         * posix/Makefile (tests-static): New variable.
30756         (tests): Add $(tests-static).
30757         (tst-exec-static-ARGS): New variable.
30758         (tst-spawn-static-ARGS): Likewise.
30759         * posix/tst-exec-static.c: New file.
30760         * posix/tst-spawn-static.c: Likewise.
30761         * posix/tst-exec.c: Support run directly.
30762         * posix/tst-spawn.c: Likewise.
30763
30764 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
30765
30766         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
30767         long.
30768         * math/bits/mathcalls.h (llrint): Likewise.
30769         (llround): Likewise.
30770         * stdlib/stdlib.h (struct drand48_data): Likewise.
30771         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
30772         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
30773         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
30774         Likewise.
30775         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
30776         Likewise.
30777         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
30778         (elf_greg_t): Likewise.
30779         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
30780         (__jmp_buf): Likewise.
30781         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
30782         definitions.
30783         (llrint): Likewise, for all definitions.
30784         (llrintl): Likewise.
30785
30786         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
30787         Remove [__GNUC__] condition.
30788         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
30789         condition to just [__USE_ISOC99].
30790         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
30791
30792 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
30793
30794         [BZ #14200]
30795         * sysdeps/unix/sysv/linux/x86/bits/environments.h
30796         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
30797         defined.
30798         (_POSIX_V6_ILP32_OFF32): Likewise.
30799         (_XBS5_ILP32_OFF32): Likewise.
30800         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
30801         (__ILP32_OFFBIG_LDFLAGS): Likewise.
30802
30803 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
30804
30805         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
30806
30807         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
30808         doubles __mpexp_twomm1.  Adjust usage.
30809         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
30810         Remove.
30811
30812 2013-01-10  Andreas Schwab  <schwab@suse.de>
30813
30814         [BZ #14964]
30815         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
30816         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
30817
30818 2013-01-09  David S. Miller  <davem@davemloft.net>
30819
30820         [BZ #15003]
30821         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
30822         (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
30823         (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
30824         (TCP_FASTOPEN): Define.
30825         (tcp_repair_opt): New structure.
30826         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
30827         enum values.
30828         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
30829         (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
30830         (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
30831         (tcp_cookie_transactions): New structure.
30832
30833 2013-01-09  Anton Blanchard  <anton@samba.org>
30834
30835         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
30836         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
30837         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
30838         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
30839
30840 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
30841
30842         * include/features.h (__USE_ANSI): Remove.
30843
30844 2013-01-09  Roland McGrath  <roland@hack.frob.com>
30845
30846         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
30847
30848         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
30849
30850 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
30851
30852         * sysdeps/s390/fpu/libm-test-ulps: Update.
30853
30854         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30855
30856         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
30857         (__acr): Likewise.
30858         (__cpy): Likewise.
30859         (norm): Likewise.
30860         (denorm): Likewise.
30861         (__mp_dbl): Likewise.
30862         (__dbl_mp): Likewise.
30863         (add_magnitudes): Likewise.
30864         (sub_magnitudes): Likewise.
30865         (__add): Likewise.
30866         (__sub): Likewise.
30867         (__mul): Likewise.
30868         (__inv): Likewise.
30869         (__dvd): Likewise.
30870         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
30871         (__acr): Likewise.
30872         (__cpy): Likewise.
30873         (norm): Likewise.
30874         (denorm): Likewise.
30875         (__mp_dbl): Likewise.
30876         (__dbl_mp): Likewise.
30877         (add_magnitudes): Likewise.
30878         (sub_magnitudes): Likewise.
30879         (__add): Likewise.
30880         (__sub): Likewise.
30881         (__mul): Likewise.
30882         (__inv): Likewise.
30883         (__dvd): Likewise.
30884         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
30885         (__acr): Likewise.
30886         (__cpy): Likewise.
30887         (norm): Likewise.
30888         (denorm): Likewise.
30889         (__mp_dbl): Likewise.
30890         (__dbl_mp): Likewise.
30891         (add_magnitudes): Likewise.
30892         (sub_magnitudes): Likewise.
30893         (__add): Likewise.
30894         (__sub): Likewise.
30895         (__mul): Likewise.
30896         (__inv): Likewise.
30897         (__dvd): Likewise.
30898
30899 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
30900
30901         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
30902         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
30903         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
30904         2 && __USE_EXTERN_INLINES]: Likewise.
30905
30906 2013-01-08  Andreas Jaeger  <aj@suse.de>
30907
30908         [BZ# 14985]
30909         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
30910         Remove.
30911         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
30912         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
30913
30914 2013-01-07  Anton Blanchard  <anton@samba.org>
30915
30916         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
30917         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
30918         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
30919         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
30920         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
30921         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
30922         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
30923         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
30924         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
30925         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
30926         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
30927         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
30928         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
30929         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
30930         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
30931         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
30932         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
30933         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
30934         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
30935         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
30936         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
30937         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
30938         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
30939         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
30940         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
30941         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
30942         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
30943         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
30944         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
30945         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
30946         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
30947         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
30948         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
30949         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
30950         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
30951         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
30952         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
30953         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
30954         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
30955         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
30956         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
30957         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
30958         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
30959
30960 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
30961
30962         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
30963         (__MALLOC_PMT): Likewise.
30964         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
30965         [__GNUC__], only on [_LIBC].
30966         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
30967         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
30968         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
30969         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
30970         forward declaration.
30971         (realloc_hook_ini): Likewise.
30972         (memalign_hook_ini): Likewise.
30973         (__libc_memalign): Do not use __MALLOC_PMT in variable
30974         declaration.
30975         (__libc_valloc): Likewise.
30976         (__libc_pvalloc): Likewise.
30977         (__libc_calloc): Likewise.
30978         (__posix_memalign): Likewise.
30979
30980         [BZ #14996]
30981         * math/s_casinh.c: Include <float.h>.
30982         (__casinh): Do not do computation with squaring and square root
30983         for large arguments.
30984         * math/s_casinhf.c: Include <float.h>.
30985         (__casinhf): Do not do computation with squaring and square root
30986         for large arguments.
30987         * math/s_casinhl.c: Include <float.h>.
30988         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
30989         (__casinhl): Do not do computation with squaring and square root
30990         for large arguments.
30991         * math/libm-test.inc (casin_test): Add more tests.
30992         (casinh_test): Likewise.
30993         * sysdeps/i386/fpu/libm-test-ulps: Update.
30994         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30995
30996 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
30997
30998         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
30999         (__x86_64_raw_data_cache_size): Likewise.
31000         (__x86_64_data_cache_size_half): Likewise.
31001         (__x86_64_raw_data_cache_size_half): Likewise.
31002         (__x86_64_shared_cache_size): Likewise.
31003         (__x86_64_raw_shared_cache_size): Likewise.
31004         (__x86_64_shared_cache_size_half): Likewise.
31005         (__x86_64_raw_shared_cache_size_half): Likewise.
31006         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
31007         to ...
31008         (__x86_data_cache_size): This.
31009         (__x86_64_raw_data_cache_size): Renamed to ...
31010         (__x86_raw_data_cache_size): This.
31011         (__x86_64_data_cache_size_half): Renamed to ...
31012         (__x86_data_cache_size_half): This.
31013         (__x86_64_raw_data_cache_size_half): Renamed to ...
31014         (__x86_raw_data_cache_size_half): This.
31015         (__x86_64_shared_cache_size): Renamed to ...
31016         (__x86_shared_cache_size): This.
31017         (__x86_64_raw_shared_cache_size): Renamed to ...
31018         (__x86_raw_shared_cache_size): This.
31019         (__x86_64_shared_cache_size_half): Renamed to ...
31020         (__x86_shared_cache_size_half): This.
31021         (__x86_64_raw_shared_cache_size_half): Renamed to ...
31022         (__x86_raw_shared_cache_size_half): This.
31023         * sysdeps/x86_64/memcpy.S: Updated.
31024         * sysdeps/x86_64/memset.S: Likewise.
31025         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
31026         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
31027         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
31028
31029 2013-01-04  David S. Miller  <davem@davemloft.net>
31030
31031         * sysdeps/sparc/fpu/libm-test-ulps: Update.
31032
31033 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
31034
31035         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
31036         1 to avoid redefinition warning.
31037         (__USE_GNU): Don't define.
31038         (init_signaling_nan): Protoize.
31039
31040         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31041
31042 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
31043
31044         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
31045         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
31046         (__cpymn): Likewise.
31047         (norm): Remove commented code.
31048         (denorm): Likewise.
31049         (__mp_dbl): Likewise.
31050         (__inv): Likewise.
31051         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
31052         (__cpymn): Likewise.
31053         (norm): Remove commented code.
31054         (denorm): Likewise.
31055         (__mp_dbl): Likewise.
31056         (__inv): Likewise.
31057
31058         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
31059         mp_no value for 1.0 and 2.0.
31060         (norm): Use RADIXI instead of radixi.d.
31061         (denorm): Likewise.
31062         (__mul): Use 0.0 instead of zero.d.
31063         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
31064         mp_no value for 1.0 and 2.0.
31065         (norm): Use RADIXI instead of radixi.d.
31066         (denorm): Likewise.
31067         (__mul): Use 0.0 instead of zero.d.
31068
31069 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
31070
31071         [BZ #14994]
31072         * math/s_casinh.c (__casinh): Reduce finite argument to first
31073         quadrant then set signs of results at the end.
31074         * math/s_casinhf.c (__casinhf): Likewise.
31075         * math/s_casinhl.c (__casinhl): Likewise.
31076         * math/libm-test.inc (casin_test): Add more tests.
31077         (casinh_test): Likewise.
31078         * sysdeps/i386/fpu/libm-test-ulps: Update.
31079         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31080
31081 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
31082
31083         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
31084
31085         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
31086
31087         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
31088         declarations.
31089         (denorm): Likewise.
31090         (__mp_dbl): Likewise.
31091         (__inv): Likewise.
31092
31093         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
31094         and adjust the header comment.
31095
31096         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
31097         variable name from declaration.
31098
31099 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
31100
31101         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
31102         Initialize COMMON_CPUID_INDEX_7 element.
31103         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
31104         (CPUID_RTM): Likewise.
31105         (HAS_RTM): Likewise.
31106         (COMMON_CPUID_INDEX_7): New enum.
31107
31108 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
31109
31110         [BZ #14981]
31111         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
31112         size is zero, record memory as freed.
31113
31114 2013-01-03  Andreas Jaeger  <aj@suse.de>
31115
31116         * po/ia.po: Add new Interlingua translation.
31117
31118 2012-01-03  Allan McRae  <allan@archlinux.org>
31119
31120         * locale/programs/localedef.c: Fix description of '--posix' flag.
31121
31122 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
31123
31124         * NEWS: Update dates in second copyright notice.
31125         * README: Update copyright dates in example.
31126         * manual/libc.texinfo: Update copyright dates.
31127         * scripts/test-installation.pl: Update copyright date in --version
31128         output.
31129
31130         * hurd/ctty-input.c: Fix copyright notice formatting.
31131         * hurd/ctty-output.c: Likewise.
31132         * hurd/dtable.c: Likewise.
31133         * hurd/hurd-raise.c: Likewise.
31134         * hurd/hurdprio.c: Likewise.
31135         * hurd/msgportdemux.c: Likewise.
31136         * misc/sys/file.h: Likewise.
31137         * misc/sys/ioctl.h: Likewise.
31138         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
31139         * sysdeps/mach/hurd/chdir.c: Likewise.
31140         * sysdeps/mach/hurd/fchdir.c: Likewise.
31141         * sysdeps/mach/hurd/rename.c: Likewise.
31142         * sysdeps/mach/hurd/rmdir.c: Likewise.
31143         * sysdeps/mach/hurd/seekdir.c: Likewise.
31144         * sysdeps/mach/hurd/setsid.c: Likewise.
31145         * sysdeps/posix/wait3.c: Likewise.
31146
31147         * All files with FSF copyright notices: Update copyright dates
31148         using scripts/update-copyrights.
31149         * intl/plural.c: Regenerated.
31150         * locale/programs/charmap-kw.h: Likewise.
31151         * locale/programs/locfile-kw.h: Likewise.
31152
31153 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
31154
31155         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
31156         four values.
31157
31158         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
31159         calculation loop and add branch prediction.
31160
31161         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
31162         check access beyond bounds of m1np.
31163
31164         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
31165         MPTWO.
31166         (__inv): Remove local variable MPTWO to use the global
31167         constant.
31168         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
31169         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
31170         variable MPTWO.
31171         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
31172         MP3HALFS static const.
31173
31174 2013-01-01  David S. Miller  <davem@davemloft.net>
31175
31176         * po/ca.po: Update from translation team.
31177
31178 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
31179
31180         * scripts/update-copyrights: New file.
31181         * Makeconfig: Reformat copyright notice.
31182         * ctype/ctype.h: Likewise.
31183         * debug/swprintf_chk.c: Likewise.
31184         * elf/dl-cache.c: Likewise.
31185         * elf/dl-debug.c: Likewise.
31186         * elf/dl-object.c: Likewise.
31187         * grp/initgroups.c: Likewise.
31188         * hurd/Makefile: Likewise.
31189         * hurd/hurd/signal.h: Likewise.
31190         * hurd/hurdfault.c: Likewise.
31191         * hurd/hurdioctl.c: Likewise.
31192         * hurd/hurdlookup.c: Likewise.
31193         * hurd/intr-msg.c: Likewise.
31194         * iconv/gconv_open.c: Likewise.
31195         * libio/swprintf.c: Likewise.
31196         * locale/lc-ctype.c: Likewise.
31197         * locale/nl_langinfo.c: Likewise.
31198         * mach/Machrules: Likewise.
31199         * mach/Makefile: Likewise.
31200         * malloc/obstack.h: Likewise.
31201         * manual/Makefile: Likewise.
31202         * manual/tsort.awk: Likewise.
31203         * misc/bits/stab.def: Likewise.
31204         * nis/nis_print_group_entry.c: Likewise.
31205         * nis/nis_table.c: Likewise.
31206         * nis/nss_compat/compat-pwd.c: Likewise.
31207         * nis/nss_compat/compat-spwd.c: Likewise.
31208         * po/Makefile: Likewise.
31209         * posix/fnmatch.c: Likewise.
31210         * posix/regex.h: Likewise.
31211         * resolv/Makefile: Likewise.
31212         * resolv/nss_dns/dns-network.c: Likewise.
31213         * resolv/res_hconf.c: Likewise.
31214         * scripts/gen-sorted.awk: Likewise.
31215         * soft-fp/soft-fp.h: Likewise.
31216         * stdio-common/printf.h: Likewise.
31217         * stdlib/monetary.h: Likewise.
31218         * stdlib/random.c: Likewise.
31219         * stdlib/random_r.c: Likewise.
31220         * sysdeps/generic/Makefile: Likewise.
31221         * sysdeps/gnu/Makefile: Likewise.
31222         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
31223         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
31224         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
31225         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
31226         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
31227         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
31228         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
31229         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
31230         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
31231         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
31232         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
31233         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
31234         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
31235         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
31236         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
31237         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
31238         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
31239         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
31240         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
31241         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
31242         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
31243         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
31244         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
31245         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
31246         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
31247         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
31248         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
31249         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
31250         * sysdeps/mach/hurd/errnos.awk: Likewise.
31251         * sysdeps/mach/hurd/fork.c: Likewise.
31252         * sysdeps/mach/hurd/getcwd.c: Likewise.
31253         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
31254         * sysdeps/mach/hurd/mmap.c: Likewise.
31255         * sysdeps/mach/hurd/utimes.c: Likewise.
31256         * sysdeps/mach/hurd/xmknod.c: Likewise.
31257         * sysdeps/posix/profil.c: Likewise.
31258         * sysdeps/posix/readdir_r.c: Likewise.
31259         * sysdeps/powerpc/bits/mathdef.h: Likewise.
31260         * sysdeps/powerpc/bits/setjmp.h: Likewise.
31261         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
31262         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
31263         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
31264         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
31265         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
31266         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
31267         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
31268         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
31269         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
31270         * sysdeps/pthread/lio_listio.c: Likewise.
31271         * sysdeps/sparc/dl-procinfo.h: Likewise.
31272         * sysdeps/unix/i386/sysdep.S: Likewise.
31273         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
31274         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
31275         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
31276         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
31277         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
31278         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
31279         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
31280         * sysdeps/unix/sysv/linux/speed.c: Likewise.
31281         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
31282         * sysdeps/wordsize-32/divdi3.c: Likewise.
31283         * time/sys/time.h: Likewise.
31284         * wcsmbs/Makefile: Likewise.
31285
31286 2013-01-01  David S. Miller  <davem@davemloft.net>
31287
31288         * po/fr.po: Update from translation team.
31289
31290         * catgets/gencat.c: Update copyright year.
31291         * csu/version.c: Likewise.
31292         * debug/catchsegv.sh: Likewise.
31293         * debug/pcprofiledump.c: Likewise.
31294         * debug/xtrace.sh: Likewise.
31295         * elf/ldconfig.c: Likewise.
31296         * elf/ldd.bash.in: Likewise.
31297         * elf/pldd.c: Likewise.
31298         * elf/sotruss.ksh: Likewise.
31299         * elf/sprof.c: Likewise.
31300         * iconv/iconv_prog.c: Likewise.
31301         * iconv/iconvconfig.c: Likewise.
31302         * locale/programs/locale.c: Likewise.
31303         * locale/programs/localedef.c: Likewise.
31304         * login/programs/pt_chown.c: Likewise.
31305         * malloc/memusage.sh: Likewise.
31306         * malloc/memusagestat.c: Likewise.
31307         * malloc/mtrace.pl: Likewise.
31308         * nscd/nscd.c: Likewise.
31309         * nss/getent.c: Likewise.
31310         * nss/makedb.c: Likewise.
31311         * posix/getconf.c: Likewise.
31312
31313 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
31314
31315         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
31316         numbers.
31317
31318 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
31319
31320         * math/bits/mathcalls.h (modf): Use __nonnull.
31321
31322 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
31323
31324         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
31325         (split): Use macro CN instead of the bare value.
31326         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
31327         could be used.
31328         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
31329         instead of the bare value.
31330         (power1): Likewise.
31331
31332 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
31333
31334         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
31335         __ATAN_TWOM.
31336         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
31337
31338         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
31339         their values.
31340         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
31341         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
31342         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
31343         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
31344
31345 2012-12-28  Andreas Jaeger  <aj@suse.de>
31346
31347         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
31348         values are from Linux 3.7.
31349
31350         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
31351         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
31352
31353 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
31354
31355         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
31356         TRUE case.
31357
31358         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
31359         (norm): Likewise.
31360         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
31361         variables with preprocessor constants.
31362         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
31363         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
31364         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
31365
31366 2012-12-27  Bruno Haible  <bruno@clisp.org>
31367
31368         [BZ #14317]
31369         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
31370         only if needed.
31371
31372 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
31373
31374         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
31375         and use variable directly.
31376         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
31377
31378         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
31379         MPONE.
31380         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
31381         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
31382         variable MPONE.
31383         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
31384         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
31385         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
31386         include directive.  Remove local variable MPONE.
31387         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
31388         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
31389         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
31390
31391 2012-12-25  David S. Miller  <davem@davemloft.net>
31392
31393         * version.h (RELEASE): Set to "development".
31394         (VERSION): Set to "2.17.90".
31395         * NEWS: Add 2.18 section.
31396
31397 2012-12-21  David S. Miller  <davem@davemloft.net>
31398
31399         * po/hr.po: Update from translation team.
31400
31401 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
31402
31403         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
31404
31405 2012-12-19  Steve Ellcey  <sellcey@mips.com>
31406
31407         * NEWS:  Mention new memcpy for MIPS.
31408
31409 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
31410
31411         * manual/contrib.texi (Contributors): Spelling correction.
31412
31413 2012-12-15  David S. Miller  <davem@davemloft.net>
31414
31415         * po/ru.po: Update from translation team.
31416
31417 2012-12-13  David S. Miller  <davem@davemloft.net>
31418
31419         * NEWS: Mention IFUNC testsuite enhancements.
31420
31421         * po/pl.po: Update from translation team.
31422         * po/bg.po: Likewise.
31423
31424         * manual/contrib.texi (Contributors): Update entries for Hongjiu
31425         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
31426
31427 2012-12-11  David S. Miller  <davem@davemloft.net>
31428
31429         * po/sv.po: Update from translation team.
31430
31431         * po/vi.po: Update from translation team.
31432
31433         * po/cs.po: Update from translation team.
31434
31435         * po/de.po: Update from translation team.
31436         * po/eo.po: Likewise.
31437         * po/nl.po: Likewise.
31438
31439 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
31440
31441         [BZ #14246]
31442         * manual/argp.texi (Argp Helper Functions): Move node to follow
31443         Argp Parsing State.
31444
31445         [BZ #14872]
31446         * manual/conf.texi (Limits on File System Capacity): Mention if
31447         terminating null is included in the max size.
31448
31449 2012-12-10  Andreas Jaeger  <aj@suse.de>
31450
31451         * po/cs.po: Update from translation team.
31452
31453 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
31454
31455         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
31456         void pointer and cast to uintptr_t.
31457         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
31458         path.
31459         * sysdeps/s390/s390-64/memcpy.S: Likewise.
31460         * sysdeps/s390/s390-64/memset.S: Likewise.
31461
31462 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
31463
31464         [BZ #14833]
31465         * menual/message.texi (Message Translation): Fix typos.
31466         (Helper programs for gettext): Likewise.
31467
31468 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
31469
31470         [BZ #14898]
31471         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
31472         Change to -1.
31473
31474 2012-12-07  David S. Miller  <davem@davemloft.net>
31475
31476         * po/libc.pot: Update.
31477
31478 2012-12-07  Richard Henderson  <rth@redhat.com>
31479
31480         [BZ #10114]
31481         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
31482         normal/normal case to before the switch.
31483         (_FP_DIV): Likewise.
31484
31485 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
31486             Mike Frysinger  <vapier@gentoo.org>
31487
31488         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
31489         check for __NR_fadvise64_64.
31490
31491 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
31492
31493         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
31494         0, not just to plain "0" as a statement.
31495         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
31496         with cw.
31497
31498 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
31499
31500         * NEWS: Use sourceware.org in Bugzilla URL.
31501
31502 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
31503
31504         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
31505         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
31506
31507         * stdio-common/tst-put-error.c (do_test): Add newline to the
31508         padded test to ensure flush.
31509
31510 2012-12-05  Jeff Law  <law@redhat.com>
31511
31512         * sunrpc/etc.rpc (fedfs_admin): Add entry.
31513
31514 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
31515
31516         * README: Don't refer to ports add-on as distributed separately.
31517         Mention AArch64 in list of systems supported in the ports add-on.
31518
31519         * LICENSES: Add more non-FSF copyright and license notices.
31520
31521         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
31522         ((unused)).
31523
31524         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
31525
31526         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
31527         10000 as width of padded output.
31528
31529 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
31530
31531         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
31532
31533         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
31534         variable LX with __attribute__ ((unused)).
31535         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
31536         Likewise.
31537         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
31538         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
31539         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
31540         with __attribute__ ((unused)).
31541
31542 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
31543
31544         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
31545
31546 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
31547
31548         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
31549         (CFLAGS-nldbl-acos.c): New variable.
31550         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
31551         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
31552         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
31553         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
31554         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
31555         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
31556         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
31557         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
31558         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
31559         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
31560         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
31561         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
31562         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
31563         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
31564         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
31565         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
31566         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
31567         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
31568         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
31569         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
31570         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
31571         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
31572         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
31573         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
31574         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
31575         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
31576         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
31577         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
31578         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
31579         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
31580         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
31581         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
31582         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
31583         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
31584         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
31585         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
31586         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
31587         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
31588         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
31589         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
31590         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
31591         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
31592         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
31593         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
31594         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
31595         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
31596         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
31597         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
31598         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
31599         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
31600         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
31601         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
31602         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
31603         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
31604         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
31605         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
31606         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
31607         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
31608         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
31609         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
31610         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
31611         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
31612         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
31613         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
31614         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
31615         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
31616         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
31617         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
31618         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
31619         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
31620         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
31621         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
31622         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
31623         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
31624         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
31625         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
31626         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
31627         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
31628         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
31629         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
31630         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
31631         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
31632         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
31633         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
31634         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
31635         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
31636         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
31637         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
31638         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
31639         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
31640         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
31641         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
31642         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
31643         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
31644         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
31645         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
31646         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
31647
31648         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
31649         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
31650
31651         [BZ #14914]
31652         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
31653         whole low double instead of just low 47 bits when splitting values
31654         into two parts.
31655
31656 2012-12-03  Allan McRae  <allan@archlinux.org>
31657
31658         * manual/stdio.texi (Predefined Printf Handlers): Remove
31659         @hsep and @vsep usage.
31660
31661 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
31662
31663         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
31664         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
31665
31666 2012-12-03  Jeff Law  <law@redhat.com>
31667
31668         * time/sys/time.h (settimeofday): Do not mark TV argument
31669         as __nonnull.
31670
31671 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
31672
31673         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
31674         when currently writing and seek to current position when not.
31675         * libio/Makefile (tests): Remove bug-fclose1.
31676         * libio/bug-fclose1.c: Delete.
31677
31678 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
31679
31680         * manual/arith.texi (feenableexcept): Fix typo.
31681         (fedisableexcept): Likewise.
31682
31683 2012-11-30  Roland McGrath  <roland@hack.frob.com>
31684
31685         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
31686         second, differently-typed declaration, rather than a cast.
31687
31688 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
31689
31690         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
31691         * include/rpc/svc.h: ... here.
31692
31693 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
31694
31695         [BZ #13013]
31696         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
31697         depending n and resplen2 to catch cases where answer
31698         equals answerp2.
31699
31700 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
31701
31702         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
31703         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
31704
31705 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
31706
31707         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
31708
31709 2012-11-29  Roland McGrath  <roland@hack.frob.com>
31710
31711         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
31712
31713 2012-11-28  Jeff Law  <law@redhat.com>
31714
31715         [BZ #13761]
31716         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
31717         dataset_temporary.  Track alloca usage into alloca_used.
31718         If dataset is large allocate and release it via malloc/free.
31719
31720 2012-06-04  Florian Weimer  <fweimer@redhat.com>
31721
31722         [BZ #14197]
31723         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
31724
31725 2012-11-28  David S. Miller  <davem@davemloft.net>
31726
31727         * sysdeps/sparc/fpu/libm-test-ulps: Update.
31728
31729 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
31730
31731         [BZ #14803]
31732         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
31733         of pi/2 rounded to nearest to 64 bits.
31734         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
31735         nearest to 64 bits.
31736         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
31737         bits.
31738
31739 2012-11-28  Jeff Law <law@redhat.com>
31740             Martin Osvald <mosvald@redhat.com>
31741
31742         [BZ #14889]
31743         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
31744         * sunrpc/svc.c: Include time.h.
31745         (__svc_accept_failed): New function.
31746         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
31747         any reason other than EINTR, call __svc_accept_failed.
31748         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
31749         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
31750
31751 2012-11-28  Andreas Schwab  <schwab@suse.de>
31752
31753         * scripts/abilist.awk: Also handle indirect functions in .opd
31754         section.
31755
31756 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
31757
31758         [BZ #13881]
31759         * sysdeps/x86/fpu/powl_helper.c: New file.
31760         * sysdeps/x86/fpu/Makefile: Likewise.
31761         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
31762         (p3): New object.
31763         (__ieee754_powl): Use __powl_helper for finite arguments except
31764         integer exponents below 8.
31765         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
31766         (p3): New object.
31767         (__ieee754_powl): Use __powl_helper for finite arguments except
31768         integer exponents below 8.
31769         * math/libm-test.inc (pow_test): Add more tests and enable some
31770         previously disabled tests.
31771         * sysdeps/i386/fpu/libm-test-ulps: Update.
31772         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31773
31774 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
31775             Carlos O'Donell  <carlos_odonell@mentor.com>
31776
31777         * nss/makedb.c (is_prime): Assert that input is odd and greater
31778         than 4.  Note that fact in a comment too.
31779         (next_prime): Add 4 to input.
31780
31781 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
31782
31783         [BZ #11741]
31784         * libio/Makefile (tests): Add test case tst-fwrite-error.
31785         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
31786         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
31787         * libio/tst-fwrite-error.c: New test case.
31788
31789 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
31790
31791         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
31792         before casting to void *.
31793         * include/libc-internal.h (__pointer_type): New macro.
31794         (__integer_if_pointer_type_sub): Likewise.
31795         (__integer_if_pointer_type): Likewise.
31796         (cast_to_integer): Likewise.
31797         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
31798         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
31799         before casting to atomic64_t.
31800         (atomic_exchange_acq): Likewise.
31801         (__arch_exchange_and_add_body): Likewise.
31802         (__arch_add_body): Likewise.
31803         (atomic_add_negative): Likewise.
31804         (atomic_add_zero): Likewise.
31805
31806 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
31807
31808         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
31809         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
31810         (add_fdes): Likewise.
31811         (linear_search_fdes): Likewise.
31812         (binary_search_unencoded_fdes): Likewise.
31813
31814 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
31815
31816         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
31817
31818 2012-11-24  Adam Conrad  <adconrad@0c3.net>
31819
31820         * configure.in: Autodetect C++ header directories.
31821         * configure: Regenerated.
31822
31823 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
31824
31825         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
31826
31827 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
31828
31829         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31830
31831 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
31832
31833         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
31834         LDBL_MANT_DIG == 106]: Disable some tests.
31835         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
31836         Likewise.
31837         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
31838         Likewise.
31839
31840         [BZ #14871]
31841         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
31842         input for small inputs.  Return +/- pi/2 for large inputs.
31843         * math/libm-test.inc (atan_test): Add more tests.
31844
31845         * sysdeps/generic/unwind-dw2-fde-glibc.c
31846         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
31847         __attribute__ ((unused)).
31848
31849         [BZ #14645]
31850         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
31851         x * y if x and y are nonzero and z is zero.
31852
31853         [BZ #14811]
31854         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
31855         nonzero exponents with absolute value below 0x1p-117 to +/-
31856         0x1p-117.
31857
31858         [BZ #14869]
31859         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
31860         up arguments below 2**-450, not just those below 2**-500.
31861         * math/libm-test.inc (hypot_test): Add another test.
31862
31863         [BZ #14868]
31864         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
31865         Return a+b for ratio over 2**120, not 2**60.
31866         * math/libm-test.inc (hypot_test): Add another test.
31867
31868         * math/libm-test.inc (clog_test): Use
31869         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
31870         (clog10_test): Likewise.
31871
31872         [BZ #6778]
31873         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
31874
31875 2012-11-22  Andreas Schwab  <schwab@suse.de>
31876
31877         * sysdeps/i386/fpu/libm-test-ulps: Update.
31878
31879 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
31880
31881         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
31882         printf output with newline.
31883
31884 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
31885
31886         [BZ #14865]
31887         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
31888         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
31889         -z nodlopen, -z initfirst and -z execstack support.
31890         * configure: Regenerated.
31891
31892         * elf/elf.h (DF_1_NODIRECT): New macro.
31893         (DF_1_IGNMULDEF): Likewise.
31894         (DF_1_NOKSYMS): Likewise.
31895         (DF_1_NOHDR): Likewise.
31896         (DF_1_EDITED): Likewise.
31897         (DF_1_NORELOC): Likewise.
31898         (DF_1_SYMINTPOSE): Likewise.
31899         (DF_1_GLOBAUDIT): Likewise.
31900         (DF_1_SINGLETON): Likewise.
31901         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
31902         DT_1_SUPPORTED_MASK bits.
31903         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
31904
31905 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
31906
31907         * sysdeps/unix/make-syscalls.sh: Document prefixes.
31908
31909 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
31910
31911         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
31912         macro.
31913
31914         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
31915         (sendmmsg): Move declarations...
31916         * socket/sys/socket.h: ... here.
31917         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
31918         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
31919         include it from...
31920         * socket/recvmmsg.c: ... this new file.
31921         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
31922         (sendmmsg): Rename to __sendmmsg, create weak alias and make
31923         definition of __sendmmsg hidden.
31924         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
31925         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
31926         Move ENOSYS stub into and include it from...
31927         * socket/sendmmsg.c: ... this new file.
31928         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
31929         (sysdep_routines): Move recvmmsg and sendmmsg...
31930         * socket/Makefile (routines): ... here.
31931         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
31932         (GLIBC_PRIVATE): Add __sendmmsg.
31933         * include/sys/socket.h (__sendmmsg): Add declarations.
31934         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
31935         sendmmsg.
31936
31937 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
31938
31939         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
31940         variable I1 with __attribute__ ((unused)).
31941         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
31942
31943 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
31944
31945         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
31946         DUMMY variables with __attribute__ ((unused)).
31947
31948         * bits/byteswap.h: Include <bits/types.h>.
31949         (__bswap_64): Use __uint64_t instead of unsigned long long int.
31950
31951 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
31952
31953         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
31954         string_t.  Do not manually set errno.
31955         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
31956         length with __strnlen.  Make sure to both set errno and return it on
31957         failure.
31958
31959 2012-11-19  David S. Miller  <davem@davemloft.net>
31960
31961         With help from Joseph Myers.
31962         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
31963         very large arguments properly.
31964         * math/libm-test.inc (atan_test): New tests.
31965         (atan2_test): New tests.
31966         * sysdeps/sparc/fpu/libm-test-ulps: Update.
31967         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
31968
31969 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
31970
31971         [BZ #14856]
31972         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
31973         Define to 3.
31974
31975         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
31976         [POSIX] (EADDRNOTAVAIL): Likewise.
31977         [POSIX] (EAFNOSUPPORT): Likewise.
31978         [POSIX] (EALREADY): Likewise.
31979         [POSIX] (ECONNABORTED): Likewise.
31980         [POSIX] (ECONNREFUSED): Likewise.
31981         [POSIX] (ECONNRESET): Likewise.
31982         [POSIX] (EDESTADDRREQ): Likewise.
31983         [POSIX] (EDQUOT): Likewise.
31984         [POSIX] (EHOSTUNREACH): Likewise.
31985         [POSIX] (EIDRM): Likewise.
31986         [POSIX] (EISCONN): Likewise.
31987         [POSIX] (ELOOP): Likewise.
31988         [POSIX] (EMULTIHOP): Likewise.
31989         [POSIX] (ENETDOWN): Likewise.
31990         [POSIX] (ENETUNREACH): Likewise.
31991         [POSIX] (ENOBUFS): Likewise.
31992         [POSIX] (ENODATA): Likewise.
31993         [POSIX] (ENOLINK): Likewise.
31994         [POSIX] (ENOMSG): Likewise.
31995         [POSIX] (ENOPROTOOPT): Likewise.
31996         [POSIX] (ENOSR): Likewise.
31997         [POSIX] (ENOSTR): Likewise.
31998         [POSIX] (ENOTCONN): Likewise.
31999         [POSIX] (ENOTSOCK): Likewise.
32000         [POSIX] (EOPNOTSUPP): Likewise.
32001         [POSIX] (EOVERFLOW): Likewise.
32002         [POSIX] (EPROTO): Likewise.
32003         [POSIX] (EPROTONOSUPPORT): Likewise.
32004         [POSIX] (EPROTOTYPE): Likewise.
32005         [POSIX] (ESTALE): Likewise.
32006         [POSIX] (ETIME): Likewise.
32007         [POSIX] (ETXTBSY): Likewise.
32008         [POSIX] (EWOULDBLOCK): Likewise.
32009         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
32010         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
32011         [POSIX] (SEEK_CUR): Likewise.
32012         [POSIX] (SEEK_END): Likewise.
32013         [POSIX || UNIX98] (mode_t): Do not require.
32014         [POSIX] (off_t): Likewise.
32015         [POSIX] (pid_t): Likewise.
32016         [POSIX] (sys/stat.h): Do not allow header.
32017         [POSIX] (unistd.h): Likewise.
32018         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
32019         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
32020         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
32021         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
32022         require.
32023         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
32024         sigevent): Specify elements.
32025         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
32026         entry.
32027         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
32028         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
32029
32030         * conform/data/cpio.h-data [POSIX]: Disable whole file.
32031         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
32032         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
32033         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
32034         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
32035         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
32036         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
32037         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
32038         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
32039         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
32040         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
32041         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
32042         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
32043         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
32044         Likewise.
32045         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
32046         Likewise.
32047         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
32048         Likewise.
32049         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
32050         Likewise.
32051         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
32052         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
32053         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
32054         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
32055         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
32056         Specify lower bound on value.
32057         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
32058         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
32059         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
32060         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
32061         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
32062         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
32063         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
32064         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
32065         value.
32066         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
32067         as optional.
32068         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
32069         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
32070         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
32071         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
32072         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
32073         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
32074         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
32075         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
32076         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
32077         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
32078         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
32079         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
32080         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
32081         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
32082         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
32083         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
32084         entry.
32085         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
32086         optional.
32087         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
32088         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
32089         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
32090         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
32091         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
32092         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
32093         Likewise.
32094         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
32095         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
32096         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
32097         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
32098         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
32099         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
32100         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
32101         as optional.
32102         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
32103         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
32104         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
32105         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
32106         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
32107         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
32108         specify as optional.
32109         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
32110         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
32111         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
32112         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
32113         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
32114         [XPG3] (NL_LANGMAX): Likewise.
32115         [POSIX || XPG3] (NL_MSGMAX): Likewise.
32116         [POSIX || XPG3] (NL_NMAX): Likewise.
32117         [POSIX || XPG3] (NL_SETMAX): Likewise.
32118         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
32119         [XPG3] (NZERO): Likewise.
32120         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
32121         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
32122         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
32123         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
32124         (REG_ERANGE): Expect.
32125         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
32126         optional-constant.
32127         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
32128         Use (void) in prototype.
32129         [POSIX] (*_t): Allow.
32130         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
32131         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
32132         (WRDE_BADVAL): Expect.
32133
32134         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
32135         expect.
32136         [XPG3 || XPG4] (O_RSYNC): Likewise.
32137         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
32138         Likewise.
32139         [XPG3 || XPG4] (pthread_sigmask): Likewise.
32140         [XPG3 || XPG4] (sigqueue): Likewise.
32141         [XPG3 || XPG4] (sigtimedwait): Likewise.
32142         [XPG3 || XPG4] (sigwaitinfo): Likewise.
32143         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
32144         [XPG3 || XPG4] (vsnprintf): Likewise.
32145         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
32146         Likewise.
32147         [XPG3 || XPG4] (blksize_t): Likewise.
32148         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
32149         Likewise.
32150         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
32151         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
32152         [XPG3 || XPG4] (struct itimerspec): Likewise.
32153         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
32154         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
32155         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
32156         [XPG3 || XPG4] (clockid_t): Likewise.
32157         [XPG3 || XPG4] (timer_t): Likewise.
32158         [XPG3 || XPG4] (clock_getres): Likewise.
32159         [XPG3 || XPG4] (clock_gettime): Likewise.
32160         [XPG3 || XPG4] (clock_settime): Likewise.
32161         [XPG3 || XPG4] (nanosleep): Likewise.
32162         [XPG3 || XPG4] (timer_create): Likewise.
32163         [XPG3 || XPG4] (timer_delete): Likewise.
32164         [XPG3 || XPG4] (timer_gettime): Likewise.
32165         [XPG3 || XPG4] (timer_getoverrun): Likewise.
32166         [XPG3 || XPG4] (timer_settime): Likewise.
32167         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
32168         [XPG3 || XPG4] (getlogin_r): Likewise.
32169         [XPG3 || XPG4] (pread): Likewise.
32170         [XPG3 || XPG4] (pthread_atfork): Likewise.
32171         [XPG3 || XPG4] (pwrite): Likewise.
32172
32173         [BZ #14835]
32174         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
32175         <bits/siginfo.h>.
32176
32177 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
32178
32179         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
32180         finalizing MALLSTREAM.
32181
32182         * sysdeps/mach/hurd/syncfs.c: New file.
32183
32184 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
32185
32186         [BZ #14719]
32187         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
32188         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
32189         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
32190         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
32191         (_nss_dns_gethostbyname4_r): Likewise.
32192         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
32193         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
32194
32195 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
32196
32197         [BZ #13763]
32198         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
32199
32200 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
32201
32202         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
32203         * elf/cache.c (print_entry): Print ",AArch64" for
32204         FLAG_AARCH64_LIB64
32205
32206         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
32207         * elf/cache.c (print_entry): Print ",hard-float" for
32208         FLAG_ARM_LIBHF.
32209
32210 2012-11-18  David S. Miller  <davem@davemloft.net>
32211
32212         With help from Joseph Myers.
32213         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
32214         cutoff to 2**-13.
32215         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
32216         cutoff to 2**-25.
32217         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
32218         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
32219         small.
32220         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
32221         * math/libm-test.inc (y0_test): New tests.
32222         (y1_test): New tests.
32223         * sysdeps/i386/fpu/libm-test-ulps: Update.
32224         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
32225         * sysdeps/sparc/fpu/libm-test-ulps: Update.
32226
32227 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
32228
32229         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
32230         64-bit targets.
32231         * configure: Regenerated.
32232
32233 2012-11-17  David S. Miller  <davem@davemloft.net>
32234
32235         [BZ #14811]
32236         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
32237         nonzero exponents with absolute value below 0x1p-128 to +/-
32238         0x1p-128.
32239
32240 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
32241
32242         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
32243
32244         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
32245
32246         * posix/getconf-speclist.c: New file.
32247         * posix/posix-envs.def: Likewise.
32248         * posix/confstr.c (START_ENV_GROUP): New macro.
32249         (END_ENV_GROUP): Likewise.
32250         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
32251         (KNOWN_PRESENT_ENV_STRING): Likewise.
32252         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
32253         (UNKNOWN_ENVIRONMENT): Likewise.
32254         (confstr): Include posix-envs.def instead of handling
32255         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
32256         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
32257         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
32258         (END_ENV_GROUP): Likewise.
32259         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
32260         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
32261         (UNKNOWN_ENVIRONMENT): Likewise.
32262         (__sysconf): Include posix-envs.def instead of handling associated
32263         cases directly here.
32264         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
32265         preprocessing getconf-speclist.c rather than running getconf or
32266         generating empty file.
32267
32268 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
32269
32270         * scripts/check-local-headers.sh: Ignore 'mach' headers.
32271
32272 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
32273
32274         [BZ #14672]
32275         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
32276
32277 2012-11-16  David S. Miller  <davem@davemloft.net>
32278
32279         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
32280         smaller than LDBL_EPSILON/2.0L, just return xm1.
32281
32282 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
32283
32284         * elf/tst-array1.c (init): Set constructor priority to 1000.
32285         (fini): Set destructor priority to 1000.
32286         * elf/tst-array2dep.c: Likewise.
32287
32288 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
32289
32290         [BZ #11741]
32291         * libio/fileops.c (_IO_new_file_write): Correctly return error.
32292         (_IO_new_file_xsputn): Also return EOF if none of the input
32293         data was written when overflow failed.
32294         * libio/iopadn.c (_IO_padn): Likewise.
32295         * libio/iowpadn.c (_IO_wpadn): Likewise.
32296         * stdio-common/tst-put-error.c: Add copyright notice.
32297         (do_test): Add case for printing padded string.
32298         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
32299         _IO_padn returned error.
32300         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
32301         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
32302         return EOF.
32303
32304 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
32305
32306         * libio/libioP.h: Add comment note that the references to C++
32307         bits are now obsolete.
32308
32309 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
32310
32311         * math/libm-test.inc (check_complex): Use asprintf.
32312
32313 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
32314
32315         * debug/pcprofiledump.c (print_version): Update copyright year.
32316         * malloc/memusagestat.c (print_version): Likewise.
32317
32318 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
32319
32320         [BZ #14831]
32321         * elf/Makefile (tests): Add tst-audit8.
32322         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
32323         ($(objpfx)tst-audit8.out): New target.
32324         (tst-audit8-ENV): New variable.
32325         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
32326         audit if l_reloc_result is NULL.
32327         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
32328         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
32329         * elf/tst-audit8.c: New file.
32330
32331 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
32332
32333         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
32334         * misc/Makefile (CFLAGS-select.c): Define.
32335         * posix/Makefile (CFLAGS-pause.c): Define.
32336
32337 2012-11-13  David S. Miller  <davem@davemloft.net>
32338
32339         * crypt/Makefile: Move test targets after toplevel Rules
32340         inclusion.  Grab any necessary sysdep routines when linking.
32341         * crypt/md5.c (md5_process_block): Remove define, we will always
32342         name it __md5_process_block.
32343         (md5_finish_ctx): Update md5_process_block call.
32344         (md5_stream): Likewise.
32345         (md5_process_bytes): Likewise.
32346         (md5_process_block): Rename to __md5_process_block and move to ...
32347         * crypt/md5-block.c: ... here.
32348         * crypt/sha256.c (sha256_process_block): Move to ...
32349         * crypt/sha256-block.c: ... here.
32350         * crypt/sha512.c (sha512_process_block): Move to ...
32351         * crypt/sha512-block.c: ... here.
32352         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
32353         path.
32354         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
32355         * sysdeps/sparc/sparc64/multiarch/Makefile
32356         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
32357         crypt subdir.
32358         (localedef-aux): Add md5 crypto assembler when in locale subdir.
32359         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
32360         multiarch changes.
32361         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
32362         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
32363         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
32364         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
32365         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
32366         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
32367         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
32368         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
32369         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
32370         file.
32371         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
32372         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
32373         file.
32374         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
32375
32376 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
32377
32378         * timezone/tzselect.ksh: Update from tzcode git revision
32379         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
32380         * timezone/zdump.c: Likewise.
32381         * timezone/zic.c: Likewise.
32382         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
32383         in TZVERSION setting, not $(PKGVERSION).
32384         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
32385         REPORT_BUGS_TO settings.
32386
32387         [BZ #14838]
32388         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
32389         macro.
32390
32391 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
32392
32393         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
32394         detection to immediately after _FP_ROUND().
32395         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
32396         bits are 0.
32397
32398 2012-11-11  David S. Miller  <davem@davemloft.net>
32399
32400         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
32401         inttypes.h
32402         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
32403         __close rather than their public counterparts.
32404
32405 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
32406
32407         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
32408         file.
32409         [UNIX98] (sem_timedwait): Do not expect.
32410         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
32411         [XPG4 || UNIX98] (sockatmark): Do not expect.
32412         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
32413         (clock_getcpuclockid): Do not expect.
32414         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
32415         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
32416         Do not expect.
32417         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
32418         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
32419         [UNIX98] (vwscanf): Likewise.
32420         [UNIX98] (vswscanf): Likewise.
32421
32422 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
32423
32424         * timezone/version.h: Remove file.
32425         * timezone/README: Do not refer to version.h.
32426         * timezone/Makefile ($(objpfx)zic.o): New dependency on
32427         $(objpfx)version.h.
32428         ($(objpfx)zdump.o): Likewise.
32429         ($(objpfx)version.h): New target.
32430
32431         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
32432         2012i.
32433         * timezone/README: Don't mention modification to tzselect.ksh.
32434         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
32435         work on unmodified tzselect.ksh.  Substitute version numbers in
32436         tzselect.ksh.
32437
32438         * Makefile (format-me): Remove.
32439         (INSTALL): Adjust indentation.  Use commands directly instead of
32440         using $(format-me).
32441
32442         * aclocal.m4 (ACX_PKGVERSION): New macro.
32443         (ACX_BUGURL): Likewise.
32444         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
32445         (PKGVERSION): New AC_DEFINE_UNQUOTED.
32446         (REPORT_BUGS_TO): Likewise.
32447         * configure: Regenerated.
32448         * config.h.in (PKGVERSION): New macro.
32449         (REPORT_BUGS_TO): Likewise.
32450         * config.make.in (PKGVERSION): New variable.
32451         (PKGVERSION_TEXI): Likewise.
32452         (REPORT_BUGS_TO): Likewise.
32453         (REPORT_BUGS_TEXI): Likewise.
32454         * Makefile (format-me): Use -I$(common-objpfx)manual.
32455         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
32456         ($(common-objpfx)manual/%): New target.
32457         (manual/%): Remove target.
32458         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
32459         (print_version): Use PKGVERSION.
32460         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
32461         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
32462         and REPORT_BUGS_TO.
32463         ($(objpfx)xtrace): Likewise.
32464         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
32465         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
32466         (print_version): Use PKGVERSION.
32467         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
32468         (do_version): Use PKGVERSION.
32469         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
32470         REPORT_BUGS_TO.
32471         (common-ldd-rewrite): Likewise.
32472         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
32473         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
32474         (print_version): Use PKGVERSION.
32475         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
32476         * elf/pldd.c (argp_program_bug_address): Remove variable.
32477         (more_help): New function.
32478         (argp): Use more_help.
32479         (print_version): Use PKGVERSION.
32480         * elf/sln.c (main): Use PKGVERSION.
32481         (usage): Use REPORT_BUGS_TO.
32482         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
32483         (top level): Use PKGVERSION.
32484         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
32485         (print_version): Use PKGVERSION.
32486         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
32487         (print_version): Use PKGVERSION.
32488         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
32489         (print_version): Use PKGVERSION.
32490         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
32491         (print_version): Use PKGVERSION.
32492         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
32493         (print_version): Use PKGVERSION.
32494         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
32495         (print_version): Use PKGVERSION.
32496         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
32497         and BUGURL.
32498         ($(objpfx)memusage): Likewise.
32499         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
32500         (do_version): Use PKGVERSION.
32501         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
32502         (print_version): Use PKGVERSION.
32503         * malloc/mtrace.pl ($PACKAGE): Remove variable.
32504         ($PKGVERSION): New variable.
32505         ($REPORT_BUGS_TO): Likewise.
32506         (usage): Use $REPORT_BUGS_TO.
32507         (top level): Use $PKGVERSION.
32508         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
32509         ($(objpfx)pkgvers.texi): New rule.
32510         ($(objpfx)stamp-pkgvers): Likewise.
32511         * manual/install.texi: Include pkgvers.texi.
32512         (--with-pkgversion): Document new configure option.
32513         (--with-bugurl): Likewise.
32514         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
32515         than necessarily for this particular distribution.  Use
32516         REPORT_BUGS_TO for where to report bugs.
32517         * INSTALL: Regenerated.
32518         * manual/libc.texinfo: Include pkgvers.texi.
32519         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
32520         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
32521         (print_version): Use PKGVERSION.
32522         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
32523         (print_version): Use PKGVERSION.
32524         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
32525         (print_version): Use PKGVERSION.
32526         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
32527         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
32528         macro.
32529         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
32530         (print_version): Use PKGVERSION.
32531         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
32532         (print_version): Use PKGVERSION.
32533         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
32534         and PKGVERSION.
32535
32536         * timezone/checktab.awk: Update from tzcode 2012i.
32537         * timezone/ialloc.c: Likewise.
32538         * timezone/private.h: Likewise.
32539         * timezone/scheck.c: Likewise.
32540         * timezone/tzfile.h: Likewise.
32541         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
32542         (TZVERSION): Hardcode tzcode version number.
32543         * timezone/zdump.c: Update from tzcode 2012i.
32544         * timezone/zic.c: Likewise.
32545         * timezone/version.h: New file.
32546         * timezone/README: Describe version.h.  Update upstream location.
32547
32548         [BZ #14824]
32549         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
32550         (mktemp): Enable declaration.
32551         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
32552         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
32553         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
32554         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
32555         Likewise.
32556         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
32557         Likewise.
32558         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
32559         Likewise.
32560         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
32561         Likewise.
32562         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
32563         Likewise.
32564         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
32565         Likewise.
32566
32567         [BZ #14821]
32568         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
32569         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
32570         for copies of such integer values.
32571         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
32572         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
32573
32574 2012-11-09  Andreas Jaeger  <aj@suse.de>
32575
32576         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
32577         definitions and declarations that are provided by
32578         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
32579
32580 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
32581
32582         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
32583         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
32584         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
32585         definition.
32586
32587 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
32588
32589         * elf/elf.h: Update comment before AArch64 relocations.
32590
32591 2012-11-07  David S. Miller  <davem@davemloft.net>
32592
32593         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
32594         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
32595         (__start_context): Declare.
32596         (__makecontext_ret): Delete.
32597         (__makecontext): Hook up __start_context instead of
32598         __makecontext_ret.
32599         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
32600         (sysdep_routines): Add __start_context when in stdlib.
32601
32602 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
32603
32604         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
32605         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
32606         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
32607         hardcoded "nm".
32608         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
32609         (READELF): New variable.  Use it instead of hardcoded "readelf".
32610
32611 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
32612
32613         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
32614         * sysdeps/x86/Makefile: Here.
32615         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
32616         * sysdeps/x86/tst-xmmymm.sh: This.
32617
32618 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
32619
32620         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
32621         expectations.
32622         [UNIX98] (pthread_barrier_t): Do not expect.
32623         [UNIX98] (pthread_barrierattr_t): Likewise.
32624         [UNIX98] (pthread_spinlock_t): Likewise.
32625         [UNIX98] (pthread_barrier_destroy): Likewise.
32626         [UNIX98] (pthread_barrier_init): Likewise.
32627         [UNIX98] (pthread_barrier_wait): Likewise.
32628         [UNIX98] (pthread_barrierattr_destroy): Likewise.
32629         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
32630         [UNIX98] (pthread_barrierattr_init): Likewise.
32631         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
32632         [UNIX98] (pthread_getcpuclockid): Likewise.
32633         [UNIX98] (pthread_mutex_timedlock): Likewise.
32634         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
32635         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
32636         [UNIX98] (pthread_sigmask): Likewise.
32637         [UNIX98] (pthread_spin_destroy): Likewise.
32638         [UNIX98] (pthread_spin_init): Likewise.
32639         [UNIX98] (pthread_spin_lock): Likewise.
32640         [UNIX98] (pthread_spin_trylock): Likewise.
32641         [UNIX98] (pthread_spin_unlock): Likewise.
32642         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
32643         Do not expect.
32644         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
32645         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
32646         [XPG3 || XPG4] (pthread_cond_t): Likewise.
32647         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
32648         [XPG3 || XPG4] (pthread_key_t): Likewise.
32649         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
32650         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
32651         [XPG3 || XPG4] (pthread_once_t): Likewise.
32652         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
32653         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
32654         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
32655         [XPG3 || XPG4] (pthread_t): Likewise.
32656
32657         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
32658         not expect.
32659         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
32660
32661         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
32662         Change function return type to int.
32663
32664         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
32665         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
32666         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
32667         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
32668         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
32669         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
32670         [!POSIX] (posix_madvise): Likewise.
32671         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
32672         && !UNIX98].
32673         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
32674         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
32675         (mode_t): Likewise.
32676         (posix_mem_offset): Likewise.
32677         (posix_typed_mem_get_info): Likewise.
32678         (posix_typed_mem_open): Likewise.
32679
32680         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
32681         Change condition to [XOPEN2K8].
32682
32683         * conform/conformtest.pl: Preprocess allow-header data with -x c
32684         instead of from stdin.
32685         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
32686         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
32687         [C99-based standards] (cerfc): Likewise.
32688         [C99-based standards] (cexp2): Likewise.
32689         [C99-based standards] (cexpm1): Likewise.
32690         [C99-based standards] (clog10): Likewise.
32691         [C99-based standards] (clog1p): Likewise.
32692         [C99-based standards] (clog2): Likewise.
32693         [C99-based standards] (clgamma): Likewise.
32694         [C99-based standards] (ctgamma): Likewise.
32695         [C99-based standards] (cerff): Likewise.
32696         [C99-based standards] (cerfcf): Likewise.
32697         [C99-based standards] (cexp2f): Likewise.
32698         [C99-based standards] (cexpm1f): Likewise.
32699         [C99-based standards] (clog10f): Likewise.
32700         [C99-based standards] (clog1pf): Likewise.
32701         [C99-based standards] (clog2f): Likewise.
32702         [C99-based standards] (clgammaf): Likewise.
32703         [C99-based standards] (ctgammaf): Likewise.
32704         [C99-based standards] (cerfl): Likewise.
32705         [C99-based standards] (cerfcl): Likewise.
32706         [C99-based standards] (cexp2l): Likewise.
32707         [C99-based standards] (cexpm1l): Likewise.
32708         [C99-based standards] (clog10l): Likewise.
32709         [C99-based standards] (clog1pl): Likewise.
32710         [C99-based standards] (clog2l): Likewise.
32711         [C99-based standards] (clgammal): Likewise.
32712         [C99-based standards] (ctgammal): Likewise.
32713         * conform/data/inttypes.h-data [C99-based standards]: Include
32714         stdint.h-data.  Remove all expectations for stdint.h contents.
32715         [C99-based standards] (PRI*): Do not allow.
32716         [C99-based standards] (SCN*): Likewise.
32717         [C99-based standards] (*_t): Likewise.
32718         [C99-based-standards] (PRId8): Expect macro.
32719         [C99-based-standards] (PRIi8): Likewise.
32720         [C99-based-standards] (PRIo8): Likewise.
32721         [C99-based-standards] (PRIu8): Likewise.
32722         [C99-based-standards] (PRIx8): Likewise.
32723         [C99-based-standards] (PRIX8): Likewise.
32724         [C99-based-standards] (SCNd8): Likewise.
32725         [C99-based-standards] (SCNi8): Likewise.
32726         [C99-based-standards] (SCNo8): Likewise.
32727         [C99-based-standards] (SCNu8): Likewise.
32728         [C99-based-standards] (SCNx8): Likewise.
32729         [C99-based-standards] (PRIdLEAST8): Likewise.
32730         [C99-based-standards] (PRIiLEAST8): Likewise.
32731         [C99-based-standards] (PRIoLEAST8): Likewise.
32732         [C99-based-standards] (PRIuLEAST8): Likewise.
32733         [C99-based-standards] (PRIxLEAST8): Likewise.
32734         [C99-based-standards] (PRIXLEAST8): Likewise.
32735         [C99-based-standards] (SCNdLEAST8): Likewise.
32736         [C99-based-standards] (SCNiLEAST8): Likewise.
32737         [C99-based-standards] (SCNoLEAST8): Likewise.
32738         [C99-based-standards] (SCNuLEAST8): Likewise.
32739         [C99-based-standards] (SCNxLEAST8): Likewise.
32740         [C99-based-standards] (PRIdFAST8): Likewise.
32741         [C99-based-standards] (PRIiFAST8): Likewise.
32742         [C99-based-standards] (PRIoFAST8): Likewise.
32743         [C99-based-standards] (PRIuFAST8): Likewise.
32744         [C99-based-standards] (PRIxFAST8): Likewise.
32745         [C99-based-standards] (PRIXFAST8): Likewise.
32746         [C99-based-standards] (SCNdFAST8): Likewise.
32747         [C99-based-standards] (SCNiFAST8): Likewise.
32748         [C99-based-standards] (SCNoFAST8): Likewise.
32749         [C99-based-standards] (SCNuFAST8): Likewise.
32750         [C99-based-standards] (SCNxFAST8): Likewise.
32751         [C99-based-standards] (PRId16): Likewise.
32752         [C99-based-standards] (PRIi16): Likewise.
32753         [C99-based-standards] (PRIo16): Likewise.
32754         [C99-based-standards] (PRIu16): Likewise.
32755         [C99-based-standards] (PRIx16): Likewise.
32756         [C99-based-standards] (PRIX16): Likewise.
32757         [C99-based-standards] (SCNd16): Likewise.
32758         [C99-based-standards] (SCNi16): Likewise.
32759         [C99-based-standards] (SCNo16): Likewise.
32760         [C99-based-standards] (SCNu16): Likewise.
32761         [C99-based-standards] (SCNx16): Likewise.
32762         [C99-based-standards] (PRIdLEAST16): Likewise.
32763         [C99-based-standards] (PRIiLEAST16): Likewise.
32764         [C99-based-standards] (PRIoLEAST16): Likewise.
32765         [C99-based-standards] (PRIuLEAST16): Likewise.
32766         [C99-based-standards] (PRIxLEAST16): Likewise.
32767         [C99-based-standards] (PRIXLEAST16): Likewise.
32768         [C99-based-standards] (SCNdLEAST16): Likewise.
32769         [C99-based-standards] (SCNiLEAST16): Likewise.
32770         [C99-based-standards] (SCNoLEAST16): Likewise.
32771         [C99-based-standards] (SCNuLEAST16): Likewise.
32772         [C99-based-standards] (SCNxLEAST16): Likewise.
32773         [C99-based-standards] (PRIdFAST16): Likewise.
32774         [C99-based-standards] (PRIiFAST16): Likewise.
32775         [C99-based-standards] (PRIoFAST16): Likewise.
32776         [C99-based-standards] (PRIuFAST16): Likewise.
32777         [C99-based-standards] (PRIxFAST16): Likewise.
32778         [C99-based-standards] (PRIXFAST16): Likewise.
32779         [C99-based-standards] (SCNdFAST16): Likewise.
32780         [C99-based-standards] (SCNiFAST16): Likewise.
32781         [C99-based-standards] (SCNoFAST16): Likewise.
32782         [C99-based-standards] (SCNuFAST16): Likewise.
32783         [C99-based-standards] (SCNxFAST16): Likewise.
32784         [C99-based-standards] (PRId32): Likewise.
32785         [C99-based-standards] (PRIi32): Likewise.
32786         [C99-based-standards] (PRIo32): Likewise.
32787         [C99-based-standards] (PRIu32): Likewise.
32788         [C99-based-standards] (PRIx32): Likewise.
32789         [C99-based-standards] (PRIX32): Likewise.
32790         [C99-based-standards] (SCNd32): Likewise.
32791         [C99-based-standards] (SCNi32): Likewise.
32792         [C99-based-standards] (SCNo32): Likewise.
32793         [C99-based-standards] (SCNu32): Likewise.
32794         [C99-based-standards] (SCNx32): Likewise.
32795         [C99-based-standards] (PRIdLEAST32): Likewise.
32796         [C99-based-standards] (PRIiLEAST32): Likewise.
32797         [C99-based-standards] (PRIoLEAST32): Likewise.
32798         [C99-based-standards] (PRIuLEAST32): Likewise.
32799         [C99-based-standards] (PRIxLEAST32): Likewise.
32800         [C99-based-standards] (PRIXLEAST32): Likewise.
32801         [C99-based-standards] (SCNdLEAST32): Likewise.
32802         [C99-based-standards] (SCNiLEAST32): Likewise.
32803         [C99-based-standards] (SCNoLEAST32): Likewise.
32804         [C99-based-standards] (SCNuLEAST32): Likewise.
32805         [C99-based-standards] (SCNxLEAST32): Likewise.
32806         [C99-based-standards] (PRIdFAST32): Likewise.
32807         [C99-based-standards] (PRIiFAST32): Likewise.
32808         [C99-based-standards] (PRIoFAST32): Likewise.
32809         [C99-based-standards] (PRIuFAST32): Likewise.
32810         [C99-based-standards] (PRIxFAST32): Likewise.
32811         [C99-based-standards] (PRIXFAST32): Likewise.
32812         [C99-based-standards] (SCNdFAST32): Likewise.
32813         [C99-based-standards] (SCNiFAST32): Likewise.
32814         [C99-based-standards] (SCNoFAST32): Likewise.
32815         [C99-based-standards] (SCNuFAST32): Likewise.
32816         [C99-based-standards] (SCNxFAST32): Likewise.
32817         [C99-based-standards] (PRId64): Likewise.
32818         [C99-based-standards] (PRIi64): Likewise.
32819         [C99-based-standards] (PRIo64): Likewise.
32820         [C99-based-standards] (PRIu64): Likewise.
32821         [C99-based-standards] (PRIx64): Likewise.
32822         [C99-based-standards] (PRIX64): Likewise.
32823         [C99-based-standards] (SCNd64): Likewise.
32824         [C99-based-standards] (SCNi64): Likewise.
32825         [C99-based-standards] (SCNo64): Likewise.
32826         [C99-based-standards] (SCNu64): Likewise.
32827         [C99-based-standards] (SCNx64): Likewise.
32828         [C99-based-standards] (PRIdLEAST64): Likewise.
32829         [C99-based-standards] (PRIiLEAST64): Likewise.
32830         [C99-based-standards] (PRIoLEAST64): Likewise.
32831         [C99-based-standards] (PRIuLEAST64): Likewise.
32832         [C99-based-standards] (PRIxLEAST64): Likewise.
32833         [C99-based-standards] (PRIXLEAST64): Likewise.
32834         [C99-based-standards] (SCNdLEAST64): Likewise.
32835         [C99-based-standards] (SCNiLEAST64): Likewise.
32836         [C99-based-standards] (SCNoLEAST64): Likewise.
32837         [C99-based-standards] (SCNuLEAST64): Likewise.
32838         [C99-based-standards] (SCNxLEAST64): Likewise.
32839         [C99-based-standards] (PRIdFAST64): Likewise.
32840         [C99-based-standards] (PRIiFAST64): Likewise.
32841         [C99-based-standards] (PRIoFAST64): Likewise.
32842         [C99-based-standards] (PRIuFAST64): Likewise.
32843         [C99-based-standards] (PRIxFAST64): Likewise.
32844         [C99-based-standards] (PRIXFAST64): Likewise.
32845         [C99-based-standards] (SCNdFAST64): Likewise.
32846         [C99-based-standards] (SCNiFAST64): Likewise.
32847         [C99-based-standards] (SCNoFAST64): Likewise.
32848         [C99-based-standards] (SCNuFAST64): Likewise.
32849         [C99-based-standards] (SCNxFAST64): Likewise.
32850         [C99-based-standards] (PRIdMAX): Likewise.
32851         [C99-based-standards] (PRIiMAX): Likewise.
32852         [C99-based-standards] (PRIoMAX): Likewise.
32853         [C99-based-standards] (PRIuMAX): Likewise.
32854         [C99-based-standards] (PRIxMAX): Likewise.
32855         [C99-based-standards] (PRIXMAX): Likewise.
32856         [C99-based-standards] (SCNdMAX): Likewise.
32857         [C99-based-standards] (SCNiMAX): Likewise.
32858         [C99-based-standards] (SCNoMAX): Likewise.
32859         [C99-based-standards] (SCNuMAX): Likewise.
32860         [C99-based-standards] (SCNxMAX): Likewise.
32861         [C99-based-standards] (PRIdPTR): Likewise.
32862         [C99-based-standards] (PRIiPTR): Likewise.
32863         [C99-based-standards] (PRIoPTR): Likewise.
32864         [C99-based-standards] (PRIuPTR): Likewise.
32865         [C99-based-standards] (PRIxPTR): Likewise.
32866         [C99-based-standards] (PRIXPTR): Likewise.
32867         [C99-based-standards] (SCNdPTR): Likewise.
32868         [C99-based-standards] (SCNiPTR): Likewise.
32869         [C99-based-standards] (SCNoPTR): Likewise.
32870         [C99-based-standards] (SCNuPTR): Likewise.
32871         [C99-based-standards] (SCNxPTR): Likewise.
32872         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
32873         allow.
32874         * conform/data/stdint.h-data: Update comments to clarify
32875         requirements.
32876         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
32877         type.
32878         [C99-based standards] (INT8_MAX): Likewise.
32879         [C99-based standards] (INT16_MIN): Likewise.
32880         [C99-based standards] (INT16_MAX): Likewise.
32881         [C99-based standards] (INT32_MIN): Likewise.
32882         [C99-based standards] (INT32_MAX): Likewise.
32883         [C99-based standards] (INT64_MIN): Likewise.
32884         [C99-based standards] (INT64_MAX): Likewise.
32885         [C99-based standards] (UINT8_MAX): Likewise.
32886         [C99-based standards] (UINT16_MAX): Likewise.
32887         [C99-based standards] (UINT32_MAX): Likewise.
32888         [C99-based standards] (UINT64_MAX): Likewise.
32889         [C99-based standards] (INT_LEAST8_MIN): Likewise.
32890         [C99-based standards] (INT_LEAST8_MAX): Likewise.
32891         [C99-based standards] (INT_LEAST16_MIN): Likewise.
32892         [C99-based standards] (INT_LEAST16_MAX): Likewise.
32893         [C99-based standards] (INT_LEAST32_MIN): Likewise.
32894         [C99-based standards] (INT_LEAST32_MAX): Likewise.
32895         [C99-based standards] (INT_LEAST64_MIN): Likewise.
32896         [C99-based standards] (INT_LEAST64_MAX): Likewise.
32897         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
32898         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
32899         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
32900         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
32901         [C99-based standards] (INT_FAST8_MIN): Likewise.
32902         [C99-based standards] (INT_FAST8_MAX): Likewise.
32903         [C99-based standards] (INT_FAST16_MIN): Likewise.
32904         [C99-based standards] (INT_FAST16_MAX): Likewise.
32905         [C99-based standards] (INT_FAST32_MIN): Likewise.
32906         [C99-based standards] (INT_FAST32_MAX): Likewise.
32907         [C99-based standards] (INT_FAST64_MIN): Likewise.
32908         [C99-based standards] (INT_FAST64_MAX): Likewise.
32909         [C99-based standards] (UINT_FAST8_MAX): Likewise.
32910         [C99-based standards] (UINT_FAST16_MAX): Likewise.
32911         [C99-based standards] (UINT_FAST32_MAX): Likewise.
32912         [C99-based standards] (UINT_FAST64_MAX): Likewise.
32913         [C99-based standards] (INTPTR_MIN): Likewise.
32914         [C99-based standards] (INTPTR_MAX): Likewise.
32915         [C99-based standards] (UINTPTR_MAX): Likewise.
32916         [C99-based standards] (INTMAX_MIN): Likewise.
32917         [C99-based standards] (INTMAX_MAX): Likewise.
32918         [C99-based standards] (UINTMAX_MAX): Likewise.
32919         [C99-based standards] (PTRDIFF_MIN): Likewise.
32920         [C99-based standards] (PTRDIFF_MAX): Likewise.
32921         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
32922         [C99-based standards] (SIZE_MAX): Likewise.
32923         [C99-based standards] (WCHAR_MAX): Likewise.
32924         [C99-based standards] (WINT_MAX): Likewise.
32925         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
32926         constraint on value.
32927         [C99-based standards] (WCHAR_MIN): Likewise.
32928         [C99-based standards] (WINT_MIN): Likewise.
32929         [C99-based standards] (*_t): Allow.
32930         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
32931         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
32932         Include math.h-data and complex.h-data.  Remove all expectations
32933         of math.h and complex.h contents.
32934         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
32935         at end of line.
32936         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
32937         (struct tm): Expect tag.
32938         [C99-based-standards] (wcstof): Expect function.
32939         [C99-based-standards] (wcstold): Likewise.
32940         [C99-based-standards] (wcstoll): Likewise.
32941         [C99-based-standards] (wcstoull): Likewise.
32942         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
32943         macro-int-constant.  Specify type.
32944         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
32945         constraint on value.
32946         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
32947         Specify type.
32948         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
32949         Specify value.
32950         [ISO C standards]: Do not allow headers.
32951         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
32952         wcs[abcdefghijklmnopqrstuvwxyz]*.
32953         [ISO C standards] (*_t): Do not allow.
32954         * conform/data/wctype.h-data [C99-based standards] (iswblank):
32955         Expect function.
32956         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
32957         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
32958         Specify type.
32959         [ISO C standards]: Do not allow headers.
32960         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
32961         is[abcdefghijklmnopqrstuvwxyz]*.
32962         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
32963         to[abcdefghijklmnopqrstuvwxyz]*.
32964         [ISO C standards] (*_t): Do not allow.
32965         * conform/data/stdalign.h-data: New file.
32966         * conform/data/stdbool.h-data: Likewise.
32967         * conform/data/stdnoreturn.h-data: Likewise.
32968
32969 2012-11-07  Roland McGrath  <roland@hack.frob.com>
32970
32971         [BZ #14815]
32972         * manual/filesys.texi (Directory Entries): Typo fix.
32973         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
32974
32975 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
32976
32977         * elf/elf.h (EM_AARCH64): New macro.
32978         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
32979         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
32980         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
32981         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
32982         (R_AARCH64_TLSDESC): Likewise.
32983         (NT_ARM_TLS): Likewise.
32984         (NT_ARM_HW_BREAK): Likewise.
32985         (NT_ARM_HW_WATCH): Likewise.
32986
32987 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
32988
32989         [BZ #14811]
32990         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
32991         (__ieee754_powl): Saturate nonzero exponents with absolute value
32992         below 0x1p-79 to +/- 0x1p-79.
32993         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
32994         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
32995         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
32996         nonzero exponents with absolute value below 0x1p-32 to +/-
32997         0x1p-32.
32998         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
32999         (__ieee754_powl): Saturate nonzero exponents with absolute value
33000         below 0x1p-79 to +/- 0x1p-79.
33001         * math/libm-test.inc (pow_test): Add more tests.
33002
33003 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
33004
33005         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
33006         _dl_s390_cap_flags with kernel. Increase string length.
33007         (_dl_s390_platforms): Add z196 and zEC12.
33008
33009 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
33010
33011         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
33012         Change XOPEN21K to XOPEN2K.
33013
33014 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
33015
33016         * string/memmove.c: Use memcpy when possible.
33017
33018 2012-11-06  Andreas Jaeger  <aj@suse.de>
33019
33020         * po/eo.po: Update from translation team.
33021
33022 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
33023
33024         [BZ #14793]
33025         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
33026         exponent and small x and y exponents, scale x or y up.  Increase
33027         by 2 the exponent used in scaling up.
33028         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
33029         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
33030         * math/libm-test.inc (fma_test): Add more tests.
33031         (fma_test_towardzero): Likewise.
33032         (fma_test_downward): Likewise.
33033         (fma_test_upward): Likewise.
33034
33035 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
33036
33037         [BZ #14805]
33038         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
33039         fenv_t *.
33040
33041         [BZ #14801]
33042         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
33043         namespace for names of struct fields.
33044         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
33045         fenv_t fields.
33046         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
33047         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
33048
33049 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
33050
33051         [BZ #3665]
33052         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
33053
33054 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
33055
33056         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
33057         PTR_DEMANGLE.
33058
33059         [BZ #5246]
33060         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
33061         PTR_DEMANGLE.
33062
33063 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
33064
33065         [BZ #14797]
33066         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
33067         definitely overflow as x * y not x * y + z.
33068         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
33069         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
33070         * math/libm-test.inc (fma_test): Add more tests.
33071         (fma_test_towardzero): Likewise.
33072         (fma_test_downward): Likewise.
33073         (fma_test_upward): Likewise.
33074
33075 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
33076
33077         [BZ #157]
33078
33079         * include/stub-tag.h: Remove file.
33080         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
33081         '#include' of it.
33082         * manual/maint.texi (Porting): Don't reference it.
33083         * Makerules ($(objpfx)stubs): Likewise.
33084         * dirent/closedir.c: Don't include <stub-tag.h>.
33085         * dirent/dirfd.c: Likewise.
33086         * dirent/fdopendir.c: Likewise.
33087         * dirent/getdents.c: Likewise.
33088         * dirent/getdents64.c: Likewise.
33089         * dirent/opendir.c: Likewise.
33090         * dirent/readdir.c: Likewise.
33091         * dirent/readdir64.c: Likewise.
33092         * dirent/readdir64_r.c: Likewise.
33093         * dirent/readdir_r.c: Likewise.
33094         * dirent/rewinddir.c: Likewise.
33095         * dirent/seekdir.c: Likewise.
33096         * dirent/telldir.c: Likewise.
33097         * gmon/profil.c: Likewise.
33098         * grp/setgroups.c: Likewise.
33099         * inet/if_index.c: Likewise.
33100         * io/access.c: Likewise.
33101         * io/chdir.c: Likewise.
33102         * io/chmod.c: Likewise.
33103         * io/chown.c: Likewise.
33104         * io/close.c: Likewise.
33105         * io/dup.c: Likewise.
33106         * io/dup2.c: Likewise.
33107         * io/dup3.c: Likewise.
33108         * io/euidaccess.c: Likewise.
33109         * io/faccessat.c: Likewise.
33110         * io/fchdir.c: Likewise.
33111         * io/fchmod.c: Likewise.
33112         * io/fchmodat.c: Likewise.
33113         * io/fchown.c: Likewise.
33114         * io/fchownat.c: Likewise.
33115         * io/fcntl.c: Likewise.
33116         * io/flock.c: Likewise.
33117         * io/fstatfs.c: Likewise.
33118         * io/fstatfs64.c: Likewise.
33119         * io/fstatvfs.c: Likewise.
33120         * io/fstatvfs64.c: Likewise.
33121         * io/futimens.c: Likewise.
33122         * io/fxstat.c: Likewise.
33123         * io/fxstat64.c: Likewise.
33124         * io/fxstatat.c: Likewise.
33125         * io/fxstatat64.c: Likewise.
33126         * io/getcwd.c: Likewise.
33127         * io/isatty.c: Likewise.
33128         * io/lchmod.c: Likewise.
33129         * io/lchown.c: Likewise.
33130         * io/link.c: Likewise.
33131         * io/linkat.c: Likewise.
33132         * io/lseek.c: Likewise.
33133         * io/lseek64.c: Likewise.
33134         * io/lxstat64.c: Likewise.
33135         * io/mkdir.c: Likewise.
33136         * io/mkdirat.c: Likewise.
33137         * io/mkfifo.c: Likewise.
33138         * io/mkfifoat.c: Likewise.
33139         * io/open.c: Likewise.
33140         * io/open64.c: Likewise.
33141         * io/openat.c: Likewise.
33142         * io/openat64.c: Likewise.
33143         * io/pipe.c: Likewise.
33144         * io/pipe2.c: Likewise.
33145         * io/poll.c: Likewise.
33146         * io/posix_fadvise.c: Likewise.
33147         * io/posix_fadvise64.c: Likewise.
33148         * io/posix_fallocate.c: Likewise.
33149         * io/posix_fallocate64.c: Likewise.
33150         * io/read.c: Likewise.
33151         * io/readlink.c: Likewise.
33152         * io/readlinkat.c: Likewise.
33153         * io/rmdir.c: Likewise.
33154         * io/sendfile.c: Likewise.
33155         * io/sendfile64.c: Likewise.
33156         * io/statfs.c: Likewise.
33157         * io/statfs64.c: Likewise.
33158         * io/statvfs.c: Likewise.
33159         * io/statvfs64.c: Likewise.
33160         * io/symlink.c: Likewise.
33161         * io/symlinkat.c: Likewise.
33162         * io/ttyname.c: Likewise.
33163         * io/ttyname_r.c: Likewise.
33164         * io/umask.c: Likewise.
33165         * io/unlink.c: Likewise.
33166         * io/unlinkat.c: Likewise.
33167         * io/utime.c: Likewise.
33168         * io/utimensat.c: Likewise.
33169         * io/write.c: Likewise.
33170         * io/xmknod.c: Likewise.
33171         * io/xmknodat.c: Likewise.
33172         * io/xstat.c: Likewise.
33173         * io/xstat64.c: Likewise.
33174         * login/getpt.c: Likewise.
33175         * login/grantpt.c: Likewise.
33176         * login/unlockpt.c: Likewise.
33177         * math/e_acoshl.c: Likewise.
33178         * math/e_acosl.c: Likewise.
33179         * math/e_asinl.c: Likewise.
33180         * math/e_atan2l.c: Likewise.
33181         * math/e_atanhl.c: Likewise.
33182         * math/e_coshl.c: Likewise.
33183         * math/e_expl.c: Likewise.
33184         * math/e_fmodl.c: Likewise.
33185         * math/e_gammal_r.c: Likewise.
33186         * math/e_hypotl.c: Likewise.
33187         * math/e_j0l.c: Likewise.
33188         * math/e_j1l.c: Likewise.
33189         * math/e_jnl.c: Likewise.
33190         * math/e_lgammal_r.c: Likewise.
33191         * math/e_log10l.c: Likewise.
33192         * math/e_log2l.c: Likewise.
33193         * math/e_logl.c: Likewise.
33194         * math/e_powl.c: Likewise.
33195         * math/e_rem_pio2l.c: Likewise.
33196         * math/e_sinhl.c: Likewise.
33197         * math/e_sqrtl.c: Likewise.
33198         * math/fclrexcpt.c: Likewise.
33199         * math/fedisblxcpt.c: Likewise.
33200         * math/feenablxcpt.c: Likewise.
33201         * math/fegetenv.c: Likewise.
33202         * math/fegetexcept.c: Likewise.
33203         * math/fegetround.c: Likewise.
33204         * math/feholdexcpt.c: Likewise.
33205         * math/fesetenv.c: Likewise.
33206         * math/fesetround.c: Likewise.
33207         * math/feupdateenv.c: Likewise.
33208         * math/fgetexcptflg.c: Likewise.
33209         * math/fraiseexcpt.c: Likewise.
33210         * math/fsetexcptflg.c: Likewise.
33211         * math/ftestexcept.c: Likewise.
33212         * math/k_cosl.c: Likewise.
33213         * math/k_rem_pio2l.c: Likewise.
33214         * math/k_sinl.c: Likewise.
33215         * math/k_tanl.c: Likewise.
33216         * math/s_asinhl.c: Likewise.
33217         * math/s_atanl.c: Likewise.
33218         * math/s_cbrtl.c: Likewise.
33219         * math/s_erfl.c: Likewise.
33220         * math/s_expm1l.c: Likewise.
33221         * math/s_log1pl.c: Likewise.
33222         * math/s_tanhl.c: Likewise.
33223         * misc/acct.c: Likewise.
33224         * misc/brk.c: Likewise.
33225         * misc/chflags.c: Likewise.
33226         * misc/chroot.c: Likewise.
33227         * misc/fchflags.c: Likewise.
33228         * misc/fgetxattr.c: Likewise.
33229         * misc/flistxattr.c: Likewise.
33230         * misc/fremovexattr.c: Likewise.
33231         * misc/fsetxattr.c: Likewise.
33232         * misc/fsync.c: Likewise.
33233         * misc/ftruncate.c: Likewise.
33234         * misc/futimes.c: Likewise.
33235         * misc/futimesat.c: Likewise.
33236         * misc/getdomain.c: Likewise.
33237         * misc/getdtsz.c: Likewise.
33238         * misc/gethostid.c: Likewise.
33239         * misc/gethostname.c: Likewise.
33240         * misc/getloadavg.c: Likewise.
33241         * misc/getpagesize.c: Likewise.
33242         * misc/getsysstats.c: Likewise.
33243         * misc/getxattr.c: Likewise.
33244         * misc/gtty.c: Likewise.
33245         * misc/ioctl.c: Likewise.
33246         * misc/lgetxattr.c: Likewise.
33247         * misc/listxattr.c: Likewise.
33248         * misc/llistxattr.c: Likewise.
33249         * misc/lremovexattr.c: Likewise.
33250         * misc/lsetxattr.c: Likewise.
33251         * misc/lutimes.c: Likewise.
33252         * misc/madvise.c: Likewise.
33253         * misc/mincore.c: Likewise.
33254         * misc/mlock.c: Likewise.
33255         * misc/mlockall.c: Likewise.
33256         * misc/mmap.c: Likewise.
33257         * misc/mprotect.c: Likewise.
33258         * misc/msync.c: Likewise.
33259         * misc/munlock.c: Likewise.
33260         * misc/munlockall.c: Likewise.
33261         * misc/munmap.c: Likewise.
33262         * misc/preadv.c: Likewise.
33263         * misc/preadv64.c: Likewise.
33264         * misc/ptrace.c: Likewise.
33265         * misc/pwritev.c: Likewise.
33266         * misc/pwritev64.c: Likewise.
33267         * misc/readv.c: Likewise.
33268         * misc/reboot.c: Likewise.
33269         * misc/remap_file_pages.c: Likewise.
33270         * misc/removexattr.c: Likewise.
33271         * misc/revoke.c: Likewise.
33272         * misc/select.c: Likewise.
33273         * misc/setdomain.c: Likewise.
33274         * misc/setegid.c: Likewise.
33275         * misc/seteuid.c: Likewise.
33276         * misc/sethostid.c: Likewise.
33277         * misc/sethostname.c: Likewise.
33278         * misc/setregid.c: Likewise.
33279         * misc/setreuid.c: Likewise.
33280         * misc/setxattr.c: Likewise.
33281         * misc/sstk.c: Likewise.
33282         * misc/stty.c: Likewise.
33283         * misc/swapoff.c: Likewise.
33284         * misc/swapon.c: Likewise.
33285         * misc/sync.c: Likewise.
33286         * misc/syncfs.c: Likewise.
33287         * misc/syscall.c: Likewise.
33288         * misc/truncate.c: Likewise.
33289         * misc/ualarm.c: Likewise.
33290         * misc/usleep.c: Likewise.
33291         * misc/ustat.c: Likewise.
33292         * misc/utimes.c: Likewise.
33293         * misc/vhangup.c: Likewise.
33294         * misc/writev.c: Likewise.
33295         * posix/_exit.c: Likewise.
33296         * posix/alarm.c: Likewise.
33297         * posix/execve.c: Likewise.
33298         * posix/fexecve.c: Likewise.
33299         * posix/fork.c: Likewise.
33300         * posix/fpathconf.c: Likewise.
33301         * posix/getaddrinfo.c: Likewise.
33302         * posix/getegid.c: Likewise.
33303         * posix/geteuid.c: Likewise.
33304         * posix/getgid.c: Likewise.
33305         * posix/getgroups.c: Likewise.
33306         * posix/getlogin.c: Likewise.
33307         * posix/getlogin_r.c: Likewise.
33308         * posix/getpgid.c: Likewise.
33309         * posix/getpid.c: Likewise.
33310         * posix/getppid.c: Likewise.
33311         * posix/getresgid.c: Likewise.
33312         * posix/getresuid.c: Likewise.
33313         * posix/getsid.c: Likewise.
33314         * posix/getuid.c: Likewise.
33315         * posix/glob64.c: Likewise.
33316         * posix/nanosleep.c: Likewise.
33317         * posix/pathconf.c: Likewise.
33318         * posix/pause.c: Likewise.
33319         * posix/posix_madvise.c: Likewise.
33320         * posix/pread.c: Likewise.
33321         * posix/pread64.c: Likewise.
33322         * posix/pwrite.c: Likewise.
33323         * posix/pwrite64.c: Likewise.
33324         * posix/sched_getaffinity.c: Likewise.
33325         * posix/sched_getp.c: Likewise.
33326         * posix/sched_gets.c: Likewise.
33327         * posix/sched_primax.c: Likewise.
33328         * posix/sched_primin.c: Likewise.
33329         * posix/sched_rr_gi.c: Likewise.
33330         * posix/sched_setaffinity.c: Likewise.
33331         * posix/sched_setp.c: Likewise.
33332         * posix/sched_sets.c: Likewise.
33333         * posix/sched_yield.c: Likewise.
33334         * posix/setgid.c: Likewise.
33335         * posix/setlogin.c: Likewise.
33336         * posix/setpgid.c: Likewise.
33337         * posix/setresgid.c: Likewise.
33338         * posix/setresuid.c: Likewise.
33339         * posix/setsid.c: Likewise.
33340         * posix/setuid.c: Likewise.
33341         * posix/sleep.c: Likewise.
33342         * posix/spawni.c: Likewise.
33343         * posix/sysconf.c: Likewise.
33344         * posix/times.c: Likewise.
33345         * posix/wait.c: Likewise.
33346         * posix/wait3.c: Likewise.
33347         * posix/wait4.c: Likewise.
33348         * posix/waitpid.c: Likewise.
33349         * resolv/gai_sigqueue.c: Likewise.
33350         * resource/getpriority.c: Likewise.
33351         * resource/getrlimit.c: Likewise.
33352         * resource/getrusage.c: Likewise.
33353         * resource/nice.c: Likewise.
33354         * resource/setpriority.c: Likewise.
33355         * resource/setrlimit.c: Likewise.
33356         * resource/ulimit.c: Likewise.
33357         * rt/aio_cancel.c: Likewise.
33358         * rt/aio_fsync.c: Likewise.
33359         * rt/aio_read.c: Likewise.
33360         * rt/aio_sigqueue.c: Likewise.
33361         * rt/aio_suspend.c: Likewise.
33362         * rt/aio_write.c: Likewise.
33363         * rt/clock_getres.c: Likewise.
33364         * rt/clock_gettime.c: Likewise.
33365         * rt/clock_nanosleep.c: Likewise.
33366         * rt/clock_settime.c: Likewise.
33367         * rt/lio_listio.c: Likewise.
33368         * rt/mq_close.c: Likewise.
33369         * rt/mq_getattr.c: Likewise.
33370         * rt/mq_notify.c: Likewise.
33371         * rt/mq_open.c: Likewise.
33372         * rt/mq_receive.c: Likewise.
33373         * rt/mq_send.c: Likewise.
33374         * rt/mq_setattr.c: Likewise.
33375         * rt/mq_timedreceive.c: Likewise.
33376         * rt/mq_timedsend.c: Likewise.
33377         * rt/mq_unlink.c: Likewise.
33378         * rt/shm_open.c: Likewise.
33379         * rt/shm_unlink.c: Likewise.
33380         * rt/timer_create.c: Likewise.
33381         * rt/timer_delete.c: Likewise.
33382         * rt/timer_getoverr.c: Likewise.
33383         * rt/timer_gettime.c: Likewise.
33384         * rt/timer_settime.c: Likewise.
33385         * setjmp/__longjmp.c: Likewise.
33386         * setjmp/setjmp.c: Likewise.
33387         * signal/kill.c: Likewise.
33388         * signal/killpg.c: Likewise.
33389         * signal/raise.c: Likewise.
33390         * signal/sigaction.c: Likewise.
33391         * signal/sigaltstack.c: Likewise.
33392         * signal/sigblock.c: Likewise.
33393         * signal/sigignore.c: Likewise.
33394         * signal/sigintr.c: Likewise.
33395         * signal/signal.c: Likewise.
33396         * signal/sigpause.c: Likewise.
33397         * signal/sigpending.c: Likewise.
33398         * signal/sigqueue.c: Likewise.
33399         * signal/sigreturn.c: Likewise.
33400         * signal/sigset.c: Likewise.
33401         * signal/sigsetmask.c: Likewise.
33402         * signal/sigstack.c: Likewise.
33403         * signal/sigsuspend.c: Likewise.
33404         * signal/sigtimedwait.c: Likewise.
33405         * signal/sigvec.c: Likewise.
33406         * signal/sigwait.c: Likewise.
33407         * signal/sigwaitinfo.c: Likewise.
33408         * signal/sysv_signal.c: Likewise.
33409         * socket/accept.c: Likewise.
33410         * socket/accept4.c: Likewise.
33411         * socket/bind.c: Likewise.
33412         * socket/connect.c: Likewise.
33413         * socket/getpeername.c: Likewise.
33414         * socket/getsockname.c: Likewise.
33415         * socket/getsockopt.c: Likewise.
33416         * socket/isfdtype.c: Likewise.
33417         * socket/listen.c: Likewise.
33418         * socket/recv.c: Likewise.
33419         * socket/recvfrom.c: Likewise.
33420         * socket/recvmsg.c: Likewise.
33421         * socket/send.c: Likewise.
33422         * socket/sendmsg.c: Likewise.
33423         * socket/sendto.c: Likewise.
33424         * socket/setsockopt.c: Likewise.
33425         * socket/shutdown.c: Likewise.
33426         * socket/sockatmark.c: Likewise.
33427         * socket/socket.c: Likewise.
33428         * socket/socketpair.c: Likewise.
33429         * stdio-common/ctermid.c: Likewise.
33430         * stdio-common/cuserid.c: Likewise.
33431         * stdio-common/remove.c: Likewise.
33432         * stdio-common/rename.c: Likewise.
33433         * stdio-common/renameat.c: Likewise.
33434         * stdio-common/tempname.c: Likewise.
33435         * stdlib/getcontext.c: Likewise.
33436         * stdlib/makecontext.c: Likewise.
33437         * stdlib/setcontext.c: Likewise.
33438         * stdlib/swapcontext.c: Likewise.
33439         * stdlib/system.c: Likewise.
33440         * streams/fattach.c: Likewise.
33441         * streams/fdetach.c: Likewise.
33442         * streams/getmsg.c: Likewise.
33443         * streams/getpmsg.c: Likewise.
33444         * streams/putmsg.c: Likewise.
33445         * streams/putpmsg.c: Likewise.
33446         * sysdeps/unix/bsd/getpt.c: Likewise.
33447         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
33448         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
33449         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
33450         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
33451         Likewise.
33452         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
33453         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
33454         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
33455         * sysvipc/msgctl.c: Likewise.
33456         * sysvipc/msgget.c: Likewise.
33457         * sysvipc/msgrcv.c: Likewise.
33458         * sysvipc/msgsnd.c: Likewise.
33459         * sysvipc/semctl.c: Likewise.
33460         * sysvipc/semget.c: Likewise.
33461         * sysvipc/semop.c: Likewise.
33462         * sysvipc/semtimedop.c: Likewise.
33463         * sysvipc/shmat.c: Likewise.
33464         * sysvipc/shmctl.c: Likewise.
33465         * sysvipc/shmdt.c: Likewise.
33466         * sysvipc/shmget.c: Likewise.
33467         * termios/tcdrain.c: Likewise.
33468         * termios/tcflow.c: Likewise.
33469         * termios/tcflush.c: Likewise.
33470         * termios/tcgetattr.c: Likewise.
33471         * termios/tcgetpgrp.c: Likewise.
33472         * termios/tcsendbrk.c: Likewise.
33473         * termios/tcsetattr.c: Likewise.
33474         * termios/tcsetpgrp.c: Likewise.
33475         * time/adjtime.c: Likewise.
33476         * time/clock.c: Likewise.
33477         * time/getitimer.c: Likewise.
33478         * time/gettimeofday.c: Likewise.
33479         * time/setitimer.c: Likewise.
33480         * time/settimeofday.c: Likewise.
33481         * time/stime.c: Likewise.
33482         * time/time.c: Likewise.
33483
33484 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
33485
33486         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
33487         /usr/old/bin.
33488
33489         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
33490         instead of spaces.
33491         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
33492
33493 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
33494
33495         [BZ #14796]
33496         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
33497         FE_TONEAREST before applying Dekker multiplication and Knuth
33498         addition.  Clear inexact exceptions and check for exact zero
33499         results afterwards.
33500         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
33501         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
33502         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
33503         * math/libm-test.inc (fma_test): Add more tests.
33504         (fma_test_towardzero): Likewise.
33505         (fma_test_downward): Likewise.
33506         (fma_test_upward): Likewise.
33507         * sysdeps/generic/math_private.h (default_libc_fesetround): New
33508         function.
33509         (libc_fesetround): New macro.
33510         (libc_fesetroundf): Likewise.
33511         (libc_fesetroundl): Likewise.
33512         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
33513         function.
33514         (libc_fesetround_387): Likewise.
33515         (libc_fesetroundf): New macro.
33516         (libc_fesetround): Likewise.
33517         (libc_fesetroundl): Likewise.
33518         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
33519         function.
33520         (libc_fesetroundf): New macro.
33521         (libc_fesetround): Likewise.
33522         (libc_fesetroundl): Likewise.
33523         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
33524         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
33525         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
33526         libm_hidden_ver.
33527         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
33528         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
33529         libm_hidden_def.
33530         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
33531         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
33532         libm_hidden_ver.
33533         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
33534         libm_hidden_def.
33535
33536         [BZ #3439]
33537         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
33538         integer constant usable in #if and use that to give value to enum
33539         constant.
33540         (FE_DIVBYZERO): Likewise.
33541         (FE_UNDERFLOW): Likewise.
33542         (FE_OVERFLOW): Likewise.
33543         (FE_INVALID): Likewise.
33544         (FE_INVALID_SNAN): Likewise.
33545         (FE_INVALID_ISI): Likewise.
33546         (FE_INVALID_IDI): Likewise.
33547         (FE_INVALID_ZDZ): Likewise.
33548         (FE_INVALID_IMZ): Likewise.
33549         (FE_INVALID_COMPARE): Likewise.
33550         (FE_INVALID_SOFTWARE): Likewise.
33551         (FE_INVALID_SQRT): Likewise.
33552         (FE_INVALID_INTEGER_CONVERSION): Likewise.
33553         (FE_TONEAREST): Likewise.
33554         (FE_TOWARDZERO): Likewise.
33555         (FE_UPWARD): Likewise.
33556         (FE_DOWNWARD): Likewise.
33557         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
33558         (FE_DIVBYZERO): Likewise.
33559         (FE_OVERFLOW): Likewise.
33560         (FE_UNDERFLOW): Likewise.
33561         (FE_INEXACT): Likewise.
33562         (FE_TONEAREST): Likewise.
33563         (FE_DOWNWARD): Likewise.
33564         (FE_UPWARD): Likewise.
33565         (FE_TOWARDZERO): Likewise.
33566         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
33567         (FE_UNDERFLOW): Likewise.
33568         (FE_OVERFLOW): Likewise.
33569         (FE_DIVBYZERO): Likewise.
33570         (FE_INVALID): Likewise.
33571         (FE_TONEAREST): Likewise.
33572         (FE_TOWARDZERO): Likewise.
33573         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
33574         (FE_OVERFLOW): Likewise.
33575         (FE_UNDERFLOW): Likewise.
33576         (FE_DIVBYZERO): Likewise.
33577         (FE_INEXACT): Likewise.
33578         (FE_TONEAREST): Likewise.
33579         (FE_TOWARDZERO): Likewise.
33580         (FE_UPWARD): Likewise.
33581         (FE_DOWNWARD): Likewise.
33582         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
33583         (FE_DIVBYZERO): Likewise.
33584         (FE_OVERFLOW): Likewise.
33585         (FE_UNDERFLOW): Likewise.
33586         (FE_INEXACT): Likewise.
33587         (FE_TONEAREST): Likewise.
33588         (FE_DOWNWARD): Likewise.
33589         (FE_UPWARD): Likewise.
33590         (FE_TOWARDZERO): Likewise.
33591
33592 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
33593
33594         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
33595
33596 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
33597
33598         * scripts/cross-test-ssh.sh (command): Use newlines to separate
33599         commands.  Quote $PWD.
33600         (blacklist_exports): Don't use remove_newlines.  Replace "declare
33601         -x" by "export".
33602         (remove_newlines): Remove.
33603
33604 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
33605
33606         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
33607         * stdlib/stdlib.h (atof): Moved to ...
33608         * include/bits/stdlib-float.h: Here.  New file.
33609         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
33610         * stdlib/bits/stdlib-float.h: New file.
33611         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
33612         -mno-sse -mno-mmx.
33613         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
33614         <xmmintrin.h>.
33615
33616 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
33617
33618         * conform/conformtest.pl (@headers): Add fenv.h.
33619         * conform/data/fenv.h-data: New file.
33620         * include/fenv.h [_ISOMAC]: Disable all contents of file except
33621         include of <math/fenv.h>.
33622
33623         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
33624         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
33625         && !UNIX98].  Enables tests for XOPEN2K8.
33626         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
33627         POSIX2008]: Likewise.
33628
33629         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
33630         (struct rusage): Do not expect type or its members.
33631
33632         [BZ #3439]
33633         * math/math.h (FP_NAN): Define macro to integer constant usable in
33634         #if and use that to give value to enum constant.
33635         (FP_INFINITE): Likewise.
33636         (FP_ZERO): Likewise.
33637         (FP_SUBNORMAL): Likewise.
33638         (FP_NORMAL): Likewise.
33639
33640 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
33641
33642         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
33643         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
33644         arguments.
33645
33646 2012-11-02  Roland McGrath  <roland@hack.frob.com>
33647
33648         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
33649         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
33650         autoconf-time if not.
33651         * configure.in: Remove AC_PREREQ.
33652
33653 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
33654
33655         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
33656         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
33657         of the internal implementation.
33658
33659 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
33660
33661         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
33662         except include of <misc/sys/syslog.h>.
33663
33664 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
33665
33666         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
33667         function returns with a NULL context exit with zero.
33668
33669 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
33670
33671         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
33672
33673 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
33674
33675         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
33676         (run_program_cmd): This.
33677         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
33678         (tst_langinfo): New variable.  Use it.
33679
33680 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
33681
33682         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
33683         floating point opcodes.
33684
33685 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
33686
33687         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
33688         variable.
33689
33690         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
33691
33692         * sysdeps/mach/hurd/powerpc: Remove directory.
33693         * sysdeps/mach/powerpc: Likewise.
33694
33695 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
33696
33697         * scripts/check-local-headers.sh: Ignore c++ headers.
33698
33699 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
33700
33701         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
33702         __libc_cleanup_region_start argument.
33703
33704 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
33705
33706         [BZ #14784]
33707         [BZ #14785]
33708         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
33709         x * y using scaling, not as x * y + z.
33710         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
33711         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
33712         * math/libm-test.inc (fma_test): Add more tests.
33713         (fma_test_towardzero): Likewise.
33714         (fma_test_downward): Likewise.
33715         (fma_test_upward): Likewise.
33716
33717 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
33718
33719         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
33720
33721 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
33722
33723         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
33724         New variable.
33725
33726 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
33727
33728         * rt/tst-shm.c (worker): Correct checking for mmap failure.
33729
33730 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
33731
33732         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
33733         Fix sort order.
33734         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
33735         Likewise.
33736
33737 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
33738
33739         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
33740         Fix the order of the list for glibc 2.17.
33741         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
33742         Likewise.
33743
33744 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
33745
33746         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33747
33748 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
33749
33750         [BZ #14610]
33751         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
33752         for low part of x being zero before using __atanl (y).
33753         * math/libm-test.inc (atan2_test): Add another test.
33754
33755         * manual/install.texi (Configuring and compiling): Document
33756         general use of test-wrapper and test-wrapper-env.
33757         * INSTALL: Regenerated.
33758
33759         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
33760         (__fma): Do not extract and scale down low bits on after-rounding
33761         systems when result rounded to normal precision would have normal
33762         exponent.
33763         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
33764         (__fmal): Do not extract and scale down low bits on after-rounding
33765         systems when result rounded to normal precision would have normal
33766         exponent.
33767         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
33768         (__fmal): Do not extract and scale down low bits on after-rounding
33769         systems when result rounded to normal precision would have normal
33770         exponent.
33771         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
33772         macro.
33773         (fma_test): Add more tests.
33774         (fma_test_towardzero): Likewise.
33775         (fma_test_downward): Likewise.
33776         (fma_test_upward): Likewise.
33777
33778 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
33779
33780         * sysdeps/i386/tininess.h: Renamed to ...
33781         * sysdeps/x86/tininess.h: This.
33782         * sysdeps/x86_64/tininess.h: Removed.
33783
33784 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
33785
33786         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
33787         input.  Use $(build-program-cmd).
33788         ($(objpfx)tst-array1-static.out): Likewise.
33789         ($(objpfx)tst-array2.out): Likewise.
33790         ($(objpfx)tst-array3.out): Likewise.
33791         ($(objpfx)tst-array4.out): Likewise.
33792         ($(objpfx)tst-array5.out): Likewise.
33793         ($(objpfx)tst-array5-static.out): Likewise.
33794
33795 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
33796
33797         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
33798         if defined.
33799
33800         * nss/nsswitch.h (nss_interface_function): Provide new
33801         macro for use with NSS functions.
33802         * grp/initgroups.c: Use new macro.
33803         * nss/getXXbyYY.c: Likewise.
33804         * nss/getXXbyYY_r.c: Likewise.
33805         * nss/getXXent.c: Likewise.
33806         * nss/getXXent_r.c: Likewise.
33807         * sysdeps/posix/getaddrinfo.c: Likewise.
33808
33809 2012-10-30  Andreas Jaeger  <aj@suse.de>
33810
33811         * po/ru.po: Update Russion translation from translation project.
33812
33813 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
33814
33815         [BZ #14152]
33816         [BZ #14783]
33817         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
33818         result and shift together with sticky bit instead of replicating
33819         round-to-nearest rounding.
33820         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
33821         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
33822         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
33823         missing underflow exceptions.
33824         (fma_test_towardzero): Add more tests.
33825         (fma_test_downward): Likewise.
33826         (fma_test_upward): Likewise.
33827
33828         [BZ #14047]
33829         * sysdeps/generic/tininess.h: New file.
33830         * sysdeps/i386/tininess.h: Likewise.
33831         * sysdeps/sh/tininess.h: Likewise.
33832         * sysdeps/x86_64/tininess.h: Likewise.
33833         * stdlib/tst-strtod-underflow.c: Likewise.
33834         * stdlib/tst-tininess.c: Likewise.
33835         * stdlib/strtod_l.c: Include <tininess.h>.
33836         (round_and_return): Do not set errno for exact underflow cases.
33837         Force an underflow exception when setting errno for underflow.
33838         Determine underflow based on rounding to normal precision if
33839         TININESS_AFTER_ROUNDING.
33840         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
33841         ERANGE for exact underflow cases.
33842         * stdlib/Makefile (tests): Add tst-tininess and
33843         tst-strtod-underflow.
33844         ($(objpfx)tst-tininess): Use $(link-libm).
33845         ($(objpfx)tst-strtod-underflow): Likewise.
33846
33847 2012-10-30  Andreas Jaeger  <aj@suse.de>
33848
33849         [BZ#14767]
33850         * elf/Makefile (tests): Remove conditional for have-initfini-array
33851         since this is now always required and the variable does not exist
33852         anymore.
33853         (tests-static): Likewise.
33854         (modules-names): Likewise.
33855
33856         * po/eo.po: Add Esperanto translation from translation project.
33857
33858         * elf/tst-array1.c (fini_array): Make writeable so that it can be
33859         merged with constructor/destructor.
33860         (init_array): Likewise.
33861         * elf/tst-array2dep.c (fini_array): Likewise.
33862         (init_array): Likewise.
33863
33864 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
33865
33866         * manual/message.texi: Delete @cartouche tags.
33867
33868 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
33869
33870         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
33871         EOPNOTSUPP.
33872         * sysdeps/mach/hurd/fsync.c: Likewise.
33873
33874         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
33875         [_POSIX_REALTIME_SIGNALS]: Change condition to
33876         [_POSIX_REALTIME_SIGNALS > 0].
33877
33878 2012-10-27  Andreas Jaeger  <aj@suse.de>
33879
33880         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
33881         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
33882         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
33883         [__WORDSIZE != 64]: Likewise.
33884
33885 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
33886
33887         *  iconvdata/tst-table.sh: Remove ${SHELL}.
33888         *  iconvdata/tst-tables.sh: Likewise.
33889
33890 2012-10-25  David S. Miller  <davem@davemloft.net>
33891
33892         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
33893         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
33894         of strtoull.
33895
33896         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
33897         ifunc-impl-list.c
33898         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
33899         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
33900         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
33901         file.
33902
33903 2012-10-25  Roland McGrath  <roland@hack.frob.com>
33904
33905         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
33906         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
33907         __getdirentries.
33908
33909 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
33910             Jim Blandy  <jimb@codesourcery.com>
33911
33912         * scripts/cross-test-ssh.sh: New file.
33913         * manual/install.texi (Configuring and compiling): Document use of
33914         cross-test-ssh.sh.
33915         * INSTALL: Regenerated.
33916
33917 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
33918
33919         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
33920         EOPNOTSUPP.
33921
33922 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
33923
33924         * Makeconfig (run-program-prefix): Fix comment.
33925
33926 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
33927             Jim Blandy  <jimb@codesourcery.com>
33928
33929         * Makeconfig (test-wrapper): New variable,
33930         (test-wrapper-env): Likewise.
33931         [$(cross-compiling) = yes && $(test-wrapper) != ""]
33932         (run-built-tests): Define to yes.
33933         (run-program-prefix): Use $(test-wrapper).
33934         (built-program-cmd): Likewise.
33935         * Rules (make-test-out): Use $(test-wrapper-env) and
33936         $(host-built-program-cmd).
33937         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
33938         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
33939         tst-pathopt.sh.
33940         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
33941         $(test-wrapper-env) to tst-rtld-load-self.sh.
33942         ($(objpfx)order2.out): Use $(test-wrapper).
33943         ($(objpfx)tst-initorder.out): Likewise.
33944         ($(objpfx)tst-initorder2.out): Likewise.
33945         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
33946         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
33947         (test_wrapper_env): New variable.  Use it to run ld.so.
33948         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
33949         Use it to run ld.so.
33950         (test_wrapper_env): Likewise.
33951         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
33952         $(test-wrapper) to run-iconv-test.sh.
33953         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
33954         (ICONV): Use $test_wrapper.
33955         * posix/Makefile ($(objpfx)globtest.out): Pass
33956         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
33957         globtest.sh, not $(run-program-prefix).
33958         * posix/globtest.sh (run_via_rtld_prefix): New variable.
33959         (test_wrapper): Likewise.
33960         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
33961         set together with run_via_rtld_prefix.
33962         (run_program_prefix): Define in terms of test_wrapper and
33963         run_via_rtld_prefix.
33964
33965 2012-10-24  Roland McGrath  <roland@hack.frob.com>
33966
33967         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
33968         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
33969         Targets removed.
33970
33971         [BZ #14743]
33972         * include/time.h: Remove librt_hidden_proto (clock_gettime).
33973         Declare __clock_getres, __clock_gettime, __clock_settime,
33974         __clock_nanosleep, and __clock_getcpuclockid.
33975         * rt/clock_gettime.c: Define __clock_gettime as an alias.
33976         Remove librt_hidden_def (clock_gettime).
33977         * sysdeps/unix/clock_gettime.c: Likewise.
33978         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
33979         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
33980         * rt/clock_getres.c: Define __clock_getres as an alias.
33981         * sysdeps/posix/clock_getres.c: Likewise.
33982         * rt/clock_settime.c: Define __clock_settime as an alias.
33983         * sysdeps/unix/clock_settime.c: Likewise.
33984         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
33985         * sysdeps/unix/clock_nanosleep.c: Likewise.
33986         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
33987         * rt/clock-compat.c: New file.
33988         * rt/Makefile (librt-routines): Add clock-compat and move
33989         $(clock-routines) to ...
33990         (routines): ... here, new variable.
33991         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
33992         Don't add get_clockfreq here.
33993         * rt/Versions (libc: GLIBC_2.17): New version set.
33994         Add clock_* symbols here.
33995         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
33996         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
33997         (GLIBC_2.17): Add clock_* symbols.
33998         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
33999         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
34000         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
34001         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
34002         Likewise.
34003         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
34004         Likewise.
34005         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
34006         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
34007         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
34008         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
34009         * NEWS: Mention the move.
34010
34011         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
34012         Use __open, __read, __close rather than their public counterparts.
34013         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
34014         (__get_clockfreq_via_cpuinfo): Likewise.
34015         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
34016         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
34017
34018         * config.h.in (HAVE_IFUNC): New #undef.
34019         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
34020         was successful.
34021         * configure: Regenerated.
34022
34023 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
34024
34025         * configure.in: Move READELF check to start of file.
34026         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
34027         libc_cv_asm_gnu_indirect_function in the process.
34028         * configure: Regenerated.
34029
34030 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
34031
34032         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
34033         send the output to /dev/null.
34034         (libc_cv_cc_with_libunwind): Likewise.
34035         (libc_cv_as_noexecstack): Likewise.
34036         * configure: Regenerate.
34037
34038 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
34039
34040         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
34041
34042         * posix/globtest.sh (TMPDIR): Do not set.
34043         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
34044         (testout): Likewise.
34045
34046 2012-10-24  Andreas Jaeger  <aj@suse.de>
34047
34048         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
34049         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
34050         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
34051         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
34052         posix_fadvise64, posix_fallocate64.
34053
34054         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
34055         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
34056         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
34057         Likewise.
34058         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
34059         Likewise.
34060         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
34061
34062         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
34063         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
34064         <bits/fcntl-linux.h>.
34065         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
34066
34067         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
34068         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
34069         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
34070         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
34071         [__WORDSIZE != 64]: Likewise.
34072
34073 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
34074
34075         * Makeconfig (run-built-tests): New variable.
34076         * Rules [$(cross-compiling) = yes]: Change condition to
34077         [$(run-built-tests) = no].
34078         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
34079         to [$(run-built-tests) = yes].
34080         * elf/Makefile [$(cross-compiling) = no]: Likewise
34081         * grp/Makefile [$(cross-compiling) = no]: Likewise.
34082         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
34083         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
34084         * intl/Makefile [$(cross-compiling) = no]: Likewise.
34085         * io/Makefile [$(cross-compiling) = no]: Likewise.
34086         * libio/Makefile [$(cross-compiling) = no]: Likewise.
34087         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
34088         * misc/Makefile [$(cross-compiling) = no]: Likewise.
34089         * posix/Makefile [$(cross-compiling) = no]: Likewise.
34090         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
34091         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
34092         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
34093         * string/Makefile [$(cross-compiling) = no]: Likewise.
34094
34095         * posix/Makefile ($(objpfx)globtest.out): Pass
34096         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
34097         $(rtld-installed-name).
34098         * posix/globtest.sh (elf_objpfx): Remove variable.
34099         (rtld_installed_name): Likewise.
34100         (library_path): Likewise.
34101         (run_program_prefix): New variable.  Use for running globtest
34102         binary.
34103
34104 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
34105             Joseph Myers  <joseph@codesourcery.com>
34106
34107         * Makeconfig (host-built-program-cmd): New variable.
34108         * elf/Makefile (tst-stackguard1-ARGS): Use
34109         $(host-built-program-cmd).
34110         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
34111         (tst-spawn-ARGS): Likewise.
34112         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
34113
34114 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
34115             Jim Blandy  <jimb@codesourcery.com>
34116
34117         * Makeconfig (run-via-rtld-prefix): New variable.
34118         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
34119         (built-program-cmd): Likewise.
34120
34121 2012-10-22  Andreas Jaeger  <aj@suse.de>
34122
34123         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
34124         __O_RSYNC if it exists, otherwise to O_SYNC.
34125
34126 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
34127             Joseph Myers  <joseph@codesourcery.com>
34128
34129         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
34130         /dev/null.
34131         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
34132         from /dev/null
34133         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
34134         /dev/null.
34135
34136 2012-10-22  Andreas Jaeger  <aj@suse.de>
34137
34138         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
34139         Define always.
34140         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
34141
34142         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
34143         bits/fcntl-linux.h.
34144
34145         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
34146         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
34147
34148         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
34149         to __O_LARGEFILE.
34150         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
34151         to __O_LARGEFILE.
34152
34153 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
34154             Joseph Myers  <joseph@codesourcery.com>
34155
34156         * config.make.in (NM): New variable.
34157
34158 2012-10-21  Andreas Jaeger  <aj@suse.de>
34159
34160         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
34161         definitions and declarations that are provided by
34162         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
34163
34164 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
34165
34166         [BZ #14683]
34167         * elf/Makefile (tests-static): Add tst-leaks1-static.
34168         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
34169         ($(objpfx)tst-leaks1-static): New rule.
34170         ($(objpfx)tst-leaks1-static-mem): Likewise.
34171         (tst-leaks1-static-ENV): New macro.
34172         * elf/dl-open.c (dl_open_worker): Check the main application
34173         only if SHARED is defined.
34174         * elf/tst-leaks1-static.c: New file.
34175
34176 2012-10-20  Andreas Jaeger  <aj@suse.de>
34177
34178         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
34179         generic values for Linux.
34180         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
34181         and declarations that are provided by <bits/fcntl-linux.h> and
34182         include <bits/fcntl-linux.h>.
34183         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
34184         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
34185
34186 2012-10-20  Roland McGrath  <roland@hack.frob.com>
34187
34188         * io/fcntl.h: Move include of <bits/types.h> to the top and
34189         include it unconditionally.
34190
34191 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
34192
34193         * wcsmbs/Makefile (tests-ifunc): New variable.
34194         (tests): Add $(tests-ifunc).
34195         * wcsmbs/test-wcschr-ifunc.c: New file.
34196         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
34197         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
34198         * wcsmbs/test-wcslen-ifunc.c: Likewise.
34199         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
34200         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
34201
34202         * string/Makefile (tests-ifunc): New variable.
34203         (tests): Add $(tests-ifunc).
34204         * string/test-memccpy.c (TEST_NAME): New macro.
34205         * string/test-memchr.c (TEST_NAME): Likewise.
34206         * string/test-memcmp.c (TEST_NAME): Likewise.
34207         * string/test-memcpy.c (TEST_NAME): Likewise.
34208         * string/test-memmem.c (TEST_NAME): Likewise.
34209         * string/test-memmove.c (TEST_NAME): Likewise.
34210         * string/test-memset.c (TEST_NAME): Likewise.
34211         * string/test-rawmemchr.c (TEST_NAME): Likewise.
34212         * string/test-stpcpy.c (TEST_NAME): Likewise.
34213         * string/test-stpncpy.c (TEST_NAME): Likewise.
34214         * string/test-strcasecmp.c (TEST_NAME): Likewise.
34215         * string/test-strcasestr.c (TEST_NAME): Likewise.
34216         * string/test-strcat.c (TEST_NAME): Likewise.
34217         * string/test-strchr.c (TEST_NAME): Likewise.
34218         * string/test-strcmp.c(TEST_NAME): Likewise.
34219         * string/test-strcpy.c (TEST_NAME): Likewise.
34220         * string/test-strcspn.c (TEST_NAME): Likewise.
34221         * string/test-strlen.c (TEST_NAME): Likewise.
34222         * string/test-strncasecmp.c (TEST_NAME): Likewise.
34223         * string/test-strncmp.c (TEST_NAME): Likewise.
34224         * string/test-strncpy.c (TEST_NAME): Likewise.
34225         * string/test-strnlen.c (TEST_NAME): Likewise.
34226         * string/test-strpbrk.c (TEST_NAME): Likewise.
34227         * string/test-strrchr.c (TEST_NAME): Likewise.
34228         * string/test-strspn.c (TEST_NAME): Likewise.
34229         * string/test-strstr.c (TEST_NAME): Likewise.
34230         * string/test-bcopy-ifunc.c: New file.
34231         * string/test-bzero-ifunc.c: Likewise.
34232         * string/test-memccpy-ifunc.c: Likewise.
34233         * string/test-memchr-ifunc.c: Likewise.
34234         * string/test-memcmp-ifunc.c: Likewise.
34235         * string/test-memcpy-ifunc.c: Likewise.
34236         * string/test-memmem-ifunc.c: Likewise.
34237         * string/test-memmove-ifunc.c: Likewise.
34238         * string/test-mempcpy-ifunc.c: Likewise.
34239         * string/test-memset-ifunc.c: Likewise.
34240         * string/test-rawmemchr-ifunc.c: Likewise.
34241         * string/test-stpcpy-ifunc.c: Likewise.
34242         * string/test-stpncpy-ifunc.c: Likewise.
34243         * string/test-strcasecmp-ifunc.c: Likewise.
34244         * string/test-strcasestr-ifunc.c: Likewise.
34245         * string/test-strcat-ifunc.c: Likewise.
34246         * string/test-strchr-ifunc.c: Likewise.
34247         * string/test-strchrnul-ifunc.c: Likewise.
34248         * string/test-strcmp-ifunc.c: Likewise.
34249         * string/test-strcpy-ifunc.c: Likewise.
34250         * string/test-strcspn-ifunc.c: Likewise.
34251         * string/test-strlen-ifunc.c: Likewise.
34252         * string/test-strncasecmp-ifunc.c: Likewise.
34253         * string/test-strncat-ifunc.c: Likewise.
34254         * string/test-strncmp-ifunc.c: Likewise.
34255         * string/test-strncpy-ifunc.c: Likewise.
34256         * string/test-strnlen-ifunc.c: Likewise.
34257         * string/test-strpbrk-ifunc.c: Likewise.
34258         * string/test-strrchr-ifunc.c: Likewise.
34259         * string/test-strspn-ifunc.c: Likewise.
34260         * string/test-strstr-ifunc.c: Likewise.
34261
34262         * debug/Makefile (tests-ifunc): New variable.
34263         (tests): Add $(tests-ifunc).
34264         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
34265         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
34266         * debug/test-stpcpy_chk-ifunc.c: New file.
34267         * debug/test-strcpy_chk-ifunc.c: Likewise.
34268
34269 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
34270
34271         [BZ #13601]
34272         * elf/dl-load.c (open_verify): Retry read if the entire ELF
34273         header is not read in.
34274
34275 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
34276
34277         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
34278         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
34279         directly.  Pass built executable to script as
34280         $(built-program-cmd).
34281         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
34282         $testprogram without using LD_LIBRARY_PATH and $ldso.
34283
34284         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
34285         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
34286         $(rtld-installed-name).
34287         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
34288         (rtld_installed_name): Likewise.
34289         (library_path): Likewise.
34290         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
34291         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
34292         $(run-program-prefix) to tst-tables.sh.
34293         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
34294         it to run tst-table-from and tst-table-to.
34295         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
34296         Pass it to tst-table.sh.
34297         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
34298         $(run-program-prefix) to tst-gettext.sh.
34299         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
34300         tst-translit.sh.
34301         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
34302         tst-gettext2.sh.
34303         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
34304         to run tst-gettext.
34305         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
34306         to run tst-gettext2.
34307         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
34308         to run tst-translit.
34309         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
34310         $(run-program-prefix) to tst-mtrace.sh.
34311         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
34312         to run tst-mtrace.
34313         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
34314         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
34315         $(rtld-installed-name).
34316         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
34317         (rtld_installed_name): Likewise.
34318         (run_program_prefix): New variable.  Use it to run wordexp-test.
34319
34320         * Makeconfig (ARCH): Remove all definitions.
34321         (machine): Likewise.
34322         [ARCH]: Remove conditional code.
34323         [!objdir]: Give error.
34324         [!objdir] (objpfx): Remove.
34325         [!objdir] (common-objpfx): Likewise.
34326         [!objdir] (common-objdir): Likewise.
34327         * configure.in (config_makefile): Remove.  Hardcode Makefile in
34328         AC_CONFIG_FILES call.
34329         * configure: Regenerated.
34330
34331         [BZ #13888]
34332         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
34333         or TMPDIR.
34334         (testout): Likewise.
34335
34336         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
34337         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
34338         $(rtld-installed-name).
34339         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
34340         (rtld_installed_name): Likwise.
34341         (runit): Remove function.
34342         (run_getconf): New variable,  Use it for running getconf binary.
34343
34344 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
34345
34346         [BZ #14716]
34347         * string/test-memmem.c (check_result): New function.
34348         (do_one_test): Use it.
34349         (check1): New function.
34350         (test_main): Use it.
34351
34352 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
34353
34354         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
34355
34356 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
34357
34358         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
34359         (_G_LSEEK64): Likewise.
34360         (_G_MMAP64): Likewise.
34361         (_G_FSTAT64): Likewise.
34362         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
34363         (_G_LSEEK64): Likewise.
34364         (_G_MMAP64): Likewise.
34365         (_G_FSTAT64): Likewise.
34366         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
34367         unconditional.  Call __mmap64 directly.
34368         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
34369         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
34370         __lseek64 directly.
34371         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
34372         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
34373         __mmap64 directly.
34374         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
34375         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
34376         __lseek64 directly.
34377         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
34378         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
34379         __lseek64 directly.
34380         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
34381         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
34382         __lseek64 directly.
34383         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
34384         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
34385         __fxstat64 directly.
34386         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
34387         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
34388         unconditional.
34389         (freopen64) [!_G_OPEN64]: Remove conditional code.
34390         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
34391         unconditional.
34392         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
34393         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
34394         unconditional.
34395         (ftello64) [!_G_LSEEK64]: Remove conditional code.
34396         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
34397         unconditional.
34398         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
34399         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
34400         unconditional.
34401         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
34402         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
34403         unconditional.
34404         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
34405         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
34406         unconditional.
34407         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
34408         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
34409         unconditional.
34410         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
34411
34412 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
34413
34414         [BZ #12140]
34415         * manual/memory.texi (Malloc Tunable Parameters): Add note
34416         about free list pointers overwriting some perturb bytes.
34417         Wording suggested by Roland McGrath.
34418
34419 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
34420
34421         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
34422         (lgamma_test): Likewise.
34423         (tgamma_test): Likewise.
34424
34425 2012-10-16  Florian Weimer  <fweimer@redhat.com>
34426
34427         [BZ #14700]
34428         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
34429         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
34430
34431 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
34432
34433         * NEWS: Mention BZ #14716.
34434         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
34435         when removing AVAILABLE1_USES_J macro.
34436
34437 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
34438
34439         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
34440         (__bswap_64): __uint64_t for unsigned 64-bit int.
34441
34442 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
34443
34444         * include/string.h (memmem): Declare libc hidden alias.
34445         * string/memmem.c (memmem): Define libc hidden alias.
34446         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
34447         __read, __close instead of open, read, close.
34448
34449 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
34450
34451         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
34452         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
34453         global and hidden.
34454         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
34455         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
34456         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
34457         Likewise.
34458         (__rawmemchr_sse2): Likewise.
34459         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
34460         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
34461         (__strchr_sse2): Likewise.
34462         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
34463         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
34464         (__strcasecmp_sse2): Likewise.
34465         (__strncasecmp_sse2): Likewise.
34466         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
34467         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
34468         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
34469         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
34470         (__strrchr_sse2): Likewise.
34471         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
34472         ifunc-impl-list.c.
34473         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
34474         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
34475         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
34476         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
34477         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
34478         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
34479         * sysdeps/x86_64/multiarch/memset.S: Likewise.
34480         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
34481         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
34482         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
34483         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
34484         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
34485         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
34486         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
34487         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
34488         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
34489         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
34490         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
34491         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
34492         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
34493         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
34494         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
34495         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
34496         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
34497         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
34498         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
34499         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
34500         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
34501         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
34502         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
34503
34504         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
34505         global and hidden.
34506         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
34507         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
34508         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
34509         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
34510         Likewise.
34511         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
34512         Likewise.
34513         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
34514         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
34515         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
34516         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
34517         ifunc-impl-list.c.
34518         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
34519         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
34520         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
34521         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
34522         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
34523         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
34524         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
34525         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
34526         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
34527         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
34528         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
34529         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
34530         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
34531         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
34532         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
34533         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
34534         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
34535         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
34536         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
34537         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
34538         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
34539         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
34540         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
34541         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
34542         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
34543         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
34544         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
34545         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
34546         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
34547         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
34548         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
34549         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
34550         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
34551         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
34552         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
34553         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
34554         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
34555         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
34556         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
34557         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
34558         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
34559
34560         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
34561         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
34562         * include/ifunc-impl-list.h: New file.
34563         * misc/ifunc-impl-list.c: Likewise.
34564         * misc/Makefile (routines): Add ifunc-impl-list.
34565         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
34566         * string/test-string.h: Include <ifunc-impl-list.h>.
34567         (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
34568         TEST_NAME]: New variables.
34569         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
34570         are defined.
34571         (test_init): Call __libc_ifunc_impl_list to initialize
34572         func_list if TEST_IFUNC and TEST_NAME are defined.
34573
34574         * string/Makefile (strop-tests): Add bcopy and bzero.
34575         * string/test-bcopy.c: New file.
34576         * string/test-bzero.c: Likewise.
34577         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
34578         defined.
34579         * string/test-memset.c: Support bzero test if TEST_BZERO is
34580         defined.
34581         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
34582         __libc_memmove.
34583         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
34584         __libc_memset.
34585         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
34586         of memset.
34587
34588 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
34589
34590         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
34591         * configure: Regenerated.
34592
34593         * Makeconfig (+link-static-before-libc): Don't include
34594         $(link-static-libc).
34595
34596         * libio/libio.h (_IO_pos_t): Remove.
34597
34598 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
34599
34600         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
34601         McGrath.
34602
34603 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
34604
34605         * crypt/crypt-entry.c: Include fips-private.h.
34606         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
34607         * crypt/md5c-test.c (main): Tolerate disabled MD5.
34608         * sysdeps/unix/sysv/linux/fips-private.h: New file.
34609         * sysdeps/generic/fips-private.h: New file, dummy fallback.
34610
34611 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
34612
34613         * crypt/crypt-private.h: Include stdbool.h.
34614         (_ufc_setup_salt_r): Return bool.
34615         * crypt/crypt-entry.c: Include errno.h.
34616         (__crypt_r): Return NULL with EINVAL for bad salt.
34617         * crypt/crypt_util.c (bad_for_salt): New.
34618         (_ufc_setup_salt_r): Check that salt is long enough and within
34619         the specified alphabet.
34620         * crypt/badsalttest.c: New file.
34621         * crypt/Makefile (tests): Add it.
34622         ($(objpfx)badsalttest): New.
34623
34624 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
34625
34626         * NEWS: Add entry for BZ #14602.
34627
34628 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
34629
34630         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
34631         type-generic.
34632         * math/libm-test.inc: Update comment listing what functions and
34633         macros are tested.
34634         (isgreater_test): New function.
34635         (isgreaterequal_test): Likewise.
34636         (isless_test): Likewise.
34637         (islessequal_test): Likewise.
34638         (islessgreater_test): Likewise.
34639         (isunordered_test): Likewise.
34640         (main): Call the new functions.
34641
34642 2012-10-09  Roland McGrath  <roland@hack.frob.com>
34643
34644         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
34645         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
34646         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
34647         * sysdeps/i386/configure: Regenerated.
34648         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
34649         * sysdeps/mach/configure: Regenerated.
34650         * sysdeps/mach/hurd/configure: Regenerated.
34651         * sysdeps/powerpc/configure: Regenerated.
34652         * sysdeps/powerpc/powerpc32/configure: Regenerated.
34653         * sysdeps/powerpc/powerpc64/configure: Regenerated.
34654         * sysdeps/s390/s390-32/configure: Regenerated.
34655         * sysdeps/s390/s390-64/configure: Regenerated.
34656         * sysdeps/sh/configure: Regenerated.
34657         * sysdeps/sparc/configure: Regenerated.
34658         * sysdeps/unix/sysv/linux/configure: Regenerated.
34659         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
34660         * sysdeps/x86_64/configure: Regenerated.
34661
34662         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
34663         defined.  Don't check if MAP is NULL.
34664
34665 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
34666
34667         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
34668         (_G_stat64): Likewise.
34669         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
34670         (_G_stat64): Likewise.
34671         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
34672         instead of struct _G_stat64.
34673         * libio/fileops.c (mmap_remap_check): Likewise.
34674         (decide_maybe_mmap): Likewise.
34675         (_IO_new_file_seekoff): Likewise.
34676         (_IO_file_stat): Likewise.
34677         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
34678         _G_off64_t.
34679         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
34680         instead of struct _G_stat64.
34681         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
34682
34683 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
34684
34685         [BZ #14602]
34686         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
34687         Replace with ...
34688         (CHECK_EOL): New macro.
34689         (two_way_short_needle): Check beginning of haystack for EOL.  Use
34690         CHECK_EOL.
34691         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
34692         Replace with CHECK_EOL.
34693         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
34694         Replace with CHECK_EOL.
34695
34696 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
34697
34698         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
34699         type-generic.
34700         * math/libm-test.inc: Update comment listing what functions and
34701         macros are tested.
34702         (finite_test): New function.
34703         (isinf_test): Likewise.
34704         (isnan_test): Likewise.
34705         (fpclassify_test): Test subnormal input.
34706         (isfinite_test): Likewise.
34707         (isnormal_test): Likewise.
34708         (main): Call the new functions.
34709
34710 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
34711
34712         [BZ #14660]
34713         * Makerules (%.dynsym): Force C locale when running
34714         $(OBJDUMP) --dynamic-syms.
34715
34716 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
34717
34718         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
34719         <stdint.h>.
34720
34721 2012-10-06  David S. Miller  <davem@davemloft.net>
34722
34723         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
34724         upper 32-bits of the length value in %o2 since we use branch-on-register
34725         tests which consider the entire 64-bit register.
34726
34727 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
34728
34729         * string/test-strstr.c (check2): Add a test for page boundary.
34730
34731 2012-10-05  David S. Miller  <davem@davemloft.net>
34732
34733         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
34734         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
34735         file.
34736         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
34737         sysdep_routines.
34738         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
34739         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
34740         and bzero when HWCAP_SPARC_CRYPTO is present.
34741
34742 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
34743
34744         [BZ #14602]
34745         * string/test-strstr.c (check2): New function.
34746         (test_main): Call check2.
34747
34748         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
34749         and bug-strchr1.
34750         * string/bug-strcasestr1.c (do_test): Moved to ...
34751         * string/test-strcasestr.c (check1): Here.  New function.
34752         (do_one_test): Break out result checking code into ...
34753         (check_result): This.  New function.
34754         (do_one_test): Call check_result.
34755         (test_main): Call check1.
34756         * string/bug-strchr1.c (do_test): Moved to ...
34757         * string/test-strchr.c (check1): Here.  New function.
34758         (do_one_test): Break out result checking code into ...
34759         (check_result): This.  New function.
34760         (do_one_test): Call check_result.
34761         (test_main): Call check1.
34762         * string/bug-strstr1.c (main): Moved to ...
34763         * string/test-strstr.c (check1): Here.  New function.
34764         (do_one_test): Break out result checking code into ...
34765         (check_result): This.  New function.
34766         (do_one_test): Call check_result.
34767         (test_main): Call check1.
34768         * string/bug-strcasestr1.c: Removed.
34769         * string/bug-strchr1.c: Likewise.
34770         * string/bug-strstr1.c: Likewise.
34771
34772         * elf/Makefile (dl-routines): Add hwcaps.
34773         * elf/dl-support.c (_dl_important_hwcaps): Removed.
34774         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
34775         (_dl_important_hwcaps): Moved to ...
34776         * elf/dl-hwcaps.c: Here.  New file.
34777         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
34778
34779         [BZ #14557]
34780         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
34781         if IS_IN_rtld isn't defined.
34782
34783         * elf/dl-support.c (_dl_sysinfo_map): New.
34784         Include "get-dynamic-info.h" and "setup-vdso.h".
34785         (_dl_non_dynamic_init): Call setup_vdso.
34786         * elf/dynamic-link.h: Don't include <assert.h>.
34787         (elf_get_dynamic_info): Moved to ...
34788         * elf/get-dynamic-info.h: Here.  New file.
34789         * elf/dynamic-link.h: Include "get-dynamic-info.h".
34790         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
34791         * elf/setup-vdso.h: Here.  New file.
34792         * elf/rtld.c: Include "setup-vdso.h".
34793         (dl_main): Call setup_vdso.
34794
34795 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
34796
34797         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
34798         creal in comment listing functions tested.  List finite, isinf,
34799         isnan, isless, islessequal, isgreater, isgreaterequal,
34800         islessgreater, isunordered, lgamma_r and pow10 as functions and
34801         macros not tested.  Mention which functions not tested are aliases
34802         for other functions.  Fix typo.  Note that signs of NaNs are not
34803         tested.
34804
34805         * scripts/config.guess: Update from config.git.
34806         * scripts/config.sub: Likewise.
34807
34808 2012-10-04  Roland McGrath  <roland@hack.frob.com>
34809
34810         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
34811         * misc/madvise.c (madvise): Renamed to __madvise.
34812         Make madvise a weak alias.
34813         * include/sys/mman.h: Declare __madvise.
34814         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
34815         * sysdeps/unix/syscalls.list
34816         (madvise): Make __madvise the strong name, and madvise a weak alias.
34817         * sysdeps/unix/sysv/linux/syscalls.list
34818         (madvise, mmap): Remove redundant entries.
34819         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
34820         * malloc/malloc.c (mtrim): Likewise.
34821         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
34822
34823 2012-10-03  Roland McGrath  <roland@hack.frob.com>
34824
34825         * sysdeps/mach/hurd/dl-cache.c: File removed.
34826         * config.h.in (USE_LDCONFIG): New #undef.
34827         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
34828         * configure: Regenerated.
34829         * elf/Makefile (dl-routines): Add dl-cache only under
34830         [$(use-ldconfig) = yes].
34831         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
34832         cache on [USE_LDCONFIG].
34833         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
34834         [USE_LDCONFIG].
34835         * elf/rtld.c (dl_main): Likewise.
34836
34837 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
34838
34839         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
34840         _SC_LEVEL4_CACHE_LINESIZE.
34841
34842 2012-10-03  Roland McGrath  <roland@hack.frob.com>
34843
34844         * sysdeps/unix/bsd/confstr.h: File removed.
34845
34846 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
34847
34848         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
34849         sys/sdt-config.h.
34850
34851 2012-10-02  Roland McGrath  <roland@hack.frob.com>
34852
34853         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
34854         Make 'mapoff' field ElfW(Off) rather than off_t.
34855
34856 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
34857
34858         * nscd/Makefile: Remove nscd-cflags and all its users.
34859         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
34860         (CFLAGS-nonlib): Add compiler flags for nscd modules.
34861
34862         [BZ #10631]
34863         * malloc.c (malloc_printerr): Clarify error message.
34864
34865 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
34866
34867         [BZ #14648]
34868         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
34869         Set bit_FMA_Usable if FMA is supported.
34870         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
34871         macro.
34872         (bit_FMA4_Usable): Updated.
34873         (index_FMA_Usable): New macro.
34874         (CPUID_FMA): Likewise
34875         (HAS_FMA): Defined with bit_FMA_Usable.
34876
34877 2012-10-01  Roland McGrath  <roland@hack.frob.com>
34878
34879         * bits/types.h (__swblk_t): Type removed.
34880         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
34881         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
34882         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
34883         (__SWBLK_T_TYPE): Likewise.
34884         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
34885         (__SWBLK_T_TYPE): Likewise.
34886         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
34887         (__SWBLK_T_TYPE): Likewise.
34888         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
34889         (__SWBLK_T_TYPE): Likewise.
34890
34891 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
34892             Honza Horak <hhorak@redhat.com>
34893
34894         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
34895         (xdr_mapname): Use YPMAXMAP as maxsize.
34896         (xdr_peername): Use YPMAXPEER as maxsize.
34897         (xdr_keydat): Use YPAXRECORD as maxsize.
34898         (xdr_valdat): Use YPMAXRECORD as maxsize.
34899
34900 2012-10-01  Roland McGrath  <roland@hack.frob.com>
34901
34902         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
34903
34904         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
34905         * csu/init-first.c: ... here.
34906         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
34907         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
34908         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
34909         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
34910         * sysdeps/i386/init-first.c: File removed.
34911         * sysdeps/sh/init-first.c: File removed.
34912
34913 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
34914
34915         [BZ #14645]
34916         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
34917         if x * y might underflow to zero and z is zero.
34918         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
34919         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
34920         * math/libm-test.inc (min_subnorm_value): New variable.
34921         (fma_test): Add more tests.
34922         (fma_test_towardzero): Likewise.
34923         (fma_test_downward): Likewise
34924         (fma_test_upward): Likewise.
34925         (initialize): Set min_subnorm_value.
34926
34927 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
34928
34929         [BZ #14638]
34930         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
34931         0 + 0.
34932         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
34933         mode for addition resulting in exact zero.
34934         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
34935         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
34936         exact 0 + 0.
34937         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
34938         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
34939         * math/libm-test.inc (fma_test): Add more tests.
34940         (fma_test_towardzero): New function.
34941         (fma_test_downward): Likewise.
34942         (fma_test_upward): Likewise.
34943         (main): Call the new functions.
34944
34945 2012-09-28  David S. Miller  <davem@davemloft.net>
34946
34947         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
34948
34949 2012-09-28  Roland McGrath  <roland@hack.frob.com>
34950
34951         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
34952         instead of SIGALRM.
34953
34954         * sysdeps/gnu/_G_config.h: Moved to ...
34955         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
34956         * sysdeps/mach/hurd/_G_config.h: Moved to ...
34957         * sysdeps/generic/_G_config.h: ... here.
34958
34959         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
34960
34961         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
34962
34963         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
34964         Conditionalize target on [libnss_test1.so-version].
34965
34966         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
34967
34968         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
34969         (elfobjdir): Move out of conditionals.
34970
34971         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
34972         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
34973         (__nss_lookup_function): Conditionalize label remove_from_tree on
34974         [!DO_STATIC_NSS || SHARED], matching its only use.
34975
34976 2012-09-28  David S. Miller  <davem@davemloft.net>
34977
34978         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
34979         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
34980         file.
34981         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
34982         sysdep_routines.
34983         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
34984         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
34985         when HWCAP_SPARC_CRYPTO is present.
34986
34987 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
34988
34989         * io/tst-mknodat.c: Create a FIFO instead of a socket.
34990
34991 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
34992
34993         [BZ #6530]
34994         * stdio-common/vfprintf.c (process_string_arg): Revert
34995         2000-07-22 change.
34996
34997 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
34998
34999         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
35000         for testcase.
35001         * stdio-common/tst-sprintf.c: Include <locale.h>
35002         (main): Test sprintf's handling of incomplete multibyte
35003         characters.
35004
35005 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
35006
35007         * elf/dl-runtime.c (VERSYMIDX): Removed.
35008         * elf/dl-version.c (VERSYMIDX): Likewise.
35009         * elf/do-rel.h (VERSYMIDX): Likewise.
35010         (VALIDX): Likewise.
35011         * elf/dynamic-link.h (VERSYMIDX): Likewise.
35012         * elf/rtld.c (VALIDX): Likewise.
35013         (ADDRIDX): Likewise.
35014         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
35015         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
35016         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
35017         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
35018         (VALIDX): Likewise.
35019         (ADDRIDX): Likewise.
35020
35021 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
35022
35023         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
35024
35025 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
35026
35027         [BZ #11438]
35028         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
35029         to global scope.
35030         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
35031         addresses are in the same scope as 192.0.2/24.
35032         * posix/gai.conf: Document new scope table defaults.
35033
35034 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
35035
35036         [BZ #5298]
35037         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
35038         for ftell.  Compute offsets from write pointers instead.
35039         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
35040
35041 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
35042
35043         [BZ #14543]
35044         * libio/Makefile (tests): New test case tst-fseek.
35045         * libio/tst-fseek.c: New test case to verify that fseek/ftell
35046         combination works in wide mode.
35047         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
35048         state when the external buffer state changes.
35049
35050 2012-09-27  David S. Miller  <davem@davemloft.net>
35051
35052         [BZ #14376]
35053         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
35054         pass reloc->r_addend in as the 'high' argument to
35055         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
35056
35057         * sysdeps/sparc/fpu/libm-test-ulps: Update.
35058
35059 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
35060
35061         * rt/tst-aio2.c: Include <pthread.h>.
35062         * rt/tst-aio3.c: Likewise.
35063
35064 2012-09-27  Steve Ellcey  <sellcey@mips.com>
35065
35066         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
35067
35068 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
35069
35070         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
35071         contents on [SHARED].
35072
35073 2012-09-26  Marek Polacek  <polacek@redhat.com>
35074
35075         [BZ #14530]
35076         [BZ #13741]
35077         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
35078         for C++ and GCC <4.3 as well as for non GCC compilers.
35079
35080 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
35081
35082         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
35083
35084 2012-09-25  Roland McGrath  <roland@hack.frob.com>
35085
35086         * Makefile.in (all, install): Declare with .PHONY.
35087         Reported by Michael Hope <michael.hope@linaro.org>.
35088
35089 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
35090
35091         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
35092         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
35093         system header.
35094         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
35095         Likewise.
35096         (sydep_routines): Add the new and the internal functions.
35097         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
35098         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
35099         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
35100         (GLIBC_2.17): Add the new function.
35101         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
35102         (GLIBC_2.17): Likewise.
35103         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
35104         (GLIBC_2.17): Likewise.
35105         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
35106         (GLIBC_2.17): Likewise.
35107         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
35108
35109 2012-09-25  Alan Modra  <amodra@gmail.com>
35110
35111         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
35112         Add release barrier before setting once_control to say
35113         initialisation is done.  Add hints on lwarx.  Use macro in
35114         place of isync.
35115         (clear_once_control): Add release barrier.
35116
35117 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
35118
35119         [BZ #13629]
35120         * math/s_clog.c (__clog): Handle more values close to |z| = 1
35121         specially.
35122         * math/s_clog10.c (__clog10): Likewise.
35123         * math/s_clog10f.c (__clog10f): Likewise.
35124         * math/s_clog10l.c (__clog10l): Likewise.
35125         * math/s_clogf.c (__clogf): Likewise.
35126         * math/s_clogl.c (__clogl): Likewise.
35127         * math/Makefile (libm-calls): Add x2y2m1.
35128         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
35129         (__x2y2m1): Likewise.
35130         (__x2y2m1l): Likewise.
35131         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
35132         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
35133         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
35134         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
35135         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
35136         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
35137         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
35138         * sysdeps/i386/fpu/libm-test-ulps: Update.
35139         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35140
35141         [BZ #14621]
35142         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
35143         int as type of variable DEPTH.
35144         (glob): Use size_t instead of int as type of variables NEWCOUNT
35145         and OLD_PATHC.
35146
35147 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
35148
35149         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
35150         Add s_sincosf-sse2.
35151         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
35152         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
35153         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
35154         macros for using routine as __sincosf_ia32.
35155         Use macro for function declaration and weak_alias.
35156         * sysdeps/i386/fpu/libm-test-ulps: Update.
35157
35158         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
35159         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
35160
35161         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
35162         subnormal argument.
35163         * math/s_cexpf.c (__cexpf): Likewise.
35164         * math/s_csinf.c (__csinf): Likewise.
35165         * math/s_csinhf.c (__csinhf): Likewise.
35166         * math/s_ctanf.c (__ctanf): Likewise.
35167         * math/s_ctanhf.c (__ctanhf): Likewise.
35168         * math/s_ccosh.c (__ccoshf): Likewise.
35169         * math/s_cexp.c (__cexpl): Likewise.
35170         * math/s_csin.c (__csin): Likewise.
35171         * math/s_csinh.c (__csinh): Likewise.
35172         * math/s_ctan.c (__ctan): Likewise.
35173         * math/s_ctanh.c (ctanh): Likewise.
35174         * math/s_ccoshl.c (__ccoshl): Likewise.
35175         * math/s_cexpl.c (__cexpl): Likewise.
35176         * math/s_csinl.c (__csinl): Likewise.
35177         * math/s_csinhl.c (__csinhl): Likewise.
35178         * math/s_ctanl.c (__ctanl): Likewise.
35179         * math/s_ctanhl.c (__ctanhl): Likewise.
35180
35181 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
35182
35183         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
35184         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
35185         (_IO_off_t): Define to __off_t, not _G_off_t.
35186         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
35187         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
35188         (_IO_wint_t): Define to wint_t, not _G_wint_t.
35189         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
35190         type of __dummy and __dummy2 fields.
35191         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
35192         (_G_ssize_t): Likewise.
35193         (_G_off_t): Likewise.
35194         (_G_pid_t): Likewise.
35195         (_G_uid_t): Likewise.
35196         (_G_wchar_t): Likewise.
35197         (_G_wint_t): Likewise.
35198         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
35199         (_G_ssize_t): Likewise.
35200         (_G_off_t): Likewise.
35201         (_G_pid_t): Likewise.
35202         (_G_uid_t): Likewise.
35203         (_G_wchar_t): Likewise.
35204         (_G_wint_t): Likewise.
35205         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
35206         (_G_ssize_t): Likewise.
35207         (_G_off_t): Likewise.
35208         (_G_pid_t): Likewise.
35209         (_G_uid_t): Likewise.
35210         (_G_wchar_t): Likewise.
35211         (_G_wint_t): Likewise.
35212
35213 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
35214
35215         * malloc/arena.c: Include malloc-sysdep.h.
35216         (shrink_heap): Use check_may_shrink_heap to decide if madvise
35217         is sufficient to shrink the heap or an unmap is needed.
35218         * sysdeps/generic/malloc-sysdep.h: New file.  Define
35219         new function check_may_shrink_heap.
35220         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
35221         new function check_may_shrink_heap.
35222
35223 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
35224
35225         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
35226         comments.
35227
35228 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
35229
35230         * catgets/test-gencat.sh: Add "set -e".
35231         * elf/tst-pathopt.sh: Likewise.
35232         * grp/tst_fgetgrent.sh: Likewise.
35233         * iconvdata/run-iconv-test.sh: Likewise.
35234         * intl/tst-gettext.sh: Likewise.
35235         * intl/tst-gettext2.sh: Likewise.
35236         * intl/tst-gettext4.sh: Likewise.
35237         * intl/tst-gettext6.sh: Likewise.
35238         * intl/tst-translit.sh: Likewise.
35239         * io/ftwtest-sh: Likewise.
35240         * libio/test-freopen.sh: Likewise.
35241         * malloc/tst-mtrace.sh: Likewise.
35242         * posix/globtest.sh: Likewise.
35243         * posix/tst-getconf.sh: Likewise.
35244         * posix/wordexp-tst.sh: Likewise.
35245         * stdio-common/tst-printf.sh: Likewise.
35246         * stdio-common/tst-unbputc.sh: Likewise.
35247         * stdlib/tst-fmtmsg.sh: Likewise.
35248         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
35249         * catgets/Makefile: Do not specify -e option when running
35250         testsuite shell scripts.
35251         * elf/Makefile: Likewise.
35252         * grp/Makefile: Likewise.
35253         * iconvdata/Makefile: Likewise.
35254         * intl/Makefile: Likewise.
35255         * io/Makefile: Likewise.
35256         * libio/Makefile: Likewise.
35257         * malloc/Makefile: Likewise.
35258         * posix/Makefile: Likewise.
35259         * stdio-common/Makefile: Likewise.
35260         * stdlib/Makefile: Likewise.
35261         * sysdeps/x86_64/Makefile: Likewise.
35262
35263         * io/ftwtest-sh: Add copyright header.
35264         * posix/globtest.sh: Likewise.
35265         * posix/tst-getconf.sh: Likewise.
35266         * posix/wordexp-tst.sh: Likewise.
35267         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
35268
35269 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
35270
35271         [BZ #13679]
35272         * Makeconfig (+link): Defined as $(+link-static) if
35273         $(build-shared) isn't yes.
35274         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
35275         isn't yes.
35276         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
35277
35278         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
35279
35280         [BZ #14562]
35281         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
35282         new chunk size with MALLOC_ALIGN_MASK.
35283
35284 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
35285
35286         [BZ #5044]
35287         * stdio-common/printf_fphex.c: Include <stdbool.h> and
35288         <rounding-mode.h>.
35289         (__printf_fphex): Determine rounding using get_rounding_mode and
35290         round_away.
35291         * stdio-common/tst-printf-round.c (struct hex_test): New
35292         structure.
35293         (hex_tests): New variable.
35294         (test_hex_in_one_mode): New function.
35295         (do_test): Also run tests for hex float output.
35296
35297 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
35298
35299         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
35300         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
35301         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
35302         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
35303         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
35304         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
35305         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
35306         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
35307
35308 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
35309
35310         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
35311         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
35312         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
35313         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
35314
35315 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
35316
35317         [BZ #14579]
35318         * elf/rtld.c (dl_main): Limit the check for self loading to normal
35319         mode only.
35320         * elf/tst-rtld-load-self.sh: New test.
35321         * elf/Makefile: Run it.
35322
35323 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
35324
35325         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
35326         (tst-writev-ENV): Remove.
35327         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
35328
35329 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
35330
35331         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
35332
35333 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
35334
35335         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
35336         unconditional.
35337         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
35338         Likewise.
35339         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
35340         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
35341         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
35342         Likewise.
35343
35344 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
35345
35346         [BZ #14587]
35347         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
35348         * config.make.in (have-cpp-asm-debuginfo): Removed.
35349         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
35350         * configure: Regenerated.
35351
35352 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
35353
35354         [BZ #5044]
35355         * stdio-common/printf_fp.c: Include <stdbool.h> and
35356         <rounding-mode.h>.
35357         (___printf_fp): Determine rounding using get_rounding_mode and
35358         round_away.
35359         * stdio-common/tst-printf-round.c: New file.
35360         * stdio-common/Makefile (tests): Add tst-printf-round.
35361         (link-libm): New variable.
35362         ($(objpfx)tst-printf-round): Depend in $(link-libm).
35363
35364 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
35365
35366         [BZ #14576]
35367         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
35368         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
35369         Likewise.
35370         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
35371         Likewise.
35372
35373 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
35374
35375         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
35376         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
35377         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
35378         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
35379
35380 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
35381
35382         [BZ #14518]
35383         * include/rounding-mode.h: New file.
35384         * sysdeps/generic/get-rounding-mode.h: Likewise.
35385         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
35386         * stdlib/strtod_l.c: Include <rounding-mode.h>.
35387         (MAX_VALUE): New macro.
35388         (MIN_VALUE): Likewise.
35389         (overflow_value): New function.
35390         (underflow_value): Likewise.
35391         (round_and_return): Use overflow_value and underflow_value to
35392         determine return values in overflow and underflow cases.  Use
35393         round_away to determine rounding depending on rounding mode.
35394         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
35395         determine return values in overflow and underflow cases.
35396         * stdlib/tst-strtod-round.c: Include <fenv.h>.
35397         (struct test_results): New structure.
35398         (struct test): Use struct test_results to store expected results
35399         for all rounding modes.
35400         (TEST): Include expected results for all rounding modes.
35401         (test_in_one_mode): New function.
35402         (do_test): Use test_in_one_mode to compute and check results.
35403         Check results for all rounding modes.
35404         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
35405         $(link-libm).
35406
35407 2012-12-09  Allan McRae  <allan@archlinux.org>
35408
35409         * sysdeps/i386/fpu/libm-test-ulps: Update
35410
35411 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
35412
35413         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
35414         (_G_int32_t): Likewise.
35415         (_G_uint16_t): Likewise.
35416         (_G_uint32_t): Likewise.
35417         (_G_HAVE_BOOL): Likewise.
35418         (_G_HAVE_ATEXIT): Likewise.
35419         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
35420         (_G_HAVE_IO_FILE_OPEN): Likewise.
35421         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
35422         (_G_int32_t): Likewise.
35423         (_G_uint16_t): Likewise.
35424         (_G_uint32_t): Likewise.
35425         (_G_HAVE_BOOL): Likewise.
35426         (_G_HAVE_ATEXIT): Likewise.
35427         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
35428         (_G_HAVE_IO_FILE_OPEN): Likewise.
35429         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
35430         (_G_int32_t): Likewise.
35431         (_G_uint16_t): Likewise.
35432         (_G_uint32_t): Likewise.
35433         (_G_HAVE_BOOL): Likewise.
35434         (_G_HAVE_ATEXIT): Likewise.
35435         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
35436         (_G_HAVE_IO_FILE_OPEN): Likewise.
35437
35438 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
35439
35440         * csu/libc-tls.c: Update copyright years.
35441
35442 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
35443
35444         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
35445         [!_G_USING_THUNKS]: Remove conditional code.
35446         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
35447         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
35448
35449         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
35450         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
35451         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
35452         (_G_VTABLE_LABEL_PREFIX): Likewise.
35453         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
35454         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
35455         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
35456         (_G_VTABLE_LABEL_PREFIX): Likewise.
35457         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
35458         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
35459         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
35460         (_G_VTABLE_LABEL_PREFIX): Likewise.
35461         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
35462
35463 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
35464
35465         * libio/Makefile: Include ../Makeconfig before tests.
35466         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
35467         only if $(build-shared) is yes.
35468
35469         * iconv/gconv_db.c: Update copyright years.
35470
35471 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
35472
35473         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
35474         unwind info if defined PIC. Fix special cases description.
35475         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
35476
35477         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
35478         DP_HI_MASK entry.
35479         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
35480
35481 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
35482
35483         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
35484
35485         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
35486         is NULL.
35487
35488         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
35489         (LDLIBS-tst-chk4): This.
35490         (LDFLAGS-tst-chk5): Renamed to ...
35491         (LDLIBS-tst-chk5): This.
35492         (LDFLAGS-tst-chk6): Renamed to ...
35493         (LDLIBS-tst-chk6): This.
35494         (LDFLAGS-tst-lfschk4): Renamed to ...
35495         (LDLIBS-tst-lfschk4): This.
35496         (LDFLAGS-tst-lfschk5): Renamed to ...
35497         (LDLIBS-tst-lfschk5): This.
35498         (LDFLAGS-tst-lfschk6): Renamed to ...
35499         (LDLIBS-tst-lfschk6): This.
35500
35501         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
35502         on $(common-objpfx)soversions.mk.
35503
35504 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
35505
35506         [BZ #10014]
35507         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
35508         example host name.
35509
35510 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
35511
35512         * malloc/arena.c (arena_get_retry): New function that gets
35513         another arena for the caller to try its request on.
35514         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
35515         current arena cannot fulfill the request.
35516         (__libc_memalign): Likewise.
35517         (__libc_memalign): Likewise.
35518         (__libc_pvalloc): Likewise.
35519         (__libc_calloc): Likewise.
35520
35521 2012-09-05  John Tobey  <john.tobey@gmail.com>
35522
35523         [BZ #13542]
35524         * manual/arith.texi (Operations on Complex): Fix description
35525         of carg branch cut.
35526
35527 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
35528
35529         [BZ #10014]
35530         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
35531         host name.
35532
35533         [BZ #10038]
35534         * manual/memory.texi (Memory): Make order of menu items match
35535         order of sections.
35536
35537 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
35538
35539         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
35540         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
35541         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
35542
35543 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
35544
35545         * csu/libc-tls.c (static_dtv): Renamed to ...
35546         (_dl_static_dtv): This.  Make it global.
35547         (_dl_initial_dtv): Removed.
35548         (__libc_setup_tls): Updated.
35549         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
35550         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
35551         DL_INITIAL_DTV.
35552
35553 2012-09-06  Petr Machata  <pmachata@redhat.com>
35554
35555         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
35556         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
35557         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
35558         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
35559
35560 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
35561
35562         [BZ #14545]
35563         * csu/libc-tls.c (_dl_initial_dtv): New variable.
35564         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
35565         freeing dtv[-1].
35566
35567 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
35568
35569         [BZ #14544]
35570         * Makeconfig (link-static-before-libc): Replace $(+prector)
35571         with $(+prectorT).
35572         (link-static-after-libc): Replace $(+postctor) with
35573         $(+postctorT).
35574         (link-bounded): Replace $(+prector)/$(+postctor) with
35575         $(+prectorT)/$(+postctorT).
35576         (+prectorT): New macro.
35577         (+postctorT): Likewise.
35578
35579 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
35580
35581         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
35582         (round_str): Handle values above the maximum for IBM long double
35583         as inexact.
35584         * stdlib/tst-strtod-round.c (tests): Regenerated.
35585
35586 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
35587
35588         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
35589         assembler flag.
35590         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
35591         zarch_nohighgprs around the zarch optimized routines.
35592         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
35593         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
35594         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
35595         for zarch.
35596
35597 2012-09-05  David S. Miller  <davem@davemloft.net>
35598
35599         * sysdeps/sparc/fpu/libm-test-ulps: Update.
35600
35601         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
35602         (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
35603         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
35604         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
35605         entries.
35606
35607 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
35608
35609         * malloc/arena.c: Fold copyright years.
35610         * malloc/mcheck.c, malloc/memusage.c: Likewise.
35611
35612 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
35613
35614         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
35615
35616 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
35617
35618         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
35619
35620 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
35621
35622         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
35623         change internal state upon failure.
35624
35625 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
35626
35627         * malloc/mcheck.c (mcheck_check_all): Fix typo.
35628         * malloc/memusage.c (mmap): Likewise.
35629         (mmap64, mremap): Likewise.  Adjust name in comment.
35630
35631 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
35632
35633         * libio/fileops.c: Fix typos in comments.
35634         * libio/oldfileops.c: Likewise.
35635         * libio/wfileops.c: Likewise.
35636
35637 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
35638
35639         [BZ #1349]
35640         * malloc/Makefile (tests): Add tst-malloc-usable test case.
35641         (tst-malloc-usable-ENV): Set environment for test case.
35642         * malloc/hooks.c (malloc_check_get_size): New function to get
35643         requested size.
35644         * malloc/malloc.c (musable): Use malloc_check_get_size.
35645         * malloc/tst-malloc-usable.c: New test case.
35646
35647 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
35648
35649         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
35650
35651 2012-09-05  Allan McRae  <allan@archlinux.org>
35652
35653         [BZ #13966]
35654         * configure.in (CXX_SYSINCLUDES): Use compiler output to
35655         determine header location.
35656         * configure: Regenerated.
35657
35658 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
35659
35660         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
35661         float format.
35662         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
35663         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
35664         format.
35665         (test): Regenerate.
35666
35667 2012-09-04  David S. Miller  <davem@davemloft.net>
35668
35669         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
35670         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
35671         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
35672
35673 2012-09-04  Florian Weimer  <fweimer@redhat.com>
35674
35675         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
35676         failures.
35677
35678         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
35679
35680 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
35681
35682         [BZ #9914]
35683         * libio/iogetdelim.c: Include <limits.h>.
35684         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
35685         + len + 1 would overflow.
35686
35687 2012-09-03  Andreas Jaeger  <aj@suse.de>
35688
35689         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
35690         * sysdeps/i386/fpu/libm-test-ulps: Update.
35691
35692 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
35693
35694         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
35695         Add s_sinf-sse2, s_conf-sse2.
35696
35697         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
35698         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
35699         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
35700         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
35701
35702         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
35703         for using routine as __sinf_ia32.
35704         Use macro for function declaration and weak_alias.
35705         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
35706         for using routine as __cosf_ia32.
35707         Use macro for function declaration and weak_alias.
35708
35709         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
35710         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
35711
35712         * sysdeps/x86_64/fpu/s_sinf.S: New file.
35713         * sysdeps/x86_64/fpu/s_cosf.S: New file.
35714         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
35715
35716         * math/libm-test.inc (cos_test): Add more test cases.
35717         (sin_test): Likewise.
35718         (sincos_test): Likewise.
35719
35720 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
35721
35722         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
35723         (IFUNC_RESOLVE): Make pointers to the specialized implementations
35724         hidden.
35725         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
35726
35727 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
35728
35729         [BZ #14538]
35730         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
35731         first element of the GOT.
35732         (elf_machine_load_address): Return the difference between
35733         the runtime address of _DYNAMIC and elf_machine_dynamic ().
35734
35735 2012-09-01  Allan McRae  <allan@archlinux.org>
35736
35737         [BZ #13412]
35738         * configure.in (AWK): Require gawk version 3.0 or later.
35739         * configure: Regenerated.
35740
35741 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
35742
35743         * sysdeps/unix/sysv/linux/kernel-features.h
35744         (__ASSUME_POSIX_CPU_TIMERS): Remove.
35745         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
35746         [__NR_clock_getres]: Make code unconditional.
35747         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
35748         (clock_getcpuclockid): Remove code left unreachable by removal of
35749         conditionals.
35750         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
35751         code unconditional.
35752         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
35753         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
35754         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
35755         Make code unconditional.
35756         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
35757         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
35758         * sysdeps/unix/sysv/linux/clock_settime.c
35759         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
35760         conditional code.
35761         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
35762         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
35763
35764 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
35765
35766         [BZ #14476]
35767         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
35768         scripts/test-installation.pl.
35769
35770         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
35771         and $ld_so_version if it is set.
35772
35773 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
35774
35775         [BZ #14516]
35776         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
35777         failure if reading from procfs failed.
35778         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
35779
35780 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
35781
35782         * sysdeps/unix/sysv/linux/kernel-features.h
35783         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
35784         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
35785         Remove conditional code.
35786         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
35787         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
35788         Remove conditional code.
35789         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
35790         * sysdeps/unix/sysv/linux/i386/fxstat.c
35791         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
35792         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
35793         * sysdeps/unix/sysv/linux/i386/fxstatat.c
35794         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
35795         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
35796         * sysdeps/unix/sysv/linux/i386/lxstat.c
35797         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
35798         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
35799         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
35800         Remove conditional code.
35801         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
35802         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
35803         Remove conditional code.
35804         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
35805         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
35806         <kernel-features.h>.
35807         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
35808         Remove.
35809         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
35810         Remove conditional code.
35811         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
35812         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
35813         Remove conditional.
35814
35815 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
35816
35817         [BZ #5400]
35818         * NEWS: Add fixed bug number.
35819
35820 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
35821
35822         [BZ #14519]
35823         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
35824         underflowing exponent in case of negative sign.
35825         * stdlib/tst-strtod-round-data: Add more tests.
35826         * stdlib/tst-strtod-round.c (tests): Regenerated.
35827
35828         [BZ #3479]
35829         * stdlib/strtod_l.c (NDIG): Remove.
35830         (HEXNDIG): Likewise.
35831         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
35832         smallest representable value.
35833         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
35834         lie within an exact representation of 1/2 ulp of the result.
35835         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
35836         unconditionally.
35837         (TENS_P9_IDX): Define unconditionally.
35838         (TENS_P9_SIZE): Likewise.
35839         (TENS_P10_IDX): Likewise.
35840         (TENS_P10_SIZE): Likewise.
35841         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
35842         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
35843         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
35844         entries for 10^2^13 and 10^2^14.
35845         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
35846         (TENS_P13_IDX): Define.
35847         (TENS_P13_SIZE): Likewise.
35848         (TENS_P14_IDX): Likewise.
35849         (TENS_P14_SIZE): Likewise.
35850         (_fpioconst_pow10): Change array size to
35851         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
35852         unconditional.
35853         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
35854         1024]: Add entries for 10^2^13 and 10^2^14.
35855         [LAST_POW10 > _LAST_POW10]: Remove #error.
35856         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
35857         (_fpioconst_pow10): Change array size to
35858         FPIOCONST_POW10_ARRAY_SIZE.
35859         * stdlib/gen-fpioconst.c: New file.
35860         * stdlib/gen-tst-strtod-round.c: Likewise.
35861         * stdlib/tst-strtod-round-data: Likewise.
35862         * stdlib/tst-strtod-round.c: Likewise.
35863         * stdlib/Makefile (tests): Add tst-strtod-round.
35864
35865         [BZ #14459]
35866         * stdlib/strtod_l.c: Include <stdint.h>.
35867         (NDEBUG): Do not define.
35868         (round_and_return): Change EXPONENT parameter to type intmax_t.
35869         Rearrange calculations to avoid internal overflow possibilities.
35870         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
35871         Rearrange calculations to avoid internal overflow possibilities.
35872         Assert that number fits inside MPNSIZE limbs.
35873         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
35874         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
35875         calculations and add assertions to avoid internal overflow
35876         possibilities.  Add casts to avoid signed/unsigned operations.
35877         * stdlib/tst-strtod-overflow.c: New file.
35878         * stdlib/Makefile (tests): Add tst-strtod-overflow.
35879
35880 2012-08-25  Marek Polacek  <polacek@redhat.com>
35881
35882         * time/time.h: Fix some typos in comments.
35883
35884 2012-08-23  Roland McGrath  <roland@hack.frob.com>
35885
35886         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
35887         * posix/tst-rfc3484-2.c: Likewise.
35888         * posix/tst-rfc3484-3.c: Likewise.
35889
35890 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
35891
35892         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
35893         (EF_ARM_ABI_FLOAT_HARD): Likewise.
35894
35895 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
35896
35897         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
35898         #include of fxstatat64.c.
35899
35900 2012-08-22  Roland McGrath  <roland@hack.frob.com>
35901
35902         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
35903         * shadow/getspent_r.c: Likewise.
35904         * shadow/getspnam.c: Likewise.
35905         * shadow/getspnam_r.c: Likewise.
35906         * gshadow/getsgent.c: Likewise.
35907         * gshadow/getsgent_r.c: Likewise.
35908         * gshadow/getsgnam.c: Likewise.
35909         * gshadow/getsgnam_r.c: Likewise.
35910         * inet/getnetbyad.c: Likewise.
35911         * inet/getnetbyad_r.c: Likewise.
35912         * inet/getnetbynm.c: Likewise.
35913         * inet/getnetbynm_r.c: Likewise.
35914         * inet/getnetent.c: Likewise.
35915         * inet/getnetent_r.c: Likewise.
35916         * inet/getproto.c: Likewise.
35917         * inet/getproto_r.c: Likewise.
35918         * inet/getprtent.c: Likewise.
35919         * inet/getprtent_r.c: Likewise.
35920         * inet/getprtname.c: Likewise.
35921         * inet/getprtname_r.c: Likewise.
35922         * inet/getrpcbyname.c: Likewise.
35923         * inet/getrpcbyname_r.c: Likewise.
35924         * inet/getrpcbynumber.c: Likewise.
35925         * inet/getrpcbynumber_r.c: Likewise.
35926         * inet/getrpcent.c: Likewise.
35927         * inet/getrpcent_r.c: Likewise.
35928         * inet/getaliasent.c: Likewise.
35929         * inet/getaliasent_r.c: Likewise.
35930         * inet/getaliasname.c: Likewise.
35931         * inet/getaliasname_r.c: Likewise.
35932         * nscd/getgrgid_r.c: Likewise.
35933         * nscd/getgrnam_r.c: Likewise.
35934         * nscd/gethstbyad_r.c: Likewise.
35935         * nscd/gethstbynm3_r.c: Likewise.
35936         * nscd/getpwnam_r.c: Likewise.
35937         * nscd/getpwuid_r.c: Likewise.
35938         * nscd/getsrvbynm_r.c: Likewise.
35939         * nscd/getsrvbypt_r.c: Likewise.
35940         * nscd/gai.c: Likewise.
35941
35942         * configure.in (build_nscd): New substituted variable, set
35943         by --disable-build-nscd and defaults to $use_nscd.
35944         * configure: Regenerated.
35945         * config.make.in (build-nscd): New substituted variable.
35946         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
35947         Change conditional to require [$(build-nscd) = yes] as well.
35948         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
35949
35950         [BZ# 13696]
35951         * configure.in (use_nscd): New substituted variable, set by
35952         --disable-nscd.  If enabled, define USE_NSCD.
35953         * configure: Regenerated.
35954         * config.h.in: Add USE_NSCD.
35955         * config.make.in (use-nscd): New substituted variable.
35956         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
35957         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
35958         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
35959         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
35960         (CFLAGS-getgrnam_r.c): Likewise.
35961         (CFLAGS-initgroups.c): Likewise.
35962         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
35963         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
35964         Variables removed.
35965         * inet/getnetgrent_r.c
35966         (nscd_setnetgrent): New function, broken out of ...
35967         (setnetgrent): ... here.  Call it.
35968         (innetgr): Conditionalize nscd bits on [USE_NSCD].
35969         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
35970         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
35971         * nscd/Makefile (routines, aux): Move definitions after include of
35972         Makeconfig.  Conditionalize on [$(use-nscd) != no].
35973         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
35974         Conditionalize on [USE_NSCD].
35975         (is_nscd, nscd_init_cb): Likewise.
35976         (nss_load_library): Conditionalize init callback on [USE_NSCD].
35977         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
35978         * nss/nss_db/db-init.c: Likewise.
35979         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
35980         [USE_NSCD].
35981         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
35982         (make_request): Use it.
35983         (cache_valid_p): New function.
35984         (__check_pf): Use it.
35985         * NEWS: Add item for --disable-nscd.
35986
35987 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
35988
35989         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
35990         to support sed >= 4.2.1-20-ga9bf076.
35991         * configure: Regenerated.
35992
35993 2012-08-22  Roland McGrath  <roland@hack.frob.com>
35994
35995         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
35996         Conditionalize whole body on [IREL].
35997
35998 2012-08-22  Jeff Law <law@redhat.com>
35999
36000         [BZ #14505]
36001         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
36002         if the family is PF_UNSPEC.
36003
36004 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
36005
36006         * Makerules (lib-version): Rename from V.
36007         (install-lib-nosubdir): Change V to lib-version.
36008
36009 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
36010
36011         [BZ #14252]
36012         * powerpc32/power6/wcschr.c: New file.
36013         * powerpc32/power6/wcscpy.c: New file.
36014         * powerpc32/power6/wcsrchr.c: New file.
36015         * powerpc64/power6/wcschr.c: New file.
36016         * powerpc64/power6/wcscpy.c: New file.
36017         * powerpc64/power6/wcsrchr.c: New file.
36018
36019 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
36020
36021         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
36022         (two_way_short_needle): Use it.
36023         * string/strstr.c (AVAILABLE1_USES_J): Define.
36024         * string/strcasestr.c: Likewise.
36025
36026         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
36027         array references.
36028         * string/strcasestr.c (TOLOWER): Make side-effect safe.
36029
36030         [BZ #11607]
36031         * NEWS: Add an entry.
36032         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
36033         define their defaults.
36034         (two_way_short_needle): Detect end-of-string on-the-fly.
36035         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
36036         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
36037         * string/bug-strcasestr1.c: New test.
36038         * string/Makefile: Run it.
36039
36040 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
36041
36042         [BZ #11607]
36043         * string/str-two-way.h (two_way_short_needle): Optimize matching of
36044         the first character.
36045
36046 2012-08-21  Roland McGrath  <roland@hack.frob.com>
36047
36048         * csu/elf-init.c (__libc_csu_irel): Function removed.
36049         * csu/libc-start.c (apply_irel): New function.
36050         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
36051
36052 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
36053
36054         * sysdeps/unix/sysv/linux/kernel-features.h
36055         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
36056         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
36057         <kernel-features.h>.
36058         [__NR_fadvise64_64]: Make code unconditional.
36059         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
36060         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
36061         !__NR_fadvise64_64)]: Likewise.
36062         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
36063         !__NR_fadvise64_64))]: Likewise.
36064         [__NR_fadvise64]: Make code unconditional.
36065         [!__NR_fadvise64]: Remove conditional code.
36066         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
36067         <kernel-features.h>.
36068         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
36069         unconditional.
36070         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
36071         conditional code.
36072         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
36073         not include <kernel-features.h>.
36074         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
36075         unconditional.
36076         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
36077         conditional code.
36078         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
36079         include <kernel-features.h>.
36080         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
36081         unconditional.
36082         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
36083         conditional code.
36084
36085 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
36086
36087         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
36088         slight instruction rearrangements per scrollpipe analysis.
36089         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
36090
36091 2012-08-20  Roland McGrath  <roland@hack.frob.com>
36092
36093         * manual/syslog.texi (syslog; vsyslog, closelog):
36094         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
36095         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
36096
36097         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
36098         DSOCAPS to match condition on defining it.
36099
36100 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
36101
36102         * sysdeps/unix/sysv/linux/kernel-features.h
36103         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
36104         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
36105         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
36106         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
36107         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
36108         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
36109         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
36110         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
36111         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
36112         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
36113
36114         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
36115         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
36116
36117         * sysdeps/unix/sysv/linux/kernel-features.h
36118         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
36119         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
36120         unconditional.
36121         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
36122         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
36123         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
36124         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
36125         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
36126         Make code unconditional.
36127         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
36128         (__mmap64) [!__NR_mmap2]: Likewise.
36129         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
36130         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
36131         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
36132         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
36133         [__NR_mmap2]: Make code unconditional.
36134         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
36135         (__mmap64) [!__NR_mmap2]: Likewise.
36136
36137 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
36138
36139         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
36140
36141 2012-08-18  Andreas Jaeger  <aj@suse.de>
36142
36143         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
36144
36145 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
36146
36147         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
36148         * include/unistd.h (__have_sock_cloexec): Likewise.
36149         (__have_pipe2): Likewise.
36150         (__have_dup3): Likewise.
36151
36152 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
36153
36154         [BZ #9685]
36155         * include/unistd.h (__have_pipe2): Change define into an extern int.
36156         (__have_dup3): Likewise.
36157         * socket/have_sock_cloexec.c: Include fcntl.h.
36158         (__have_pipe2): New variable.
36159         (__have_dup3): Likewise.
36160
36161 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
36162
36163         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
36164
36165 2012-08-17  Marek Polacek  <polacek@redhat.com>
36166
36167         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
36168         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
36169
36170 2012-08-17  Roland McGrath  <roland@hack.frob.com>
36171
36172         * configure.in: Add AC_SUBST for sysheaders.
36173         * configure: Regenerated.
36174         * config.make.in (sysheaders): New substituted variable.
36175
36176         * sysdeps/unix/mkfifo.c: Moved ...
36177         * sysdeps/posix/mkfifo.c: ... here.
36178         * sysdeps/unix/mkfifoat.c: Moved ...
36179         * sysdeps/posix/mkfifoat.c: ... here.
36180
36181         * sysdeps/unix/utime.c: Moved ...
36182         * sysdeps/posix/utime.c: ... here.
36183
36184         * sysdeps/unix/time.c: Moved ...
36185         * sysdeps/posix/time.c: ... here.
36186         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
36187         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
36188
36189         * sysdeps/unix/nice.c: Moved ...
36190         * sysdeps/posix/nice.c: ... here.
36191
36192         * sysdeps/unix/alarm.c: Moved ...
36193         * sysdeps/posix/alarm.c: ... here.
36194
36195         * intl/Makefile ($(codeset_mo)): Depend on the input file.
36196
36197 2012-08-17  Jeff Law <law@redhat.com>
36198
36199         * intl/Makefile (codeset_mo): New variable.
36200         ($(codeset_mo)): New target.
36201         (tst-codeset.out): Depend on that.  Remove explicit rule.
36202         (tst-gettext3.out, tst-gettext5.out): Likewise.
36203         (LOCPATH-ENV, tst-codeset-ENV): New variables.
36204         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
36205         * intl/tst-codeset.sh: Remove.
36206         * intl/tst-gettext3.sh: Likewise.
36207         * intl/tst-gettext5.sh: Likewise.
36208
36209 2012-08-17  Roland McGrath  <roland@hack.frob.com>
36210
36211         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
36212         * sysdeps/unix/syscalls.list: ... here.
36213
36214         * sysdeps/posix/getaddrinfo.c
36215         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
36216         (gaiconf_init, gaiconf_reload): Use them.
36217         [!_STATBUF_ST_NSEC]
36218         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
36219         Define using time_t rather than struct timespec.
36220
36221         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
36222         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
36223         Macros removed.
36224         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
36225         [!NO_THREADS].
36226         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
36227         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
36228         Likewise.
36229
36230         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
36231         __libc_cleanup_push argument.
36232
36233         * bits/param.h: New file.
36234         * misc/sys/param.h: New file.
36235         * include/sys/param.h: New file.
36236         * misc/Makefile (headers): Add bits/param.h.
36237         * sysdeps/generic/sys/param.h: File removed.
36238         * sysdeps/unix/sysv/linux/bits/param.h: New file.
36239         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
36240         * sysdeps/mach/hurd/bits/param.h: New file.
36241         * sysdeps/mach/hurd/sys/param.h: File removed.
36242
36243         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
36244         last change.
36245
36246         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
36247         [_IO_MTSAFE_IO].
36248         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
36249         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
36250         New macros.
36251
36252         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
36253         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
36254         rather than -D_IO_MTSAFE_IO conditionally.
36255         * stdio-common/Makefile (CPPFLAGS): Likewise.
36256         * wcsmbs/Makefile (CPPFLAGS): Likewise.
36257         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
36258         Use $(libio-mtsafe).
36259         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
36260         of -D_IO_MTSAFE_IO.
36261         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
36262         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
36263         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
36264         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
36265         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
36266         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
36267         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
36268         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
36269         (CFLAGS-fread_u_chk.c): Likewise.
36270         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
36271         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
36272         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
36273         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
36274         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
36275         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
36276         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
36277         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
36278         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
36279
36280         * libio/Makefile: Test [$(libc-reentrant) = yes]
36281         instead of [$(filter %REENTRANT, $(defines)) nonempty].
36282
36283         * Makeconfig
36284         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
36285         * sysdeps/pthread/configure: File removed.
36286         * sysdeps/pthread/Makeconfig: New file.
36287         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
36288         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
36289
36290 2012-08-16  Gary Benson  <gbenson@redhat.com>
36291
36292         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
36293         unmapping the first object in a namespace.
36294
36295 2012-08-16  Roland McGrath  <roland@hack.frob.com>
36296
36297         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
36298         (__internal_setnetgrent): ... this.  Add internal_function to
36299         definition.  Add libc_hidden_def.
36300         (setnetgrent): Update caller.
36301         (internal_endnetgrent): Renamed to ...
36302         (__internal_endnetgrent): ... this.  Add internal_function to
36303         definition.  Add libc_hidden_def.
36304         (endnetgrent): Update caller.
36305         (internal_getnetgrent_r): Renamed to ...
36306         (__internal_getnetgrent_r): ... this.  Add internal_function to
36307         definition.  Add libc_hidden_def.
36308         (__getnetgrent_r): Update caller.
36309         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
36310
36311 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
36312
36313         * stdlib/longlong.h: Update from GCC.
36314
36315 2012-08-16  Roland McGrath  <roland@hack.frob.com>
36316
36317         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
36318         on _QL, which is set by umul_ppmm but never used.
36319         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
36320         variables, which are set by GMP macros but never used.
36321         * stdio-common/_itowa.c (_itowa): Likewise.
36322         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
36323         * stdlib/mod_1.c (mpn_mod_1): Likewise.
36324
36325 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
36326
36327         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
36328         struct La_sh_regs is not constant.
36329         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
36330         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
36331         and struct La_sparc64_regs are not constant.
36332
36333 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
36334
36335         * sysdeps/unix/sysv/linux/kernel-features.h
36336         (__ASSUME_POSIX_TIMERS): Remove.
36337         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
36338         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
36339         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
36340         Make code unconditional.
36341         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
36342         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
36343         Make code unconditional.
36344         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
36345         * sysdeps/unix/sysv/linux/clock_nanosleep.c
36346         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
36347         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
36348         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
36349         Make code unconditional.
36350         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
36351         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
36352         (__libc_missing_posix_timers): Remove.
36353
36354 2012-08-15  Roland McGrath  <roland@hack.frob.com>
36355
36356         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
36357         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
36358
36359         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
36360
36361         * elf/dl-sym.c: Include <stdlib.h>.
36362
36363         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
36364         constants, which avoids warnings in 32-bit builds.
36365
36366         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
36367         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
36368
36369         * misc/lseek.c: File moved to ...
36370         * io/lseek.c: ... here.
36371
36372         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
36373
36374         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
36375         shifting LEN more than 31 bits at once.
36376
36377 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
36378
36379         [BZ #14195]
36380         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
36381         segmentation fault for a case of two empty input strings.
36382         * string/test-strncasecmp.c (check1): Renamed to...
36383         (bz12205): ...this.
36384         (bz14195): Add new testcase for two empty input strings and N > 0.
36385         (test_main): Call new testcase, adapt for renamed function.
36386
36387 2012-08-15  Andreas Jaeger  <aj@suse.de>
36388
36389         [BZ #14090]
36390         * crypt/md5test2.c: New test, based on test supplied by Serge
36391         Belyshev <belyshev@depni.sinp.msu.ru>.
36392         * crypt/Makefile (xtests): Add md5test-giant..
36393         * crypt/Makefile ($(objpfx)md5test-giant): Add.
36394
36395 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
36396
36397         [BZ #14090]
36398         * crypt/md5.c (md5_process_block): Don't assume the buffer
36399         length is less than 2**32.
36400         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
36401         length is less than 2**64.
36402
36403 2012-08-15  Roland McGrath  <roland@hack.frob.com>
36404
36405         * string/str-two-way.h: Include <sys/param.h>.
36406         (MAX): Macro removed.
36407
36408         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
36409         Move #define and #undef of memmove to just before and after
36410         including <string.h>.
36411
36412         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
36413         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
36414         and after including <string.h>.  Move declarations of
36415         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
36416         to before #include "string/memmove.c".
36417
36418         * include/dirent.h: Declare __getdirentries.
36419
36420         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
36421         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
36422
36423 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
36424
36425         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
36426         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
36427         * sysdeps/i386/configure: Regenerated.
36428         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
36429         STABS_CURRENT_FILE, and STABS_FUN.
36430         (END): Remove call to STABS_FUN_END.
36431         (STABS_CURRENT_FILE1): Delete.
36432         (STABS_CURRENT_FILE): Likewise.
36433         (STABS_FUN): Likewise.
36434         (STABS_FUN_END): Likewise.
36435         (STABS_FUN2): Likewise.
36436         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
36437         * sysdeps/x86_64/configure: Regenerated.
36438
36439 2012-08-14  Roland McGrath  <roland@hack.frob.com>
36440
36441         * elf/dl-open.c: Include <atomic.h>.
36442         * elf/dl-lookup.c: Likewise.
36443
36444 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
36445
36446         * sysdeps/unix/sysv/linux/kernel-features.h
36447         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
36448         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
36449         unconditionally.
36450         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
36451         unconditionally.
36452         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
36453         condition on __ASSUME_CLONE_THREAD_FLAGS.
36454
36455 2012-08-14  Andreas Jaeger  <aj@suse.de>
36456
36457         * sysdeps/i386/fpu/libm-test-ulps: Update.
36458
36459 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
36460
36461         * include/atomic.h (atomic_exchange_and_add): Split into ...
36462         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
36463         New atomic macros.
36464
36465 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
36466
36467         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
36468
36469 2012-08-13  Jeff Law <law@redhat.com>
36470
36471         * manual/stdio.texi (snprintf): Clarify handling of the trailing
36472         null byte in the output string.
36473
36474 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
36475
36476         * sysdeps/unix/sysv/linux/kernel-features.h
36477         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
36478         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
36479         (__ASSUME_ARG_MAX_STACK_BASED): Define.
36480         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
36481         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
36482         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
36483         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
36484
36485 2012-08-09  Jeff Law <law@redhat.com>
36486
36487         [BZ #13939]
36488         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
36489         When avoid_arena is set, don't retry in the that arena.  Pick the
36490         next one, whatever it might be.
36491         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
36492         (arena_lock): Pass in new parameter to arena_get2.
36493         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
36494         arena_get2.
36495         (__libc_malloc): Unify retrying after main arena failure with
36496         __libc_memalign version.
36497         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
36498
36499 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
36500
36501         [BZ #14166]
36502         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
36503         to __redirect_strstr.
36504         (__strstr_sse42): Use typeof __redirect_strstr.
36505         (__strstr_ia32): Likewise.
36506         (__libc_strstr): New prototype.
36507         (strstr): Renamed to ...
36508         (__libc_strstr): This.
36509         (strstr): New strong alias of __libc_strstr.
36510         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
36511         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
36512         __redirect_time.
36513         Include <time.h>.
36514         (__libc_time): New prototype.
36515         (time_ifunc): Replace time with __libc_time.
36516         (time): New strong alias and hidden definition of __libc_time.
36517         (__GI_time): Remove strong alias.
36518         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
36519         Include <stddef.h>.
36520         (memmove): Redefined to __redirect_memmove.
36521         (__memmove_sse2): Use typeof __redirect_memmove.
36522         (__memmove_ssse3): Likewise.
36523         (__memmove_ssse3_back): Likewise.
36524         (__libc_memmove): New prototype.
36525         (memmove): Renamed to ...
36526         (__libc_memmove): This.
36527         (memmove): New strong alias of __libc_memmove.
36528
36529 2012-08-08  Mark Salter  <msalter@redhat.com>
36530
36531         * elf/elf.h
36532         (R_MN10300_TLS_GD): Define.
36533         (R_MN10300_TLS_LD): Likewise.
36534         (R_MN10300_TLS_LDO): Likewise.
36535         (R_MN10300_TLS_GOTIE): Likewise.
36536         (R_MN10300_TLS_IE): Likewise.
36537         (R_MN10300_TLS_LE): Likewise.
36538         (R_MN10300_TLS_DTPMOD): Likewise.
36539         (R_MN10300_TLS_DTPOFF): Likewise.
36540         (R_MN10300_TLS_TPOFF): Likewise.
36541         (R_MN10300_SYM_DIFF): Likewise.
36542         (R_MN10300_ALIGN): Likewise.
36543         (R_MN10300_NUM): Update.
36544
36545 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
36546
36547         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
36548         Remove.
36549
36550 2012-08-08  Roland McGrath  <roland@hack.frob.com>
36551
36552         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
36553
36554         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
36555         sysdeps/unix -> sysdeps/posix move.
36556         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
36557
36558 2012-08-07      Allan McRae     <allan@archlinux.org>
36559
36560         [BZ #14303]
36561         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
36562         (SUNOS_CPP): Likewise.
36563         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
36564         not found.
36565         (open_input): Call CPP using execvp.
36566
36567 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
36568
36569         * sysdeps/unix/sysv/linux/kernel-features.h
36570         (__ASSUME_PROT_GROWSUPDOWN): Remove.
36571         (__ASSUME_NO_CLONE_DETACHED): Likewise.
36572         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
36573         (__ASSUME_WAITID_SYSCALL): Likewise.
36574         * sysdeps/unix/sysv/linux/dl-execstack.c
36575         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
36576         code unconditional.
36577         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
36578         conditional code.
36579         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
36580         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
36581         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
36582         code.
36583         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
36584         unconditional.
36585         [__ASSUME_WAITID_SYSCALL]: Likewise.
36586         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
36587
36588 2012-08-07  Roland McGrath  <roland@hack.frob.com>
36589
36590         * sysdeps/unix/closedir.c: Renamed to ...
36591         * sysdeps/posix/closedir.c: ... here.
36592         * sysdeps/unix/dirfd.c: Renamed to ...
36593         * sysdeps/posix/dirfd.c: ... here.
36594         * sysdeps/unix/dirstream.h: Renamed to ...
36595         * sysdeps/posix/dirstream.h: ... here.
36596         * sysdeps/unix/fdopendir.c: Renamed to ...
36597         * sysdeps/posix/fdopendir.c: ... here.
36598         * sysdeps/unix/opendir.c: Renamed to ...
36599         * sysdeps/posix/opendir.c: ... here.
36600         * sysdeps/unix/readdir.c: Renamed to ...
36601         * sysdeps/posix/readdir.c: ... here.
36602         * sysdeps/unix/readdir_r.c: Renamed to ...
36603         * sysdeps/posix/readdir_r.c: ... here.
36604         * sysdeps/unix/rewinddir.c: Renamed to ...
36605         * sysdeps/posix/rewinddir.c: ... here.
36606         * sysdeps/unix/seekdir.c: Renamed to ...
36607         * sysdeps/posix/seekdir.c: ... here.
36608         * sysdeps/unix/telldir.c: Renamed to ...
36609         * sysdeps/posix/telldir.c: ... here.
36610         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
36611         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
36612         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
36613         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
36614
36615         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
36616         * bits/fcntl.h: ... here.
36617
36618         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
36619         not 0.
36620         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
36621         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
36622         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
36623         (struct flock): Move l_start, l_len to the beginning.
36624         Use __pid_t for l_pid.
36625         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
36626         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
36627         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
36628         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
36629         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
36630         [__USE_LARGEFILE64] (struct flock64): New type.
36631         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
36632
36633         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
36634         * bits/dirent.h: ... here.
36635
36636         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
36637         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
36638
36639 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
36640
36641         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
36642         Change from 2.6.0 to 2.6.16.
36643         * sysdeps/unix/sysv/linux/configure: Regenerated.
36644         * sysdeps/unix/sysv/linux/kernel-features.h
36645         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
36646         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
36647         version.
36648         (__ASSUME_UTIMES): Likewise.
36649         (__ASSUME_CLONE_STOPPED): Remove.
36650         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
36651         architectures, not kernel version.
36652         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
36653         (__ASSUME_NO_CLONE_DETACHED): Likewise.
36654         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
36655         (__ASSUME_WAITID_SYSCALL): Likewise.
36656         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
36657         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
36658         * README: State 2.6.16 as minimum Linux kernel version.  Do not
36659         refer to older versions.
36660
36661 2012-08-06  Roland McGrath  <roland@hack.frob.com>
36662
36663         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
36664         Define alphasort64 as an alias.
36665         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
36666         Define versionsort64 as an alias.
36667         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
36668         Define scandir64 as an alias.
36669         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
36670         Define scandirat64 as an alias.
36671         * dirent/alphasort64.c (alphasort64):
36672         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
36673         * dirent/versionsort64.c: Likewise.
36674         * dirent/scandir64.c: Likewise.
36675         * dirent/scandirat64.c: Likewise.
36676         * sysdeps/wordsize-64/alphasort.c: File removed.
36677         * sysdeps/wordsize-64/alphasort64.c: File removed.
36678         * sysdeps/wordsize-64/scandir.c: File removed.
36679         * sysdeps/wordsize-64/scandir64.c: File removed.
36680         * sysdeps/wordsize-64/scandirat.c: File removed.
36681         * sysdeps/wordsize-64/scandirat64.c: File removed.
36682         * sysdeps/wordsize-64/versionsort.c: File removed.
36683         * sysdeps/wordsize-64/versionsort64.c: File removed.
36684         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
36685         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
36686         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
36687         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
36688         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
36689         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
36690         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
36691         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
36692
36693         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
36694         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
36695         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
36696         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
36697         [defined __arch64__ || defined __sparcv9]
36698         (__INO_T_MATCHES_INO64_T): New macro.
36699         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
36700         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
36701         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
36702         * sysdeps/unix/sysv/linux/bits/dirent.h
36703         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
36704         (_DIRENT_MATCHES_DIRENT64): New macro.
36705
36706         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
36707         Define lockf64 as an alias.
36708         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
36709         Define fseeko64 as an alias.
36710         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
36711         Define ftello64 as an alias.
36712         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
36713         Define _IO_fgetpos64 and fgetpos64 as aliases.
36714         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
36715         Define _IO_fsetpos64 and fsetpos64 as aliases.
36716         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
36717         Conditionalize body on this.
36718         * libio/fseeko64.c: Likewise.
36719         * libio/ftello64.c: Likewise.
36720         * libio/iofgetpos64.c: Likewise.
36721         * libio/iofsetpos64.c: Likewise.
36722         * sysdeps/wordsize-64/lockf.c: File removed.
36723         * sysdeps/wordsize-64/lockf64.c: File removed.
36724         * sysdeps/wordsize-64/fseeko.c: File removed.
36725         * sysdeps/wordsize-64/fseeko64.c: File removed.
36726         * sysdeps/wordsize-64/ftello.c: File removed.
36727         * sysdeps/wordsize-64/ftello64.c: File removed.
36728         * sysdeps/wordsize-64/iofgetpos.c: File removed.
36729         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
36730         * sysdeps/wordsize-64/iofsetpos.c: File removed.
36731         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
36732         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
36733         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
36734         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
36735         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
36736         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
36737         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
36738         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
36739         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
36740         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
36741         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
36742
36743         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
36744         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
36745         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
36746         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
36747         [defined __arch64__ || defined __sparcv9]
36748         (__OFF_T_MATCHES_OFF64_T): New macro.
36749         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
36750         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
36751         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
36752         (__OFF_T_MATCHES_OFF64_T): New macro.
36753
36754 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
36755
36756         * stdlib/secure-getenv.c (__secure_getenv): Replace
36757         GLIBC_2_16 with GLIBC_2_17.
36758
36759 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
36760
36761         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
36762         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
36763
36764 2012-08-03  David S. Miller  <davem@davemloft.net>
36765
36766         * sysdeps/sparc/fpu/libm-test-ulps: Update.
36767
36768 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
36769
36770         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
36771         Remove.
36772         (__ASSUME_CORRECT_SI_PID): Likewise.
36773         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
36774         (__ASSUME_TMPFS_NAME): Likewise.
36775         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
36776         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
36777         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
36778         (HAVE_AUX_SECURE): Make definition unconditional.
36779         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
36780         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
36781
36782 2012-08-03  Roland McGrath  <roland@hack.frob.com>
36783
36784         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
36785         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
36786         * sysdeps/mach/hurd/eloop-threshold.h: New file.
36787         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
36788         __eloop_threshold instead of SYMLOOP_MAX.
36789
36790         * sysdeps/generic/eloop-threshold.h: New file.
36791         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
36792         of MAXSYMLINKS.
36793         * elf/chroot_canon.c (chroot_canon): Likewise.
36794
36795 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
36796
36797         [BZ #13717]
36798         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
36799         Change to 2.6.0 everywhere.
36800         * sysdeps/unix/sysv/linux/configure: Regenerated.
36801         * sysdeps/unix/sysv/linux/kernel-features.h
36802         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
36803         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
36804         kernel versions.
36805         (__ASSUME_POSIX_TIMERS): Define unconditionally.
36806         (__ASSUME_FUTEX_REQUEUE): Remove.
36807         (__ASSUME_STATFS64): Define unconditionally.
36808         (__ASSUME_AT_SECURE): Likewise.
36809         (__ASSUME_CORRECT_SI_PID): Likewise.
36810         (__ASSUME_TGKILL): Define without depending on kernel version for
36811         i386.
36812         (__ASSUME_UTIMES): Likewise.
36813         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
36814         kernel version.
36815         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
36816         (__ASSUME_TMPFS_NAME): Likewise.
36817         * README: Update reference to Linux kernel versions.
36818
36819 2012-08-02  Marek Polacek  <polacek@redhat.com>
36820
36821         [BZ# 14150]
36822         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
36823         libc_cv_asm_type_prefix with %.
36824         * configure: Regenerated.
36825         * include/libc-symbols.h: Remove comment about
36826         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
36827         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
36828         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
36829         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
36830         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
36831         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
36832         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
36833         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
36834         * elf/tst-unique2mod1.c: Likewise.
36835         * elf/tst-unique1mod2.c: Likewise.
36836         * elf/tst-unique1mod1.c: Likewise.
36837         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
36838         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
36839         Replace ASM_TYPE_DIRECTIVE with .type.
36840         * sysdeps/s390/s390-64/sysdep.h: Likewise.
36841         * sysdeps/i386/sysdep.h: Likewise.
36842         * sysdeps/x86_64/sysdep.h: Likewise.
36843         * sysdeps/sh/sysdep.h: Likewise.
36844         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
36845         Do not define ASM_TYPE_DIRECTIVE.
36846         * sysdeps/powerpc/sysdep.h: Likewise.
36847         * sysdeps/powerpc/powerpc32/sysdep.h:
36848         Replace ASM_TYPE_DIRECTIVE with .type.
36849         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
36850         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
36851         * sysdeps/i386/fpu/e_powf.S: Likewise.
36852         * sysdeps/i386/fpu/e_expl.S: Likewise.
36853         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
36854         * sysdeps/i386/fpu/e_acosh.S: Likewise.
36855         * sysdeps/i386/fpu/e_pow.S: Likewise.
36856         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
36857         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
36858         * sysdeps/i386/fpu/s_expm1.S: Likewise.
36859         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
36860         * sysdeps/i386/fpu/e_log2.S: Likewise.
36861         * sysdeps/i386/fpu/e_log2l.S: Likewise.
36862         * sysdeps/i386/fpu/e_scalb.S: Likewise.
36863         * sysdeps/i386/fpu/e_powl.S: Likewise.
36864         * sysdeps/i386/fpu/e_log10f.S: Likewise.
36865         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
36866         * sysdeps/i386/fpu/e_logl.S: Likewise.
36867         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
36868         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
36869         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
36870         * sysdeps/i386/fpu/e_log2f.S: Likewise.
36871         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
36872         * sysdeps/i386/fpu/e_log.S: Likewise.
36873         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
36874         * sysdeps/i386/fpu/e_logf.S: Likewise.
36875         * sysdeps/i386/fpu/e_log10l.S: Likewise.
36876         * sysdeps/i386/fpu/e_atanh.S: Likewise.
36877         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
36878         * sysdeps/i386/fpu/e_log10.S: Likewise.
36879         * sysdeps/i386/fpu/s_frexp.S: Likewise.
36880         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
36881         * sysdeps/i386/fpu/s_asinh.S: Likewise.
36882         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
36883         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
36884         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
36885         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
36886         * sysdeps/i386/i686/strtok.S: Likewise.
36887         * sysdeps/i386/i386-mcount.S: Likewise.
36888         * sysdeps/i386/strtok.S: Likewise.
36889         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
36890         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
36891         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
36892         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
36893         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
36894         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
36895         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
36896         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
36897         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
36898         * sysdeps/x86_64/_mcount.S: Likewise.
36899         * sysdeps/x86_64/strtok.S: Likewise.
36900         * sysdeps/sh/_mcount.S: Likewise.
36901
36902 2012-08-01  Roland McGrath  <roland@hack.frob.com>
36903
36904         * libio/iofopen.c: Include <fcntl.h>.
36905         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
36906         (_IO_fopen64, fopen64): Define as aliases.
36907         * libio/iofopen64.c: Include <fcntl.h>.
36908         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
36909         Conditionalize body on this.
36910         * sysdeps/wordsize-64/iofopen.c: File removed.
36911         * sysdeps/wordsize-64/iofopen64.c: File removed.
36912
36913 2012-08-01  Marek Polacek  <polacek@redhat.com>
36914
36915         * libc/Makeconfig: Use elf in place of binfmt-subdir.
36916         Use dlfcn directly instead of a variable.
36917         (binfmt-subdir): Do not define.
36918         (dlfcn): Likewise.
36919
36920 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
36921
36922         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
36923         Remove all definitions.
36924         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
36925         <kernel-features.h>.
36926         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
36927         (miss_F_GETOWN_EX): Remove all definitions.
36928         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
36929         macro definition.
36930         [!__ASSUME_FCNTL64]: Remove conditional code.
36931         [__ASSUME_FCNTL64]: Make code unconditional.
36932         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
36933         <kernel-features.h>.
36934         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
36935         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
36936         (lockf64) [__NR_fcntl64]: Make code unconditional.
36937         (lockf64) [__ASSUME_FCNTL64]: Likewise.
36938
36939         * sysdeps/unix/sysv/linux/kernel-features.h
36940         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
36941         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
36942         Make code unconditional.
36943         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
36944         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
36945         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
36946         [__NR_vfork]: Make code unconditional.
36947         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
36948         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
36949         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
36950         [__NR_vfork]: Make code unconditional.
36951         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
36952         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
36953
36954 2012-08-01  Roland McGrath  <roland@hack.frob.com>
36955
36956         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
36957         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
36958
36959         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
36960         Define mkstemp64 as an alias.
36961         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
36962         Define mkstemps64 as an alias.
36963         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
36964         Define mkostemp64 as an alias.
36965         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
36966         Define mkostemps64 as an alias.
36967         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
36968         Conditionalize body on this.
36969         * misc/mkostemp64.c: Likewise.
36970         * misc/mkostemps64.c: Likewise.
36971         * misc/mkstemps64.c: Likewise.
36972         * sysdeps/wordsize-64/mkstemp64.c: File removed.
36973         * sysdeps/wordsize-64/mkostemp64.c: File removed.
36974         * sysdeps/wordsize-64/mkostemp.c: File removed.
36975         * sysdeps/wordsize-64/mkstemp.c: File removed.
36976         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
36977         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
36978         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
36979         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
36980
36981         [BZ #14138]
36982         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
36983         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
36984         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
36985         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
36986
36987         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
36988         compat_symbol macros from <shlib-compat.h> rather than the underlying
36989         default_symbol_version and symbol_version macros, so that DEFAULT
36990         lines in shlib-versions are respected.
36991         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
36992
36993 2012-08-01  Florian Weimer  <fweimer@redhat.com>
36994
36995         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
36996         Declare with warn_unused_result.
36997         (setgid, setregid, setegid, setresgid): Likewise.
36998         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
36999         Likewise.
37000         * WUR-REPORT: Remove set*id functions.
37001
37002 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
37003
37004         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
37005
37006 2012-07-31  Roland McGrath  <roland@hack.frob.com>
37007
37008         [BZ #10191]
37009         * include/sys/socket.h (__libc_accept, __libc_accept4):
37010         Add attribute_hidden.
37011         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
37012
37013         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
37014         use of PTR_MANGLE.
37015         * inet/getnetgrent_r.c (setup): Likewise.
37016
37017         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
37018
37019 2012-07-31  David S. Miller  <davem@davemloft.net>
37020
37021         * sysdeps/sparc/fpu/libm-test-ulps: Update.
37022
37023 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
37024
37025         [BZ #13629]
37026         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
37027         value between 1.0 and 2.0 and smaller part has absolute value less
37028         than 1.0.
37029         * math/s_clog10.c (__clog10): Likewise.
37030         * math/s_clog10f.c (__clog10f): Likewise.
37031         * math/s_clog10l.c (__clog10l): Likewise.
37032         * math/s_clogf.c (__clogf): Likewise.
37033         * math/s_clogl.c (__clogl): Likewise.
37034         * math/libm-test.inc (clog_test): Add more tests.
37035         (clog10_test): Likewise.
37036         * sysdeps/i386/fpu/libm-test-ulps: Update.
37037         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37038
37039 2012-07-31  Florian Weimer  <fweimer@redhat.com>
37040
37041         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
37042         Exit with zero in case no suitable GID is found, and write a
37043         message to standard error.
37044
37045 2012-07-30  Roland McGrath  <roland@hack.frob.com>
37046
37047         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
37048         rather than to 1.
37049         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
37050         (MAXPATHLEN): Removed.
37051         (NOGROUP, NODEV): New macros.
37052         (setbit, clrbit, isset, isclr): New macros.
37053         (howmany, roundup, powerof2): New macros.
37054         (DEV_BSIZE): New macro.
37055
37056         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
37057         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
37058
37059         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
37060         definition on [!__NO_LONG_DOUBLE_MATH].
37061
37062         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
37063         PTR_MANGLE and PTR_DEMANGLE.
37064
37065         * socket/accept4.c (accept4): Rename to __libc_accept4.
37066         Define accept4 as a weak alias.
37067
37068         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
37069         on [_DIRENT_HAVE_D_TYPE].
37070         * io/ftw.c (ftw_dir): Likewise.
37071
37072         * io/xmknod.c (__xmknod): Don't check PATH for being null.
37073
37074         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
37075
37076         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
37077         Use the BSD numbers rather than the arbitrary ones we had.
37078         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
37079         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
37080         (SIGXCPU, SIGXFSZ): New macros.
37081         (_NSIG): Now 32.
37082
37083         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
37084         initializer on [_LIBC_REENTRANT].
37085
37086         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
37087         definitions inside [_POSIX_MAPPED_FILES].
37088
37089         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
37090
37091         * dirent/opendir.c: Include <fcntl.h>.
37092
37093         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
37094         (__libc_getspecific): Likewise.
37095         (__libc_key_create): Likewise.
37096
37097         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
37098         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
37099         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
37100         (tmpfile64): Define as alias.
37101         * sysdeps/wordsize-64/tmpfile.c: File removed.
37102         * sysdeps/wordsize-64/tmpfile64.c: File removed.
37103         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
37104         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
37105
37106         * stdio-common/vfscanf.c: Include <stdbool.h>.
37107         * nss/makedb.c: Likewise.
37108         * stdio-common/_i18n_number.h: Likewise.
37109         * argp/argp-help.c: Likewise.
37110         * posix/wordexp.c: Likewise.
37111         * sysdeps/posix/spawni.c: Likewise.
37112         * nss/nss_files/files-initgroups.c: Likewise.
37113         * stdio-common/reg-modifier.c: Include <stdlib.h>.
37114         * nss/nss_files/files-initgroups.c: Likewise.
37115         * nss/nss_db/db-netgrp.c: Likewise.
37116         * nss/nss_db/db-initgroups.c: Likewise.
37117         * io/fchmodat.c: Include <sys/stat.h>.
37118
37119         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
37120         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
37121
37122         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
37123         [HAVE_MMAP].
37124
37125         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
37126         Add multiple inclusion protection.
37127
37128 2012-07-27  David S. Miller  <davem@davemloft.net>
37129
37130         * sysdeps/sparc/fpu/libm-test-ulps: Update.
37131
37132 2012-07-27  Gary Benson  <gbenson@redhat.com>
37133
37134         [BZ #14298]
37135         * elf/rtld.c: Include <stap-probe.h>.
37136         (dl_main): Added static probes "init_start" and "init_complete".
37137         * elf/dl-load.c: Include <stap-probe.h>.
37138         (lose): Take new parameter "nsid".
37139         Added static probe "map_failed".
37140         (_dl_map_object_from_fd): Pass namespace id to lose.
37141         Added static probe "map_start".
37142         (open_verify): Pass namespace id to lose.
37143         * elf/dl-open.c: Include <stap-probe.h>.
37144         (dl_open_worker) Added static probes "map_complete", "reloc_start"
37145         and "reloc_complete".
37146         * elf/dl-close.c: Include <stap-probe.h>.
37147         (_dl_close_worker): Added static probes "unmap_start" and
37148         "unmap_complete".
37149         * elf/rtld-debugger-interface.txt: New file documenting the above.
37150
37151 2012-07-26  Roland McGrath  <roland@hack.frob.com>
37152
37153         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
37154         rather than a string variable.
37155         * sunrpc/rpc_main.c (h_output): Likewise.
37156         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
37157
37158 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
37159
37160         * inet/check_native.c: New file.
37161
37162 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
37163
37164         [BZ #13629]
37165         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
37166         if larger part has absolute value 1.0.
37167         * math/s_clog10.c (__clog10): Likewise.
37168         * math/s_clog10f.c (__clog10f): Likewise.
37169         * math/s_clog10l.c (__clog10l): Likewise.
37170         * math/s_clogf.c (__clogf): Likewise.
37171         * math/s_clogl.c (__clogl): Likewise.
37172         * math/libm-test.inc (clog_test): Add more tests.
37173         (clog10_test): Likewise.
37174         * sysdeps/i386/fpu/libm-test-ulps: Update.
37175         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37176
37177         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
37178         (pltexit): Likewise.
37179         (La_regs): Likewise.
37180         (La_retval): Likewise.
37181         (int_retval): Likewise.
37182         Update #error for removed macros to refer only to definitions in
37183         tst-audit.h.
37184         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
37185         macro.
37186         (pltexit): Likewise.
37187         (La_regs): Likewise.
37188         (La_retval): Likewise.
37189         (int_retval): Likewise.
37190         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
37191         macro.
37192         (pltexit): Likewise.
37193         (La_regs): Likewise.
37194         (La_retval): Likewise.
37195         (int_retval): Likewise.
37196         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
37197         macro.
37198         (pltexit): Likewise.
37199         (La_regs): Likewise.
37200         (La_retval): Likewise.
37201         (int_retval): Likewise.
37202         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
37203         macro.
37204         (pltexit): Likewise.
37205         (La_regs): Likewise.
37206         (La_retval): Likewise.
37207         (int_retval): Likewise.
37208         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
37209         macro.
37210         (pltexit): Likewise.
37211         (La_regs): Likewise.
37212         (La_retval): Likewise.
37213         (int_retval): Likewise.
37214         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
37215         macro.
37216         (pltexit): Likewise.
37217         (La_regs): Likewise.
37218         (La_retval): Likewise.
37219         (int_retval): Likewise.
37220         * sysdeps/generic/tst-audit.h: Update comment to refer only to
37221         macro definitions in tst-audit.h.
37222         * sysdeps/i386/tst-audit.h: New file.
37223         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
37224         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
37225         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
37226         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
37227         * sysdeps/sh/tst-audit.h: Likewise.
37228         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
37229         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
37230         * sysdeps/x86_64/tst-audit.h: Likewise.
37231
37232 2012-07-26  Andreas Jaeger  <aj@suse.de>
37233
37234         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
37235         ptrace.
37236
37237         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
37238         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
37239         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
37240         PTRACE_O_MASK.
37241         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
37242         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
37243         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
37244
37245         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
37246         value.
37247
37248         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
37249         _sigsys.
37250         (si_call_addr, si_syscall, si_arch): Define new macro.
37251         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
37252         _sigsys.
37253         (si_call_addr, si_syscall, si_arch): Define new marcro.
37254         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
37255         _sigsys.
37256         (si_call_addr, si_syscall, si_arch): Define new macro.
37257         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
37258         _sigsys.
37259         (si_call_addr, si_syscall, si_arch): Define new macro.
37260
37261 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
37262
37263         [BZ #13717]
37264         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
37265         Change to 2.4.21 where previously 2.4.1.
37266         * sysdeps/unix/sysv/linux/configure: Regenerated.
37267         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
37268         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
37269         Linux kernel version.
37270         (__ASSUME_STD_AUXV): Remove.
37271         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
37272         kernel version.
37273         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
37274         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
37275         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
37276         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
37277         (__ASSUME_NETLINK_SUPPORT): Likewise.
37278         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
37279         (__no_netlink_support): Remove conditional definition.
37280         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
37281         Remove.
37282         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
37283         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
37284         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
37285         (if_nameindex_ioctl): Remove.
37286         (if_nameindex_netlink): Do not handle __no_netlink_support.
37287         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
37288         code.
37289         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
37290         Remove conditional code.
37291         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
37292         code.
37293         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
37294         unconditional.
37295         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
37296         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
37297         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
37298         Remove.
37299         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
37300         [!__ASSUME_STD_AUXV]: Remove conditional code.
37301         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
37302         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
37303         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
37304         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
37305         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
37306         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
37307         code.
37308         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
37309         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
37310         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
37311         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
37312         conditional code.
37313         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
37314         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
37315         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
37316         code.
37317         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
37318         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
37319         conditional code.
37320         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
37321         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
37322         code unconditional.
37323         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
37324         conditional code.
37325         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
37326         unconditional.
37327         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
37328         conditional code.
37329         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
37330         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
37331         unconditional.
37332         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
37333         conditional code.
37334         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
37335         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
37336         code unconditional.
37337         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
37338         conditional code.
37339         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
37340         unconditional.
37341         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
37342         conditional code.
37343         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
37344         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
37345         code unconditional.
37346         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
37347         conditional code.
37348         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
37349         unconditional.
37350         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
37351         conditional code.
37352
37353 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
37354
37355         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
37356         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
37357         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
37358         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
37359         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
37360         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
37361         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
37362         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
37363         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
37364         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
37365         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
37366         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
37367         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
37368         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
37369         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
37370         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
37371         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
37372         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
37373         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
37374         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
37375         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
37376         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
37377         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
37378
37379 2012-07-25  Florian Weimer  <fweimer@redhat.com>
37380
37381         * Versions.def: Add GLIBC_2.17.
37382         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
37383         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
37384         Introduce __libc_secure_getenv.
37385         * stdlib/Versions (2.17): Add secure_getenv
37386         (GLIBC_PRIVATE): Add __libc_secure_getenv.
37387         * stdlib/secure-getenv.c: Rename __secure_getenv to
37388         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
37389         symbol __secure_getenv for GLIBC_2.0.
37390         * stdlib/tst-secure-getenv.c: New.
37391         * stdlib/Makefile (tests): Add testcase.
37392         * manual/startup.texi (Environment Access): Document
37393         secure_getenv.
37394         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
37395         __libc_secure_getenv.
37396         * inet/ruserpass.c (ruserpass): Likewise.
37397         * malloc/mtrace.c (mtrace): Likewise.
37398         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
37399         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
37400         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
37401         * sysdeps/posix/tempname.c: Likewise.  Evaluate
37402         HAVE_SECURE_GETENV.
37403         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
37404         __secure_getenv to __libc_secure_getenv.
37405         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
37406         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
37407         Likewise.
37408         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
37409         Likewise.
37410         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
37411         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
37412         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
37413         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
37414         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
37415         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
37416         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
37417
37418 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
37419
37420         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
37421         (struct La_i86_retval): Likewise.
37422         (struct La_x86_64_regs): Likewise.
37423         (struct La_x86_64_retval): Likewise.
37424         (struct La_x32_regs): Likewise.
37425         (struct La_x32_retval): Likewise.
37426         (struct La_ppc32_regs): Likewise.
37427         (struct La_ppc32_retval): Likewise.
37428         (struct La_ppc64_regs): Likewise.
37429         (struct La_ppc64_retval): Likewise.
37430         (struct La_sh_regs): Likewise.
37431         (struct La_sh_retval): Likewise.
37432         (struct La_s390_32_regs): Likewise.
37433         (struct La_s390_32_retval): Likewise.
37434         (struct La_s390_64_regs): Likewise.
37435         (struct La_s390_64_retval): Likewise.
37436         (struct La_sparc32_regs): Likewise.
37437         (struct La_sparc32_retval): Likewise.
37438         (struct La_sparc64_regs): Likewise.
37439         (struct La_sparc64_retval): Likewise.
37440         (struct audit_ifaces): Remove architecture-specific pltenter and
37441         pltexit members.
37442         * sysdeps/i386/ldsodefs.h: New file.
37443         * sysdeps/powerpc/ldsodefs.h: Likewise.
37444         * sysdeps/s390/ldsodefs.h: Likewise.
37445         * sysdeps/sh/ldsodefs.h: Likewise.
37446         * sysdeps/sparc/ldsodefs.h: Likewise.
37447         * sysdeps/x86_64/ldsodefs.h: Likewise.
37448
37449 2012-07-25  Marek Polacek  <polacek@redhat.com>
37450
37451         [BZ #6808]
37452         * math/libm-test.inc (yn_test): Add another test.
37453         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
37454         to ERANGE when the result is +-Inf.
37455         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
37456         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
37457         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
37458         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
37459
37460 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
37461
37462         * conform/data/time.h-data (NULL): Use macro-constant.  Require
37463         equal to 0.
37464         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
37465         clock_t.
37466         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
37467
37468 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
37469
37470         * configure.in <sysdeps resolving>: Correct printing
37471         Implies_before.
37472         * configure: Regenerate.
37473
37474 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
37475
37476         * math/w_ilogb.c: Include <limits.h>.
37477         * math/w_ilogbl.c: Likewise.
37478
37479 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
37480
37481         * manual/lang.texi (__va_copy): Document primarily as ISO C99
37482         va_copy.  Document allowing for unavailable va_copy only as
37483         pre-C99 compatibility.
37484         * manual/string.texi (Copying and Concatenation): Use va_copy
37485         instead of __va_copy in concat example.
37486
37487 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
37488
37489         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
37490         (__sendto): Use create_address_port.  Initialize APORT and deallocate
37491         it if not null.
37492
37493         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
37494         with O_NOLINK passed to __file_name_lookup.
37495
37496         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
37497         with O_NOLINK passed to __file_name_lookup.
37498
37499         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
37500         negative N or less than NGIDS.
37501
37502         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
37503         type to string_t.  Set ERANGE as errno and return it if NAME is not big
37504         enough.  Use memcpy instead of strncpy.
37505
37506 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
37507
37508         * elf/Makefile (check-data): Remove.
37509         (localplt.data): New vpath directive.
37510         ($(objpfx)check-localplt.out): Use localplt.data from vpath
37511         instead of $(check-data).
37512         * scripts/data/localplt-generic.data: Move to ...
37513         * sysdeps/generic/localplt.data: ... here.
37514         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
37515         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
37516         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
37517         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
37518         ... here.
37519         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
37520         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
37521         ... here.
37522         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
37523         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
37524         ... here.
37525         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
37526         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
37527         ... here.
37528         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
37529         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
37530         ... here.
37531         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
37532         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
37533         ... here.
37534
37535 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37536
37537         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
37538         PPC32 and PPC64 files.
37539         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
37540         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
37541
37542 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
37543
37544         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
37545         __makecontext_ret to ...
37546         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
37547         ... here and call exit if uc_link is NULL.  New file.
37548         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
37549         __makecontext_ret.S.
37550         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
37551         __makecontext_ret to ...
37552         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
37553         ... here and call exit if uc_link is NULL.  New file.
37554         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
37555         __makecontext_ret.S.
37556
37557 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
37558
37559         * elf/elf.h (R_390_IRELATIVE): New definition.
37560         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
37561         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
37562         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
37563         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
37564         (elf_machine_lazy_rel): Likewise.
37565         * sysdeps/s390/dl-irel.h: New file.
37566         * sysdeps/s390/s390-64/memcpy.S: New asm code.
37567         * sysdeps/s390/s390-64/memset.S: New asm code.
37568         * sysdeps/s390/s390-64/memcmp.S: New asm code.
37569         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
37570         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
37571         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
37572         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
37573         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
37574         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
37575         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
37576         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
37577         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
37578         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
37579         * sysdeps/s390/s390-32/memcpy.S: New asm code.
37580         * sysdeps/s390/s390-32/memset.S: New asm code.
37581         * sysdeps/s390/s390-32/memcmp.S: New asm code.
37582
37583 2012-07-17  Marek Polacek  <polacek@redhat.com>
37584
37585         [BZ #14349]
37586         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
37587         * sysdeps/s390/s390-64/configure.in: Likewise.
37588         * sysdeps/sparc/configure.in: Likewise.
37589         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
37590         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
37591         * sysdeps/i386/configure.in: Likewise.
37592         * sysdeps/x86_64/configure.in: Likewise.
37593         * sysdeps/sh/configure.in: Likewise.
37594         * sysdeps/s390/s390-32/configure: Regenerated.
37595         * sysdeps/s390/s390-64/configure: Likewise.
37596         * sysdeps/x86_64/configure: Likewise.
37597         * sysdeps/sh/configure: Likewise.
37598         * sysdeps/powerpc/powerpc64/configure: Likewise.
37599         * sysdeps/powerpc/powerpc32/configure: Likewise.
37600         * sysdeps/sparc/configure: Likwise.
37601         * sysdeps/i386/configure: Likewise.
37602
37603         * elf/dl-open.c: Comment fixes.
37604
37605 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
37606
37607         * Makefile [CXX] (check-data): Remove.
37608         [CXX] (c++-types.data): New vpath directive.
37609         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
37610         vpath.  Do not allow for C++ type data being missing.
37611         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
37612         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
37613         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
37614         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
37615         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
37616         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
37617         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
37618         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
37619         ... here.
37620         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
37621         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
37622         ... here.
37623         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
37624         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
37625         ... here.
37626         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
37627         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
37628         ... here.
37629         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
37630         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
37631         ... here.
37632         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
37633         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
37634         ... here.
37635         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
37636         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
37637         ... here.
37638         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
37639         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
37640
37641         * elf/tls-macros.h (TLS_LE): Move architecture-specific
37642         definitions to architecture-specific files.
37643         (TLS_IE): Likewise.
37644         (TLS_LD): Likewise.
37645         (TLS_GD): Likewise.
37646         * sysdeps/i386/tls-macros.h: New file.
37647         * sysdeps/powerpc/tls-macros.h: Likewise.
37648         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
37649         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
37650         * sysdeps/sh/tls-macros.h: Likewise.
37651         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
37652         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
37653         * sysdeps/x86_64/tls-macros.h: Likewise.
37654
37655 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
37656
37657         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
37658         zero value for regular exit case.
37659
37660         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
37661         (__start_context): Preserve zero value for regular exit case.
37662
37663 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
37664             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
37665
37666         * manual/setjmp.texi (setcontext): Clarify normal process
37667         termination when uc_link is the null pointer.
37668         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
37669         exit call.
37670
37671 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
37672
37673         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
37674         preprocessor.  Test for each exception mask separately.
37675
37676 2012-07-16  Andreas Jaeger  <aj@suse.de>
37677
37678         * po/ru.po: Update from translation team.
37679
37680 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
37681
37682         * conform/data/string.h-data (NULL): Use macro-constant.  Require
37683         equal to 0.
37684         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
37685         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
37686         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
37687         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
37688         [ISO || ISO99 || ISO11] (*_t): Do not allow.
37689
37690 2012-07-13  Andreas Jaeger  <aj@suse.de>
37691
37692         * po/fr.po: Update from translation team.
37693
37694 2012-07-12  Marek Polacek  <polacek@redhat.com>
37695
37696         [BZ #14173]
37697         * math/libm-test.inc (yn_test): Add test for BZ #14173.
37698         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
37699         loop condition.
37700
37701 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
37702
37703         [BZ #13717]
37704         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
37705         Change to 2.4.1 where previously 2.4.0.
37706         * sysdeps/unix/sysv/linux/configure: Regenerated.
37707         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
37708         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
37709         version.
37710         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
37711         (__ASSUME_AT_CLKTCK): Remove.
37712         (__ASSUME_AT_PAGESIZE): Likewise.
37713         (__ASSUME_AT_XID): Likewise.
37714         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
37715         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
37716         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
37717         unconditionally.
37718         (HAVE_AUX_PAGESIZE): Likewise.
37719         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
37720         [__ASSUME_AT_CLKTCK]: Make code unconditional.
37721         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
37722
37723 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
37724
37725         [BZ #14307]
37726         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
37727         the temporary buffer used to invoke __gethostbyname2_r,
37728         __gethostbyaddr_r and gethostbyname4_r to make room for struct
37729         host_data / struct gaih_addrtuple.
37730         * resolv/nss_dns/dns-host.c (global scope): Move definition of
37731         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
37732         header file nss/nsswitch.h.
37733         * nss/nsswitch.h (global scope): Add definition of implementation
37734         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
37735         resolv/nss_dns/dns-host.c).
37736
37737 2012-07-11  Andreas Jaeger  <aj@suse.de>
37738
37739         * po/fr.po: Update from translation team.
37740
37741         * po/sv.po: Update from translation team
37742         * po/fr.po: Another update from translation team.
37743
37744 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37745
37746         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
37747         for subnormals or multiply small sinh result by itself.
37748         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
37749         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37750
37751 2012-07-11  David S. Miller  <davem@davemloft.net>
37752
37753         * sysdeps/sparc/fpu/libm-test-ulps: Update.
37754
37755 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
37756
37757         [BZ #14347]
37758         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
37759         (INTERNAL_MARK): Shift it here.
37760
37761 2012-07-10  Marek Polacek  <polacek@redhat.com>
37762
37763         [BZ #14151]
37764         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
37765         libc_cv_asm_global_directive with .globl.
37766         * configure: Regenerated.
37767         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
37768         with .globl.
37769         * sysdeps/i386/configure: Regenerated.
37770         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
37771         with .globl.
37772         * sysdeps/x86_64/configure: Regenerated.
37773         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
37774         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
37775         * elf/tst-unique2mod2.c: Likewise.
37776         * elf/tst-unique2mod1.c: Likewise.
37777         * elf/tst-unique1mod2.c: Likewise.
37778         * elf/tst-unique1mod1.c: Likewise.
37779         * sysdeps/s390/s390-32/sysdep.h: Likewise.
37780         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
37781         * sysdeps/s390/s390-64/sysdep.h: Likewise.
37782         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
37783         * sysdeps/mach/sysdep.h: Likewise.
37784         * sysdeps/i386/sysdep.h: Likewise.
37785         * sysdeps/i386/i386-mcount.S: Likewise.
37786         * sysdeps/x86_64/_mcount.S: Likewise.
37787         * sysdeps/x86_64/sysdep.h: Likewise.
37788         * sysdeps/sh/_mcount.S: Likewise.
37789         * sysdeps/sh/sysdep.h: Likewise.
37790         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
37791         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
37792         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
37793         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
37794         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
37795         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
37796         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
37797         * locale/localeinfo.h: Likewise.
37798         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
37799         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
37800
37801 2012-07-09  Roland McGrath  <roland@hack.frob.com>
37802
37803         [BZ #14336]
37804         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
37805         system".
37806         * manual/message.texi (The Uniforum approach): Likewise.
37807         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
37808         (glibc iconv Implementation): Likewise.
37809
37810 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
37811
37812         [BZ #14337]
37813         * math/s_clog.c (__clog): Avoid scaling a value down where that
37814         could result in underflow.
37815         * math/s_clog10.c (__clog10): Likewise.
37816         * math/s_clog10f.c (__clog10f): Likewise.
37817         * math/s_clog10l.c (__clog10l): Likewise.
37818         * math/s_clogf.c (__clogf): Likewise.
37819         * math/s_clogl.c (__clogl): Likewise.
37820         * math/libm-test.inc (clog_test): Add more tests.
37821         (clog10_test): Likewise.
37822         * sysdeps/i386/fpu/libm-test-ulps: Update.
37823         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37824
37825 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
37826
37827         [BZ #14283]
37828         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
37829         by 7 not 8 to examine high bit of fractional part.
37830
37831         [BZ #14042]
37832         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
37833         for call to __mcount_internal.
37834         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
37835         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
37836         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
37837
37838 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
37839
37840         [BZ #14154]
37841         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
37842         approximation for values within 0x1p-13f of an odd multiple of
37843         pi/4.
37844         * math/libm-test.inc (tan_test): Do not allow spurious underflow
37845         exception.  Add more tests.
37846         * sysdeps/i386/fpu/libm-test-ulps: Update.
37847
37848         [BZ #6778]
37849         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
37850         inputs and return -1 for them.  Do not check for +Inf in case not
37851         reachable for +Inf.
37852         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
37853         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
37854         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
37855         and return -1 for them.  Do not check for +Inf in case not
37856         reachable for +Inf.
37857         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
37858         define.
37859         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
37860         and return -1 for them.  Do not check for +Inf in case not
37861         reachable for +Inf.
37862         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
37863         spurious underflow.
37864         * sysdeps/i386/fpu/libm-test-ulps: Update.
37865         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37866
37867 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
37868
37869         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
37870
37871 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
37872
37873         [BZ #14157]
37874         [BZ #14331]
37875         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
37876         could result in spurious underflow.  Scale down values above
37877         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
37878         * math/s_csqrtf.c (__csqrtf): Likewise.
37879         * math/s_csqrtl.c (__csqrtl): Likewise.
37880         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
37881         spurious underflow.
37882         * sysdeps/i386/fpu/libm-test-ulps: Update.
37883         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37884
37885 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
37886
37887         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
37888         xopen-msg.sed.
37889         * catgets/xopen-msg.awk: New file.
37890         * catgets/xopen-msg.sed: Removed.
37891
37892         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
37893         po2text.sed.
37894         * intl/po2test.awk: New file.
37895         * intl/po2test.sed: Removed.
37896
37897 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
37898
37899         [BZ #14328]
37900         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
37901         or multiply small sinh result by itself.
37902         * math/s_ctanf.c (__ctanf): Likewise.
37903         * math/s_ctanh.c (__ctanh): Likewise.
37904         * math/s_ctanhf.c (__ctanhf): Likewise.
37905         * math/s_ctanhl.c (__ctanhl): Likewise.
37906         * math/s_ctanl.c (__ctanl): Likewise.
37907         * math/libm-test.inc (ctan_test_tonearest): New function.
37908         (ctan_test_towardzero): Likewise.
37909         (ctan_test_downward): Likewise.
37910         (ctan_test_upward): Likewise.
37911         (ctanh_test_tonearest): Likewise.
37912         (ctanh_test_towardzero): Likewise.
37913         (ctanh_test_downward): Likewise.
37914         (ctanh_test_upward): Likewise.
37915         (main): Call these new functions.
37916         * sysdeps/i386/fpu/libm-test-ulps: Update.
37917         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37918
37919 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
37920
37921         * .gitignore: Delete /ports entry.
37922
37923 2012-07-03  Andreas Jaeger  <aj@suse.de>
37924
37925         * po/bg.po: Update from translation team.
37926         * po/cs.po: Likewise.
37927         * po/de.po: Likewise.
37928         * po/hr.po: Likewise.
37929         * po/nl.pl: Likewise.
37930         * po/pl.po: Likewise.
37931         * po/vi.po: Likewise.
37932
37933 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
37934
37935         * Makeconfig [!+link] (+link-before-libc): New variable.
37936         [!+link] (+link-after-libc): Likewise.
37937         [!+link] (+link-tests): Likewise.
37938         [!+link] (+link): Define in terms of $(+link-before-libc) and
37939         $(+link-after-libc).
37940         [!+link-static] (+link-static-before-libc): New variable.
37941         [!+link-static] (+link-static-after-libc): Likewise.
37942         [!+link-static] (+link-static-tests): Likewise.
37943         [!+link-static] (+link-static): Define in terms of
37944         $(+link-static-before-libc) and $(+link-static-after-libc).
37945         [build-shared] (link-libc-before-gnulib): New variable.
37946         [build-shared] (link-libc-tests): Likewise.
37947         [build-shared] (link-libc): Define in terms of
37948         $(link-libc-before-gnulib).
37949         [!build-shared] (link-libc-tests): New variable.
37950         (link-libc-static-tests): New variable.
37951         [!gnulib] (gnulib-arch): New variable.
37952         [!gnulib] (gnulib-tests): Likewise.
37953         [!gnulib] (static-gnulib-arch): Likewise.
37954         [!gnulib] (static-gnulib-tests): Likewise.
37955         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
37956         Define with "=" instead of ":=".
37957         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
37958         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
37959         * Rules (binaries-all-notests): New variable.
37960         (binaries-all-tests): Likewise.
37961         (binaries-static-notests): Likewise.
37962         (binaries-static-tests): Likewise.
37963         (binaries-all): Define using $(binaries-all-notests) and
37964         $(binaries-all-tests).
37965         (binaries-static): Define using $(binaries-static-notests) and
37966         $(binaries-static-tests).
37967         (binaries-shared-tests): New variable.
37968         (binaries-shared-notests): Likewise.
37969         (binaries-shared): Remove variable.
37970         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
37971         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
37972         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
37973         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
37974         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
37975         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
37976         * elf/Makefile (sln-modules): New variable.
37977         (extra-objs): Add $(sln-modules:=.o).
37978         (ldconfig-modules): Add static-stubs.
37979         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
37980         * elf/static-stubs.c: New file.
37981
37982         [BZ #14283]
37983         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
37984         by 7 not 8 to examine high bit of fractional part.  Use volatile
37985         variables when splitting into final array of floats if
37986         __FLT_EVAL_METHOD__ != 0.
37987         * math/libm-test.inc (cos_test): Add another test.
37988         (sin_test): Likewise.
37989         * sysdeps/i386/fpu/libm-test-ulps: Update.
37990
37991         [BZ #14273]
37992         * math/libm-test.inc (cosh_test): Add more tests.
37993
37994         * version.h (RELEASE): Set to "development".
37995         (VERSION): Set to "2.16.90".
37996
37997 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
37998
37999         * NEWS: Update copyright. Remove last-updated date.
38000         Mention math library bug fixes and timezone data changes.
38001         * README: Mention GNU/Hurd, x32, and HPPA support status.
38002
38003 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
38004
38005         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
38006
38007 2012-06-27  Andreas Jaeger  <aj@suse.de>
38008
38009         * manual/contrib.texi (Contributors): Add Samuel Thibault.
38010
38011 2012-06-25  Andreas Jaeger  <aj@suse.de>
38012
38013         * sysdeps/s390/fpu/libm-test-ulps: Update.
38014
38015 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
38016             Thomas Schwinge  <thomas@codesourcery.com>
38017
38018         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
38019         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
38020         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
38021         fanotify_mark.
38022
38023 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
38024
38025         * sysdeps/mach/start.c: Remove file.
38026         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
38027         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
38028         * sysdeps/sh/init-first.c: Likewise.
38029
38030         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
38031         registers for frame unwinding purposes, add CFI directives.
38032         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
38033         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
38034         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
38035         Likewise.
38036
38037         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
38038         __fortify_fail returning.
38039         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
38040
38041         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
38042         sysdeps/sh/____longjmp_chk.S.
38043         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
38044         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
38045         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
38046         (gen-as-const-headers): Append sigaltstack-offsets.sym.
38047
38048         * sysdeps/sh/abort-instr.h: New file.
38049         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
38050         process in case exit returns.
38051
38052         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
38053         initialize the GOT register before use.
38054
38055         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
38056         calculation of ARGC > 4.
38057
38058         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
38059         meaningful names to some local labels.
38060
38061 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
38062             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
38063
38064         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
38065         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
38066         (__arch_compare_and_exchange_val_16_acq): Likewise.
38067         (__arch_compare_and_exchange_val_32_acq): Likewise.
38068         (atomic_exchange_and_add): Fix gUSA sequence.
38069         (atomic_add): Likewise.
38070         (atomic_add_negative): Likewise.
38071         (atomic_add_zero): Likewise.
38072         (atomic_bit_test_set): Likewise.
38073
38074 2012-06-22  Andreas Schwab  <schwab@redhat.com>
38075
38076         [BZ #13579]
38077         * include/link.h (struct link_map): Add l_free_initfini.
38078         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
38079         l_initfini.
38080         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
38081         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
38082         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
38083         set.
38084
38085 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
38086
38087         * configure.in: Use AC_LANG_SOURCE.
38088         * configure: Regenerate.
38089
38090 2012-06-22  Roland McGrath  <roland@hack.frob.com>
38091
38092         * configure.in (libc_cv_localstatedir): New substituted variable.
38093         * configure: Regenerated.
38094         * config.make.in (localstatedir): New variable, substituted from
38095         libc_cv_localstatedir.
38096         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
38097         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
38098         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
38099         * sysdeps/gnu/configure: Regenerated.
38100
38101 2012-06-21  Jeff Law  <law@redhat.com>
38102
38103         [BZ #14277]
38104         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
38105         free.  Simplify list management for _LIBC case.
38106
38107 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
38108
38109         [BZ #14273]
38110         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
38111         Clear sign bit of 64-bit integer value before comparing against
38112         overflow value.
38113
38114         * sysdeps/mach/configure: Regenerated.
38115
38116 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
38117
38118         [BZ #14278]
38119         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
38120
38121 2012-06-21  Jeff Law  <law@redhat.com>
38122
38123         [BZ #13882]
38124         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
38125         uint16_t for elements in the "seen" array to avoid char overflows.
38126         * elf/dl-fini.c (_dl_sort_fini): Likewise.
38127         * elf/dl-open.c (dl_open_worker): Likewise.
38128
38129 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
38130
38131         * scripts/list-sources.sh: Scan PORTS for translations.
38132         * po/libc.pot: Regenerated.
38133
38134 2012-06-21  Andreas Jaeger  <aj@suse.de>
38135
38136         [BZ #12194]
38137         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
38138         warning.
38139         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
38140         * bits/byteswap-16.h (__bswap_16): Likewise.
38141         * bits/byteswap.h (__bswap_constant_16): Likewise.
38142
38143 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
38144
38145         [BZ #14117]
38146         * sysdeps/i386/fpu_control.h: Removed.
38147         * sysdeps/x86_64/fpu_control.h: Moved to ...
38148         * sysdeps/x86/fpu_control.h: Here.
38149
38150         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
38151         (_FPU_SETCW): Likewise.
38152
38153 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
38154
38155         [BZ #14117]
38156         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
38157         * sysdeps/x86/fpu/bits/mathinline.h: This.
38158         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
38159
38160         [BZ #14050]
38161         [BZ #14117]
38162         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
38163         functions if __x86_64__ is defined.
38164
38165 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
38166
38167         * string/endian.h: Add !__ASSEMBLER__ condition for including
38168         conversion interfaces.
38169
38170 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
38171
38172         [BZ #14241]
38173         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
38174         of ABS(x) in calculating zero to negative powers other than odd
38175         integers.
38176         * math/libm-test.inc (pow_test): Add more tests.
38177
38178 2012-06-15  Andreas Jaeger  <aj@suse.de>
38179
38180         * manual/contrib.texi (Contributors): Update entry of Liubov
38181         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
38182         Machado Filho.
38183
38184 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
38185
38186         * string/string.h: Add __wur to GNU version of strerror_r.
38187
38188 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
38189
38190         [BZ #14229]
38191         * string/Makefile (tests): Add tst-strtok_r.
38192         * string/tst-strtok_r.c: New file.
38193         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
38194         RAX_LP/RDX_LP on SAVE_PTR.
38195
38196 2012-06-14  Roland McGrath  <roland@hack.frob.com>
38197
38198         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
38199
38200 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
38201
38202         * libm_test.inc (csqrt_test): Allow more spurious underflow
38203         exceptions.
38204         (j0_test): Likewise.
38205         (j1_test): Likewise.
38206         (y0_test): Likewise.
38207         (y1_test): Likewise.
38208
38209 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
38210
38211         * po/Makefile (libc.pot): Use UTF-8 charset.
38212
38213 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
38214
38215         [BZ #14210]
38216         Suppress sign-conversion warning from FD_SET.
38217         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
38218         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
38219         not unsigned long int.
38220         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
38221
38222 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
38223
38224         [BZ #14050]
38225         [BZ #14117]
38226         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
38227         __extern_always_inline instead of __extern_inline.
38228         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
38229         (__signbit): Likewise.
38230         (__signbitl): Support C++ namespace.
38231         (lrintf): New inline function.
38232         (lrint): Likewise.
38233         (llrintf): Likewise.
38234         (llrint): Likewise.
38235         (fmaxf): Likewise.
38236         (fmax): Likewise.
38237         (fminf): Likewise.
38238         (fmin): Likewise.
38239         (rint): Likewise.
38240         (rintf): Likewise.
38241         (ceil): Likewise.
38242         (ceilf): Likewise.
38243         (floor): Likewise.
38244         (floorf): Likewise.
38245         (nearbyint): Likewise.
38246         (nearbyintf): Likewise.
38247
38248 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
38249
38250         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
38251         non-default versions.
38252
38253 2012-06-11  Roland McGrath  <roland@hack.frob.com>
38254
38255         [BZ #14218]
38256         * manual/argp.texi (Argp): Reword argp_parse description slightly.
38257
38258 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
38259
38260         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
38261         (FE_UPWARD, FE_DOWNWARD): Don't define.
38262         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
38263         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
38264
38265         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
38266         reading it.
38267         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
38268         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
38269
38270 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
38271
38272         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
38273         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
38274         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
38275         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
38276
38277 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
38278
38279         [BZ #14117]
38280         * sysdeps/i386/fpu/bits/fenv.h: Removed.
38281         * sysdeps/i386/fpu/Implies: New file.
38282         * sysdeps/x86_64/fpu/Implies: Likewise.
38283         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
38284         * sysdeps/x86/fpu/bits/fenv.h: This.
38285
38286         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
38287         __SSE_MATH__.
38288
38289 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
38290
38291         [BZ #14134]
38292         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
38293         character 0xffff that matches the last element of the
38294         conversion table.
38295
38296 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38297
38298         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
38299         fmodl commit.
38300
38301 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38302
38303         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
38304         values higher than 25.6283.
38305
38306 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38307
38308         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
38309         subnormal exponent extraction and add some __builtin_expect.
38310         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
38311         Fix for subnormal mantissa calculation.
38312
38313 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
38314
38315         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
38316         cpu2 is -1 and errno is not ENOSYS.
38317
38318 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
38319
38320         [BZ #14117]
38321         * sysdeps/i386/i486/bits/string.h: Renamed to ...
38322         * sysdeps/x86/bits/string.h: This.
38323         * sysdeps/x86_64/bits/string.h: Removed.
38324
38325         * sysdeps/i386/i486/bits/string.h: Define inline functions only
38326         if not compiling for x86-64, but compiling for >= i486.
38327
38328         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
38329         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
38330
38331         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
38332         New macro from Linux kernel 3.4.0.
38333         (FP_XSTATE_MAGIC2): Likewise.
38334         (FP_XSTATE_MAGIC2_SIZE): Likewise.
38335         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
38336         (struct _fpx_sw_bytes): New struct.
38337         (struct _xsave_hdr): Likewise.
38338         (struct _ymmh_state): Likewise.
38339         (struct _xstate): Likewise.
38340
38341         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
38342         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
38343         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
38344         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
38345         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
38346         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
38347
38348         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
38349         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
38350         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
38351         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
38352         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
38353         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
38354
38355 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
38356
38357         [BZ #13743]
38358         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
38359         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
38360         (sysdep_headers): Include sys/platform/ppc.h.
38361         * sysdeps/powerpc/test-gettimebase.c: Test for
38362         __ppc_get_timebase() to catch future ISA opcode/insn changes.
38363         * manual/Makefile (appendices): Include platform.texi.
38364         * manual/contrib.texi (Contributors): Update @node pointers.
38365         * manual/maint.texi (Maintenance): Likewise.
38366         (Platform): New node.
38367         * manual/platform.texi: New file.  Document the new features.
38368
38369 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
38370             Jakub Jelinek  <jakub@redhat.com>
38371
38372         [BZ #14188]
38373         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
38374         where __builtin_expect is unavailable.
38375
38376 2012-06-03  David S. Miller  <davem@davemloft.net>
38377
38378         * stdlib/longlong.h: Updated from GCC.
38379
38380 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
38381
38382         [BZ #14042]
38383         * sysdeps/powerpc/powerpc32/mcount.c: New file.
38384         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
38385         __mcount_internal.
38386         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
38387         (GLIBC_2.16): Likewise.
38388
38389 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
38390
38391         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
38392
38393 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
38394
38395         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
38396         (default-abi): New variable.
38397         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
38398         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
38399         variable.
38400         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
38401         Likewise.
38402         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
38403         Likewise.
38404         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
38405         Likewise.
38406
38407         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
38408         definition.  Document in comment.
38409
38410 2012-06-01  David S. Miller  <davem@davemloft.net>
38411
38412         * stdlib/longlong.h: Updated from GCC.
38413
38414 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
38415
38416         [BZ #14117]
38417         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
38418         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
38419         sys/debugreg.h sys/io.h here.
38420         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
38421         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
38422         sys/io.h.
38423         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
38424         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
38425         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
38426         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
38427         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
38428         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
38429
38430         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
38431         Define only if __x86_64__ is defined.
38432
38433 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
38434
38435         [BZ #14048]
38436         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
38437         Use int64_t for variable i.
38438         * math/libm-test.inc (fmod_test): Add more tests.
38439
38440         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
38441         z computation is not scheduled after fetestexcept.
38442         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
38443         Use math_force_eval instead of asm to ensure calculation scheduled
38444         before exception test.
38445         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
38446         Ensure a1 + u.d computation is not scheduled after fetestexcept.
38447
38448 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
38449
38450         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
38451         computation is not scheduled after fetestexcept.
38452
38453 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
38454
38455         [BZ #14117]
38456         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
38457         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
38458
38459 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38460
38461         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
38462         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
38463
38464 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
38465
38466         [BZ #14117]
38467         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
38468         <bits/wordsize.h>.
38469         (__WCHAR_MIN): Support __WORDSIZE == 64.
38470         (__WCHAR_MAX): Likewise.
38471
38472         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
38473         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
38474
38475         [BZ #14183]
38476         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
38477         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
38478
38479         [BZ #14117]
38480         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
38481         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
38482
38483         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
38484         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
38485
38486         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
38487         Defined to 1 if __x86_64__ isn't defined.
38488         (_STAT_VER_LINUX_OLD): New.
38489         (st_atime): Remove duplicate.
38490         (st_mtime): Likewise.
38491         (st_ctime): Likewise.
38492
38493 2012-05-31  David S. Miller  <davem@davemloft.net>
38494
38495         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
38496         entries.
38497
38498 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
38499
38500         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
38501         gen-libm-test.pl.
38502
38503         [BZ #14132]
38504         * elf/dl-reloc.c: Include <_itoa.h>.
38505         (_dl_reloc_bad_type): Remove use of INTUSE.
38506         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
38507         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
38508         * stdio-common/psiginfo.c (psiginfo): Likewise.
38509         * stdio-common/psignal.c (psignal): Likewise.
38510         * string/strsignal.c (strsignal): Likewise.
38511         * include/signal.h (_sys_siglist): Declare hidden proto.
38512         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
38513         INTVARDEF with libc_hidden_data_def.
38514         * stdio-common/itoa-udigits.c: Likewise.
38515         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
38516         (_itoa_lower_digits_internal): Remove declaration.
38517         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
38518         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
38519         (_sys_sigabbrev_internal): Remove aliases.
38520         (_sys_siglist): Define hidden alias.
38521
38522 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
38523
38524         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
38525         bits/sysctl.h.
38526
38527 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
38528
38529         [BZ #14117]
38530         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
38531         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
38532
38533         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
38534         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
38535         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
38536         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
38537         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
38538         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
38539
38540         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
38541         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
38542         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
38543
38544         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
38545         with __addr.
38546         (insw): Likewise.
38547         (insl): Likewise.
38548         (outsb): Likewise.
38549         (outsw): Likewise.
38550         (outsl): Likewise.
38551
38552         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
38553         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
38554         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
38555
38556         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
38557         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
38558         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
38559         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
38560         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
38561         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
38562
38563         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
38564         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
38565
38566         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
38567         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
38568
38569         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
38570         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
38571         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
38572
38573         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
38574         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
38575         to ...
38576         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
38577
38578         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
38579         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
38580         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
38581
38582         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
38583         for x86-64.
38584         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
38585
38586 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
38587
38588         * math/math.h (M_El): Use two more decimal places.
38589         (M_LOG2El): Likewise.
38590         (M_LOG10El): Likewise.
38591         (M_LN2l): Likewise.
38592         (M_LN10l): Likewise.
38593         (M_PIl): Likewise.
38594         (M_PI_2l): Likewise.
38595         (M_PI_4l): Likewise.
38596         (M_1_PIl): Likewise.
38597         (M_2_PIl): Likewise.
38598         (M_2_SQRTPIl): Likewise.
38599         (M_SQRT2l): Likewise.
38600         (M_SQRT1_2l): Likewise.
38601
38602 2012-05-31  David S. Miller  <davem@davemloft.net>
38603
38604         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
38605         values between float registers.
38606         * sysdeps/sparc/sparc64/memset.S: Likewise.
38607         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
38608
38609 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
38610
38611         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
38612         -D_FORTIFY_SOURCE=1.
38613         (CPPFLAGS-tst-longjmp_chk.c): Define.
38614         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
38615         (CPPFLAGS-tst-longjmp_chk2.c): Define.
38616         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
38617         CFLAGS-tst-wchar-h.c.
38618
38619 2012-05-31  Marek Polacek  <polacek@redhat.com>
38620
38621         [BZ #14132]
38622         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
38623         __endmntent_internal): Remove declaration.
38624         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
38625         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
38626         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
38627
38628 2012-05-30  David S. Miller  <davem@davemloft.net>
38629
38630         * sysdeps/sparc/sparc32/soft-fp/q_util.c
38631         (___Q_simulate_exceptions): Use real FP ops rather than writing
38632         into the %fsr.
38633         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
38634         Likewise.
38635
38636 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
38637
38638         [BZ #14117]
38639         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
38640         * sysdeps/x86/bits/xtitypes.h: This.
38641
38642         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
38643         * sysdeps/x86/bits/wordsize.h: This.
38644
38645         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
38646         * sysdeps/x86/bits/huge_vall.h: This.
38647
38648         * sysdeps/i386/bits/select.h: Removed.
38649         * sysdeps/x86_64/bits/select.h: Renamed to ...
38650         * sysdeps/x86/bits/select.h: This.
38651
38652         * sysdeps/i386/bits/setjmp.h: Removed.
38653         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
38654         * sysdeps/x86/bits/setjmp.h: This.
38655
38656         * sysdeps/i386/bits/mathdef.h: Removed.
38657         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
38658         * sysdeps/x86/bits/mathdef.h: This.
38659
38660 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
38661
38662         [BZ #14132]
38663         * include/sys/socket.h (__connect_internal)
38664         (__libc_sa_len_internal): Remove declaration.
38665         (__connect, __libc_sa_len): Declare hidden_proto.
38666         (SA_LEN): Remove use of INTUSE.
38667         * socket/connect.c: Add libc_hidden_def.
38668         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
38669         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
38670         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
38671         alias.
38672         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
38673         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
38674         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
38675         of adding _internal alias.
38676
38677 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
38678
38679         [BZ #14117]
38680         * sysdeps/i386/bits/link.h: Removed.
38681         * sysdeps/i386/bits/linkmap.h: Likewise.
38682         * sysdeps/x86_64/bits/link.h: Renamed to ...
38683         * sysdeps/x86/bits/link.h: This.
38684         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
38685         * sysdeps/x86/bits/linkmap.h: This.
38686
38687         * sysdeps/i386/bits/endian.h: Removed.
38688         * sysdeps/x86_64/bits/endian.h: Renamed to ...
38689         * sysdeps/x86/bits/endian.h: This.
38690
38691         * sysdeps/i386/bits/byteswap.h: Removed.
38692         * sysdeps/i386/bits/byteswap-16.h: Likewise.
38693         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
38694         * sysdeps/x86/bits/byteswap.h: This.
38695         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
38696         * sysdeps/x86/bits/byteswap-16.h: This.
38697         * sysdeps/i386/Implies: Add x86.
38698         * sysdeps/x86_64/Implies: Likewise.
38699
38700 2012-05-30  David S. Miller  <davem@davemloft.net>
38701
38702         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
38703         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
38704         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
38705         (FP_TRAPPING_EXCEPTIONS): Define.
38706         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
38707         (FP_TRAPPING_EXCEPTIONS): Define.
38708         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
38709         subnormals only when inexact has been signalled or underflow
38710         exceptions are enabled.
38711         (_FP_PACK_CANONICAL): Likewise.
38712
38713 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
38714
38715         [BZ #14183]
38716         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
38717         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
38718
38719 2012-05-30  Richard Henderson  <rth@twiddle.net>
38720
38721         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
38722         with #ifndef NOT_IN_libc.
38723
38724         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
38725         marked to avoid plt entry.
38726
38727 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
38728
38729         [BZ #14112]
38730         * Makeconfig (default-abi): New macro.
38731         (abi-includes): Likewise.
38732         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
38733         $(abi-$(default-abi)-lib-soname) for soname if defined.
38734         ($(common-objpfx)gnu/lib-names.stmp): Generate from
38735         abi-variants.
38736         * Makefile (installed-stubs): Likewise.
38737         * include/stubs-biarch.h: Removed.
38738         * scripts/lib-names.awk: Only handle one library at a time.
38739         * scripts/soversions.awk: Remove WORDSIZE support.
38740         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
38741         entries.
38742         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
38743         Removed.
38744         (syscall-list-default-condition): Likewise.
38745         (syscall-list-default-condition): Likewise.
38746         (syscall-list-includes): Likewise.
38747         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
38748         syscall-list-* with abi-*.  Handle undefined abi-variants.
38749         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
38750         * sysdeps/unix/sysv/linux/i386/Implies: New file.
38751         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
38752         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
38753         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
38754         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
38755         Removed.
38756         (syscall-list-32-options): Likewise.
38757         (syscall-list-32-condition): Likewise.
38758         (syscall-list-64-options): Likewise.
38759         (syscall-list-64-condition): Likewise.
38760         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
38761         macro.
38762         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
38763         Renamed to ...
38764         (abi-*): This.
38765         (abi-64-ld-soname): New macro.
38766         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
38767         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
38768         Renamed to ...
38769         (abi-*): This.
38770         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
38771         * sysdeps/x86_64/x32/shlib-versions: Likewise.
38772
38773 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
38774
38775         * sysdeps/unix/sysv/linux/kernel-features.h
38776         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
38777         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
38778         include <kernel-features.h>.
38779         [!__NR_ftruncate64]: Remove conditional code.
38780         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
38781         [__NR_ftruncate64]: Make code unconditional.
38782         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
38783         * sysdeps/unix/sysv/linux/truncate64.c: Do not
38784         include <kernel-features.h>.
38785         [!__NR_ftruncate64]: Remove conditional code.
38786         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
38787         [__NR_ftruncate64]: Make code unconditional.
38788         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
38789         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
38790         include <kernel-features.h>.
38791         [!__NR_ftruncate64]: Remove conditional code.
38792         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
38793         [__NR_ftruncate64]: Make code unconditional.
38794         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
38795         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
38796         include <kernel-features.h>.
38797         [!__NR_ftruncate64]: Remove conditional code.
38798         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
38799         [__NR_ftruncate64]: Make code unconditional.
38800         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
38801
38802         * configure.in (libc_cv_fpie): Weaken to a compile test using
38803         LIBC_TRY_CC_OPTION.
38804         * configure: Regenerated.
38805
38806 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
38807
38808         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
38809         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
38810         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
38811         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
38812         Refreshed.
38813         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
38814         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
38815         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
38816         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
38817         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
38818         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
38819         Refreshed.
38820
38821 2012-05-27  David S. Miller  <davem@davemloft.net>
38822
38823         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
38824         (___Q_zero): New.
38825         (__Q_simulate_exceptions): Return void.  Change to simulate
38826         exceptions by writing into the %fsr.
38827         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
38828         (__Qp_handle_exceptions): Likewise.
38829         (numbers): Delete.
38830         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
38831         __Qp_handle_exceptions.
38832         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
38833         __Qp_handle_exceptions.
38834         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
38835         as unused and give dummy FP_RND_NEAREST initializer.
38836         (FP_INHIBIT_RESULTS): Define.
38837         (___Q_simulate_exceptions): Update declaration.
38838         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
38839         formatting.
38840         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
38841         as unused and give dummy FP_RND_NEAREST initializer.
38842         (__Qp_handle_exceptions): Update declaration.
38843         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
38844         formatting.
38845
38846 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
38847
38848         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
38849         the temporary FPU control word.
38850         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
38851         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
38852         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
38853         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
38854         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
38855         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
38856         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
38857         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
38858         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
38859         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
38860         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
38861
38862 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
38863
38864         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
38865         fields.
38866
38867 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
38868
38869         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
38870         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
38871         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
38872         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
38873         Likewise.
38874         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
38875         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
38876         Likewise.
38877
38878 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
38879
38880         * po/h.po: Update from translation team.
38881
38882 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
38883
38884         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
38885
38886         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
38887         handling of denormals.
38888         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
38889         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
38890         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
38891         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
38892         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
38893         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
38894         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
38895         Likewise.
38896
38897 2012-05-26  Marek Polacek  <polacek@redhat.com>
38898
38899         [BZ #14152]
38900         * math/libm-test.inc (fma_test): Don't always expect underflow
38901         exception.
38902
38903 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
38904
38905         [BZ #12416]
38906         * elf/tst-execstack.c: Include stackinfo.h.
38907         (do_test): Adjust test case to ensure that pthread_getattr_np
38908         behaviour remains the same after marking stack executable.
38909
38910 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
38911
38912         * sysdeps/unix/sysv/linux/kernel-features.h
38913         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
38914         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
38915         kernel-features.h.
38916         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
38917         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
38918         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
38919         kernel-features.h.
38920         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
38921         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
38922
38923 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
38924
38925         * configure.in: Define the default includes to being none.
38926         * configure: Regenerated.
38927
38928 2012-05-25  Roland McGrath  <roland@hack.frob.com>
38929
38930         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
38931         * sysdeps/x86_64/setjmp.S: Likewise.
38932         * sysdeps/i386/bsd-setjmp.S: Likewise.
38933         * sysdeps/i386/bsd-_setjmp.S: Likewise.
38934         * sysdeps/i386/setjmp.S: Likewise.
38935         * sysdeps/i386/__longjmp.S: Likewise.
38936         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
38937         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
38938
38939         * include/stap-probe.h: New file.
38940         * configure.in: Handle --enable-systemtap.
38941         * configure: Regenerated.
38942         * config.h.in (USE_STAP_PROBE): New #undef.
38943         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
38944         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
38945         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
38946
38947 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
38948
38949         [BZ #13717]
38950         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
38951         to 2.4.0 where earlier.
38952         * sysdeps/unix/sysv/linux/configure: Regenerated.
38953         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
38954         <kernel-features.h>.
38955         [__ASSUME_32BITUIDS]: Make code unconditional.
38956         [!__ASSUME_32BITUIDS]: Remove conditional code.
38957         * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
38958         <kernel-features.h>.
38959         [__ASSUME_32BITUIDS]: Make code unconditional.
38960         [!__ASSUME_32BITUIDS]: Remove conditional code.
38961         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
38962         [__ASSUME_32BITUIDS]: Make code unconditional.
38963         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
38964         * sysdeps/unix/sysv/linux/i386/getegid.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/geteuid.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/getgid.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/i386/getgroups.c: Do not include
38977         <kernel-features.h>.
38978         [__ASSUME_32BITUIDS]: Make code unconditional.
38979         [!__ASSUME_32BITUIDS]: Remove conditional code.
38980         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
38981         <kernel-features.h>.
38982         [__ASSUME_32BITUIDS]: Make code unconditional.
38983         [!__ASSUME_32BITUIDS]: Remove conditional code.
38984         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
38985         <kernel-features.h>.
38986         [__ASSUME_32BITUIDS]: Make code unconditional.
38987         [!__ASSUME_32BITUIDS]: Remove conditional code.
38988         * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
38989         <kernel-features.h>.
38990         [__ASSUME_32BITUIDS]: Make code unconditional.
38991         [!__ASSUME_32BITUIDS]: Remove conditional code.
38992         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
38993         <kernel-features.h>.
38994         [__ASSUME_32BITUIDS]: Make code unconditional.
38995         [!__ASSUME_32BITUIDS]: Remove conditional code.
38996         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
38997         <kernel-features.h>.
38998         [__ASSUME_32BITUIDS]: Make code unconditional.
38999         [!__ASSUME_32BITUIDS]: Remove conditional code.
39000         * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
39001         <kernel-features.h>.
39002         [__ASSUME_32BITUIDS]: Make code unconditional.
39003         [!__ASSUME_32BITUIDS]: Remove conditional code.
39004         * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
39005         <kernel-features.h>.
39006         [__NR_setresgid] (__setresgid): Do not declare.
39007         [__ASSUME_32BITUIDS]: Make code unconditional.
39008         [!__ASSUME_32BITUIDS]: Remove conditional code.
39009         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
39010         <kernel-features.h>.
39011         [__NR_setresuid] (__setresuid): Do not declare.
39012         [__ASSUME_32BITUIDS]: Make code unconditional.
39013         [!__ASSUME_32BITUIDS]: Remove conditional code.
39014         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
39015         <kernel-features.h>.
39016         [__ASSUME_32BITUIDS]: Make code unconditional.
39017         [!__ASSUME_32BITUIDS]: Remove conditional code.
39018         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
39019         <kernel-features.h>.
39020         [__ASSUME_32BITUIDS]: Make code unconditional.
39021         [!__ASSUME_32BITUIDS]: Remove conditional code.
39022         * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
39023         <kernel-features.h>.
39024         [__ASSUME_32BITUIDS]: Make code unconditional.
39025         [!__ASSUME_32BITUIDS]: Remove conditional code.
39026         * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
39027         <kernel-features.h>.
39028         [__ASSUME_32BITUIDS]: Make code unconditional.
39029         [!__ASSUME_32BITUIDS]: Remove conditional code.
39030         * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
39031         <kernel-features.h>.
39032         [__ASSUME_32BITUIDS]: Make code unconditional.
39033         [!__ASSUME_32BITUIDS]: Remove conditional code.
39034         * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
39035         <kernel-features.h>.
39036         [__ASSUME_32BITUIDS]: Make code unconditional.
39037         [!__ASSUME_32BITUIDS]: Remove conditional code.
39038         * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
39039         <kernel-features.h>.
39040         [__ASSUME_32BITUIDS]: Make code unconditional.
39041         [!__ASSUME_32BITUIDS]: Remove conditional code.
39042         * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
39043         <kernel-features.h>.
39044         [__ASSUME_32BITUIDS]: Make code unconditional.
39045         [!__ASSUME_32BITUIDS]: Remove conditional code.
39046         * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
39047         <kernel-features.h>.
39048         [__ASSUME_32BITUIDS]: Make code unconditional.
39049         [!__ASSUME_32BITUIDS]: Remove conditional code.
39050         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
39051         <kernel-features.h>.
39052         [__ASSUME_32BITUIDS]: Make code unconditional.
39053         [!__ASSUME_32BITUIDS]: Remove conditional code.
39054         * sysdeps/unix/sysv/linux/kernel-features.h
39055         (__ASSUME_SETRESUID_SYSCALL): Remove.
39056         (__ASSUME_SETRESGID_SYSCALL): Likewise.
39057         (__ASSUME_32BITUIDS): Likewise.
39058         (__ASSUME_LDT_WORKS): Likewise.
39059         (__ASSUME_O_DIRECTORY): Likewise.
39060         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
39061         architecture but not kernel version.
39062         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
39063         (__ASSUME_MMAP2_SYSCALL): Likewise.
39064         (__ASSUME_STAT64_SYSCALL): Likewise.
39065         (__ASSUME_IPC64): Likewise.
39066         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
39067         <kernel-features.h>.
39068         [__ASSUME_32BITUIDS]: Make code unconditional.
39069         [!__ASSUME_32BITUIDS]: Remove conditional code.
39070         * sysdeps/unix/sysv/linux/opendir.c: Do not include
39071         <kernel-features.h>.
39072         [__ASSUME_O_DIRECTORY]: Make code unconditional.
39073         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
39074         132096]: Remove conditional code.
39075         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
39076         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
39077         <kernel-features.h>.
39078         [__ASSUME_32BITUIDS]: Make code unconditional.
39079         [!__ASSUME_32BITUIDS]: Remove conditional code.
39080         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
39081         <kernel-features.h>.
39082         [__ASSUME_32BITUIDS]: Make code unconditional.
39083         [!__ASSUME_32BITUIDS]: Remove conditional code.
39084         * sysdeps/unix/sysv/linux/setegid.c: Do not include
39085         <kernel-features.h>.
39086         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
39087         unconditional.
39088         (__setresgid): Do not declare.
39089         [__ASSUME_32BITUIDS]: Make code unconditional.
39090         [!__ASSUME_32BITUIDS]: Remove conditional code.
39091         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
39092         <kernel-features.h>.
39093         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
39094         unconditional.
39095         (__setresuid): Do not declare.
39096         [__ASSUME_32BITUIDS]: Make code unconditional.
39097         [!__ASSUME_32BITUIDS]: Remove conditional code.
39098         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
39099         <kernel-features.h>.
39100         [__ASSUME_32BITUIDS]: Make code unconditional.
39101         [!__ASSUME_32BITUIDS]: Remove conditional code.
39102         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
39103         <kernel-features.h>.
39104         [__ASSUME_32BITUIDS]: Make code unconditional.
39105         [!__ASSUME_32BITUIDS]: Remove conditional code.
39106
39107 2012-05-25  Richard Henderson  <rth@twiddle.net>
39108
39109         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
39110         dl_hwcap to ifunc resolver.
39111         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
39112         elf_ifunc_invoke.
39113         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
39114         dl_hwcap to ifunc resolver.
39115         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
39116
39117 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
39118
39119         [BZ #14153]
39120         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
39121         for |x| <= 2**-26, not 2**-57.
39122         * math/libm-test.inc (acos_test): Do not allow spurious underflow
39123         exception.
39124
39125 2012-05-24  Jeff Law  <law@redhat.com>
39126
39127         * stdio-common/Makefile (tests): Add bug25.
39128         * stdio-common/bug25.c: New test.
39129
39130 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
39131
39132         [BZ #13576]
39133         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
39134         multiple of MALLOC_ALIGNMENT in size.
39135         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
39136
39137 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
39138
39139         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
39140         Require >= 256.
39141         (FILENAME_MAX): Use macro-int-constant.
39142         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
39143         (_IOFBF): Use macro-int-constant.
39144         (_IOLBF): Likewise.
39145         (_IONBF): Likewise.
39146         (SEEK_CUR): Likewise.
39147         (SEEK_END): Likewise.
39148         (SEEK_SET): Likewise.
39149         (TMP_MAX): Likewise.
39150         (EOF): Use macro-int-constant.  Require < 0.
39151         (NULL): Use macro-constant.  Require == 0.
39152         (stdin): Require type to be FILE *.
39153         (stdout): Likewise.
39154         (stderr): Likewise.
39155         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
39156         macro-int-constant.
39157         (EXIT_SUCCESS): Likewise.
39158         (NULL): Use macro-constant.  Require == 0.
39159         (RAND_MAX): Use macro-int-constant.
39160         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
39161         [C99-based standards] (strtof): Require function.
39162         [C99-based standards] (strtold): Likewise.
39163         [C99-based standards] (strtoll): Likewise.
39164         [C99-based standards] (strtoull): Likewise.
39165         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
39166         [ISO || ISO99 || ISO11] (limits.h): Likewise.
39167         [ISO || ISO99 || ISO11] (math.h): Likewise.
39168         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
39169         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
39170         [ISO || ISO99 || ISO11] (*_t): Do not allow.
39171
39172 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
39173
39174         [BZ #14132]
39175         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
39176         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
39177         * intl/dgettext.c (DCGETTEXT): Likewise.
39178         * intl/gettext.c (DCGETTEXT): Likewise.
39179         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
39180         * posix/regex_internal.h (gettext): Likewise.
39181         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
39182         Remove declaration.
39183         * include/argz.h (__argz_count_internal)
39184         (__argz_stringify_internal): Remove declaration.
39185         (__argz_count, __argz_stringify): Declare hidden proto.
39186         * intl/dcgettext.c: Remove use of INTDEF.
39187         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
39188         * string/argz-stringify.c: Likewise.
39189         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
39190         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
39191         Declare hidden proto.
39192         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
39193         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
39194         Declare hidden proto.
39195         * include/stdio.h (__asprintf_internal): Don't declare.
39196         (__asprintf): Don't define as macro.  Declare hidden proto.
39197         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
39198         (__fsetlocking): Declare hidden proto.
39199         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
39200         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
39201         hidden proto.
39202         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
39203         (_IO_setlinebuf): Remove use of INTUSE.
39204         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
39205         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
39206         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
39207         Remove declaration.
39208         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
39209         (_IO_do_flush): Remove use of INTUSE.
39210         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
39211         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
39212         (_IO_adjust_column, _IO_least_wmarker)
39213         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
39214         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
39215         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
39216         (_IO_default_doallocate, _IO_wdefault_doallocate)
39217         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
39218         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
39219         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
39220         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
39221         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
39222         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
39223         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
39224         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
39225         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
39226         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
39227         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
39228         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
39229         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
39230         proto.
39231         (_IO_flush_all_internal, _IO_adjust_column_internal)
39232         (_IO_default_uflow_internal, _IO_default_finish_internal)
39233         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
39234         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
39235         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
39236         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
39237         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
39238         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
39239         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
39240         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
39241         (_IO_file_close_internal, _IO_file_close_it_internal)
39242         (_IO_file_underflow_internal, _IO_file_overflow_internal)
39243         (_IO_file_init_internal, _IO_file_attach_internal)
39244         (_IO_file_fopen_internal, _IO_file_read_internal)
39245         (_IO_file_sync_internal, _IO_file_seek_internal)
39246         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
39247         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
39248         (_IO_str_underflow_internal, _IO_str_overflow_internal)
39249         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
39250         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
39251         (_IO_list_all_internal, _IO_link_in_internal)
39252         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
39253         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
39254         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
39255         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
39256         (_IO_do_write_internal, _IO_padn_internal)
39257         (_IO_getline_info_internal, _IO_getline_internal)
39258         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
39259         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
39260         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
39261         (_IO_vfscanf_internal, _IO_vfprintf_internal)
39262         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
39263         (_IO_init_internal, _IO_un_link_internal): Don't declare.
39264         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
39265         with libc_hidden_ver, remove use of INTUSE.
39266         * libio/genops.c: Likewise.
39267         * libio/freopen.c: Likewise.
39268         * libio/freopen64.c: Likewise.
39269         * libio/iofclose.c: Likewise.
39270         * libio/iofdopen.c: Likewise.
39271         * libio/iofflush.c: Likewise.
39272         * libio/iofflush_u.c: Likewise.
39273         * libio/iofgets.c: Likewise.
39274         * libio/iofgets_u.c: Likewise.
39275         * libio/iofopen.c: Likewise.
39276         * libio/iofopncook.c: Likewise.
39277         * libio/iofread.c: Likewise.
39278         * libio/iofread_u.c: Likewise.
39279         * libio/ioftell.c: Likewise.
39280         * libio/iofwrite.c: Likewise.
39281         * libio/iogetline.c: Likewise.
39282         * libio/iogets.c: Likewise.
39283         * libio/iogetwline.c: Likewise.
39284         * libio/iopadn.c: Likewise.
39285         * libio/iopopen.c: Likewise.
39286         * libio/ioseekoff.c: Likewise.
39287         * libio/ioseekpos.c: Likewise.
39288         * libio/iosetbuffer.c: Likewise.
39289         * libio/iosetvbuf.c: Likewise.
39290         * libio/ioungetc.c: Likewise.
39291         * libio/ioungetwc.c: Likewise.
39292         * libio/iovdprintf.c: Likewise.
39293         * libio/iovsprintf.c: Likewise.
39294         * libio/iovsscanf.c: Likewise.
39295         * libio/memstream.c: Likewise.
39296         * libio/obprintf.c: Likewise.
39297         * libio/oldfileops.c: Likewise.
39298         * libio/oldiofclose.c: Likewise.
39299         * libio/oldiofdopen.c: Likewise.
39300         * libio/oldiofopen.c: Likewise.
39301         * libio/oldiopopen.c: Likewise.
39302         * libio/oldstdfiles.c: Likewise.
39303         * libio/putc.c: Likewise.
39304         * libio/setbuf.c: Likewise.
39305         * libio/setlinebuf.c: Likewise.
39306         * libio/stdfiles.c: Likewise.
39307         * libio/strops.c: Likewise.
39308         * libio/vasprintf.c: Likewise.
39309         * libio/vscanf.c: Likewise.
39310         * libio/vsnprintf.c: Likewise.
39311         * libio/vswprintf.c: Likewise.
39312         * libio/wfiledoalloc.c: Likewise.
39313         * libio/wfileops.c: Likewise.
39314         * libio/wgenops.c: Likewise.
39315         * libio/wmemstream.c: Likewise.
39316         * libio/wstrops.c: Likewise.
39317         * libio/__fpurge.c: Likewise.
39318         * libio/__fsetlocking.c: Likewise.
39319         * assert/assert.c: Likewise.
39320         * debug/fgets_chk.c: Likewise.
39321         * debug/fgets_u_chk.c: Likewise.
39322         * debug/fread_chk.c: Likewise.
39323         * debug/fread_u_chk.c: Likewise.
39324         * debug/gets_chk.c: Likewise.
39325         * debug/obprintf_chk.c: Likewise.
39326         * debug/vasprintf_chk.c: Likewise.
39327         * debug/vdprintf_chk.c: Likewise.
39328         * debug/vsnprintf_chk.c: Likewise.
39329         * debug/vsprintf_chk.c: Likewise.
39330         * malloc/mtrace.c: Likewise.
39331         * misc/error.c: Likewise.
39332         * misc/syslog.c: Likewise.
39333         * stdio-common/asprintf.c: Likewise.
39334         * stdio-common/fxprintf.c: Likewise.
39335         * stdio-common/getw.c: Likewise.
39336         * stdio-common/isoc99_fscanf.c: Likewise.
39337         * stdio-common/isoc99_scanf.c: Likewise.
39338         * stdio-common/isoc99_vfscanf.c: Likewise.
39339         * stdio-common/isoc99_vscanf.c: Likewise.
39340         * stdio-common/isoc99_vsscanf.c: Likewise.
39341         * stdio-common/printf-prs.c: Likewise.
39342         * stdio-common/printf_fp.c: Likewise.
39343         * stdio-common/printf_fphex.c: Likewise.
39344         * stdio-common/printf_size.c: Likewise.
39345         * stdio-common/putw.c: Likewise.
39346         * stdio-common/scanf.c: Likewise.
39347         * stdio-common/sprintf.c: Likewise.
39348         * stdio-common/tmpfile.c: Likewise.
39349         * stdio-common/vfprintf.c: Likewise.
39350         * stdio-common/vfscanf.c: Likewise.
39351         * stdlib/strfmon_l.c: Likewise.
39352         * sunrpc/openchild.c: Likewise.
39353         * sunrpc/xdr_stdio.c: Likewise.
39354         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
39355         * sysdeps/mach/hurd/tmpfile.c: Likewise.
39356
39357 2012-05-24  Roland McGrath  <roland@hack.frob.com>
39358
39359         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
39360
39361         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
39362         in the third column, to generate for the shared library an IFUNC
39363         that uses _dl_vdso_vsym.
39364         * Makerules (COMPILE.c, compile-stdin.c): New variables.
39365         * Makeconfig (object-suffixes-noshared): New variable.
39366
39367         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
39368         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
39369         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
39370         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
39371
39372         [BZ #14132]
39373         * include/sys/time.h (__gettimeofday): Remove macro.
39374         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
39375         * time/gettimeofday.c (__gettimeofday): Remove #undef.
39376         Remove INTDEF.
39377         (__gettimeofday): Add libc_hidden_def.
39378         (gettimeofday): Add libc_hidden_weak.
39379         * sysdeps/mach/gettimeofday.c: Likewise.
39380         * sysdeps/posix/gettimeofday.c: Likewise.
39381         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
39382         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
39383         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
39384         (__gettimeofday_internal): Remove strong_alias.
39385         (__gettimeofday): Add libc_hidden_def.
39386         (gettimeofday): Add libc_hidden_weak.
39387         * sysdeps/unix/syscalls.list (gettimeofday):
39388         Remove __gettimeofday_internal alias.
39389
39390 2012-05-24  Daniel Jacobowitz  <drow@false.org>
39391             H.J. Lu  <hongjiu.lu@intel.com>
39392
39393         [BZ #12495]
39394         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
39395         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
39396         (largebin_index_32_big): New.
39397         (largebin_index): Use it for 16-byte alignment.
39398         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
39399         correction with front_misalign.
39400
39401 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
39402
39403         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
39404         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
39405         Likewise.
39406         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
39407         Likewise.
39408         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
39409         Likewise.
39410         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
39411         Likewise.
39412         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
39413         Likewise.
39414         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
39415         Likewise.
39416         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
39417         Likewise.
39418         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
39419         Likewise.
39420         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
39421         Likewise.
39422         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
39423         Likewise.
39424         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
39425         Likewise.
39426         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
39427         Likewise.
39428
39429         * scripts/data/c++-types-x32-linux-gnu.data: New file.
39430         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
39431
39432 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
39433
39434         [BZ #10846]
39435         [BZ #14036]
39436         * math/libm-test.inc (exp_test): Add test from bug 14036.
39437         (pow_test): Add test from bug 10846.
39438
39439         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
39440         and other flags.
39441         (special_function): Do not include flags in test name.
39442         (parse_args): Likewise.
39443         * sysdeps/i386/fpu/libm-test-ulps: Update.
39444         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
39445         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
39446         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
39447         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39448
39449         * math/gen-libm-test.pl (%beautify): Add entries for underflow
39450         exceptions.
39451         * math/libm-test.inc ("Philosophy"): Update comment about
39452         exception testing.
39453         (UNDERFLOW_EXCEPTION): New macro.
39454         (UNDERFLOW_EXCEPTION_OK): Likewise.
39455         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
39456         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
39457         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
39458         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
39459         (INVALID_EXCEPTION_OK): Update value.
39460         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
39461         (OVERFLOW_EXCEPTION_OK): Likewise.
39462         (IGNORE_ZERO_INF_SIGN): Likewise.
39463         (test_exceptions): Handle underflow exceptions.
39464         (acos_test): Update for underflow exception expectations.
39465         (cexp_test): Likewise.
39466         (clog_test): Likewise.
39467         (clog10_test): Likewise.
39468         (csqrt_test): Likewise.
39469         (ctan_test): Likewise.
39470         (ctanh_test): Likewise.
39471         (exp_test): Likewise.
39472         (exp10_test): Likewise.
39473         (exp2_test): Likewise.
39474         (expm1_test): Likewise.
39475         (fma_test): Likewise.
39476         (j0_test): Likewise.
39477         (jn_test): Likewise.
39478         (nexttoward_test): Likewise.
39479         (pow_test): Likewise.
39480         (scalbn_test): Likewise.
39481         (scalbln_test): Likewise.
39482         (tan_test): Likewise.
39483         (y1_test): Likewise.
39484         * sysdeps/i386/fpu/libm-test-ulps: Update.
39485         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39486
39487 2012-05-23  David S. Miller  <davem@davemloft.net>
39488
39489         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
39490         (__libc_sigaction): Remove unused local variables.
39491
39492 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
39493
39494         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
39495
39496 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
39497
39498         mktime: avoid signed integer overflow
39499         * time/mktime.c (__mktime_internal): Do not mishandle the case
39500         where diff == INT_MIN.
39501
39502         mktime: simplify computation of average
39503         * time/mktime.c (ranged_convert): Use new time_t_avg function
39504         instead of rolling our own (probably-slower) code.
39505
39506         mktime: do not assume signed right shift propagates sign bit
39507         * time/mktime.c (isdst_differ): New static function.
39508         (__mktime_internal): No need to normalize tm_isdst now.
39509         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
39510         tm_isdst values.
39511
39512         mktime: merge another wrapv change from gnulib
39513         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
39514         from some compilers.
39515
39516         mktime: remove incorrect attempt at unusual arithmetics
39517         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
39518         The code didn't really work on such machines anyway.
39519         (TYPE_MINIMUM): Assume two's complement.
39520         (twos_complement_arithmetic): Verify that long_int and time_t
39521         are two's complement (or unsigned, in the latter case).
39522
39523         mktime: check signed shifts on long_int and time_t, too
39524         * time/mktime.c (SHR): Check that shifts work as desired
39525         on the types long_int and time_t too, as SHR is used on
39526         such types.
39527
39528         mktime: do not assume 'long' is wide enough
39529         * time/mktime.c (verify): Move decl up.
39530         (long_int): New type.
39531         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
39532         to remove assumption in the code that 'long' is wide enough to
39533         store year values.  This assumption is not true on x32 and on
39534         some non-glibc platforms.
39535
39536         mktime: merge wrapv change from gnulib
39537         * time/mktime.c (WRAPV): New macro.
39538         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
39539         (guess_time_tm, __mktime_internal): Do not assume that signed
39540         integer overflow wraps around; modern compilers generate code
39541         where this assumption is no longer valid.
39542
39543 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
39544
39545         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
39546         Replace "jmp L(pseudo_end)" with "ret".
39547         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
39548         Likewise.
39549
39550 2012-05-23  Andreas Jaeger  <aj@suse.de>
39551
39552         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
39553         * sysdeps/unix/sysv/linux/poll.c: Remove file.
39554
39555 2012-05-23  Andreas Jaeger  <aj@suse.de>
39556             Maximilian Attems  <max@stro.at>
39557
39558         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
39559         New macros.
39560
39561 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
39562
39563         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
39564         code so that pseudo_end is just ret and the stack pointer is
39565         correct also for static library in error case.
39566
39567 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
39568
39569         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
39570         move to syscalls.list.
39571         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
39572         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
39573         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
39574         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
39575
39576         * manual/install.texi (Running make install): Do not mention Linux
39577         kernel version for which pt_chown is not needed.
39578         (Linux): Do not mention problems with nscd with 2.0 kernels.
39579         * INSTALL: Regenerated.
39580
39581 2012-05-23  Andreas Jaeger  <aj@suse.de>
39582
39583         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
39584         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
39585         macro.
39586         * sysdeps/unix/sysv/linux/s390/bits/mman.h
39587         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
39588         * sysdeps/unix/sysv/linux/sh/bits/mman.h
39589         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
39590         * sysdeps/unix/sysv/linux/i386/bits/mman.h
39591         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
39592         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
39593         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
39594         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
39595         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
39596         * sysdeps/unix/sysv/linux/bits/in.h
39597         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
39598
39599 2012-05-22  Roland McGrath  <roland@hack.frob.com>
39600
39601         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
39602         (PREPARE_VERSION): Just use assert instead, it will be elided
39603         under [NDEBUG] anyway.
39604
39605 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
39606
39607         * sysdeps/unix/sysv/linux/Makefile: Include
39608         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
39609         (sysdep_routines): Remove sysctl.
39610         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
39611         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
39612         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
39613         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
39614         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
39615
39616 2012-05-22  Andreas Jaeger  <aj@suse.de>
39617
39618         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
39619         that pseudo_end is just ret and the stack pointer is correct also
39620         for static library in error case.
39621
39622 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
39623
39624         [BZ #14122]
39625         * nss/nsswitch.c (defconfig_entries): New variable.
39626         (__nss_database_lookup): Don't leak defconfig entries.
39627         (nss_parse_service_list): Don't leak on error paths.
39628         (free_database_entries): New function.
39629         (free_defconfig): New function.
39630         (free_mem): Move common code to free_database_entries.
39631
39632 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
39633
39634         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
39635         Add arch_prctl.
39636         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
39637
39638         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
39639         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
39640         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
39641         New macro.
39642         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
39643         (INTERNAL_SYSCALL_TYPES): Likewise.
39644         (LOAD_ARGS_TYPES_[1-6]): Likewise.
39645         (LOAD_REGS_TYPES_[1-6]): Likewise.
39646         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
39647         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
39648
39649 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39650
39651         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
39652         copysignl for GLIBC_2_0.
39653         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
39654         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
39655         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
39656         logbl for GLIBC_2_0.
39657         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
39658         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
39659
39660 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
39661
39662         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
39663         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
39664
39665         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
39666         Use "neg %eax".
39667
39668         * time/mktime.c: Update copyright years.
39669
39670 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
39671
39672         mktime: merge comment-quoting-style change from gnulib
39673         * time/mktime.c: Quote 'like this' in comments.
39674         The GNU coding standards suggest that we no longer quote `like this',
39675         as "`" and "'" are typically rendered asymmetrically nowadays.
39676         The typical gnulib style is to quote 'like this' when quoting
39677         code, and "like this" when quoting English.
39678
39679         * time/mktime.c (compile-command): Add "-I.".
39680
39681         mktime: merge mktime-internal.h change from gnulib
39682         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
39683
39684         mktime: merge time_r change from gnulib
39685         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
39686
39687         mktime: merge DEBUG change from gnulib
39688         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
39689         case system <time.h> has a #define.
39690
39691         mktime: merge <sys/types.h> change from gnulib
39692         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
39693         since <time.t> is now guaranteed to define time_t.
39694
39695         mktime: merge HAVE_CONFIG_H change from gnulib
39696         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
39697
39698 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
39699
39700         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
39701         Use "neg %eax".
39702
39703         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
39704         __rlim_t cast.
39705         (struct rusage): Use anonymous union to pad each field to
39706         __syscall_slong_t.
39707
39708 2012-05-21  David S. Miller  <davem@davemloft.net>
39709
39710         * Makefules (o-iterator): Remove .s cases.
39711         (compile-command.s): Delete.
39712         (COMPILE.s): Delete.
39713         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
39714
39715 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
39716
39717         * configure.in (libc_cv_predef_stack_protector): Only consider
39718         "foobar" and "__stack_chk_fail" lines in libc_undefs.
39719         * configure: Regenerated.
39720
39721 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
39722
39723         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
39724         New macro.  Use R*LP on int and pointer.
39725         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
39726         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
39727         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
39728         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
39729
39730         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
39731         [__WORDSIZE_TIME64_COMPAT32] instead of
39732         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
39733         (struct utmp): Likewise.
39734         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
39735         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
39736         Renamed to ...
39737         (__WORDSIZE_TIME64_COMPAT32): This.
39738         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
39739         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
39740         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
39741         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
39742         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
39743         (__WORDSIZE_TIME64_COMPAT32): New macro.
39744
39745 2012-05-21  Andreas Jaeger  <aj@suse.de>
39746
39747         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
39748         only if [SHARED]. Add prototype for __wcschr_ia32.
39749
39750 2012-05-21  Roland McGrath  <roland@hack.frob.com>
39751
39752         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
39753         of %rbp unmolested in the jmp_buf while mangling the low bits.
39754         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
39755         unmolested high bits of %rbp while demangling the low bits.
39756         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
39757
39758 2012-05-21  Andreas Jaeger  <aj@suse.de>
39759
39760         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
39761         * sunrpc/svc_simple.c: Use it for registerrpc.
39762         * sunrpc/xcrypt.c: Use it for passwd2des.
39763
39764         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
39765
39766 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
39767
39768         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
39769         Don't define if [__SYSCALL_WORDSIZE != 32].
39770         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
39771         New macro.
39772
39773 2012-05-21  Bruno Haible  <bruno@clisp.org>
39774             Andreas Jaeger  <aj@suse.de>
39775
39776         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
39777         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
39778         inptr and inend for must_buffer_ch.
39779         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
39780         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
39781         * stdio-common/Makefile (tests): Remove bug15.
39782         (bug15-ENV): Remove macro.
39783         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
39784         anymore.
39785
39786 2012-05-19  Andreas Jaeger  <aj@suse.de>
39787             Roland McGrath  <roland@hack.frob.com>
39788
39789         * manual/contrib.texi: Completely rewritten. It contains now an
39790         alphabetical list of contributors and their contributions.
39791
39792 2012-05-21  Richard Henderson  <rth@twiddle.net>
39793
39794         * misc/getauxval.c (__getauxval): Use unsigned long int.
39795         * misc/sys/auxv.h: Include <sys/cdefs.h>.
39796         (getauxval): Use unsigned long int.
39797
39798 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
39799
39800         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
39801
39802 2012-05-21  Roland McGrath  <roland@hack.frob.com>
39803
39804         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
39805         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
39806         __alignof__ (long double).
39807
39808 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39809
39810         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39811
39812 2012-05-20  Richard Henderson  <rth@twiddle.net>
39813
39814         * misc/getauxval.c: New file.
39815         * misc/sys/auxv.h: New file.
39816         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
39817         (routines): Add getauxval.
39818         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
39819         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
39820         * elf/dl-sysdep.c (_dl_auxv): Remove.
39821         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
39822         * elf/dl-support.c (_dl_auxv): New variable.
39823         (_dl_aux_init): Initialize it.
39824         * manual/startup.texi (Auxiliary Vector): New node.
39825         * sysdeps/generic/bits/hwcap.h: New file.
39826         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
39827         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
39828         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
39829         * sysdeps/sparc/sysdep.h: ... here.  Include it.
39830         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
39831         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
39832         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
39833         Update.
39834         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
39835         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
39836         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
39837         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
39838         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
39839         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
39840         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
39841         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
39842
39843 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39844
39845         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39846
39847 2012-05-19  David S. Miller  <davem@davemloft.net>
39848
39849         * sysdeps/sparc/fpu/libm-test-ulps: Update.
39850
39851 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
39852
39853         [BZ #14123]
39854         * math/s_ccosh.c: Include <float.h>
39855         (__ccosh): Avoid internal overflow calculating sinh and cosh
39856         values before multiplying by sin and cos values.
39857         * math/s_ccoshf.c: Likewise.
39858         * math/s_ccoshl.c: Likewise.
39859         * math/s_csin.c: Likewise.
39860         * math/s_csinf.c: Likewise.
39861         * math/s_csinl.c: Likewise.
39862         * math/s_csinh.c: Likewise.
39863         * math/s_csinhf.c: Likewise.
39864         * math/s_csinhl.c: Likewise.
39865         * math/libm-test.inc (ccos_test): Add more tests.
39866         (ccosh_test): Likewise.
39867         (csin_test): Likewise.
39868         (csinh_test): Likewise.
39869         * sysdeps/i386/fpu/libm-test-ulps: Update.
39870         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39871
39872 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
39873
39874         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
39875         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
39876
39877         * sysdeps/x86_64/x32/_itoa.h: Add comment.
39878
39879 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
39880
39881         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
39882         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
39883         * sysdeps/powerpc/soft-fp/Versions: Likewise.
39884         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
39885         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
39886         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
39887         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
39888         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
39889         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
39890         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
39891         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
39892         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
39893         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
39894         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
39895         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
39896         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
39897         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
39898         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
39899         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
39900         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
39901         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
39902         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
39903         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
39904         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
39905         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
39906         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
39907         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
39908         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
39909         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
39910         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
39911         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
39912
39913 2012-05-18  Andreas Jaeger  <aj@suse.de>
39914
39915         * csu/.gitignore: Delete.
39916
39917 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
39918
39919         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
39920         (timex): Use __syscall_slong_t.
39921
39922 2012-05-18  Andreas Jaeger  <aj@suse.de>
39923             Carlos O'Donell  <carlos_odonell@mentor.com>
39924
39925         * manual/install.texi (Configuring and compiling): Update
39926         description about files modified in the source directory.
39927         * INSTALL: Regenerated.
39928
39929 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
39930
39931         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
39932         value.  Use "or" to set return value to -1.
39933         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
39934         negate return value.
39935
39936 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
39937
39938         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
39939         (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
39940         failure if the compiler has Graphite support disabled.
39941         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
39942         Likewise.
39943         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
39944         (CFLAGS-memmove.c): Likewise.
39945         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
39946         Likewise.
39947
39948 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
39949
39950         * sysdeps/x86_64/x32/_itoa.h: New file.
39951
39952         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
39953         getdents system call only if kernel and user dirents have the
39954         same d_ino and d_off.
39955
39956         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
39957         LLONG_MAX != LONG_MAX.
39958         (_itoa_word): Use _ITOA_WORD_TYPE on value.
39959         (_fitoa_word): Likewise.
39960
39961         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
39962         years.
39963         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
39964         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
39965         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
39966
39967         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
39968         include <bits/wordsize.h>.  Check __x86_64__ instead of
39969         __WORDSIZE.
39970         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
39971         if __x86_64__ is defined.  Use anonymous union on fpstate.
39972
39973         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
39974         anonymous union.
39975
39976 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
39977
39978         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
39979         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
39980         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
39981         Refer to _rtld_local_ro instead of _rtld_global_ro.
39982         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
39983         Likewise.
39984         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
39985         Likewise.
39986         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
39987         Likewise.
39988         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
39989         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
39990         of _rtld_global, and rtld_progname instead of _dl_argv[0].
39991
39992         * sysdeps/powerpc/powerpc32/dl-machine.c
39993         (__elf_machine_runtime_setup) [PROF]: Don't reference
39994         _dl_prof_resolve.
39995
39996 2012-05-18  Andreas Jaeger  <aj@suse.de>
39997
39998         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
39999         function only available for GCCs before 3.4 since GCC 3.4
40000         introduced a builtin.
40001         (lrint): Likewise.
40002         (llrintf): Likewise.
40003         (llrint): Likewise.
40004         (fmaxf): Likewise.
40005         (fmax): Likewise.
40006         (fminf): Likewise.
40007         (fmin): Likewise.
40008         (rint): Likewise.
40009         (rintf): Likewise.
40010         (nearbyint): Likewise.
40011         (nearbyintf): Likewise.
40012         (ceil): Likewise.
40013         (ceilf): Likewise.
40014         (floor): Likewise.
40015         (floorf): Likewise.
40016
40017 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
40018
40019         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
40020         on both fields and cast pointer to __syscall_ulong_t.
40021
40022         * bits/types.h (__fsword_t): New type.
40023         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
40024         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
40025         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
40026         (__FSWORD_T_TYPE): Likewise.
40027         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
40028         (__FSWORD_T_TYPE): Likewise.
40029         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
40030         (__FSWORD_T_TYPE): Likewise.
40031         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
40032         (__FSWORD_T_TYPE): Likewise.
40033         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
40034         __SWORD_TYPE with __fsword_t.
40035         (statfs64): Likewise.
40036
40037 2012-05-17  David S. Miller  <davem@davemloft.net>
40038
40039         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
40040
40041 2012-05-17  Andreas Jaeger  <aj@suse.de>
40042
40043         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
40044         warning.
40045
40046 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
40047
40048         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
40049
40050 2012-05-17  Andreas Jaeger  <aj@suse.de>
40051
40052         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
40053         when it is used.
40054
40055 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
40056
40057         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
40058
40059 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
40060
40061         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
40062         * sysdeps/x86_64/tst-mallocalign1.c: New file.
40063
40064 2012-05-17  Andreas Jaeger  <aj@suse.de>
40065             Carlos O'Donell  <carlos_odonell@mentor.com>
40066
40067         [BZ #14059]
40068         * sysdeps/x86_64/multiarch/init-arch.h
40069         (bit_YMM_Usable): Rename to...
40070         (bit_AVX_Usable): ... this.
40071         (bit_FMA4_Usable): New macro.
40072         (bit_XMM_state): New macro.
40073         (bit_YMM_state): New macro.
40074         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
40075         [__ASSEMBLER__] (index_AVX_Usable): ... this.
40076         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
40077         (CPUID_OSXSAVE): New macro.
40078         (CPUID_AVX): New macro.
40079         (CPUID_FMA4): New macro.
40080         (index_YMM_Usable): Rename to...
40081         (index_AVX_Usable): ... this.
40082         (HAS_AVX): Use HAS_ARCH_FEATURE.
40083         (HAS_FMA4): Likewise.
40084         (HAS_YMM_USABLE): Remove.
40085         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
40086         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
40087         are present.
40088         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
40089         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
40090         * sysdeps/x86_64/multiarch/Makefile: Likewise.
40091         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
40092         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
40093
40094 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
40095
40096         * math/libm-test.c: Support platforms without multiple rounding modes.
40097         * math/bug-nextafter.c: Support platforms without FP exceptions.
40098         * math/bug-nexttoward.c: Likewise.
40099         * math/test-fenv.c: Likewise.
40100         * math/test-misc.c: Likewise.
40101         * stdlib/bug-getcontext.c: Likewise.
40102
40103 2012-05-17  Andreas Jaeger  <aj@suse.de>
40104
40105         * manual/examples/search.c (critter_cmp): Change signature to
40106         avoid warnings.
40107         * manual/string.texi (Collation Functions): Likewise.
40108
40109 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
40110
40111         * bits/types.h: Fold copyright years.
40112         * bits/typesizes.h: Likewise.
40113         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
40114         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
40115         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
40116         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
40117         * time/time.h: Likewise.
40118
40119 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
40120
40121         [BZ #208]
40122         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
40123         in instead of returning them.  Return void.
40124         (__libc_mallinfo): Accumulate over all arenas.
40125         (__malloc_stats): Adjust for change in int_mallinfo interface.
40126
40127 2012-05-16  Roland McGrath  <roland@hack.frob.com>
40128
40129         [BZ #10375]
40130         * configure.in (NM): Add AC_CHECK_TOOL for it.
40131         (libc_extra_cflags): New substituted variable.
40132         Check for -fstack-protector being used implicitly.
40133         * configure: Regenerated.
40134         * config.make.in (config-extra-cflags): New variable,
40135         gets @libc_extra_cflags@.
40136         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
40137
40138         [BZ #10375]
40139         * configure.in: Check for _FORTIFY_SOURCE being predefined.
40140         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
40141         * configure: Regenerated.
40142         * config.make.in (CPPUNDEFS): New substituted variable.
40143         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
40144         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
40145         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
40146
40147 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
40148
40149         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
40150         (mq_attr): Use __syscall_slong_t.
40151
40152 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
40153
40154         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
40155         Check __x86_64__ instead of __WORDSIZE.
40156         (_STAT_VER_LINUX): Likewise.
40157         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
40158         __syscall_ulong_t and __syscall_slong_t.
40159         (stat64): Likewise.
40160
40161 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
40162
40163         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
40164
40165 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
40166
40167         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
40168
40169 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
40170
40171         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
40172         __syscall_ulong_t.
40173
40174         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
40175         include <bits/wordsize.h>.  Check __x86_64__ instead of
40176         __WORDSIZE.
40177         (greg_t): Use "__extension__ long long int" if __x86_64__ is
40178         defined.
40179         (mcontext_t): Replace "unsigned long" with "unsigned long long".
40180
40181         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
40182         include <bits/wordsize.h>.  Check __x86_64__ instead of
40183         __WORDSIZE.
40184         (user_regs_struct): Use "__extension__ unsigned long long"
40185         instead of "unsigned long" if __x86_64__ is defined.
40186         (user): Likewise.  Pad after pointer field if __ILP32__ is
40187         defined.
40188
40189 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
40190
40191         * configure.in (makeinfo): Require version 4.5 or later.  Allow
40192         versions 5 to 9.
40193         * configure: Regenerated.
40194         * manual/install.texi (texinfo): Increase version requirement to
40195         4.5 or later.
40196         * INSTALL: Regenerated.
40197
40198         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
40199
40200 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
40201
40202         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
40203
40204         * sysdeps/x86_64/x32/ffs.c: New file.
40205
40206         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
40207         __syscall_ulong_t.
40208         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
40209         defined.  Use __syscall_ulong_t.
40210         (shminfo): Use __syscall_ulong_t.
40211         (shm_info): Likewise.
40212
40213         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
40214         __syscall_ulong_t.
40215
40216         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
40217         <bits/wordsize.h>.
40218         (msgqnum_t): Use __syscall_ulong_t.
40219         (msglen_t): Likewise.
40220         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
40221         __syscall_ulong_t.
40222
40223         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
40224         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
40225
40226         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
40227
40228         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
40229         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
40230
40231         * sysvipc/sys/msg.h (msgbuf): Replace long int with
40232         __syscall_slong_t.
40233
40234         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
40235         include <bits/wordsize.h>.  Check __x86_64__ instead of
40236         __WORDSIZE.
40237
40238         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
40239         "unsigned long long int" if __x86_64__ is defined.
40240         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
40241
40242         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
40243         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
40244         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
40245
40246         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
40247         <stdint.h>.
40248         (GET_PC): Cast to uintptr_t first.
40249         (GET_FRAME): Likewise.
40250         (GET_STACK): Likewise.
40251
40252         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
40253         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
40254         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
40255         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
40256         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
40257         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
40258         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
40259         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
40260         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
40261         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
40262         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
40263         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
40264         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
40265         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
40266         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
40267         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
40268         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
40269         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
40270         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
40271         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
40272         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
40273         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
40274         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
40275         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
40276         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
40277         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
40278         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
40279         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
40280         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
40281
40282 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
40283
40284         * Makerules (+depfiles): Also collect depfiles from .oS in
40285         $(extra-objs).
40286         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
40287         .oS, $(libnldbl-routines)).
40288
40289         * Makerules (native-compile-mkdep-flags): Define.
40290         * sunrpc/Makefile (extra-objs): Add $(addprefix
40291         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
40292         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
40293         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
40294         calling $(make-target-directory).
40295
40296 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
40297
40298         * bits/types.h (__snseconds_t): Removed.
40299         * time/time.h (struct timespec): Replace __snseconds_t with
40300         __syscall_slong_t.
40301         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
40302         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
40303         Likewise.
40304         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
40305         (__SNSECONDS_T_TYPE): Likewise.
40306         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
40307         (__SNSECONDS_T_TYPE): Likewise.
40308         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
40309         (__SNSECONDS_T_TYPE): Likewise.
40310
40311 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
40312
40313         * sysdeps/mach/hurd/bits/typesizes.h
40314         (__SYSCALL_SLONG_TYPE): New macro.
40315         (__SYSCALL_ULONG_TYPE): Likewise.
40316
40317 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
40318
40319         * bits/types.h (__syscall_slong_t): New type.
40320         (__syscall_ulong_t): Likewise.
40321
40322         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
40323         (__SYSCALL_ULONG_TYPE): Likewise.
40324         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
40325         (__SYSCALL_SLONG_TYPE): Likewise.
40326         (__SYSCALL_ULONG_TYPE): Likewise.
40327         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
40328         (__SYSCALL_SLONG_TYPE): Likewise.
40329         (__SYSCALL_ULONG_TYPE): Likewise.
40330         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
40331         (__SYSCALL_SLONG_TYPE): Likewise.
40332         (__SYSCALL_ULONG_TYPE): Likewise.
40333
40334 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
40335
40336         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
40337         Add sigaltstack-offsets.sym.
40338         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
40339         <sigaltstack-offsets.h>.
40340         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
40341         longjmp_msg pointer.
40342         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
40343         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
40344         signal stack.
40345         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
40346
40347 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
40348
40349         * elf/stackguard-macros.h: Remove file.
40350         * sysdeps/generic/stackguard-macros.h: New file.
40351         * sysdeps/i386/stackguard-macros.h: Likewise.
40352         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
40353         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
40354         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
40355         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
40356         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
40357         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
40358         * sysdeps/x86_64/stackguard-macros.h: Likewise.
40359         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
40360         <elf/stackguard-macros.h>.
40361
40362         [BZ #14109]
40363         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
40364         __aligned__ in attribute.
40365         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
40366         (gregset_t): Likewise.
40367
40368 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
40369
40370         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
40371         * sysdeps/x86_64/64/Implies-after: Here.  New file.
40372         * sysdeps/x86_64/x32/Implies-after: New file.
40373
40374 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
40375
40376         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
40377         and access return value for _dl_profile_fixup.  Use R10_LP to
40378         load frame size.
40379
40380 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
40381
40382         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
40383
40384 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
40385
40386         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
40387         * sysdeps/x86_64/x32/sysdep.h: New file.
40388
40389 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
40390
40391         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
40392         * sysdeps/x86_64/setjmp.S: Likewise.
40393
40394 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40395
40396         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
40397         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
40398         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
40399         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
40400         remove unused global constant.
40401
40402 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
40403
40404         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
40405         include of <not-cancel.h>.
40406
40407 2012-05-15  Roland McGrath  <roland@hack.frob.com>
40408
40409         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
40410
40411 2012-05-15  Jeff Law  <law@redhat.com>
40412             Andreas Jaeger  <aj@suse.de>
40413
40414         [BZ #13594]
40415         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
40416         out from...
40417         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
40418         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
40419         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
40420         code changing __hst_map_handle.map.
40421
40422 2012-05-15  Roland McGrath  <roland@hack.frob.com>
40423
40424         * configure.in (sysnames): Look for Implies-before and Implies-after
40425         files.
40426         * configure: Regenerated.
40427
40428 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
40429
40430         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
40431         8-byte data alignment with LP_SIZE alignment.
40432
40433 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
40434
40435         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
40436         into R10_LP.
40437
40438 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
40439
40440         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
40441
40442 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
40443
40444         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
40445         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
40446         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
40447         Likewise.
40448         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
40449
40450 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
40451
40452         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
40453         (stackinfo_sub_sp): Likewise.
40454
40455 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
40456
40457         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
40458         RAX_LP.
40459
40460 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
40461
40462         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
40463         into R*_LP.
40464
40465 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
40466
40467         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
40468         sizes into R*_LP.
40469
40470 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
40471
40472         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
40473
40474 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
40475
40476         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
40477         into R11_LP and load __x86_64_shared_cache_size_half into
40478         R8_LP.
40479
40480 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
40481
40482         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
40483         R8_LP.
40484
40485 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40486
40487         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
40488         logb for POWER7.
40489         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
40490         logbf for POWER7.
40491         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
40492         logbl for POWER7.
40493         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
40494         powerpc32/power7/fpu/s_logb.c via #include.
40495         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
40496         powerpc32/power7/fpu/s_logbf.c via #include.
40497         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
40498         powerpc32/power7/fpu/s_logbl.c via #include.
40499
40500 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
40501
40502         * README.libm: Remove file.
40503
40504 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
40505
40506         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
40507         count for x32.  Use R*_LP and omit operand-size suffix.
40508
40509 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
40510
40511         * shlib-versions: Move x86_64-.*-linux.* entries to ...
40512         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
40513         * sysdeps/x86_64/x32/shlib-versions: New file.
40514
40515 2012-05-14  Roland McGrath  <roland@hack.frob.com>
40516
40517         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
40518         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
40519         Use _dl_fatal_printf instead.
40520
40521 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
40522
40523         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
40524         set if not set by the user.  Do not allow for being unset.
40525         * sysdeps/unix/sysv/linux/configure: Regenerated.
40526
40527 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
40528
40529         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
40530         the `q' suffix from lea and replace .quad with ASM_ADDR.
40531
40532 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
40533
40534         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
40535         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
40536         instead of $17.
40537         (PTR_DEMANGLE): Likewise.
40538
40539 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
40540
40541         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
40542         (LP_OP): Likewise.
40543         (ASM_ADDR): Likewise.
40544         (RAX_LP): Likewise.
40545         (RBP_LP): Likewise.
40546         (RBX_LP): Likewise.
40547         (RCX_LP): Likewise.
40548         (RDI_LP): Likewise.
40549         (RSI_LP): Likewise.
40550         (RSP_LP): Likewise.
40551         (R8_LP): Likewise.
40552         (R9_LP): Likewise.
40553         (R10_LP): Likewise.
40554         (R10_LP): Likewise.
40555         (R11_LP): Likewise.
40556         (R12_LP): Likewise.
40557         (R13_LP): Likewise.
40558         (R14_LP): Likewise.
40559         (R15_LP): Likewise.
40560
40561 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
40562
40563         * sysdeps/x86_64/x32/dl-machine.h: New file.
40564
40565 2012-05-14  Andreas Jaeger  <aj@suse.de>
40566
40567         * manual/Makefile (subdir): Remove export of subdir.
40568         (all): Remove target.
40569         (.PHONY): Remove all from list.
40570         (mkinstalldirs): Remove.
40571         (.PHONY): Remove installdirs from list.
40572         ($(inst_infodir)/libc.info): Use make-target-directory.
40573         (installdirs): Remove.
40574         (subdir_%): Remove.
40575         (glibc-targets): Remove.
40576         (lib): Remove.
40577         (stubs): Remove.
40578         ($(objpfx)stubs ../po/manual.pot): Remove.
40579         ($(objpfx)stamp%): Remove.
40580         (make-target-directory): Remove.
40581         (subdir_install): Remove.
40582         (routines): Remove.
40583         (aux): Remove.
40584         (sources): Remove.
40585         (objects): Remove.
40586         (headers): Remove.
40587
40588         [BZ #13750]
40589         * manual/.gitignore: Remove, it's not needed anymore.
40590         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
40591         all files in it.
40592         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
40593         directory.
40594         (texis): Renamed to $(objpfx)texis.
40595         (texis-path): New, contains path to generated files.
40596         (chapters.%): Use texis-path for complete path, add extra argument
40597         libc-texinfo.sh.
40598         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
40599         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
40600         (summary,texi, stamp-summary): Use complete path of
40601         files. Generate files in build dir.
40602         (dir-add.texi): Build in build dir.
40603         (libm-err.texi,stamp-libm-err): Likewise.
40604         (version.texi, stamp-version): Likewise.
40605         (.%c.texi): Likewise.
40606         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
40607         (mostlyclean): Remove target.
40608         (realclean): Remove target.
40609         (generated): Add new variable with contents from mostlyclean and
40610         realclean, remove entries duplicated in common-mostlyclean, add
40611         stamp-libm-err and stamp-version.
40612         (generated-dirs): Add libc directory.
40613         ($(inst_infodir)/libc.info): Install files from build dir.
40614
40615         * manual/install.texi (Configuring and compiling): Adjust since
40616         the info files are not part of the tar ball anymore.
40617
40618 2012-05-14  Andreas Jaeger  <aj@suse.de>
40619
40620         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
40621         variable.
40622
40623 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
40624
40625         [BZ #13717]
40626         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
40627         to 2.2.0 where earlier.
40628         * sysdeps/unix/sysv/linux/configure: Regenerated.
40629         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
40630         Remove conditional code.
40631         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
40632         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
40633         Remove conditional code.
40634         [!__NR_lchown]: Likewise.
40635         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
40636         [__NR_lchown]: Likewise.
40637         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
40638         comment referencing __ASSUME_LCHOWN_SYSCALL.
40639         * sysdeps/unix/sysv/linux/i386/sigaction.c
40640         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
40641         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
40642         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
40643         Remove conditional code.
40644         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
40645         (__protocol_available): Remove #if 0 code.
40646         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
40647         conditional code.
40648         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
40649         * sysdeps/unix/sysv/linux/kernel-features.h
40650         (__ASSUME_GETCWD_SYSCALL): Don't define.
40651         (__ASSUME_REALTIME_SIGNALS): Likewise.
40652         (__ASSUME_PREAD_SYSCALL): Likewise.
40653         (__ASSUME_PWRITE_SYSCALL): Likewise.
40654         (__ASSUME_POLL_SYSCALL): Likewise.
40655         (__ASSUME_LCHOWN_SYSCALL): Likewise.
40656         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
40657         non-SPARC.
40658         (__ASSUME_SIOCGIFNAME): Don't define.
40659         (__ASSUME_MSG_NOSIGNAL): Likewise.
40660         (__ASSUME_SENDFILE): Define unconditionally.
40661         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
40662         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
40663         conditional code.
40664         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
40665         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
40666         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
40667         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
40668         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
40669         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
40670         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
40671         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
40672         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
40673         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
40674         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
40675         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
40676         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
40677         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
40678         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
40679         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
40680         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
40681         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
40682         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
40683         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
40684         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
40685         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
40686         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
40687         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
40688         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
40689         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
40690         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
40691         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
40692         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
40693         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
40694         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
40695         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
40696         Remove conditional code.
40697         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
40698         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
40699         Remove conditional code.
40700         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
40701         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
40702         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
40703         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
40704         Remove conditional code.
40705         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
40706         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
40707         Remove conditional code.
40708         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
40709         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
40710         Remove conditional code.
40711         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
40712         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
40713         Remove conditional code.
40714         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
40715         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
40716         Remove conditional code.
40717         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
40718         * sysdeps/unix/sysv/linux/sh/pwrite64.c
40719         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
40720         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
40721         * sysdeps/unix/sysv/linux/sigaction.c
40722         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
40723         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
40724         * sysdeps/unix/sysv/linux/sigpending.c
40725         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
40726         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
40727         * sysdeps/unix/sysv/linux/sigprocmask.c
40728         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
40729         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
40730         * sysdeps/unix/sysv/linux/sigsuspend.c
40731         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
40732         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
40733         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
40734         (__libc_missing_rt_sigs): Remove.
40735         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
40736         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
40737         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
40738         Remove conditional code.
40739         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
40740         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
40741         return 1.
40742         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
40743         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
40744         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
40745         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
40746
40747 2012-05-14  Andreas Jaeger  <aj@suse.de>
40748
40749         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
40750         it's not used in glibc.
40751         (__coshm1): Likewise.
40752         (__acosh1p): Likewise.
40753         (__sgn): Likewise.
40754
40755         * manual/string.texi (Copying and Concatenation): Add missing
40756         variable in concat example.
40757         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
40758
40759 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
40760
40761         [BZ #14103]
40762         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
40763         __builtin_clzl with __builtin_clzll.
40764
40765 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
40766
40767         [BZ #14104]
40768         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
40769         libc_freeres_ptr.
40770
40771 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
40772
40773         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
40774         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
40775         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
40776         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
40777
40778 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
40779
40780         * NEWS: Update ia64 info.
40781
40782 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
40783
40784         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
40785         used as bcopy.
40786
40787 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
40788
40789         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
40790         * sysdeps/unix/syscalls.list (dup3): Likewise.
40791         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
40792         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
40793
40794 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
40795
40796         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
40797         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
40798
40799 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
40800
40801         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
40802         thread pointer.
40803         (TLS_IE): Use mov/add instead of movq/addq to load thread
40804         pointer.
40805         (TLS_GD_PREFIX): New.
40806         (TLS_GD): Use it.
40807
40808 2012-05-11  David S. Miller  <davem@davemloft.net>
40809
40810         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
40811         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
40812         (_FPU_SETCW): Likewise.
40813
40814 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
40815
40816         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
40817         is 32-byte aligned.
40818
40819 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
40820
40821         [BZ #11837]
40822         * iconvdata/gb18030.c: Update tables.
40823         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
40824         characters specially.
40825         (BODY for TO_LOOP): Add encoding of missing ranges.
40826
40827 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
40828
40829         [BZ #13673]
40830         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
40831         * sysdeps/mach/hurd/dup3.c: Likewise.
40832         * sysdeps/mach/hurd/readlinkat.c: Likewise.
40833         * sysdeps/powerpc/memmove.c:: Likewise.
40834
40835 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
40836
40837         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
40838         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
40839
40840 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
40841
40842         * elf/elf.h (R_X86_64_RELATIVE64): New.
40843         (R_X86_64_NUM): Updated.
40844         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
40845         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
40846         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
40847         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
40848         tst-quad1pie tst-quad2pie
40849         (modules-names): Add tst-quadmod1 tst-quadmod2.
40850         ($(objpfx)tst-quad1): New dependency.
40851         ($(objpfx)tst-quad2): Likewise.
40852         ($(objpfx)tst-quad1pie): Likewise.
40853         ($(objpfx)tst-quad2pie): Likewise.
40854         * sysdeps/x86_64/tst-quad1.c: New file.
40855         * sysdeps/x86_64/tst-quad1pie.c: New file.
40856         * sysdeps/x86_64/tst-quad2.c: Likewise.
40857         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
40858         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
40859         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
40860         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
40861         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
40862
40863 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
40864
40865         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
40866         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
40867         * streams/stropts.h (t_scalar_t): Define type.
40868
40869         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
40870         (_PATH_PRESERVE): Set to "/var/lib".
40871         (_PATH_RWHODIR): Set to "/var/spool/rwho".
40872
40873         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
40874         instead of int.
40875
40876         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
40877         if __dir_mkfile succeeded.
40878
40879         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
40880         checking for _hurd_dtablesize.  Unlock it right after having
40881         finished _hurd_dtable allocation.
40882
40883 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
40884
40885         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
40886         * sysdeps/mach/hurd/configure: Regenerated.
40887         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
40888         special-casing to...
40889         * sysdeps/gnu/configure.in: ... this new file.
40890         * sysdeps/unix/sysv/linux/configure: Regenerated.
40891         * sysdeps/gnu/configure: New generated file.
40892
40893         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
40894         for Linux: use nsec instead of usec, as well as:
40895         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
40896         members of type struct timespec.
40897         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
40898         New macros.
40899         (struct stat64): Likewise.
40900         (_STATBUF_ST_NSEC): New macro.
40901         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
40902
40903         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
40904         __strtoul_internal rather than strtoul.
40905
40906 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
40907
40908         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
40909         and reject them.
40910
40911 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
40912
40913         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
40914         which preserves existing values.
40915         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
40916
40917 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
40918
40919         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
40920         TIMEOUT values.  Return EINVAL for NFDS values either negative or
40921         greater than FD_SETSIZE.
40922
40923 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
40924
40925         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
40926         allocated, call __vm_protect to finish enabling the existing space, and
40927         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
40928         allocate the remainder.
40929
40930 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
40931
40932         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
40933         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
40934
40935 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
40936
40937         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
40938         sysdeps/mach/hurd/readlink.c.
40939
40940         * posix/tst-sysconf.c (posix_options): Only use
40941         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
40942         _POSIX_SYNCHRONIZED_IO when they are defined
40943         * sysdeps/mach/hurd/bits/posix_opt.h:
40944         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
40945         (_XOPEN_REALTIME): Undefine macro.
40946         (_XOPEN_REALTIME_THREADS): Undefine macro.
40947         (_XOPEN_SHM): Undefine macro.
40948         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
40949         macro to -1.
40950         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
40951         macro to -1.
40952         (_POSIX_ASYNC_IO): Undefine macro.
40953         (_POSIX_PRIORITIZED_IO): Undefine macro.
40954         (_POSIX_SPIN_LOCKS): Define macro to -1.
40955
40956         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
40957         SA_NODEFER, SA_RESETHAND.
40958         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
40959         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
40960         F_DUPFD_CLOEXEC.
40961
40962 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
40963
40964         * elf/Makefile (pldd-modules): Define unconditionally.
40965
40966 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
40967
40968         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
40969
40970 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
40971
40972         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
40973         Return ENOENT when name is empty.
40974         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
40975
40976 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
40977
40978         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
40979
40980         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
40981
40982 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
40983
40984         Fix mlock in all cases except non-readable pages.
40985         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
40986         instead of VM_PROT_ALL as parameter to __vm_wire function.
40987
40988         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
40989         (__mkdir): When path is `/', just fail with EEXIST.
40990         * sysdeps/mach/hurd/mkdirat.c: Likewise.
40991
40992 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
40993
40994         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
40995         <sys/uio.h> (for writev).
40996         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
40997         and <sys/param.h> (for MIN).
40998
40999 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
41000
41001         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
41002         REQUESTED_TIME.  Properly set the remaining time and return EINTR
41003         if interrupted.
41004
41005 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
41006
41007         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
41008         Depend on against $(link-rpcuserlibs).
41009
41010 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
41011
41012         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
41013         (__libc_stack_end): Do not use attribute_relro.
41014         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
41015         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
41016         to libthread-provided value.
41017         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
41018         attribute_relro.
41019
41020 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
41021
41022         [BZ #3748]
41023         * bits/libc-lock.h (__libc_once_get): New macro.
41024         * sysdeps/mach/bits/libc-lock.h: Likewise.
41025         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
41026         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
41027         instead of using implementation details.
41028
41029         * libio/fileops.c: Unconditionally include <kernel-features.h>.
41030         * libio/freopen.c: Likewise.
41031         * libio/freopen64.c: Likewise.
41032         * misc/syslog.c: Likewise.
41033         * nscd/connections.c: Likewise.
41034         * nscd/netgroupcache.c: Likewise.
41035         * sysdeps/posix/getcwd.c: Likewise.
41036
41037 2012-05-10  Roland McGrath  <roland@hack.frob.com>
41038
41039         * math/w_ilogbf.c: Add #include <limits.h>.
41040
41041 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
41042
41043         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
41044         path instead of returning without unlocking.
41045
41046         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
41047         immediate-write ioctls.
41048         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
41049
41050 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
41051
41052         * sysdeps/mach/hurd/i386/init-first.c (init): Use
41053         __builtin_frame_address instead of making assumptions about the
41054         location of the return address relative to DATA.  Force early load of
41055         the return address.
41056         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
41057         __builtin_frame_address.
41058
41059         dup3 for GNU Hurd.
41060         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
41061         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
41062         implement dup3 and do some further code clean-ups.
41063         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
41064         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
41065
41066 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
41067
41068         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
41069
41070         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
41071         HURD_CRITICAL_END around holding _hurd_dtable_lock.
41072         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
41073         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
41074         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
41075         d->port.lock.
41076
41077         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
41078         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
41079         when handler == SIG_ERR, not when handler != SIG_ERR.
41080
41081 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
41082
41083         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
41084         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
41085         definitions.
41086
41087         accept4 for GNU Hurd.
41088         * include/sys/socket.h (__libc_accept4): New prototype.
41089         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
41090         to implement __libc_accept4.
41091         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
41092         __libc_accept4.
41093         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
41094
41095         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
41096         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
41097         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
41098         signal-defines.sym.
41099
41100 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
41101
41102         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
41103
41104 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
41105
41106         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
41107         assertion on O_CLOEXEC flag.
41108         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
41109         * hurd/intern-fd.c: Likewise.
41110         * hurd/port2fd.c: Likewise.
41111
41112 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
41113
41114         [BZ #3906]
41115         * bits/in.h (IPV6_PKTINFO): Define new macro.
41116         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
41117
41118 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41119
41120         [BZ #13954]
41121         [BZ #13955]
41122         [BZ #13956]
41123         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
41124         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
41125         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
41126         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
41127         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
41128         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
41129         * math/libm-test.inc (logb_test) : Additional logb tests.
41130
41131 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
41132             Andreas Jaeger  <aj@suse.de>
41133
41134         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
41135         * configure: Regenerated.
41136         * config.h.in (LINK_OBSOLETE_RPC): New macro.
41137         * config.make.in (link-obsolete-rpc): New substituted variable.
41138         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
41139         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
41140         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
41141         (shared-only-routines): Don't set it under [link-obsolete-rpc],
41142         so that libc.a contains the symbols.
41143         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
41144         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
41145         * sunrpc/auth_none.c: Likewise.
41146         * sunrpc/auth_unix.c: Likewise.
41147         * sunrpc/authdes_prot.c: Likewise.
41148         * sunrpc/authuxprot.c: Likewise.
41149         * sunrpc/clnt_gen.c: Likewise.
41150         * sunrpc/clnt_perr.c: Likewise.
41151         * sunrpc/clnt_raw.c: Likewise.
41152         * sunrpc/clnt_simp.c: Likewise.
41153         * sunrpc/clnt_tcp.c: Likewise.
41154         * sunrpc/clnt_udp.c: Likewise.
41155         * sunrpc/clnt_unix.c: Likewise.
41156         * sunrpc/des_crypt.c: Likewise.
41157         * sunrpc/des_soft.c: Likewise.
41158         * sunrpc/get_myaddr.c: Likewise.
41159         * sunrpc/key_call.c: Likewise.
41160         * sunrpc/key_prot.c: Likewise.
41161         * sunrpc/netname.c: Likewise.
41162         * sunrpc/pm_getmaps.c: Likewise.
41163         * sunrpc/pm_getport.c: Likewise.
41164         * sunrpc/pmap_clnt.c: Likewise.
41165         * sunrpc/pmap_prot.c: Likewise.
41166         * sunrpc/pmap_prot2.c: Likewise.
41167         * sunrpc/pmap_rmt.c: Likewise.
41168         * sunrpc/publickey.c: Likewise.
41169         * sunrpc/rpc_cmsg.c: Likewise.
41170         * sunrpc/rpc_common.c: Likewise.
41171         * sunrpc/rpc_dtable.c: Likewise.
41172         * sunrpc/rpc_prot.c: Likewise.
41173         * sunrpc/rpc_thread.c: Likewise.
41174         * sunrpc/rtime.c: Likewise.
41175         * sunrpc/svc.c: Likewise.
41176         * sunrpc/svc_auth.c: Likewise.
41177         * sunrpc/svc_raw.c: Likewise.
41178         * sunrpc/svc_run.c: Likewise.
41179         * sunrpc/svc_tcp.c: Likewise.
41180         * sunrpc/svc_udp.c: Likewise.
41181         * sunrpc/svc_unix.c: Likewise.
41182         * sunrpc/svcauth_des.c: Likewise.
41183         * sunrpc/xcrypt.c: Likewise.
41184         * sunrpc/xdr.c: Likewise.
41185         * sunrpc/xdr_array.c: Likewise.
41186         * sunrpc/xdr_float.c: Likewise.
41187         * sunrpc/xdr_intXX_t.c: Likewise.
41188         * sunrpc/xdr_mem.c: Likewise.
41189         * sunrpc/xdr_rec.c: Likewise.
41190         * sunrpc/xdr_ref.c: Likewise.
41191         * sunrpc/xdr_sizeof.c: Likewise.
41192         * sunrpc/xdr_stdio.c: Likewise.
41193
41194 2012-05-10  Roland McGrath  <roland@hack.frob.com>
41195
41196         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
41197         change.  Update copyright years.
41198
41199 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
41200
41201         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
41202
41203 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
41204             Joseph Myers  <joseph@codesourcery.com>
41205             Paul Pluzhnikov  <ppluzhnikov@google.com>
41206
41207         [BZ #14012]
41208         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
41209         requiring rpcgen.
41210         [cross-compiling] (extra-libs): Likewise.
41211         [cross-compiling] (extra-libs-others): Likewise.
41212         [cross-compiling] (librpcsvc-routines): Likewise.
41213         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
41214         [cross-compiling] (omit-deps): Likewise.
41215         (sunrpc-CPPFLAGS): New variable.
41216         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
41217         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
41218         (cross-rpcgen-objs): New variable.
41219         (extra-objs): Append $(cross-rpcgen-objs).
41220         ($(cross-rpcgen-objs)): New rule.
41221         ($(objpfx)cross-rpcgen): Likewise.
41222         (rpcgen-cmd): Define to use $(built-program-file).  Expand
41223         comment.
41224         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
41225         ($(objpfx)x%.stmp): Likewise.
41226         * sunrpc/proto.h [IS_IN_build] (_): Define.
41227         [IS_IN_build] (_libc_intl_domainname): Likewise.
41228
41229 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
41230
41231         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
41232         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
41233         and R_X86_64_TPOFF64.
41234
41235 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
41236
41237         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
41238         sysdeps/unix/sysv/syscalls.list.
41239         (stime): Likewise.
41240         (utime): Likewise.
41241         * sysdeps/unix/sysv/syscalls.list: Remove file.
41242
41243 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
41244
41245         [BZ #3440]
41246         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
41247         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
41248         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
41249         (__LC_IDENTIFICATION): Make these macros useful in #if
41250         expressions, as required by C99.
41251
41252 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
41253
41254         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
41255         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
41256         after this.
41257
41258 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
41259
41260         * stdlib/longlong.h: Updated from GCC.
41261
41262 2012-05-09  Andreas Jaeger  <aj@suse.de>
41263
41264         * nscd/nscd.c (run_modes): Make named enum, reorder so that
41265         default is first entry.
41266         (run_mode): Set type.
41267         (main): Remove informal message about syslog.
41268         (options): Fix typo.
41269
41270         [BZ #14053]
41271         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
41272         to asm.
41273         (lrint): Likewise.
41274         (llrintf): Likewise.
41275         (llrint): Likewise.
41276         (rint): Likewise.
41277         (rintf): Likewise.
41278         (nearbyint): Likewise.
41279         (nearbyintf): Likewise.
41280
41281 2012-05-09  Andreas Jaeger  <aj@suse.de>
41282             Pedro Alves  <palves@redhat.com>
41283
41284         * nscd/nscd.c (run_mode): Use enum.
41285         (main): Cleanup coding style issue.
41286
41287 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
41288             Andreas Jaeger  <aj@suse.de>
41289
41290         * nscd/nscd.c (go_background): Replaced with...
41291         (run_mode): ... this.
41292         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
41293         (options): Add -F --foreground.
41294         (main): Implement it.
41295         (parse_opt): Parse it.
41296
41297 2012-05-09  Andreas Jaeger  <aj@suse.de>
41298
41299         [BZ #14083]
41300         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
41301         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
41302         -Wconversion warning.
41303         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
41304         Likewise.
41305
41306 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
41307
41308         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
41309         == 0.
41310         (LC_ALL): Use macro-int-constant.
41311         (LC_COLLATE): Likewise.
41312         (LC_CTYPE): Likewise.
41313         (LC_MESSAGES): Likewise.
41314         (LC_MONETARY): Likewise.
41315         (LC_NUMERIC): Likewise.
41316         (LC_TIME): Likewise.
41317         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
41318         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
41319         [ISO || ISO99 || ISO11] (*_t): Do not allow.
41320         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
41321         Specify type.
41322         [C99-based standards] (float_t): Expect type.
41323         [C99-based standards] (double_t): Expect type.
41324         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
41325         type.
41326         [C99-based standards] (HUGE_VALL): Likewise.
41327         [C99-based standards] (INFINITY): Likewise.
41328         [C99-based standards] (NAN): Likewise.
41329         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
41330         [C99-based standards] (FP_NAN): Likewise.
41331         [C99-based standards] (FP_NORMAL): Likewise.
41332         [C99-based standards] (FP_SUBNORMAL): Likewise.
41333         [C99-based standards] (FP_ZERO): Likewise.
41334         [C99-based standards] (FP_FAST_FMA): Use
41335         optional-macro-int-constant.  Specify type.  Require == 1.
41336         [C99-based standards] (FP_FAST_FMAF): Likewise.
41337         [C99-based standards] (FP_FAST_FMAL): Likewise.
41338         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
41339         [C99-based standards] (FP_ILOGBNAN): Likewise.
41340         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
41341         Specify type.
41342         [C99-based standards] (MATH_ERREXCEPT): Likewise.
41343         [C99-based standards] (math_errhandling): Specify type.
41344         [ISO99 || ISO11] (signgam): Do not allow.
41345         [non-C99-based standards] (copysignf): Do not allow.
41346         [non-C99-based standards] (exp2f): Likewise.
41347         [non-C99-based standards] (log2f): Likewise.
41348         [non-C99-based standards] (modff): Allow.
41349         [non-C99-based standards] (erff): Do not allow.
41350         [non-C99-based standards] (erfcf): Likewise.
41351         [non-C99-based standards] (gammaf): Likewise.
41352         [non-C99-based standards] (hypotf): Likewise.
41353         [non-C99-based standards] (j0f): Likewise.
41354         [non-C99-based standards] (j1f): Likewise.
41355         [non-C99-based standards] (jnf): Likewise.
41356         [non-C99-based standards] (lgammaf): Likewise.
41357         [non-C99-based standards] (tgammaf): Likewise.
41358         [non-C99-based standards] (y0f): Likewise.
41359         [non-C99-based standards] (y1f): Likewise.
41360         [non-C99-based standards] (ynf): Likewise.
41361         [non-C99-based standards] (isnanf): Likewise.
41362         [non-C99-based standards] (acoshf): Likewise.
41363         [non-C99-based standards] (asinhf): Likewise.
41364         [non-C99-based standards] (atanhf): Likewise.
41365         [non-C99-based standards] (cbrtf): Likewise.
41366         [non-C99-based standards] (expm1f): Likewise.
41367         [non-C99-based standards] (ilogbf): Likewise.
41368         [non-C99-based standards] (log1pf): Likewise.
41369         [non-C99-based standards] (logbf): Likewise.
41370         [non-C99-based standards] (nextafterf): Likewise.
41371         [non-C99-based standards] (remainderf): Likewise.
41372         [non-C99-based standards] (rintf): Likewise.
41373         [non-C99-based standards] (scalbf): Likewise.
41374         [non-C99-based standards] (copysignl): Likewise.
41375         [non-C99-based standards] (exp2l): Likewise.
41376         [non-C99-based standards] (log2l): Likewise.
41377         [non-C99-based standards] (modfl): Allow.
41378         [non-C99-based standards] (erfl): Do not allow.
41379         [non-C99-based standards] (erfcl): Likewise.
41380         [non-C99-based standards] (gammal): Likewise.
41381         [non-C99-based standards] (hypotl): Likewise.
41382         [non-C99-based standards] (j0l): Likewise.
41383         [non-C99-based standards] (j1l): Likewise.
41384         [non-C99-based standards] (jnl): Likewise.
41385         [non-C99-based standards] (lgammal): Likewise.
41386         [non-C99-based standards] (tgammal): Likewise.
41387         [non-C99-based standards] (y0l): Likewise.
41388         [non-C99-based standards] (y1l): Likewise.
41389         [non-C99-based standards] (ynl): Likewise.
41390         [non-C99-based standards] (isnanl): Likewise.
41391         [non-C99-based standards] (acoshl): Likewise.
41392         [non-C99-based standards] (asinhl): Likewise.
41393         [non-C99-based standards] (atanhl): Likewise.
41394         [non-C99-based standards] (cbrtl): Likewise.
41395         [non-C99-based standards] (expm1l): Likewise.
41396         [non-C99-based standards] (ilogbl): Likewise.
41397         [non-C99-based standards] (log1pl): Likewise.
41398         [non-C99-based standards] (logbl): Likewise.
41399         [non-C99-based standards] (nextafterl): Likewise.
41400         [non-C99-based standards] (remainderl): Likewise.
41401         [non-C99-based standards] (rintl): Likewise.
41402         [non-C99-based standards] (scalbl): Likewise.
41403         [ISO || ISO99 || ISO11] (*_t): Do not allow.
41404         [non-C99-based standards] (FP_*): Do not allow.
41405         [C99-based standards] (FP_*): Change to
41406         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
41407         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
41408         allow.
41409         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
41410         (SIG_ERR): Likewise.
41411         [X/Open-based standards] (SIG_HOLD): Likewise.
41412         (SIG_IGN): Likewise.
41413         (SIGABRT): Use macro-int-constant.  Specify type.  Require
41414         positive value.
41415         (SIGFPE): Likewise.
41416         (SIGILL): Likewise.
41417         (SIGINT): Likewise.
41418         (SIGSEGV): Likewise.
41419         (SIGTER): Likewise.
41420         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
41421         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
41422         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
41423         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
41424         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
41425         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
41426         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
41427         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
41428         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
41429         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
41430         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
41431         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
41432         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
41433         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
41434         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
41435         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
41436         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
41437         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
41438         [X/Open-based standards] (SIGTRAP): Likewise.
41439         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
41440         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
41441         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
41442         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
41443         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
41444         allow.
41445
41446 2012-05-08  Ian Wienand  <ianw@vmware.com>
41447
41448         [BZ #14080]
41449         * time/tzset.c (__tzset_parse_tz): Update default rules for
41450         daylight time changes in the Energy Policy Act of 2005.
41451
41452 2012-05-09  Andreas Jaeger  <aj@suse.de>
41453
41454         [BZ #13983]
41455         * elf/ldconfig.c (parse_conf): Change string to make clear that
41456         ldconfig only issued a warning if ld.so.conf does not exist.
41457
41458 2012-05-08  David S. Miller  <davem@davemloft.net>
41459
41460         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
41461         movxtod instead of popping the value on the stack.
41462
41463         * sysdeps/sparc/fpu/libm-test-ulps: Update.
41464
41465 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
41466
41467         * config.h.in: Add HAVE_ARM_PCS_VFP.
41468
41469 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
41470
41471         [BZ #13979]
41472         * include/features.h: Warn if user requests __FORTIFY_SOURCE
41473         checking but the checks are disabled for any reason.
41474
41475 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
41476
41477         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
41478         and ELF64_R_TYPE with ELFW(R_TYPE).
41479
41480 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
41481
41482         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
41483         (ulimit): Likewise.
41484
41485         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
41486         (settimeofday): Likewise.
41487
41488 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
41489
41490         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
41491         a struct th_u2 inside the union, and move tu_block/tu_code into
41492         a new th_u3 union of tu_block/tu_code inside of that.  Move
41493         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
41494         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
41495         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
41496         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
41497         (th_stuff): Change to th_u1.tu_stuff.
41498         (th_data): Define.
41499         (th_msg): Change to th_u1.th_u2.tu_data.
41500
41501 2012-05-07  David S. Miller  <davem@davemloft.net>
41502
41503         * sysdeps/sparc/fpu/libm-test-ulps: Update.
41504
41505         [BZ #14074]
41506         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
41507         (SETUP_PIC_REG): Use it.
41508         (SETUP_PIC_REG_LEAF): Use it.
41509
41510 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
41511
41512         [BZ #13885]
41513         [BZ #13923]
41514         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
41515         USE_AS_EXPM1L.
41516         (EXPL_FINITE): Likewise.
41517         (FLDLOG): Likewise.
41518         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
41519         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
41520         e_expl.S.
41521         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
41522         USE_AS_EXPM1L.
41523         (EXPL_FINITE): Likewise.
41524         (FLDLOG): Likewise.
41525         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
41526         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
41527         e_expl.S.
41528         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
41529         test of -max_value argument for long double.
41530         * sysdeps/i386/fpu/libm-test-ulps: Update.
41531         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41532
41533 2012-05-06  David S. Miller  <davem@davemloft.net>
41534
41535         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
41536         quad soft-float symbols whose references which are compiler
41537         generated.
41538         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
41539
41540 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
41541
41542         [BZ #13884]
41543         [BZ #13914]
41544         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
41545         USE_AS_EXP10L.
41546         (EXPL_FINITE): Likewise.
41547         (FLDLOG): Likewise.
41548         (c0): Likewise.
41549         (c1): Likewise.
41550         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
41551         Adjust comments for base varying.
41552         (__expl_finite): Change alias to EXPL_FINITE.
41553         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
41554         e_expl.S.
41555         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
41556         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
41557         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
41558         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
41559         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
41560         USE_AS_EXP10L.
41561         (EXPL_FINITE): Likewise.
41562         (FLDLOG): Likewise.
41563         (c0): Likewise.
41564         (c1): Likewise.
41565         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
41566         Adjust comments for base varying.
41567         (__expl_finite): Change alias to EXPL_FINITE.
41568         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
41569         tests for bugs.
41570         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
41571
41572         [BZ #14064]
41573         * math/libm-test.inc (check_float_internal): Correct ulp
41574         calculation for subnormal expected results.
41575
41576 2012-05-06  Andreas Jaeger  <aj@suse.de>
41577
41578         * Makeconfig (+math-flags): New, set to -frounding-math.
41579         (+cflags): Add +math-flags so that all of glibc gets compiled with
41580         it.
41581
41582         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
41583
41584 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
41585
41586         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
41587         Disable one test.
41588
41589         [BZ #13787]
41590         [BZ #13922]
41591         [BZ #14036]
41592         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
41593         (__ieee754_expl): Allow for and saturate large arguments.
41594         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
41595         (u_threshold): Likewise.
41596         (__exp): Call __ieee754_exp before checking for overflow and
41597         underflow.
41598         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
41599         (u_threshold): Likewise.
41600         (__expf): Call __ieee754_expf before checking for overflow and
41601         underflow.
41602         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
41603         (u_threshold): Likewise.
41604         (__expl): Call __ieee754_expl before checking for overflow and
41605         underflow.
41606         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
41607         (__ieee754_expl): Allow for and saturate large arguments.
41608         * math/libm-test.inc (exp_test): Add another test.  Do not allow
41609         missing overflow exception on overflow.
41610         (expm1_test): Do not allow missing overflow exception on overflow.
41611
41612         * sysdeps/i386/fpu/e_expl.c: Move to ...
41613         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
41614         rather than using inline asm.
41615         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
41616         * sysdeps/x86_64/fpu/e_expl.S: Copy from
41617         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
41618
41619         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
41620         (nice): Likewise.
41621         (poll): Likewise.
41622         (signal): Likewise.
41623         (time): Likewise.
41624         (times): Likewise.
41625
41626 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
41627
41628         * sysdeps/unix/syscalls.list (adjtime): Add entry from
41629         sysdeps/unix/common/syscalls.list.
41630         (fchmod): Likewise.
41631         (fchown): Likewise.
41632         (ftruncate): Likewise.
41633         (getrusage): Likewise.
41634         (gettimeofday): Likewise.
41635         (setpgid): Likewise.
41636         (setregid): Likewise.
41637         (setreuid): Likewise.
41638         (sigaction): Likewise.
41639         (truncate): Likewise.
41640         (vhangup): Likewise.
41641         * sysdeps/unix/common/syscalls.list: Remove file.
41642         * sysdeps/unix/bsd/Implies: Don't include unix/common.
41643         * sysdeps/unix/sysv/linux/Implies: Likewise.
41644
41645 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
41646
41647         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
41648         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
41649         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
41650         Moved to ...
41651         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
41652         Here.
41653         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
41654         to ...
41655         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
41656         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
41657         to ...
41658         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
41659         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
41660         to ...
41661         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
41662         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
41663         to ...
41664         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
41665         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
41666         to ...
41667         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
41668         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
41669         to ...
41670         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
41671         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
41672         to ...
41673         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
41674         Here.
41675         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
41676         to ...
41677         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
41678         Here.
41679         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
41680         to ...
41681         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
41682         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
41683         Moved to ...
41684         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
41685         Here.
41686         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
41687         to ...
41688         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
41689
41690 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
41691
41692         * sysdeps/unix/common/bits/dirent.h: Remove file.
41693         * sysdeps/unix/common/bits/fcntl.h: Likewise.
41694
41695         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
41696         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
41697         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
41698         * sysdeps/unix/bsd/isatty.c: Likewise.
41699         * sysdeps/unix/bsd/tcdrain.c: Likewise.
41700         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
41701         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
41702
41703 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41704
41705         [BZ #13563]
41706         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
41707         long double comparison inaccuracies.
41708         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
41709         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41710
41711 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
41712
41713         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
41714         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
41715
41716 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
41717
41718         [BZ #14049]
41719         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
41720         nonzero digits before rounding a hex value.
41721         * stdlib/tst-strtod.c (tests): Add another test.
41722
41723 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
41724
41725         * sysdeps/s390/fpu/libm-test-ulps: Update.
41726
41727 2012-05-03  Andreas Jaeger  <aj@suse.de>
41728
41729         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
41730         does not get optimized out.
41731         (malloc_opt_barrier): New.
41732
41733 2012-05-03  Andreas Jaeger  <aj@suse.de>
41734             Roland McGrath  <roland@hack.frob.com>
41735
41736         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
41737         intermediate file deletion.
41738         (generated): Add .symlist files.
41739
41740 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
41741
41742         [BZ #13775]
41743         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
41744         Redirect under this condition.
41745         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
41746         [__USE_GNU] (__dprintf_chk): Not under this condition.
41747         [__USE_GNU] (__vdprintf_chk): Likewise.
41748         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
41749         under this condition.
41750         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
41751         [__USE_XOPEN2K8] (dprintf): Define under this condition.
41752         [__USE_XOPEN2K8] (vdprintf): Likewise.
41753         [__USE_GNU] (__dprintf_chk): Not under this condition.
41754         [__USE_GNU] (__vdprintf_chk): Likewise.
41755         [__USE_GNU] (dprintf): Likewise.
41756         [__USE_GNU] (vdprintf): Likewise.
41757
41758 2012-05-03  Roland McGrath  <roland@hack.frob.com>
41759
41760         * elf/Makefile (common-generated): Set this instead of generated for
41761         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
41762         $(all-built-dso)-derived lists.
41763
41764 2012-05-03  Andreas Jaeger  <aj@suse.de>
41765
41766         * sysdeps/i386/fpu/libm-test-ulps: Update.
41767
41768         * FAQ: Removed.
41769         * FAQ.in: Likewise.
41770         * scripts/gen-FAQ.pl: Likewise.
41771         * manual/install.texi (Installation): Point to online location of
41772         FAQ.
41773         * Makefile (files-for-dist): Remove FAQ.
41774         (FAQ): Remove.
41775
41776 2012-05-02  Allan McRae  <allan@archlinux.org>
41777
41778         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
41779         (LDFLAGS-reldepmod5.so): Likewise.
41780         (LDFLAGS-reldep6mod1.so): Likewise.
41781         (LDFLAGS-reldep6mod4.so): Likewise.
41782         (LDFLAGS-reldep8mod3.so): Likewise.
41783         (LDFLAGS-unload4mod1.so): Likewise.
41784         (LDFLAGS-unload4mod2.so): Likewise.
41785         (LDFLAGS-tst-initorder): Likewise.
41786         (LDFLAGS-tst-initordera2.so): Likewise.
41787         (LDFLAGS-tst-initordera3.so): Likewise.
41788         (LDFLAGS-tst-initordera4.so): Likewise.
41789         (LDFLAGS-tst-initorderb2.so): Likewise.
41790         (LDFLAGS-noload): Likewise.
41791         (LDFLAGS-next): Likewise.
41792         (LDFLAGS-order2mod1.so): Likewise.
41793         (LDFLAGS-order2mod2.so): Likewise.
41794         (LDFLAGS-tst-initorder2): Likewise.
41795         (LDFLAGS-tst-initorder2a.so): Likewise.
41796         (LDFLAGS-tst-initorder2b.so): Likewise.
41797         (LDFLAGS-tst-initorder2c.so): Likewise.
41798         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
41799
41800 2012-05-02  David S. Miller  <davem@davemloft.net>
41801
41802         * sysdeps/sparc/fpu/libm-test-ulps: Update.
41803
41804 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
41805
41806         [BZ #14055]
41807         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
41808
41809 2012-05-02  Andreas Jaeger  <aj@suse.de>
41810
41811         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
41812         since we manipulate rounding mode.
41813         (CPPFLAGS-test-idouble.c): Likewise.
41814         (CPPFLAGS-test-ifloat.c): Likewise.
41815         (CFLAGS-test-ldouble.c): Likewise.
41816         (CFLAGS-test-double.c): Likewise.
41817         (CFLAGS-test-float.c): Likewise.
41818         (CFLAGS-test-misc.c): Likewise.
41819         (CFLAGS-test-test-fenv.c): Likewise.
41820
41821 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41822
41823         [BZ #2550]
41824         [BZ #2570]
41825         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
41826         comparisons to determine direction to adjust input.
41827
41828 2012-05-01  Roland McGrath  <roland@hack.frob.com>
41829
41830         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
41831         output to the target.
41832
41833         * scripts/localplt.awk: New file.
41834         * elf/Makefile ($(objpfx)check-localplt): Target removed.
41835         (check-localplt-CFLAGS): Variable removed.
41836         ($(all-built-dso:=.jmprel)): New static pattern rule.
41837         (generated): Add those targets.
41838         (localplt-built-dso): New variable.
41839         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
41840
41841         * elf/check-localplt.c: File removed.
41842
41843         * scripts/check-execstack.awk: New file.
41844         * elf/Makefile ($(objpfx)check-execstack): Target removed.
41845         (check-execstack-CFLAGS): Variable removed.
41846         ($(objpfx)check-execstack.h): Target removed.
41847         ($(objpfx)execstack-default): New target.
41848         (generated): Add that instead of check-execstack.h.
41849         ($(all-built-dso:=.phdr)): New static pattern rule.
41850         (generated): Add those targets.
41851         * elf/check-execstack.c: File removed.
41852
41853         * scripts/check-textrel.awk: New file.
41854         * elf/Makefile ($(objpfx)check-textrel): Target removed.
41855         (check-textrel-CFLAGS): Variable removed.
41856         (all-built-dso): Use := to define.o
41857         ($(all-built-dso:=.dyn)): New static pattern rule.
41858         (generated): Add those targets.
41859         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
41860         * config.make.in (READELF): New substituted variable.
41861         * elf/check-textrel.c: File removed.
41862
41863 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
41864
41865         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
41866         allow.
41867         * conform/data/ctype.h-data [C99-based standards] (isblank):
41868         Expect function.
41869         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
41870         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
41871         [ISO || ISO99 || ISO11] (*_t): Do not allow.
41872         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
41873         Specify type.  Require positive value.
41874         (EILSEQ): Likewise.
41875         (ERANGE): Likewise.
41876         [ISO || POSIX] (EILSEQ): Do not expect.
41877         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
41878         Specify type.  Require positive value.
41879         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
41880         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
41881         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
41882         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
41883         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
41884         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
41885         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
41886         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
41887         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
41888         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
41889         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
41890         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
41891         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
41892         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
41893         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
41894         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
41895         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
41896         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
41897         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
41898         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
41899         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
41900         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
41901         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
41902         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
41903         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
41904         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
41905         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
41906         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
41907         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
41908         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
41909         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
41910         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
41911         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
41912         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
41913         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
41914         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
41915         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
41916         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
41917         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
41918         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
41919         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
41920         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
41921         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
41922         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
41923         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
41924         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
41925         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
41926         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
41927         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
41928         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
41929         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
41930         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
41931         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
41932         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
41933         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
41934         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
41935         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
41936         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
41937         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
41938         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
41939         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
41940         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
41941         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
41942         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
41943         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
41944         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
41945         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
41946         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
41947         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
41948         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
41949         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
41950         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
41951         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
41952         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
41953         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
41954         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
41955         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
41956         Require >= 2.
41957         (FLT_ROUNDS): Expect as macro, not constant.
41958         (FLT_MANT_DIG): Use macro-int-constant.
41959         (DBL_MANT_DIG): Likewise.
41960         (LDBL_MANT_DIG): Likewise.
41961         (FLT_DIG): Likewise.
41962         (DBL_DIG): Likewise.
41963         (LDBL_DIG): Likewise.
41964         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
41965         (DBL_MIN_EXP): Likewise.
41966         (LDBL_MIN_EXP): Likewise.
41967         (FLT_MAX_EXP): Use macro-int-constant.
41968         (DBL_MAX_EXP): Likewise.
41969         (LDBL_MAX_EXP): Likewise.
41970         (FLT_MAX_10_EXP): Likewise.
41971         (DBL_MAX_10_EXP): Likewise.
41972         (LDBL_MAX_10_EXP): Likewise.
41973         (FLT_MAX): Use macro-constant.
41974         (DBL_MAX): Likewise.
41975         (LDBL_MAX): Likewise.
41976         (FLT_EPSILON): Use macro-constant.  Give upper bound.
41977         (DBL_EPSILON): Likewise.
41978         (LDBL_EPSILON): Likewise.
41979         (FLT_MIN): Likewise.
41980         (DBL_MIN): Likewise.
41981         (LDBL_MIN): Likewise.
41982         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
41983         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
41984         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
41985         [ISO11] (FLT_HAS_SUBNORM): Likewise.
41986         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
41987         [ISO11] (DBL_DECIMAL_DIG): Likewise.
41988         [ISO11] (FLT_DECIMAL_DIG): Likewise.
41989         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
41990         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
41991         [ISO11] (FLT_TRUE_MIN): Likewise.
41992         [ISO11] (LDBL_TRUE_MIN): Likewise.
41993         [ISO || ISO99 || ISO11] (*_t): Do not allow.
41994         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
41995         (SCHAR_MIN): Use macro-int-constant.  Specify type.
41996         (SCHAR_MAX): Likewise.
41997         (UCHAR_MAX): Likewise.
41998         (CHAR_MIN): Likewise.
41999         (CHAR_MAX): Likewise.
42000         (MB_LEN_MAX): Use macro-int-constant.
42001         (SHRT_MIN): Use macro-int-constant.  Specify type.
42002         (SHRT_MAX): Likewise.
42003         (USHRT_MAX): Likewise.
42004         (INT_MAX): Likewise.
42005         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
42006         bound negative.
42007         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
42008         bound with "U".
42009         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
42010         bound with "L".
42011         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
42012         bound negative.  Suffix upper bound with "L".
42013         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
42014         bound with "UL".
42015         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
42016         Specify type.
42017         [C99-based standards] (LLONG_MAX): Likewise.
42018         [C99-based standards] (ULLONG_MAX): Likewise.
42019         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
42020         == 0.
42021         [ISO11] (max_align_t): Require type.
42022         [ISO || ISO99 || ISO11] (*_t): Do not allow.
42023
42024         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
42025         from $CFLAGS, without defining away __attribute__ calls.
42026         (checknamespace): Use $CFLAGS_namespace.
42027
42028         * conform/conformtest.pl (@keywords): Only include C99 keywords
42029         for standards based on C99 or C11.
42030
42031         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
42032         Disable tests.
42033         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
42034         UNIX98]: Likewise.
42035
42036         * conform/conformtest.pl: Handle "macro-int-constant" and test for
42037         usability of symbols in #if.
42038
42039         * conform/conformtest.pl: If macro or constant types start
42040         "promoted:", expect the symbol to be of the following type
42041         promoted by the integer promotions.
42042
42043         * conform/conformtest.pl: Parse all "constant" and "macro" lines
42044         in one place.  Also handle "macro-constant".
42045
42046         * conform/conformtest.pl: Only accept expected macro values with
42047         "==".  Parse all "macro" lines in one place.
42048         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
42049
42050         * conform/conformtest.pl: Handle braced types on "constant" lines
42051         instead of handling "typed-constant".
42052         * conform/data/signal.h-data: Use "constant" instead of
42053         "typed-constant".
42054
42055         * conform/conformtest.pl: Handle "optional-" at start of lines in
42056         one place rather than duplicating several cases.  Handle each
42057         format of "macro" line with initial "optional-".
42058
42059         * conform/conformtest.pl: Only accept expected constant or
42060         optional-constant values with "==".  Parse all "constant" lines in
42061         one place.  Parse all "optional-constant" lines in one place.
42062         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
42063         * conform/data/fmtmsg.h-data: Likewise.
42064         * conform/data/netinet/in.h-data: Likewise.
42065         * conform/data/tar.h-data: Likewise.
42066         * conform/data/limits.h-data: Use "==" form on "constant" and
42067         "optional-constant" lines.
42068
42069         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
42070         Use -std=c99 for XOPEN2K.
42071         (@knownproblems): Remove.
42072         (newtoken): Don't check %isknown.
42073
42074         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
42075         Do not expect macro.
42076         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
42077         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
42078         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
42079         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
42080         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
42081         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
42082         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
42083         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
42084         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
42085         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
42086         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
42087         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
42088         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
42089         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
42090         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
42091         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
42092         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
42093         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
42094         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
42095         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
42096         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
42097         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
42098         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
42099         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
42100         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
42101         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
42102         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
42103         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
42104         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
42105         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
42106         [XPG3] (acosh): Likewise.
42107         [XPG3] (asinh): Likewise.
42108         [XPG3] (atanh): Likewise.
42109         [XPG3] (cbrt): Likewise.
42110         [XPG3] (expm1): Likewise.
42111         [XPG3] (ilogb): Likewise.
42112         [XPG3] (log1p): Likewise.
42113         [XPG3] (logb): Likewise.
42114         [XPG3] (nextafter): Likewise.
42115         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
42116         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
42117         [XPG3] (remainder): Likewise.
42118         [XPG3] (rint): Likewise.
42119         [XPG3 || XPG4 || UNIX98] (round): Likewise.
42120         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
42121         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
42122         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
42123         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
42124         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
42125         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
42126         [UNIX98 || XOPEN2K] (scalb): Expect.
42127         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
42128         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
42129         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
42130         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
42131         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
42132         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
42133         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
42134         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
42135         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
42136         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
42137         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
42138         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
42139         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
42140         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
42141         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
42142         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
42143         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
42144         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
42145         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
42146         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
42147         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
42148         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
42149         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
42150         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
42151         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
42152         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
42153         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
42154         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
42155         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
42156         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
42157         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
42158         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
42159         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
42160         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
42161         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
42162         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
42163         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
42164         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
42165         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
42166         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
42167         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
42168         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
42169         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
42170         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
42171         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
42172         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
42173         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
42174         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
42175         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
42176         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
42177         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
42178         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
42179         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
42180         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
42181         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
42182         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
42183         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
42184         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
42185         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
42186         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
42187         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
42188         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
42189         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
42190         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
42191         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
42192         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
42193         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
42194         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
42195         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
42196         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
42197         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
42198         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
42199         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
42200         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
42201         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
42202         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
42203         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
42204         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
42205         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
42206         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
42207         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
42208         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
42209         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
42210         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
42211         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
42212         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
42213         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
42214         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
42215         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
42216         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
42217         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
42218         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
42219         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
42220         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
42221         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
42222         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
42223         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
42224         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
42225         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
42226         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
42227         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
42228         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
42229         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
42230         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
42231         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
42232         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
42233         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
42234         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
42235         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
42236         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
42237         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
42238         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
42239         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
42240         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
42241         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
42242         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
42243         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
42244         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
42245         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
42246         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
42247         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
42248         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
42249         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
42250         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
42251         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
42252         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
42253         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
42254         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
42255         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
42256         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
42257         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
42258         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
42259         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
42260         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
42261         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
42262         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
42263         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
42264
42265         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
42266         _XOPEN_SOURCE_EXTENDED for XPG4.
42267
42268         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
42269
42270         * Makeconfig (localtime): Remove variable.
42271         (inst_localtime-file): Likewise.
42272
42273 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
42274
42275         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
42276         Update.
42277         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
42278         Update.
42279         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
42280         Update.
42281         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
42282         Update.
42283         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
42284         Update.
42285         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
42286         Update.
42287         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
42288         Update.
42289         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
42290         Update.
42291         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
42292         Update.
42293
42294 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
42295
42296         [BZ #2550]
42297         [BZ #2570]
42298         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
42299         comparisons to determine direction to adjust input.
42300         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
42301         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
42302         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
42303         Likewise.
42304         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
42305         Likewise.
42306         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
42307         Likewise.
42308         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
42309         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
42310         Likewise.
42311         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
42312         Likewise.
42313         * math/libm-test.inc (nexttoward_test): Add more tests.
42314
42315 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
42316
42317         [BZ #14040]
42318         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
42319         in version GLIBC_2.1, not GLIBC_2.0.
42320         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
42321         Likewise.
42322
42323 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
42324
42325         [BZ #13942]
42326         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
42327         (1 - x) * (1 + x).
42328         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
42329         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
42330         * math/libm-test.inc (acos_test): Add more tests.
42331         (asin_test): Likewise.
42332         * sysdeps/i386/fpu/libm-test-ulps: Update.
42333         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42334
42335         [BZ #14034]
42336         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
42337         of square root.
42338         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
42339         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
42340         * math/libm-test.inc (acos_test_tonearest): New function.
42341         (acos_test_towardzero): Likewise.
42342         (acos_test_downward): Likewise.
42343         (acos_test_upward): Likewise.
42344         (asin_test_tonearest): Likewise.
42345         (asin_test_towardzero): Likewise.
42346         (asin_test_downward): Likewise.
42347         (asin_test_upward): Likewise.
42348         (main): Call the new functions.
42349         * sysdeps/i386/fpu/libm-test-ulps: Update.
42350         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
42351
42352         [BZ #13884]
42353         [BZ #13924]
42354         * math/e_exp10.c: Include <float.h>.
42355         (__ieee754_exp10): Handle underflow here rather than multiplying
42356         large negative argument by M_LN10.
42357         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
42358         of __ieee754_expf.
42359         * math/e_exp10l.c: Include <float.h>.
42360         (__ieee754_exp10l): Handle underflow here rather than multiplying
42361         large negative argument by M_LN10l.
42362         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
42363         spurious overflow exception on underflow.
42364
42365 2012-04-29  Marek Polacek  <polacek@redhat.com>
42366
42367         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
42368         (__fortify_function): New macro.
42369         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
42370         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
42371         __extern_always_inline.
42372         * libio/bits/stdio2.h: Likewise.
42373         * libio/bits/stdio.h: Likewise.
42374         * string/string.h: Likewise.
42375         * string/bits/string3.h: Likewise.
42376         * include/stdio.h: Likewise.
42377         * stdlib/bits/stdlib.h: Likewise.
42378         * stdlib/stdlib.h: Likewise.
42379         * rt/bits/mqueue2.h: Likewise.
42380         * rt/mqueue.h: Likewise.
42381         * posix/bits/unistd.h: Likewise.
42382         * posix/unistd.h: Likewise.
42383         * io/bits/poll2.h: Likewise.
42384         * io/bits/fcntl2.h: Likewise.
42385         * io/fcntl.h: Likewise.
42386         * io/sys/poll.h: Likewise.
42387         * misc/bits/syslog.h: Likewise.
42388         * misc/bits/syslog-ldbl.h: Likewise.
42389         * misc/sys/syslog.h: Likewise.
42390         * socket/bits/socket2.h: Likewise.
42391         * socket/sys/socket.h: Likewise.
42392         * debug/tst-chk1.c: Likewise.
42393         * wcsmbs/bits/wchar2.h: Likewise.
42394         * wcsmbs/bits/wchar-ldbl.h: Likewise.
42395         * wcsmbs/wchar.h: Likewise.
42396
42397 2012-04-29  Andreas Jaeger  <aj@suse.de>
42398
42399         * Makerules (tests): Remove enable-check-abi protection.
42400         (check-abi-warn): Remove.
42401         (check-abi-%): Remove check-abi-warn usage.
42402
42403         * configure.in: Remove check-abi configure option.
42404         * configure: Regenerated.
42405         * config.make.in (enable-check-abi): Remove.
42406
42407 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
42408
42409         [BZ #14033]
42410         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
42411         double functions to double *_finite functions.
42412
42413         [BZ #13941]
42414         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
42415         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
42416         LDBL_MIN_EXP.
42417         * stdio-common/Makefile (tests): Add tst-sprintf3.
42418         * stdio-common/tst-sprintf3.c: New file.
42419
42420         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
42421         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
42422
42423 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
42424
42425         * conform/conformtest.pl: Remove duplicate typed-constant
42426         handling.
42427
42428 2012-04-28  David S. Miller  <davem@davemloft.net>
42429
42430         * Makerules (%.abilist): Add vpath on sysdep_dirs.
42431         (check-abi-%): Remove AWK script prerequisite and explicit
42432         abilist directory.
42433         (check-abi): Rewrite to just diff the symlist with the abilist.
42434         (config-tls, config-abi-config): Delete, no longer used.
42435         (update-abi-%): Remove AWK script and explicit abilist directory.
42436         (update-abi): Rewrite to simply compare and conditionally copy the
42437         symlist and the sysdep abilist file.  Remove update-abi-config
42438         checks.
42439         * abilist/ld.abilist: Remove.
42440         * abilist/libBrokenLocale.abilist: Remove.
42441         * abilist/libanl.abilist: Remove.
42442         * abilist/libcrypt.abilist: Remove.
42443         * abilist/libdl.abilist: Remove.
42444         * abilist/librt.abilist: Remove.
42445         * abilist/libthread_db.abilist: Remove.
42446         * abilist/libutil.abilist: Remove.
42447         * scripts/extract-abilist.awk: Remove.
42448         * scripts/merge-abilist.awk: Remove.
42449         * sysdeps/generic/libcidn.abilist: New file.
42450         * sysdeps/generic/libnss_compat.abilist: New file.
42451         * sysdeps/generic/libnss_db.abilist: New file.
42452         * sysdeps/generic/libnss_dns.abilist: New file.
42453         * sysdeps/generic/libnss_files.abilist: New file.
42454         * sysdeps/generic/libnss_hesiod.abilist: New file.
42455         * sysdeps/generic/libnss_nis.abilist: New file.
42456         * sysdeps/generic/libnss_nisplus.abilist: New file.
42457         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
42458         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
42459         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
42460         file.
42461         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
42462         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
42463         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
42464         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
42465         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
42466         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
42467         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
42468         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
42469         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
42470         file.
42471         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
42472         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
42473         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
42474         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
42475         file.
42476         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
42477         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
42478         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
42479         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
42480         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
42481         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
42482         file.
42483         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
42484         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
42485         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
42486         file.
42487         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
42488         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
42489         New file.
42490         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
42491         New file.
42492         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
42493         New file.
42494         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
42495         New file.
42496         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
42497         New file.
42498         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
42499         New file.
42500         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
42501         New file.
42502         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
42503         New file.
42504         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
42505         New file.
42506         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
42507         New file.
42508         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
42509         New file.
42510         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
42511         New file.
42512         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
42513         New file.
42514         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
42515         file.
42516         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
42517         New file.
42518         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
42519         New file.
42520         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
42521         file.
42522         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
42523         New file.
42524         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
42525         New file.
42526         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
42527         file.
42528         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
42529         New file.
42530         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
42531         New file.
42532         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
42533         New file.
42534         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
42535         New file.
42536         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
42537         New file.
42538         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
42539         New file.
42540         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
42541         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
42542         file.
42543         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
42544         New file.
42545         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
42546         file.
42547         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
42548         file.
42549         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
42550         file.
42551         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
42552         file.
42553         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
42554         file.
42555         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
42556         New file.
42557         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
42558         file.
42559         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
42560         file.
42561         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
42562         New file.
42563         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
42564         file.
42565         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
42566         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
42567         file.
42568         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
42569         New file.
42570         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
42571         file.
42572         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
42573         file.
42574         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
42575         file.
42576         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
42577         file.
42578         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
42579         file.
42580         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
42581         New file.
42582         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
42583         file.
42584         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
42585         file.
42586         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
42587         New file.
42588         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
42589         file.
42590         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
42591         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
42592         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
42593         file.
42594         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
42595         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
42596         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
42597         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
42598         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
42599         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
42600         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
42601         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
42602         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
42603         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
42604         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
42605         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
42606         file.
42607         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
42608         New file.
42609         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
42610         file.
42611         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
42612         file.
42613         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
42614         file.
42615         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
42616         file.
42617         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
42618         file.
42619         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
42620         New file.
42621         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
42622         New file.
42623         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
42624         file.
42625         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
42626         New file.
42627         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
42628         file.
42629         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
42630         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
42631         file.
42632         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
42633         New file.
42634         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
42635         file.
42636         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
42637         file.
42638         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
42639         file.
42640         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
42641         file.
42642         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
42643         file.
42644         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
42645         New file.
42646         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
42647         New file.
42648         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
42649         file.
42650         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
42651         New file.
42652         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
42653         file.
42654
42655 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
42656
42657         * conform/conformtest.pl: Fix typo in handling typed-constant from
42658         allow-header.
42659
42660 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
42661
42662         * README: Cut down references to pre-2.6 Linux kernels and
42663         Linuxthreads.  Update lists of configurations in libc and ports
42664         and sort alphabetically.  Say "or newer" with Linux kernel version
42665         requirements.
42666
42667         * config.h.in [IS_IN_build]: Allow compiling without optimization.
42668
42669 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
42670
42671         [BZ #887]
42672         * math/libm-test.inc (logb_test_downward): New test to expose
42673         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
42674         rounding mode.
42675
42676 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
42677
42678         [BZ #14027]
42679         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
42680         to be done.
42681         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
42682         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
42683
42684 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
42685
42686         * sysdeps/unix/i386/brk.S: Remove file.
42687         * sysdeps/unix/i386/dl-brk.S: Likewise.
42688         * sysdeps/unix/i386/pipe.S: Likewise.
42689         * sysdeps/unix/i386/sigreturn.S: Likewise.
42690         * sysdeps/unix/i386/syscall.S: Likewise.
42691         * sysdeps/unix/i386/vfork.S: Likewise.
42692         * sysdeps/unix/i386/wait.S: Likewise.
42693
42694         * sysdeps/unix/common/tcsendbrk.c: Move to ...
42695         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
42696
42697         * configure.in (arm*-none*): Do not allow without
42698         --enable-hacker-mode.
42699         (netbsd*): Remove case setting base_os.
42700         (386bsd*): Likewise.
42701         (freebsd*): Likewise.
42702         (bsdi*): Likewise.
42703         (osf*): Likewise.
42704         (sunos*): Likewise.
42705         (ultrix*): Likewise.
42706         (newsos*): Likewise.
42707         (dynix*): Likewise.
42708         (*bsd*): Likewise.
42709         (sysv*): Likewise.
42710         (isc*): Likewise.
42711         (esix*): Likewise.
42712         (sco*): Likewise.
42713         (minix*): Likewise.
42714         (irix4*): Likewise.
42715         (irix6*): Likewise.
42716         (solaris[2-9]*): Likewise.
42717         (none): Likewise.
42718         * configure: Regenerated.
42719
42720 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42721
42722         [BZ #11521]
42723         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
42724         overflow or cancellation in calculating denominator.
42725         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
42726         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
42727         down expression to avoid unexpected rounding in newer GCCs.
42728         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
42729
42730 2012-04-26  David S. Miller  <davem@davemloft.net>
42731
42732         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
42733         long-double compat symbols.
42734         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
42735         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
42736         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
42737         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
42738         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
42739         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
42740         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
42741         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
42742         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
42743         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
42744         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
42745         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
42746         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
42747
42748 2012-04-25  David S. Miller  <davem@davemloft.net>
42749
42750         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
42751         HWCAP_* values only after the memory barriers have been defined.
42752         (atomic_full_barrier): Define.
42753         (atomic_read_barrier): Define.
42754         (atomic_write_barrier): Define.
42755
42756 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
42757
42758         * shlib-versions: Add libgcc_s version information.
42759         * sysdeps/generic/libgcc_s.h: Remove.
42760         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
42761         libgcc_s.h.
42762         * sysdeps/gnu/unwind-resume.c: Likewise.
42763         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
42764
42765 2012-04-25  David S. Miller  <davem@davemloft.net>
42766
42767         * sysdeps/unix/sparc/brk.S: Delete.
42768         * sysdeps/unix/sparc/dl-brk.S: Delete.
42769         * sysdeps/unix/sparc/pipe.S: Delete.
42770         * sysdeps/unix/sparc/sysdep.S: Delete.
42771         * sysdeps/unix/sparc/sysdep.h: Delete.
42772         * sysdeps/unix/sparc/vfork.S: Delete.
42773         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
42774         (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
42775         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
42776         (ret_ERRVAL, r0, r1, MOVE): Define.
42777         (JUMPTARGET): Remove.
42778         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
42779         sysdeps/unix/sparc/sysdep.h
42780         (ENTRY, END): Remove.
42781         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
42782
42783 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
42784
42785         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
42786         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
42787         -DIS_IN_build.
42788
42789         * timezone/README: Update upstream location and email address for
42790         tzcode and tzdata.
42791         * timezone/zdump.c: Update from tzcode 2012b.
42792         * timezone/zic.c: Likewise.
42793
42794         * configure.in (libc_cv_as_needed): Remove test.
42795         * configure: Regenerated.
42796         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
42797         conditional definition.
42798         [$(have-as-needed) != yes] (no-as-needed): Likewise.
42799         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
42800         * config.make.in (have-as-needed): Remove variable.
42801
42802 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
42803             Paul Pluzhnikov  <ppluzhnikov@google.com>
42804
42805         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
42806         strings correctly.
42807
42808 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
42809
42810         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
42811         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
42812         * sysdeps/sh/strlen.S: Likewise.
42813
42814 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
42815
42816         * sysdeps/unix/fork.S: Remove file.
42817         * sysdeps/unix/i386/fork.S: Likewise.
42818         * sysdeps/unix/sparc/fork.S: Likewise.
42819
42820         * sysdeps/unix/system.c: Remove file.
42821         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
42822
42823         * sysdeps/unix/getegid.S: Remove file.
42824         * sysdeps/unix/geteuid.S: Likewise.
42825
42826 2012-04-24  Roland McGrath  <roland@hack.frob.com>
42827
42828         * scripts/check-localplt.awk: New file.
42829         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
42830         of diff.
42831         * scripts/data/localplt-generic.data: Add a comment.
42832
42833         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
42834         NODE when __dir_mkfile failed.
42835         * sysdeps/mach/hurd/symlinkat.c: Likewise.
42836         Reported by Ludovic Courtès <ludo@gnu.org>.
42837
42838 2012-04-24  Andreas Jaeger  <aj@suse.de>
42839
42840         * Makerules (common-clean): Also remove gen-as-const-headers
42841         files.
42842
42843 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
42844
42845         * Makerules (native-compile): Do not change working directory for
42846         build.  Use $(OUTPUT_OPTION) in command.
42847         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
42848
42849 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42850
42851         [BZ #13886]
42852         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
42853         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
42854         * math/libm-test.inc (floor_test): Add more tests.
42855         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
42856
42857 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
42858
42859         * sysdeps/unix/getdents.c: Remove file.
42860         * sysdeps/unix/sysv/getdents.c: Likewise.
42861         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
42862
42863         * sysdeps/unix/syscalls.list (madvise): Add syscall from
42864         sysdeps/unix/mman/syscalls.list.
42865         (mmap): Likewise.
42866         (mprotect): Likewise.
42867         (msync): Likewise.
42868         (munmap): Likewise.
42869         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
42870         * sysdeps/unix/mman/syscalls.list: Remove.
42871         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
42872
42873         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
42874         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
42875         * configure: Regenerated.
42876         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
42877         $(libgcc_s_suffix).
42878         * config.make.in (libgcc_s_suffix): Remove variable.
42879
42880 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
42881
42882         * sysdeps/unix/sysv/gethostname.c: Move to ...
42883         * sysdeps/posix/gethostname.c: ... here.
42884
42885         * sysdeps/unix/execve.S: Remove file.
42886
42887         * sysdeps/unix/_exit.S: Remove file.
42888
42889 2012-04-23  Andreas Jaeger  <aj@suse.de>
42890
42891         [BZ #13739]
42892         * manual/Makefile: Remove make dist support, there's no
42893         need for a stand-alone documentation tar ball.
42894         (TEXI2DVI): Define always, it's not in Makeconfig.
42895         (dist): Removed.
42896         (tar-it): Removed.
42897         (edition): Removed.
42898         (glibc-doc-$(edition).tar): Removed
42899         (%.Z): Removed.
42900         (%.gz): Removed.
42901         (%.uu): Removed.
42902         (ETAGS): Remove, it's in Makeconfig.
42903         (move-if-change): Remove, it's in Makeconfig.
42904
42905 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
42906
42907         [BZ #13970]
42908         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
42909         (strtod, strtof, strtold, strtol, strtoul, strtoq)
42910         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
42911         (strtod_l, strtof_l, strtold_l): Remove __wur.
42912         It is not necessarily an error to ignore strtol's return value.
42913         One can reliably look at the stored endptr to decide whether
42914         the number had valid syntax.
42915
42916 2012-04-21  Andreas Jaeger  <aj@suse.de>
42917
42918         [BZ #13739]
42919         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
42920
42921 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
42922
42923         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
42924         * sysdeps/unix/sysv/Versions: Remove file.
42925
42926 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
42927
42928         [BZ #13927]
42929         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
42930
42931 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
42932
42933         [BZ #7064]
42934         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
42935         version from __vm86.
42936
42937 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
42938
42939         * sysdeps/unix/common/lxstat.c: Remove file.
42940         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
42941
42942         * sysdeps/unix/sysv/Makefile: Remove file.
42943
42944         * sysdeps/unix/sysv/direct.h: Remove file.
42945
42946         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
42947         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
42948         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
42949         * sysdeps/unix/sysv/bits/signum.h: Likewise.
42950         * sysdeps/unix/sysv/bits/stat.h: Likewise.
42951         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
42952         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
42953
42954         * sysdeps/unix/sysv/setrlimit.c: Remove file.
42955
42956         * sysdeps/unix/xmknod.c: Remove file.
42957         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
42958
42959         * sysdeps/unix/sysv/settimeofday.c: Remove file.
42960
42961         * sysdeps/unix/sysv/i386/time.S: Remove file.
42962
42963         * sysdeps/unix/fxstat.c: Remove file.
42964         * sysdeps/unix/xstat.c: Likewise.
42965         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
42966
42967         * sysdeps/unix/sysv/sigaction.c: Remove file.
42968
42969         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
42970         (sysdep_headers): Remove variable.
42971         [termio.h not in sysdep_headers] (generated): Likewise.
42972         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
42973         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
42974         * sysdeps/unix/sysv/tcdrain.c: Likewise.
42975         * sysdeps/unix/sysv/tcflow.c: Likewise.
42976         * sysdeps/unix/sysv/tcflush.c: Likewise.
42977         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
42978         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
42979         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
42980         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
42981         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
42982
42983         * sysdeps/unix/siglist.c: Remove file.
42984
42985         * sysdeps/unix/getppid.S: Remove file.
42986
42987         * sysdeps/unix/mkdir.c: Remove file.
42988         * sysdeps/unix/rmdir.c: Likewise.
42989
42990 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
42991
42992         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
42993         ERR_MAX value.
42994         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
42995         errlist-compat value.
42996
42997 2012-04-18  David S. Miller  <davem@davemloft.net>
42998
42999         * sysdeps/generic/memcopy.h (reg_char): Delete.
43000         * debug/strcat_chk.c: Use char, not reg_char.
43001         * debug/strcpy_chk.c: Likewise.
43002         * debug/strncat_chk.c: Likewise.
43003         * debug/strncpy_chk.c: Likewise.
43004         * string/memchr.c: Likewise.
43005         * string/memrchr.c: Likewise.
43006         * string/rawmemchr.c: Likewise.
43007         * string/strcat.c: Likewise.
43008         * string/strchr.c: Likewise.
43009         * string/strchrnul.c: Likewise.
43010         * string/strcmp.c: Likewise.
43011         * string/strcpy.c: Likewise.
43012         * string/strncat.c: Likewise.
43013         * string/strncmp.c: Likewise.
43014         * string/strncpy.c: Likewise.
43015
43016 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
43017
43018         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
43019         __builtin_memcopy is called when src and dest ranges are known to not
43020         overlap.
43021
43022 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
43023
43024         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
43025         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
43026         fwd_align_merge macro call.
43027         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
43028         bwd_align_merge macro call.
43029         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
43030
43031 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
43032
43033         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
43034         bwd_align_merge macros.
43035         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
43036         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
43037         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
43038
43039 2012-04-18  David S. Miller  <davem@davemloft.net>
43040
43041         * sysdeps/sparc/sparc64/memcopy.h: Delete.
43042
43043 2012-04-18  Andreas Jaeger  <aj@suse.de>
43044
43045         [BZ# 6794]
43046         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
43047         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
43048         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
43049
43050         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
43051         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
43052         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
43053
43054         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
43055         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
43056         Adjust for changed ldbl-128 files.
43057
43058         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
43059         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
43060         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
43061
43062 2012-04-17  David S. Miller  <davem@davemloft.net>
43063
43064         * sysdeps/sparc/sparc32/memcopy.h: Delete.
43065
43066 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
43067
43068         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
43069         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
43070         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
43071         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
43072         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
43073         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
43074
43075 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43076
43077         [BZ #6794]
43078         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
43079         * math/libm-test.inc: Add ilogb errno and exception tests.
43080         * math/w_ilogb.c: New file: ilogb wrapper.
43081         * math/w_ilogbf.c: New file: ilogbf wrapper.
43082         * math/w_ilogbl.c: New file: ilogbl wrapper.
43083         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
43084         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
43085         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
43086         exception being thrown with 0.0 as argument.
43087         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
43088         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
43089         exception being thrown with 0.0 as argument.
43090         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
43091         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
43092         exception being thrown with 0.0 as argument.
43093         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
43094         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
43095         exception being thrown with 0.0 as argument.
43096         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
43097         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
43098         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
43099         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
43100         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
43101         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
43102         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
43103         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
43104         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
43105
43106 2012-04-17  Petr Baudis  <pasky@ucw.cz>
43107
43108         * include/sys/uio.h: Change __vector to __iovec to avoid clash
43109         with altivec.
43110
43111 2012-04-16  Marek Polacek  <polacek@redhat.com>
43112
43113         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
43114
43115 2012-04-16  Marek Polacek  <polacek@redhat.com>
43116
43117         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
43118         operands of fdivp instruction.
43119
43120 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
43121
43122         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
43123         * elf/tst-auditmod3b.c: Likewise.
43124         * elf/tst-auditmod4b.c: Likewise.
43125         * elf/tst-auditmod5b.c: Likewise.
43126         * elf/tst-auditmod6b.c: Likewise.
43127         * elf/tst-auditmod6c.c: Likewise.
43128         * elf/tst-auditmod7b.c: Likewise.
43129         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
43130         * sysdeps/x86_64/preconfigure.in: Likewise.
43131         * sysdeps/x86_64/preconfigure: Regenerated.
43132
43133 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
43134
43135         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
43136         __ILP32__.
43137
43138 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
43139
43140         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
43141         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
43142
43143 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
43144
43145         [BZ #13973]
43146         * locale/iso-639.def: Fix gl language name. Spotted by
43147         Yaron Shahrabani.
43148
43149 2012-04-12  Roland McGrath  <roland@hack.frob.com>
43150
43151         [BZ #2074]
43152         * libio/libio.h (__io_write_fn): Update comment.
43153
43154 2012-04-12  Petr Baudis  <pasky@ucw.cz>
43155
43156         [BZ #2074]
43157         * stdio.texi (Hook Functions): The user provided writer function
43158         is not allowed to return -1.
43159
43160 2012-04-11  David S. Miller  <davem@davemloft.net>
43161
43162         * sysdeps/sparc/fpu/libm-test-ulps: Update.
43163
43164 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
43165
43166         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
43167         Add a leading slash to rtkaio.
43168
43169 2012-04-11  Jim Meyering  <meyering@redhat.com>
43170
43171         [BZ #11959]
43172         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
43173         It is not necessarily an error to ignore fwrite's return
43174         value.  One can reliably use ferror to test for errors after
43175         the fact.
43176
43177 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
43178
43179         * bits/types.h (__snseconds_t): New type.
43180         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
43181
43182         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
43183         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
43184         (__SNSECONDS_T_TYPE): Likewise.
43185         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
43186         (__SNSECONDS_T_TYPE): Likewise.
43187         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
43188         (__SNSECONDS_T_TYPE): Likewise.
43189
43190 2012-04-10  Andreas Jaeger  <aj@suse.de>
43191
43192         [BZ #2636]
43193         * manual/time.texi (Processor Time): Return type of times is
43194         elapsed real time since an arbitrary point in the past.
43195         (CPU Time): Move CLK_TCK from here...
43196         (Processor Time): ...to here.  Correct description.
43197         * manual/conf.texi (Constants for Sysconf): Correct description of
43198         _SC_CLK_TCK.
43199
43200 2012-04-10  David S. Miller  <davem@davemloft.net>
43201
43202         [BZ #13967]
43203         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
43204         where the is a gap between DT_REL(A) and DT_JMPREL.
43205
43206 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
43207
43208         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
43209         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
43210         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
43211
43212 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
43213
43214         * elf/dl-support.c (_dl_inhibit_cache): New variable.
43215         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
43216         (dl_main): Handle --inhibit-cache.
43217         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
43218         _dl_inhibit_cache.
43219         * elf/dl-load.c (_dl_map_object): Use it.
43220         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
43221
43222 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
43223
43224         [BZ #13872]
43225         * sysdeps/i386/fpu/e_powl.S (p78): New object.
43226         (__ieee754_powl): Saturate large exponents rather than testing for
43227         overflow of y*log2(x).
43228         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
43229         * math/libm-test.inc (pow_test): Do not permit spurious overflow
43230         exceptions.
43231
43232         [BZ #11521]
43233         * math/s_ctan.c: Include <float.h>.
43234         (__ctan): Avoid internal overflow or cancellation in calculating
43235         denominator.
43236         * math/s_ctanf.c: Likewise.
43237         * math/s_ctanl.c: Likewise.
43238         * math/s_ctanh.c: Likewise.
43239         * math/s_ctanhf.c: Likewise.
43240         * math/s_ctanhl.c: Likewise.
43241         * math/libm-test.inc (ctan_test): Add more tests.
43242         (ctanh_test): Likewise.
43243         * sysdeps/i386/fpu/libm-test-ulps: Update.
43244         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43245
43246 2012-04-09  Andreas Jaeger  <aj@suse.de>
43247
43248         [BZ #6894]
43249         * manual/filesys.texi (Directory Entries): Mention that d_namlen
43250         is an optional BSD extension.
43251
43252         [BZ #10254]
43253         * manual/stdio.texi (Opening Streams): Document additional fopen
43254         parameters.
43255
43256 2012-04-09  Roland McGrath  <roland@hack.frob.com>
43257
43258         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
43259         %eax without telling the compiler.
43260
43261 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
43262
43263         [BZ # 13963]
43264         * manual/install.texi: Use sourceware.org.
43265
43266 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
43267
43268         [BZ #13873]
43269         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
43270         (__ieee754_pow): Generate overflow and underflow using huge*huge
43271         and tiny*tiny rather than just returning constant infinity or zero
43272         for large exponents.
43273         * math/libm-test.inc (pow_test): Require overflow exceptions for
43274         applicable cases of large exponents.
43275
43276         [BZ #706]
43277         * sysdeps/i386/fpu/e_pow.S (p10): New object.
43278         (__ieee754_pow): Use iterative multiplication algorithm only for
43279         integer exponents with absolute value below 1024.  Check for odd
43280         integer exponents when using algorithm for real exponents.
43281         * math/libm-test.inc (pow_test): Add more tests.
43282         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
43283
43284 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
43285
43286         [BZ #13705]
43287         * math/libm-test.inc (exp_test): Do not allow overflow exception
43288         on underflow test.
43289
43290 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
43291
43292         [BZ #13705]
43293         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
43294         instead of __kernel_standard_f.
43295
43296 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
43297
43298         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
43299         * sysdeps/x86_64/memset_chk.S: Likewise.
43300
43301 2012-04-08  Andreas Jaeger  <aj@suse.de>
43302
43303         [BZ #10153]
43304         * manual/startup.texi (Environment Access): Describe return value
43305         for putenv and setenv.
43306
43307         [BZ #6895]
43308         * manual/filesys.texi (Directory Entries): Add description for
43309         DT_LNK.
43310
43311         [BZ #6890]
43312         * manual/filesys.texi (Directory Entries): Clarify that it's file
43313         system not operating system in the description of DT_UNKNOWN.
43314
43315         [BZ #6578]
43316         * manual/syslog.texi (closelog): Fix reference, it's openlog.
43317
43318 2012-04-08  Stephen Compall  <s11@member.fsf.org>
43319
43320         [BZ #6649]
43321         * manual/llio.texi (Opening and Closing Files): Add cross
43322         reference to explain mode argument.
43323
43324 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
43325
43326         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
43327         * sysdeps/x86_64/memset_chk.S: Likewise.
43328
43329 2012-04-07  David S. Miller  <davem@davemloft.net>
43330
43331         * elf/elf.h (R_SPARC_WDISP10): Define.
43332         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
43333         R_SPARC_SIZE32.
43334         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
43335         R_SPARC_SIZE64 and R_SPARC_H34.
43336
43337 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
43338
43339         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
43340         conditions and remove no longer applicable assertion.
43341
43342 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
43343
43344         * bits/byteswap.h: Include <features.h>.
43345         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
43346         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
43347
43348 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
43349
43350         * bits/byteswap.h (__bswap_16): Removed.
43351         Include <bits/byteswap-16.h> to get __bswap_16.
43352         * sysdeps/i386/bits/byteswap.h: Likewise.
43353         * sysdeps/s390/bits/byteswap.h: Likewise.
43354         * sysdeps/x86_64/bits/byteswap.h: Likewise.
43355         * bits/byteswap-16.h: New file.
43356         * sysdeps/i386/bits/byteswap-16.h: Likewise.
43357         * sysdeps/s390/bits/byteswap-16.h: Likewise.
43358         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
43359         * string/Makefile (headers): Add bits/byteswap-16.h.
43360
43361 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
43362
43363         [BZ #13895]
43364         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
43365         extra indirection.
43366         * nss/Makefile (tests-static, tests): Add tst-nss-static.
43367         * nss/tst-nss-static.c: New.
43368
43369 2012-04-06  Robert Millan  <rmh@gnu.org>
43370
43371         [BZ #6486]
43372         * manual/llio.texi (File Position Primitive): lseek
43373         refers to WHENCE when it really means OFFSET.
43374
43375 2012-04-06  Andreas Jaeger  <aj@suse.de>
43376
43377         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
43378         strncmp declarations.
43379
43380         * abilist/libc.abilist: Add __poll and __ppoll.
43381
43382 2012-04-05  David S. Miller  <davem@davemloft.net>
43383
43384         * scripts/check-local-headers.sh: Accept a host triplet in the
43385         path matched by the exclude regexp.
43386
43387         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
43388         definition.
43389         * sysdeps/powerpc/powerpc32/dl-machine.h
43390         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
43391         * sysdeps/s390/s390-32/dl-machine.h
43392         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
43393         * sysdeps/sparc/sparc32/dl-machine.h
43394         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
43395         * sysdeps/sparc/sparc64/dl-machine.h
43396         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
43397
43398         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
43399         lazy binding.
43400         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
43401         undefined symbol errors.
43402
43403         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
43404         DT_NEEDED entries.
43405
43406 2012-04-05  Michael Matz  <matz@suse.de>
43407
43408         [BZ #13592]
43409         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
43410
43411 2012-04-05  Andreas Jaeger  <aj@suse.de>
43412
43413         [BZ #13908]
43414         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
43415         comment.
43416
43417 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
43418
43419         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
43420         which ROUND is no valid rounding mode.
43421
43422 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
43423
43424         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
43425         read again.
43426         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
43427
43428 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
43429
43430         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
43431         an exception using FPU order intentionally.
43432
43433 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
43434
43435         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
43436         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
43437         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
43438         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
43439
43440 2012-04-05  Simon Josefsson  <simon@josefsson.org>
43441
43442         [BZ #12340]
43443         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
43444         EINVAL when BUFLEN is too smal.
43445
43446 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
43447
43448         [BZ #13553]
43449         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
43450         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
43451
43452 2012-04-03  Andreas Jaeger  <aj@suse.de>
43453
43454         [BZ #13938]
43455         * manual/setjmp.texi (System V contexts): Fix sentence.
43456
43457         [BZ #13926]
43458         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
43459         New macro for this case.
43460         [!__GNUC__] (__bswap_64): New inline function for this case.
43461         * sysdeps/x86_64/bits/byteswap.h: Likewise.
43462         * bits/byteswap.h: Likewise.
43463         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
43464         ull, guard with __GLIBC_HAVE_LONG_LONG.
43465
43466         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
43467         __GLIBC_HAVE_LONG_LONG.
43468
43469         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
43470         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
43471
43472 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
43473
43474         [BZ #13691]
43475         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
43476         inptr and inend, rather than using last_ch.
43477
43478 2012-04-02  David S. Miller  <davem@davemloft.net>
43479
43480         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
43481         * stdio-common/printf-parse.h (read_int): Change return type to
43482         'int', return -1 on INT_MAX overflow.
43483         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
43484         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
43485         overflows INT_MAX.  Check for overflow of in-format-string precision
43486         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
43487         SIZE_MAX not INT_MAX for integer overflow test.
43488         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
43489         skip the construct in the format string but do not record anything.
43490         * stdio-common/bug22.c: Adjust to test both width/prevision
43491         INT_MAX overflow as well as total length INT_MAX overflow.  Check
43492         explicitly for proper errno values.
43493
43494 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
43495
43496         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
43497         CHAR_MAX.
43498         * string/test-strcmp.c [! WIDE]: Likewise.
43499         * time/tst-mktime2.c: Likewise for INT_MAX.
43500         * string/test-string.h: #include <sys/param.h> for MIN.
43501
43502         * csu/init-first.c (__libc_init_first): Call __ctype_init.
43503         * sysdeps/i386/init-first.c (init): Likewise.
43504         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
43505         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
43506         * sysdeps/sh/init-first.c (init): Likewise.
43507
43508 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
43509
43510         * po/ru.po: Update from translation team.
43511         * po/vi.po: Likewise.
43512
43513 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
43514
43515         * resolv/nss_dns/dns-host.c: Merge copyright years.
43516
43517 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
43518
43519         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
43520         Optimize memcpy with prefetch if
43521         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
43522         src, dst pointers have unequal 16 byte alignments.
43523
43524 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
43525
43526         [BZ #13928]
43527         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
43528         from a CNAME entry and return the minimum ttl for the query.
43529         (gaih_getanswer_slice): Likewise.
43530
43531 2012-03-30  Jeff Law  <law@redhat.com>
43532
43533         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
43534         due to long keys.
43535         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
43536         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
43537
43538         * resolv/nss_dns/dns-host.c: Update copyright year.
43539
43540 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
43541
43542         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
43543         requests to save a system call.  Fix check that all bytes are sent.
43544
43545         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
43546         comments for sendmmsg.
43547
43548 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
43549
43550         [BZ #13691]
43551         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
43552         with only 1 character between 0x0041 and 0x01b0.
43553         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
43554         * wcsmbs/tst-mbsnrtowcs.c: New file.
43555
43556 2012-03-29  David S. Miller  <davem@davemloft.net>
43557
43558         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
43559         small copies by hand.
43560
43561 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
43562
43563         [BZ #13761]
43564         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
43565         (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
43566         group memberships.
43567
43568 2012-03-28  David S. Miller  <davem@davemloft.net>
43569
43570         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
43571         that branches into memcpy.
43572         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
43573         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
43574         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
43575         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
43576         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
43577         bits.
43578         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
43579         implementation too.
43580         * sysdeps/sparc/mempcpy.S: New file.
43581
43582         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
43583         the IFUNC routine in the libc case.
43584         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
43585
43586         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
43587         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
43588         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
43589         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
43590         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
43591         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
43592         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
43593         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
43594
43595         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
43596         loop to 256 bytes instead of 64 bytes and fix test signedness.
43597
43598         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
43599         * sysdeps/sparc/sparc32/Makefile: rather than here...
43600         * sysdeps/sparc/sparc64/Makefile: and here.
43601
43602 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
43603
43604         * malloc/mallocbug.c: Avoid warnings about unused variables.
43605
43606 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
43607
43608         [BZ #13760]
43609         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
43610         in the right place. Discard and retry query if response is
43611         larger than input buffer size.
43612
43613 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
43614
43615         [BZ #369]
43616         [BZ #2678]
43617         [BZ #3866]
43618         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
43619         x for large integer exponent.
43620         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
43621         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
43622         sign of result as needed afterwards.
43623         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
43624         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
43625         result for underflowing pow the same as for overflow.
43626         (__kernel_standard_l): Handle powl overflow and underflow here
43627         rather than calling __kernel_standard.
43628         * math/libm-test.inc (pow_test): Add more tests.
43629
43630         [BZ #3868]
43631         [BZ #13879]
43632         [BZ #13910]
43633         [BZ #13911]
43634         [BZ #13912]
43635         [BZ #13913]
43636         [BZ #13915]
43637         [BZ #13916]
43638         [BZ #13917]
43639         [BZ #13918]
43640         [BZ #13919]
43641         [BZ #13920]
43642         [BZ #13921]
43643         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
43644         * sysdeps/ieee754/k_standard.c: Include <float.h>.
43645         (__kernel_standard_l): New function.
43646         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
43647         __kernel_standard.
43648         * math/w_acosl.c (__acosl): Likewise.
43649         * math/w_asinl.c (__asinl): Likewise.
43650         * math/w_atan2l.c (__atan2l): Likewise.
43651         * math/w_atanhl.c (__atanhl): Likewise.
43652         * math/w_coshl.c (__coshl): Likewise.
43653         * math/w_exp10l.c (__exp10l): Likewise.
43654         * math/w_exp2l.c (__exp2l): Likewise.
43655         * math/w_fmodl.c (__fmodl): Likewise.
43656         * math/w_hypotl.c (__hypotl): Likewise.
43657         * math/w_j0l.c (__j0l, __y0l): Likewise.
43658         * math/w_j1l.c (__j1l, __y1l): Likewise.
43659         * math/w_jnl.c (__jnl, __ynl): Likewise.
43660         * math/w_lgammal.c (__lgammal): Likewise.
43661         * math/w_log10l.c (__log10l): Likewise.
43662         * math/w_log2l.c (__log2l): Likewise.
43663         * math/w_logl.c (__logl): Likewise.
43664         * math/w_powl.c (__powl): Likewise.
43665         * math/w_remainderl.c (__remainderl): Likewise.
43666         * math/w_scalbl.c (sysv_scalbl): Likewise.
43667         * math/w_sinhl.c (__sinhl): Likewise.
43668         * math/w_sqrtl.c (__sqrtl): Likewise.
43669         * math/w_tgammal.c (__tgammal): Likewise.
43670         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
43671         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
43672         * math/libm-test.inc (acos_test): Add more tests.
43673         (acosh_test): Likewise.
43674         (asin_test): Likewise.
43675         (atanh_test): Likewise.
43676         (exp_test): Likewise.
43677         (exp10_test): Likewise.
43678         (exp2_test): Likewise.
43679         (expm1_test): Likewise.
43680         (lgamma_test): Likewise.
43681         (log_test): Likewise.
43682         (log10_test): Likewise.
43683         (log1p_test): Likewise.
43684         (log2_test): Likewise.
43685         (pow_test): Do not allow some spurious overflow exceptions.
43686         (sqrt_test): Add more tests.
43687         (tgamma_test): Likewise.
43688         (y0_test): Likewise.
43689         (y1_test): Likewise.
43690         (yn_test): Likewise.
43691
43692 2012-03-27  Anton Blanchard  <anton@samba.org>
43693
43694         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
43695         MAP_HUGETLB.
43696         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
43697         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
43698         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
43699
43700 2012-03-27  David S. Miller  <davem@davemloft.net>
43701
43702         * conform/Makefile: Run run-conformtest.sh using $(BASH).
43703
43704         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
43705         have-as-vis3 check.
43706
43707 2012-03-27  Andreas Jaeger  <aj@suse.de>
43708
43709         * sysdeps/x86_64/elf/configure.in: Moved to ...
43710         * sysdeps/x86_64/configure.in: ... here.
43711         * sysdeps/x86_64/elf/start.S: Moved to ...
43712         * sysdeps/x86_64/start.S: ... here.
43713         * sysdeps/x86_64/elf/configure: Delete.
43714
43715         * sysdeps/x86_64/configure.in: Merge contents from
43716         sysdeps/i386/configure.in (without i686 check).
43717
43718         * sysdeps/i386/elf/Versions: Merge into ...
43719         * sysdeps/i386/Versions: ... this.
43720         * sysdeps/i386/elf/Versions: Delete file.
43721         * sysdeps/i386/elf/start.S: Moved to ...
43722         * sysdeps/i386/start.S: ...here.
43723         * sysdeps/i386/elf/configure.in: Merge into...
43724         * sysdeps/i386/configure.in: ...here.
43725         * sysdeps/i386/elf/configure.in: Delete file.
43726         * sysdeps/i386/elf/configure: Delete file.
43727
43728         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
43729         * debug/backtracesyms.c: ... here.
43730         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
43731         * debug/backtracesymsfd.c: ... here.
43732         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
43733         * sysdeps/generic/ifunc-sel.h: ... here.
43734
43735         * sysdeps/unix/i386/start.c: Delete file.
43736         * sysdeps/unix/sparc/start.c: Delete file.
43737         * sysdeps/unix/start.c: Delete file.
43738
43739         * sysdeps/sh/elf/configure.in: Moved to ...
43740         * sysdeps/sh/configure.in: ... here.
43741         * sysdeps/sh/elf/start.S: Moved to ...
43742         * sysdeps/sh/start.S: ... here.
43743         * sysdeps/sh/elf/configure: Delete file.
43744
43745         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
43746         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
43747         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
43748         * sysdeps/powerpc/powerpc64/entry.h: ... here.
43749         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
43750         * sysdeps/powerpc/powerpc64/start.S: here.
43751         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
43752         * sysdeps/powerpc/powerpc64/Makefile: ... this.
43753         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
43754         * sysdeps/powerpc/powerpc64/configure.in: ... this.
43755         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
43756
43757         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
43758         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
43759         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
43760         * sysdeps/powerpc/powerpc32/start.S: ... here.
43761         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
43762         * sysdeps/powerpc/powerpc32/configure.in: ... this.
43763         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
43764
43765         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
43766         * sysdeps/powerpc/ifunc-sel.h: ... here.
43767         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
43768         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
43769
43770         * sysdeps/sparc/elf/configure.in: Moved to ...
43771         * sysdeps/sparc/configure.in: ... here.
43772         * sysdeps/sparc/elf/configure: Delete file.
43773         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
43774         * sysdeps/sparc/sparc32/start.S: ... here.
43775         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
43776         * sysdeps/sparc/sparc64/start.S: ... here.
43777         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
43778         * sysdeps/sparc/sparc32/Makefile: ... this.
43779         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
43780         * sysdeps/sparc/sparc64/Makefile: ... this.
43781
43782         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
43783         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
43784         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
43785         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
43786         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
43787         * sysdeps/s390/s390-32/setjmp.S: ... here.
43788         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
43789         * sysdeps/s390/s390-32/configure.in: ... here.
43790         * sysdeps/s390/s390-32/elf/configure: Delete file.
43791         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
43792         * sysdeps/s390/s390-32/start.S: ... here.
43793
43794         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
43795         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
43796         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
43797         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
43798         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
43799         * sysdeps/s390/s390-64/setjmp.S: ... here.
43800         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
43801         * sysdeps/s390/s390-64/configure.in: ... here
43802         * sysdeps/s390/s390-64/elf/configure: Delete file.
43803         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
43804         * sysdeps/s390/s390-64/start.S: ... here.
43805         * sysdeps/s390/s390-64/elf/configure: Delete.
43806
43807         * configure.in: Remove support for elf directories in sysdeps.
43808
43809         * configure: Regenerated.
43810         * sysdeps/i386/configure: Regenerated.
43811         * sysdeps/powerpc/powerpc32/configure: Regenerated.
43812         * sysdeps/powerpc/powerpc64/configure: Regenerated.
43813         * sysdeps/s390/s390-32/configure: Regenerated.
43814         * sysdeps/s390/s390-64/configure: Regenerated.
43815         * sysdeps/sh/configure: Regenerated.
43816         * sysdeps/sparc/configure: Regenerated.
43817         * sysdeps/x86_64/configure: Regenerated.
43818
43819 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
43820
43821         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43822
43823         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
43824         denormal result into account.
43825
43826 2012-03-25  Roland McGrath  <roland@hack.frob.com>
43827
43828         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
43829         Reported by Allan McRae <allan@archlinux.org>.
43830
43831 2012-03-23  Jeff Law  <law@redhat.com>
43832
43833         * nss/getnssent.c (__nss_getent): Fix typo.
43834
43835 2012-03-23  David S. Miller  <davem@davemloft.net>
43836
43837         * sysdeps/sparc/fpu/libm-test-ulps: Update.
43838
43839 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
43840
43841         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
43842         to pad to uint64_t for each field.
43843         (dl_tls_index): Replace unsigned long with uint64_t.
43844
43845 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
43846         Paul Pluzhnikov  <ppluzhnikov@google.com>
43847
43848         [BZ #6528]
43849         * grp/Makefile (otherlibs): Don't set it.
43850         * inet/Makefile (otherlibs): Likewise.
43851         * login/Makefile (otherlibs): Likewise.
43852         * nscd/Makefile (otherlibs): Likewise.
43853         * posix/Makefile (otherlibs): Likewise.
43854         * pwd/Makefile (otherlibs): Likewise.
43855         * rt/Makefile (otherlibs): Likewise.
43856         * sunrpc/Makefile (otherlibs): Likewise.
43857         * nss/Makefile (otherlibs): Likewise.
43858         Add libnss_files to routines and static-only-routines.
43859         ($(objpfx)getent): Remove rule.
43860         * resolv/Makefile: Add libnss_dns and libresolv to routines and
43861         static-only-routines.
43862
43863 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
43864
43865         [BZ #13892]
43866         * math/s_cexp.c: Include <float.h>.
43867         (__cexp): Handle exp result overflowing not necessarily
43868         overflowing both real and imaginary parts of result.
43869         * math/s_cexpf.c: Likewise.
43870         * math/s_cexpl.c: Likewise.
43871         * math/libm-test.inc (cexp_test): Add more tests.
43872         * sysdeps/i386/fpu/libm-test-ulps: Update.
43873         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43874
43875 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
43876
43877         * include/link.h (ELFW): New macro.
43878         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
43879         Replace ELF64_R_TYPE with ELFW(R_TYPE).
43880
43881 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
43882
43883         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
43884         with uint64_t.
43885
43886 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
43887
43888         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
43889         declaration.
43890         (struct La_x32_retval): Likewise.
43891
43892 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
43893
43894         * sysdeps/x86_64/preconfigure.in: New file.
43895         * sysdeps/x86_64/preconfigure: New generated file.
43896
43897 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
43898
43899         [BZ #13824]
43900         * math/e_exp2l.c: Include <float.h>.
43901         (__ieee754_exp2l): Handle overflow and underflow cases
43902         separately.  Only pass fractional part of argument to
43903         __ieee754_expl.
43904         * math/libm-test.inc (exp2_test): Add more tests.
43905
43906         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
43907         negating x to take absolute value.
43908         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
43909         Likewise.
43910         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
43911         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
43912         Likewise.
43913         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
43914         computing low part if x was negated.
43915         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
43916
43917 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
43918
43919         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
43920         la_x32_gnu_pltexit.
43921         (pltexit): Cast int_retval to ptrdiff_t.
43922         * elf/tst-auditmod3b.c: Likewise.
43923         * elf/tst-auditmod4b.c: Likewise.
43924         * elf/tst-auditmod5b.c: Likewise.
43925         * elf/tst-auditmod6b.c: Likewise.
43926         * elf/tst-auditmod6c.c: Likewise.
43927         * elf/tst-auditmod7b.c: Likewise.
43928
43929         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
43930         and x32_gnu_pltexit.
43931
43932         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
43933         __ELF_NATIVE_CLASS.
43934         (La_x32_regs): New macro.
43935         (La_x32_retval): Likewise.
43936         (la_x32_gnu_pltenter): New function prototype.
43937         (la_x32_gnu_pltexit): Likewise.
43938
43939 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
43940
43941         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
43942         exponent.
43943
43944         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43945
43946         * configure.in (libc_cv_cc_nofma): Check for option to disable
43947         generation of FMA instructions.
43948         * configure: Regenerate.
43949         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
43950         * sysdeps/ieee754/dbl-64/Makefile: New file.
43951         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
43952         Remove brandred-fma4.
43953         (CFLAGS-brandred-fma4.c): Remove.
43954         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
43955         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
43956         define.
43957         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
43958         define.
43959
43960 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
43961
43962         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
43963         LLONG_MAX != LONG_MAX.
43964         (_itoa_word): Use _ITOA_WORD_TYPE on value.
43965         (_fitoa_word): Likewise.
43966         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
43967         LLONG_MAX != LONG_MAX.
43968         * stdio-common/_itowa.h: Include <_itoa.h>.
43969         (_itowa_word): Use _ITOA_WORD_TYPE on value.
43970         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
43971         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
43972         only if not defined.
43973         (_ITOA_WORD_TYPE): Likewise.
43974         (_itoa_word): Use _ITOA_WORD_TYPE on value.
43975         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
43976
43977 2012-03-21  David S. Miller  <davem@davemloft.net>
43978
43979         * sysdeps/sparc/fpu/libm-test-ulps: Update.
43980
43981 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
43982
43983         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
43984         of x86_64 when setting libc_cv_slibdir, libdir and
43985         libc_cv_localedir.
43986         * sysdeps/unix/sysv/linux/configure: Regenerated.
43987
43988 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
43989
43990         * manual/lang.texi (Old Varargs): Remove section.
43991         (How Variadic): Update menu.
43992         (va_start): Do not mention varargs.h.
43993
43994 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
43995             Joseph Myers  <joseph@codesourcery.com>
43996
43997         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
43998         link test.
43999         * configure: Regenerated.
44000
44001 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
44002
44003         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
44004         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
44005         conformtest.pl
44006
44007 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
44008
44009         * NOTES: Remove.
44010         * Makefile (files-for-dist): Remove NOTES.
44011         (NOTES): Remove rule.
44012         * README: Don't refer to NOTES.
44013         * manual/creature.texi: Don't include macros.texi.
44014         * manual/intro.texi (creature.texi): Remove comment referring to
44015         NOTES.
44016
44017         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
44018         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
44019         * configure: Regenerated.
44020         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
44021         LIBC_TRY_CC_OPTION.
44022         (libc_cv_as_i686): Likewise.
44023         (libc_cv_cc_avx): Likewise.
44024         (libc_cv_cc_sse2avx): Likewise.
44025         (libc_cv_cc_fma4): Likewise.
44026         (libc_cv_cc_novzeroupper): Likewise.
44027         * sysdeps/i386/configure: Regenerated.
44028
44029         [BZ #13883]
44030         * sysdeps/i386/fpu/s_cexp.S: Remove.
44031         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
44032         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
44033         * math/libm-test.inc (cexp_test): Add more tests.
44034         * sysdeps/i386/fpu/libm-test-ulps: Update.
44035         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44036
44037 2012-03-21  Allan McRae  <allan@archlinux.org>
44038
44039         * timezone/Makefile: Do not install iso3166.tab and zone.tab
44040
44041 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
44042
44043         [BZ #13871]
44044         * math/w_exp2.c: Do not include <float.h>.
44045         (o_threshold, u_threshold): Remove.
44046         (__exp2): Calculate result before checking finiteness and calling
44047         __kernel_standard.
44048         * math/w_exp2f.c: Likewise.
44049         * math/w_exp2l.c: Likewise.
44050         * math/libm-test.inc (exp2_test): Require overflow exception for
44051         1e6 input.
44052
44053         [BZ #3866]
44054         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
44055         range of signed 64-bit integers before using fistpll.  Remove
44056         checks for whether integers fit in mantissa bits.
44057         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
44058         the range of signed 32-bit integers before using fistpl.  Remove
44059         checks for whether integers fit in mantissa bits.
44060         * sysdeps/i386/fpu/e_powl.S (p64): New object.
44061         (__ieee754_powl): Test for y outside the range of signed 64-bit
44062         integers before using fistpll.  Reduce 64-bit values to 63-bit
44063         ones as needed.
44064         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
44065         divide-by-zero is raised for zero to large negative powers.
44066         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
44067         (__ieee754_powl): Test for y outside the range of signed 64-bit
44068         integers before using fistpll.  Reduce 64-bit values to 63-bit
44069         ones as needed.
44070         * math/libm-test.inc (pow_test): Add more tests.
44071
44072 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
44073
44074         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
44075         <stdio-common/_itoa.h>.
44076         * debug/segfault.c: Likewise.
44077         * elf/dl-cache.c: Likewise.
44078         * elf/dl-minimal.c: Likewise.
44079         * elf/dl-misc.c: Likewise.
44080         * elf/dl-sysdep.c: Likewise.
44081         * elf/dl-version.c: Likewise.
44082         * elf/rtld.c: Likewise.
44083         * hurd/hurdsock.c: Likewise.
44084         * hurd/lookup-retry.c: Likewise.
44085         * malloc/malloc.c: Likewise.
44086         * malloc/mtrace.c: Likewise.
44087         * nscd/nscd_getgr_r.c: Likewise.
44088         * nscd/nscd_getpw_r.c: Likewise.
44089         * nscd/nscd_getserv_r.c: Likewise.
44090         * posix/getopt_init.c: Likewise.
44091         * posix/wordexp.c: Likewise.
44092         * stdio-common/_itoa.c: Likewise.
44093         * stdio-common/printf_fphex.c: Likewise.
44094         * stdio-common/vfprintf.c: Likewise.
44095         * string/_strerror.c: Likewise.
44096         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
44097         * sysdeps/i386/i686/hp-timing.h: Likewise.
44098         * sysdeps/mach/_strerror.c: Likewise.
44099         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
44100         * sysdeps/mach/hurd/sethostid.c: Likewise.
44101         * sysdeps/mach/hurd/xmknodat.c: Likewise.
44102         * sysdeps/mach/xpg-strerror.c: Likewise.
44103         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
44104         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
44105         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
44106         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
44107         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
44108         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
44109         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
44110         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
44111         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
44112         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
44113         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
44114         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
44115         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
44116         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
44117         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
44118         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
44119         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
44120         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
44121         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
44122         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
44123         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
44124
44125         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
44126
44127         * stdio-common/_itoa.h: Moved to ...
44128         * sysdeps/generic/_itoa.h: Here.
44129
44130         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
44131
44132         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
44133         instead of "_itoa.h" and "_itowa.h".
44134         * stdio-common/vfprintf.: Likewise.
44135
44136 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
44137
44138         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
44139         <bits/wordsize.h>.
44140         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
44141         (__signbit): Likwise.
44142         (llrintf): Likwise.
44143         (llrint): Likwise.
44144
44145 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
44146
44147         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
44148         __WORDSIZE != 64.
44149
44150 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
44151
44152         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
44153         OVERFLOW_EXCEPTION_OK.
44154         * math/libm-test.inc ("Philosophy"): Update comment about
44155         exception testing.
44156         (OVERFLOW_EXCEPTION): Define.
44157         (OVERFLOW_EXCEPTION_OK): Likewise.
44158         (INVALID_EXCEPTION_OK): Renumber.
44159         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
44160         (IGNORE_ZERO_INF_SIGN): Likewise.
44161         (test_exceptions): Handle FE_OVERFLOW.
44162         (exp10_test): Expect overflow exceptions.
44163         (exp2_test): Likewise.
44164         (expm1_test): Likewise.
44165         (nextafter_test): Likewise.
44166         (pow_test): Likewise.
44167         (scalbn_test): Likewise.
44168         (scalbln_test): Likewise.
44169
44170 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
44171
44172         * sysdeps/x86_64/bits/atomic.h
44173         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
44174         64bit integer.
44175         (atomic_exchange_acq): Likewise.
44176         (__arch_exchange_and_add_body): Likewise.
44177         (__arch_add_body): Likewise.
44178         (atomic_add_negative): Likewise.
44179         (atomic_add_zero): Likewise.
44180
44181 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
44182
44183         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
44184         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
44185
44186 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
44187
44188         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
44189         Check __x86_64__ instead of __WORDSIZE.
44190
44191 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
44192
44193         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
44194
44195 2012-03-19  David S. Miller  <davem@davemloft.net>
44196
44197         * sysdeps/sparc/fpu/libm-test-ulps: Update.
44198
44199         * sysdeps/sparc/fpu/fenv_private.h: New file.
44200         * sysdeps/sparc/fpu/math_private.h: Use it.
44201         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
44202         Remove.
44203         (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
44204         (libc_feholdexcept_setroundl): Remove.
44205         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
44206         Remove.
44207         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
44208         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
44209
44210 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
44211
44212         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
44213         int64_t instead of long int.
44214         (INSERT_WORDS64): Likwise.
44215
44216 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
44217
44218         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
44219         _Unwind_GetCFA return to _Unwind_Ptr first.
44220
44221 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
44222
44223         [BZ #13629]
44224         * math/s_clog.c: Include <float.h>.
44225         (__clog): Scale large or subnormal inputs.
44226         * math/s_clogf.c: Likewise.
44227         * math/s_clogl.c: Likewise.
44228         * math/s_clog10.c: Include <float.h>.
44229         (M_LOG10_2): Define.
44230         (__clog10): Scale large or subnormal inputs.
44231         * math/s_clog10f.c: Likewise.
44232         * math/s_clog10l.c: Likewise.
44233         * math/libm-test.inc (clog_test): Add more tests.
44234         (clog10_test): Likewise.
44235         * sysdeps/i386/fpu/libm-test-ulps: Update.
44236         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44237
44238         [BZ #11451]
44239         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
44240         x and y.
44241         * math/libm-test.inc (atan2_test): Add another test.
44242
44243         * Makerules (common-objdir-compile): Remove.
44244         * sysdeps/unix/Makefile (config-generated): Do not add
44245         $(unix-generated) to variable.
44246         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
44247         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
44248         Remove rule.
44249         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
44250         Likewise.
44251         [generic bits/local_lim.h] (before-compile): Do not append to
44252         variable.
44253         [generic bits/local_lim.h] (common-generated): Likewise.
44254         [generic sys/param.h] (before-compile): Do not append to variable.
44255         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
44256         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
44257         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
44258         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
44259         include.
44260         [generic sys/param.h] (sys/param.h-includes): Remove variable.
44261         [generic sys/param.h] (sys/param.h-includes): Remove rule.
44262         [generic sys/param.h] ($(addprefix
44263         $(common-objpfx),$(sys/param.h-includes))): Likewise.
44264         [generic sys/param.h] (common-generated): Do not append to
44265         variable.
44266         [generic sys/param.h] (sysdep_headers): Likewise.
44267         [generic bits/errno.h] (before-compile): Do not append to
44268         variable.
44269         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
44270         rule.
44271         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
44272         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
44273         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
44274         [generic bits/errno.h] (common-generated): Do not append to
44275         variable.
44276         [generic bits/ioctls.h] (before-compile): Do not append to
44277         variable.
44278         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
44279         rule.
44280         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
44281         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
44282         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
44283         rule.
44284         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
44285         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
44286         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
44287         [generic bits/ioctls.h] (common-generated): Do not append to
44288         variable.
44289         [generic sys/syscall.h] (syscall.h): Remove variable.
44290         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
44291         rule.
44292         [generic sys/syscall.h] (before-compile): Do not append to
44293         variable.
44294         [generic sys/syscall.h] (common-generated): Likewise.
44295         * sysdeps/unix/errnos-tmpl.c: Remove file.
44296         * sysdeps/unix/errnos.awk: Likewise.
44297         * sysdeps/unix/ioctls-tmpl.c: Likewise.
44298         * sysdeps/unix/ioctls.awk: Likewise.
44299         * sysdeps/unix/mk-local_lim.c: Likewise.
44300         * sysdeps/unix/snarf-ioctls: Likewise.
44301
44302 2012-03-19  Richard Henderson  <rth@twiddle.net>
44303
44304         * sysdeps/i386/fpu/fenv_private.h: New file.
44305         * sysdeps/i386/fpu/math_private.h: Use it.
44306         (math_opt_barrier, math_force_eval): Remove.
44307         (libc_feholdexcept_setround_53bit): Remove.
44308         (libc_feupdateenv_53bit): Remove.
44309         * sysdeps/x86_64/fpu/math_private.h: Likewise.
44310         (math_opt_barrier, math_force_eval): Remove.
44311         (libc_feholdexcept): Remove.
44312         (libc_feholdexcept_setround): Remove.
44313         (libc_fetestexcept, libc_fesetenv): Remove.
44314         (libc_feupdateenv_test): Remove.
44315         (libc_feupdateenv, libc_feholdsetround): Remove.
44316         (libc_feresetround): Remove.
44317
44318         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
44319         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
44320
44321         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
44322         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
44323         (libc_feupdateenv_testl): New.
44324         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
44325         (libc_feupdateenv_testf): New.
44326         (libc_feupdateenv): Use libc_feupdateenv_test.
44327         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
44328         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
44329
44330         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
44331         (libc_feholdsetroundf, libc_feholdsetroundl): New.
44332         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
44333         (libc_feresetround_noex): New.
44334         (libc_feresetround_noexf): New.
44335         (libc_feresetround_noexl): New.
44336         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
44337         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
44338         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
44339         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
44340         SET_RESTORE_ROUND.
44341         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
44342         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
44343         (__cos): Likewise.
44344         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
44345         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
44346         SET_RESTORE_ROUND_NOEX.
44347         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
44348         SET_RESTORE_ROUND_NOEXF.
44349         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
44350         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
44351         (libc_feholdsetroundf): New.
44352         (libc_feresetround, libc_feresetroundf): New.
44353
44354         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
44355         (libc_feholdexcept_setround_53bit): Convert from macro to function.
44356         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
44357
44358         * sysdeps/generic/math_private.h: Include <fenv.h>.
44359         (default_libc_feholdexcept): New.
44360         (default_libc_feholdexcept_setround): New.
44361         (default_libc_fesetenv, default_libc_feupdateenv): New.
44362         (libc_feholdexcept): Only define if undefined.
44363         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
44364         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
44365         (libc_feholdexcept_setroundl): Likewise.
44366         (libc_feholdexcept_setround_53bit): Likewise.
44367         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
44368         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
44369         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
44370         (libc_feupdateenv_53bit): Likewise.
44371         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
44372         (libc_feholdexcept): Convert from macro to inline function.
44373         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
44374         (libc_fesetenv, libc_feupdateenv): Likewise.
44375
44376         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
44377         not previously defined.
44378         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
44379         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
44380         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
44381         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
44382         * sysdeps/ieee754/flt-32/math_private.h: New file.
44383         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
44384         math_private.h below SET_FLOAT_WORD.
44385         (__isnan, __isinf_ns, __finite): Remove.
44386         (__isnanf, __isinf_nsf, __finitef): Remove.
44387
44388 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
44389
44390         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
44391
44392 2012-03-17  David S. Miller  <davem@davemloft.net>
44393
44394         [BZ #6471]
44395         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
44396         for 2.16.
44397
44398 2012-03-16  David S. Miller  <davem@davemloft.net>
44399
44400         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
44401         warnings.
44402
44403         [BZ #6471]
44404         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
44405         properly.
44406         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
44407         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
44408         sysdep_routines when subdir is sysvipc.
44409         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
44410         __getshmlba helper.
44411
44412         * sysdeps/sparc/fpu/libm-test/ulps: Update.
44413
44414 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
44415
44416         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
44417         [__LP64__].
44418
44419 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
44420
44421         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
44422         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
44423         (__lround): Renamed to ...
44424         (__llround): This.  Replace long int with long long int.
44425         Define lround functions as aliases of llround functions.
44426         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
44427
44428 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
44429
44430         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
44431         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
44432         adresses to uintptr_t.  Replace "long int" and "unsigned long
44433         int" with "greg_t" on va_arg.
44434
44435 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
44436
44437         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
44438         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
44439
44440         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
44441         Move e_machine check before EI_CLASS check.  Handle x32
44442         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
44443         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
44444         SKIP_EM_IA_64 and include
44445         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
44446
44447         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
44448         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
44449         (add_system_dir): New macro.
44450
44451         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
44452         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
44453
44454 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
44455
44456         [BZ #2551]
44457         [BZ #2552]
44458         [BZ #2553]
44459         [BZ #2554]
44460         [BZ #2562]
44461         [BZ #2563]
44462         [BZ #2565]
44463         [BZ #2566]
44464         [BZ #2576]
44465         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
44466         (y0): Likewise.
44467         * math/w_j0f.c (j0f): Likewise.
44468         (y0f): Likewise.
44469         * math/w_j0l.c (__j0l): Likewise.
44470         (__y0l): Likewise.
44471         * math/w_j1.c (j1): Likewise.
44472         (y1): Likewise.
44473         * math/w_j1f.c (j1f): Likewise.
44474         (y1f): Likewise.
44475         * math/w_j1l.c (__j1l): Likewise.
44476         (__y1l): Likewise.
44477         * math/w_jn.c (jn): Likewise.
44478         (yn): Likewise.
44479         * math/w_jnf.c (jnf): Likewise.
44480         (ynf): Likewise.
44481         * math/w_jnl.c (__jnl): Likewise.
44482         (__ynl): Likewise.
44483         * math/libm-test.inc (j0_test): Add more tests.
44484         (j1_test): Likewise.
44485         (jn_test): Likewise.  Add trailing semicolon to existing test.
44486         (y0_test): Likewise.
44487         (y1_test): Likewise.
44488         * sysdeps/i386/fpu/libm-test-ulps: Update.
44489         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44490
44491         [BZ #13851]
44492         [BZ #13854]
44493         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
44494         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
44495         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
44496         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
44497         (__tanl): Set errno for infinite argument.
44498         * sysdeps/i386/fpu/mptan.c: Remove.
44499         * sysdeps/i386/fpu/s_tan.S: Likewise.
44500         * sysdeps/i386/fpu/s_tanl.S: Likewise.
44501         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
44502         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
44503         * math/libm-test.inc (tan_test): Add more tests and enable more
44504         tests for double and long double.
44505         * sysdeps/i386/fpu/libm-test-ulps: Update.
44506         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44507
44508 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
44509
44510         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
44511         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
44512
44513 2012-03-16  Roland McGrath  <roland@hack.frob.com>
44514
44515         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
44516         * configure.in: Use it for both main tree and add-ons.
44517         * configure: Regenerated.
44518
44519 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
44520
44521         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
44522
44523 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
44524
44525         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
44526         in comment.
44527
44528         [BZ #13851]
44529         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
44530         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
44531         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
44532         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
44533         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
44534         infinite argument.
44535         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
44536         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
44537         != 0 for prec == 2.
44538         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
44539         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
44540         * sysdeps/i386/fpu/s_cosl.S: Likewise.
44541         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
44542         * sysdeps/i386/fpu/s_sinl.S: Likewise.
44543         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
44544         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
44545         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
44546         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
44547         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
44548         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
44549         * math/libm-test.inc (cos_test): Add more tests and enable more
44550         tests for long double.
44551         (sin_test): Likewise.
44552         (sincos_test): Likewise.
44553         * sysdeps/i386/fpu/libm-test-ulps: Update.
44554         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44555
44556 2012-03-16  David S. Miller  <davem@davemloft.net>
44557
44558         * sysdeps/sparc/fpu/math_private.h: New file.
44559
44560 2012-03-15  David S. Miller  <davem@davemloft.net>
44561
44562         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
44563         file.
44564         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
44565         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
44566         file.
44567         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
44568         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
44569         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
44570         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
44571         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
44572         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
44573         sysdep routines.
44574         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
44575
44576         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
44577         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
44578
44579         * sysdeps/sparc/sparc-ifunc.h: New file.
44580         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
44581         sparc-ifunc.h
44582         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
44583         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
44584         Likewise.
44585         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
44586         Likewise.
44587         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
44588         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
44589         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
44590         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
44591         Likewise.
44592         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
44593         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
44594         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
44595         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
44596         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
44597         Likewise.
44598         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
44599         Likewise.
44600         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
44601         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
44602         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
44603         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
44604         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
44605         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
44606         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
44607         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
44608         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
44609         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
44610         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
44611         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
44612         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
44613         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
44614         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
44615         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
44616         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
44617         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
44618         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
44619         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
44620         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
44621         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
44622         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
44623         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
44624
44625 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
44626
44627         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
44628         scaling.
44629         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
44630
44631 2012-03-15  Andreas Jaeger  <aj@suse.de>
44632
44633         [BZ #13852]
44634         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
44635         ieee754/flt-32 implementation for sin, cos and sincos.
44636         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
44637         * sysdeps/i386/fpu/s_cosf.S: Likewise.
44638         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
44639         * sysdeps/i386/fpu/s_sinf.S: Likewise.
44640         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
44641         ieee754/flt-32 implementation for tan.
44642
44643         * math/libm-test.inc (cos_test): Enable some large input tests for
44644         float as well
44645         (sin_test): Likewise.
44646         (sincos_test): Likewise.
44647         (tan_test): Add tests for large input.
44648
44649         * sysdeps/i386/fpu/libm-test-ulps: Update.
44650
44651 2012-03-15  Andreas Jaeger  <aj@suse.de>
44652
44653         [BZ #13658]
44654         * math/libm-test.inc (cos_test): Add more test cases.
44655         (sin_test): Likewise.
44656         (sincos_test): Likewise.
44657
44658 2012-03-15  Andreas Jaeger  <aj@suse.de>
44659
44660         [BZ #13837]
44661         * math/libm-test.inc (cos_test): Add a test case for large input
44662         value.
44663         (sin_test): Likewise.
44664         (sincos_test): Likewise.
44665
44666 2012-03-15  Andreas Jaeger  <aj@suse.de>
44667             Joseph Myers  <joseph@codesourcery.com>
44668
44669         [BZ #13658]
44670         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
44671         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
44672         * sysdeps/i386/fpu/branred.c: Likewise.
44673         * sysdeps/i386/fpu/dosincos.c: Likewise.
44674         * sysdeps/i386/fpu/mpa.c: Likewise.
44675         * sysdeps/i386/fpu/s_cos.S: Likewise.
44676         * sysdeps/i386/fpu/s_sin.S: Likewise.
44677         * sysdeps/i386/fpu/s_sincos.S: Likewise.
44678         * sysdeps/i386/fpu/sincos32.c: Likewise.
44679
44680         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
44681         Define.
44682         (libc_feupdateenv_53bit): Define.
44683         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
44684         Define.
44685         (libc_feupdateenv_53bit): Define.
44686
44687         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
44688         53 bit (without extend i386 double precision).
44689
44690         * math/libm-test.inc (sincos_test): Add tests for large input.
44691         (sin): Likewise.
44692         (cos): Likewise.
44693
44694         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
44695
44696 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
44697
44698         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
44699
44700 2012-03-15  David S. Miller  <davem@davemloft.net>
44701
44702         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
44703         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
44704         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
44705         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
44706         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
44707         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
44708         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
44709         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
44710         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
44711         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
44712         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
44713         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
44714         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
44715         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
44716         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
44717         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
44718         file.
44719         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
44720         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
44721         file.
44722         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
44723         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
44724         file.
44725         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
44726         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
44727         file.
44728         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
44729         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
44730         fmin/fmax sysdep routines.
44731         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
44732
44733 2012-03-14  David S. Miller  <davem@davemloft.net>
44734
44735         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
44736         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
44737         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
44738         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
44739         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
44740         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
44741         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
44742         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
44743         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
44744         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
44745         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
44746         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
44747         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
44748         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
44749         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
44750         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
44751         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
44752         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
44753         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
44754         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
44755         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
44756         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
44757         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
44758         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
44759         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
44760         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
44761         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
44762         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
44763         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
44764         routines.
44765         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
44766         file.
44767         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
44768         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
44769         file.
44770         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
44771         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
44772         file.
44773         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
44774         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
44775         file.
44776         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
44777         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
44778         file.
44779         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
44780         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
44781         file.
44782         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
44783         file.
44784         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
44785         file.
44786         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
44787         file.
44788         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
44789         New file.
44790         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
44791         file.
44792         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
44793         file.
44794         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
44795         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
44796         file.
44797         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
44798         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
44799         file.
44800         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
44801         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
44802         file.
44803         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
44804         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
44805         VIS3 routines.
44806
44807         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
44808         New file.
44809
44810         * sysdeps/sparc/fpu/libm-test-ulps: Update.
44811
44812         * sysdeps/sparc/configure.in: New file.
44813         * sysdeps/sparc/configure: Generate.
44814         * configure.in (libc_cv_sparc_as_vis3): Substitute.
44815         * configure: Regenerate.
44816         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
44817         * config.make.in (have-as-vis3): New.
44818         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
44819         available use -Av9d instead of -Av9a.
44820         * sysdeps/sparc/sparc64/Makefile: Likewise.
44821         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
44822         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
44823         New file.
44824         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
44825         file.
44826         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
44827         New file.
44828         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
44829         file.
44830         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
44831         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
44832         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
44833         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
44834         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
44835
44836         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
44837         fzeros/fnegs to load 0x80000000 into a float register instead of
44838         using the stack.
44839         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
44840
44841 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
44842
44843         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
44844         bits/syscall.h.
44845         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
44846         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
44847         ($(inst_includedir)/bits/syscall.h): Remove rule.
44848         ($(objpfx)bits/syscall.d): Include instead of
44849         $(objpfx)syscall-list.d.
44850         (generated): Change syscall-list.h and syscall-list.d to
44851         bits/syscall.h and bits/syscall.d.
44852
44853 2012-03-14  Roland McGrath  <roland@hack.frob.com>
44854
44855         [BZ #13846]
44856         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
44857
44858 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
44859
44860         [BZ #13841]
44861         * math/s_csqrt.c: Include <float.h>.
44862         (__csqrt): Scale large or subnormal inputs.
44863         * math/s_csqrtf.c: Likewise.
44864         * math/s_csqrtl.c: Likewise.
44865         * math/libm-test.inc (csqrt_test): Add more tests.
44866         * sysdeps/i386/fpu/libm-test-ulps: Update.
44867         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44868
44869         [BZ #13840]
44870         * math/libm-test.inc (hypot_test): Add more tests.
44871
44872 2012-03-13  David S. Miller  <davem@davemloft.net>
44873
44874         [BZ #13840]
44875         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
44876         double-precision for the calculation instead of scaling.
44877
44878 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
44879
44880         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
44881         manipulate bits before adding and subtracting TWO52[sx].
44882         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
44883         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
44884         Likewise.
44885         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
44886
44887 2012-03-13  David S. Miller  <davem@davemloft.net>
44888
44889         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
44890         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
44891         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
44892         rtld-global-offsets.h
44893         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
44894
44895         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
44896         large parameters.
44897
44898         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
44899
44900         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
44901         'err' in the ifdef scope in which it is actually used.
44902
44903         * nss/nss_db/db-init.c: Include string.h
44904
44905 2012-03-12  David S. Miller  <davem@davemloft.net>
44906
44907         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
44908         masking out of the most significant byte of random value used.
44909         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
44910         Fix coding style in previous change.
44911
44912         * sysdeps/unix/sysv/linux/kernel-features.h
44913         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
44914         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
44915         expression.
44916         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
44917         later.
44918
44919 2012-03-11  David S. Miller  <davem@davemloft.net>
44920
44921         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
44922         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
44923         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
44924         for 'resultvar' otherwise things get truncated on 64-bit.
44925
44926         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
44927         Fix masking out of the most significant byte of random value used.
44928
44929         * sysdeps/sparc/fpu/libm-test-ulps: Update.
44930
44931 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
44932
44933         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
44934
44935 2012-03-09  David S. Miller  <davem@davemloft.net>
44936
44937         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
44938         variables with appropriate CPP guards.
44939         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
44940         from the frame pointer, not the stack pointer.  Correct layout
44941         comments.  Fix test on resulting framesize and the management of
44942         the outregs buffer for pltexit.  Preserve floating point return
44943         values across _dl_call_pltexit call.
44944         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
44945         framesize and the management of the outregs buffer for pltexit.
44946         Preserve floating point return values across _dl_call_pltexit
44947         call.
44948         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
44949         (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
44950         (la_sparc64_gnu_pltexit): New functions.
44951         (print_exit): Fix format string for return register value.
44952
44953 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
44954
44955         * sunrpc/Makefile (others): Add rpcgen.
44956         ($(objpfx)rpcgen): Remove special build rule and dependency on
44957         libc.
44958         * sunrpc/rpcgen.c: New file.
44959
44960 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
44961
44962         [BZ #13673]
44963         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
44964         * stdio-common/bug-vfprintf-nargs.c: Likewise.
44965         * sysdeps/i386/crti.S: Likewise.
44966         * sysdeps/i386/crtn.S: Likewise.
44967         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
44968         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
44969         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
44970         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
44971         * sysdeps/sh/crti.S: Likewise.
44972         * sysdeps/sh/crtn.S: Likewise.
44973         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
44974
44975         [BZ #13673]
44976         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
44977         with URL.
44978         * locale/programs/locfile-kw.gperf: Likewise.
44979         * locale/programs/charmap-kw.h: Regenerated.
44980         * locale/programs/locfile-kw.h: Likewise.
44981
44982         [BZ #13673]
44983         * intl/plural.y: Replace FSF snail mail address with URL.
44984         * intl/plural.c: Regenerated.
44985
44986 2012-03-09  Richard Henderson  <rth@twiddle.net>
44987
44988         * include/math_private.h: Remove file.
44989         * math/math_private.h: Move file ...
44990         * sysdeps/generic/math_private.h: ... here.
44991
44992         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
44993         * sysdeps/powerpc/fpu/math_private.h: Likewise.
44994         * sysdeps/x86_64/fpu/math_private.h: Likewise.
44995
44996         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
44997         and <math_private.h>.
44998         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
44999         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
45000         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
45001         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
45002         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
45003         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
45004         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
45005         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
45006         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
45007         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
45008         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
45009         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
45010         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
45011         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
45012         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
45013         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
45014         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
45015         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
45016         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
45017         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
45018         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
45019         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
45020         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
45021         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
45022         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
45023         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
45024         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
45025         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
45026         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
45027         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
45028         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
45029         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
45030         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
45031         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
45032         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
45033         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
45034         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
45035         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
45036         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
45037         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
45038         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
45039         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
45040         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
45041         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
45042         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
45043         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
45044         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
45045         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
45046         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
45047         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
45048         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
45049         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
45050         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
45051         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
45052         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
45053         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
45054         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
45055         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
45056         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
45057         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
45058         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
45059         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
45060         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
45061         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
45062         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
45063         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
45064         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
45065         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
45066         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
45067         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
45068         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
45069         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
45070         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
45071         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
45072         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
45073         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
45074         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
45075         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
45076         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
45077         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
45078         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
45079         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
45080         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
45081         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
45082         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
45083         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
45084         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
45085         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
45086         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
45087         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
45088         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
45089         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
45090         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
45091         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
45092         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
45093         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
45094         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
45095         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
45096         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
45097         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
45098         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
45099         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
45100         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
45101         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
45102         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
45103         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
45104         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
45105         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
45106         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
45107         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
45108         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
45109         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
45110         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
45111         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
45112         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
45113         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
45114         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
45115         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
45116         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
45117         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
45118         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
45119         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
45120         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
45121         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
45122         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
45123         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
45124         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
45125         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
45126         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
45127         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
45128         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
45129         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
45130         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
45131         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
45132         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
45133         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
45134         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
45135         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
45136         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
45137         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
45138         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
45139         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
45140         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
45141         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
45142         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
45143         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
45144         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
45145         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
45146         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
45147         * sysdeps/ieee754/k_standard.c: Likewise.
45148         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
45149         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
45150         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
45151         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
45152         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
45153         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
45154         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
45155         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
45156         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
45157         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
45158         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
45159         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
45160         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
45161         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
45162         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
45163         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
45164         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
45165         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
45166         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
45167         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
45168         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
45169         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
45170         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
45171         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
45172         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
45173         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
45174         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
45175         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
45176         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
45177         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
45178         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
45179         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
45180         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
45181         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
45182         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
45183         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
45184         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
45185         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
45186         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
45187         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
45188         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
45189         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
45190         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
45191         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
45192         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
45193         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
45194         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
45195         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
45196         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
45197         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
45198         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
45199         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
45200         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
45201         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
45202         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
45203         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
45204         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
45205         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
45206         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
45207         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
45208         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
45209         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
45210         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
45211         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
45212         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
45213         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
45214         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
45215         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
45216         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
45217         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
45218         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
45219         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
45220         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
45221         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
45222         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
45223         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
45224         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
45225         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
45226         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
45227         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
45228         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
45229         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
45230         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
45231         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
45232         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
45233         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
45234         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
45235         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
45236         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
45237         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
45238         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
45239         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
45240         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
45241         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
45242         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
45243         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
45244         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
45245         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
45246         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
45247         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
45248         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
45249         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
45250         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
45251         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
45252         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
45253         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
45254         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
45255         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
45256         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
45257         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
45258         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
45259         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
45260         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
45261         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
45262         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
45263         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
45264         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
45265         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
45266         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
45267         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
45268         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
45269         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
45270         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
45271         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
45272         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
45273         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
45274         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
45275         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
45276         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
45277         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
45278         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
45279         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
45280         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
45281         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
45282         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
45283         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
45284         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
45285         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
45286         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
45287         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
45288         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
45289         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
45290         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
45291         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
45292         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
45293         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
45294         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
45295         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
45296         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
45297         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
45298         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
45299         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
45300         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
45301         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
45302         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
45303         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
45304         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
45305         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
45306         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
45307         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
45308         * sysdeps/ieee754/s_lib_version.c: Likewise.
45309         * sysdeps/ieee754/s_matherr.c: Likewise.
45310         * sysdeps/ieee754/s_signgam.c: Likewise.
45311         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
45312         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
45313         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
45314         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
45315         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
45316         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
45317         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
45318         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
45319         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
45320         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
45321         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
45322         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
45323         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
45324         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
45325         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
45326         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
45327         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
45328         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
45329         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
45330         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
45331         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
45332
45333 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
45334
45335         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
45336         * sunrpc/rpc_main.c: Likewise.
45337         * sunrpc/rpc_svcout.c: Likewise.
45338
45339 2012-03-09  David S. Miller  <davem@davemloft.net>
45340
45341         * include/math_private.h: New file.
45342
45343 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
45344
45345         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
45346         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
45347         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
45348         from <bits/socket_type.h>.
45349         (enum __socket_type): Don't define here.
45350         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
45351         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
45352         bits/socket_type.h.
45353
45354         [BZ #13566]
45355         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
45356         checking __USE_GNU.
45357
45358         * Makerules ($(inst_includedir)/%.h): New rule.
45359         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
45360         (install-others): Remove variable setting.
45361         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
45362
45363 2012-03-08  Richard Henderson  <rth@twiddle.net>
45364
45365         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
45366         from macro to inline function; merge with the
45367         !__LIBC_INTERNAL_MATH_INLINES version.
45368         (__ieee754_sqrtf): Likewise.
45369
45370         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
45371         to inline function.
45372         (__rintf, __floor, __floorf): Likewise.
45373
45374         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
45375         macro to inline function.
45376         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
45377
45378         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
45379         not <math/math_private.h>.
45380
45381 2012-03-08  David S. Miller  <davem@davemloft.net>
45382
45383         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
45384         copyright year.
45385         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
45386
45387 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
45388
45389         * resolv/gai_misc.c (handle_requests): Fix struct timespec
45390         normalization.
45391         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
45392         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
45393
45394 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
45395
45396         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
45397         be defined individually, they must be defined as a block.  Define
45398         S for printing a string instead of hidint the different by using a
45399         macro for adding the 'l'.
45400         * stdio-common/tst-fphex-wide.c: Adjust.
45401
45402 2012-03-07  Marek Polacek  <polacek@redhat.com>
45403
45404         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
45405
45406 2012-03-08  Marek Polacek  <polacek@redhat.com>
45407
45408         [BZ #13806]
45409         * stdio-common/Makefile (tests): Add tst-fphex-wide.
45410         * stdio-common/tst-fphex.c: Define a few macros to make the
45411         test reusable.  Use them.
45412         * stdio-common/tst-fphex-wide.c: New file.
45413
45414 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
45415
45416         [BZ #6911]
45417         * manual/macros.texi (gnusystems): New macro.
45418         (nongnusystems): Likewise.
45419         (gnulinuxhurdsystems): Likewise.
45420         (gnuhurdsystems): Likewise..
45421         (gnulinuxsystems): Likewise.
45422         * manual/charset.texi: Use new macros or @theglibc{} to refer to
45423         variants of the GNU system, not "GNU system".
45424         * manual/conf.texi: Likewise.
45425         * manual/errno.texi: Likewise.  Update example of errno macro
45426         expansion.
45427         * manual/filesys.texi: Likewise.
45428         (getumask): Document as specific to GNU/Hurd.
45429         * manual/install.texi: Likewise.  Reword some references to
45430         GNU/Linux.
45431         * manual/intro.texi: Likewise.
45432         * manual/io.texi: Likewise.
45433         (File Name Portability): Detail which constraints are inapplicable
45434         to all GNU systems and which are only inapplicable to GNU/Hurd.
45435         * manual/job.texi: Likewise.
45436         * manual/llio.texi: Likewise.
45437         (O_NOCTTY): Document as present on GNU/Linux.
45438         * manual/maint.texi: Likewise.
45439         * manual/memory.texi: Likewise.
45440         * manual/pattern.texi: Likewise.
45441         * manual/pipe.texi: Likewise.
45442         * manual/process.texi: Likewise.
45443         * manual/resource.texi: Likewise.
45444         (RUSAGE_CHILDREN): Remove statement about specifying a particular
45445         child on GNU/Hurd.
45446         * manual/setjmp.texi: Likewise.
45447         * manual/signal.texi: Likewise.
45448         * manual/startup.texi: Likewise.
45449         * manual/stdio.texi: Likewise.
45450         * manual/terminal.texi: Likewise.
45451         (ONLCR): Document as POSIX.
45452         (OXTABS): Document availability on GNU/Linux as XTABS.
45453         (ONOEOT): Document availability separately from other bits.
45454         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
45455         * manual/time.texi: Likewise.
45456         * manual/users.texi: Likewise.
45457         * INSTALL: Regenerated.
45458         * sysdeps/gnu/errlist.c: Regenerated.
45459
45460         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
45461         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
45462         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
45463         puts.
45464         * configure: Regenerated.
45465
45466 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
45467
45468         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
45469         default includes instead of AC_HEADER_CHECK.
45470         * sysdeps/i386/configure: Regenerated.
45471
45472         [BZ #10716]
45473         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
45474         * math/s_cacoshf.c (__cacoshf): Likewise.
45475         * math/s_cacoshl.c (__cacoshl): Likewise.
45476         * math/s_casinh.c (__casinh): Set signs of result from argument.
45477         * math/s_casinhf.c (__casinhf): Likewise.
45478         * math/s_casinhl.c (__casinhl): Likewise.
45479         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
45480         (casinh_test): Add more tests.
45481         * sysdeps/i386/fpu/libm-test-ulps: Update.
45482         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45483
45484 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
45485
45486         * po/zh_TW.po: Update from translation team.
45487
45488         * login/Makefile (distribute): Remove variable.
45489         * catgets/Makefile: Likewise.
45490         * mach/Makefile: Likewise.
45491         * malloc/Makefile: Likewise.
45492         * misc/Makefile: Likewise.
45493         * iconv/Makefile: Likewise.
45494         * nscd/Makefile: Likewise.
45495         * hurd/Makefile: Likewise.
45496         * manual/Makefile: Likewise.
45497         * locale/Makefile: Likewise.
45498         * intl/Makefile: Likewise.
45499         * conform/Makefile: Likewise.
45500         * nss/Makefile: Likewise.
45501         * time/Makefile: Likewise.
45502         * soft-fp/Makefile: Likewise.
45503         * dirent/Makefile: Likewise.
45504         * gmon/Makefile: Likewise.
45505         * po/Makefile: Likewise.
45506         * rt/Makefile: Likewise.
45507         * socket/Makefile: Likewise.
45508         * math/Makefile: Likewise.
45509         * signal/Makefile: Likewise.
45510         * debug/Makefile: Likewise.
45511         * elf/Makefile: Likewise.
45512         * timezone/Makefile: Likewise.
45513         * stdlib/Makefile: Likewise.
45514         * iconvdata/Makefile: Likewise.
45515         * sunrpc/Makefile: Likewise.
45516         * io/Makefile: Likewise.
45517         * argp/Makefile: Likewise.
45518         * inet/Makefile: Likewise.
45519         * hesiod/Makefile: Likewise.
45520         * grp/Makefile: Likewise.
45521         * csu/Makefile: Likewise.
45522         * wctype/Makefile: Likewise.
45523         * crypt/Makefile: Likewise.
45524         * libio/Makefile: Likewise.
45525         * string/Makefile: Likewise.
45526         * nis/Makefile: Likewise.
45527         * resolv/Makefile: Likewise.
45528         * stdio-common/Makefile: Likewise.
45529         * wcsmbs/Makefile: Likewise.
45530         * dlfcn/Makefile: Likewise.
45531         * posix/Makefile: Likewise.
45532
45533         [BZ #6959]
45534         * timezone/Makefile: Don't install timezone files, just the programs
45535         and scripts.
45536
45537 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
45538
45539         * nss/databases.def: Add missing gshadow entry.
45540
45541         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
45542
45543 2012-03-06  Marek Polacek  <polacek@redhat.com>
45544
45545         [BZ #13726]
45546         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
45547         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
45548         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
45549         * stdio-common/tst-long-dbl-fphex.c: New file.
45550
45551 2012-03-06  David S. Miller  <davem@davemloft.net>
45552
45553         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
45554         (set_obp_int): New function.
45555         (get_obp_int): New function.
45556         (__get_clockfreq_via_dev_openprom): Likewise.
45557         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
45558         Avoid unused variable warnings on 'val' and use builtin_expect.
45559         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
45560         __builtin_expect.
45561         (INLINE_CLONE_SYSCALL): Likewise.
45562
45563 2012-03-05  David S. Miller  <davem@davemloft.net>
45564
45565         * sysdeps/sparc/fpu/libm-test-ulps: Update.
45566
45567 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
45568
45569         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45570
45571         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
45572         only for |x| >= 40.
45573         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
45574
45575 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
45576
45577         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
45578         Replace gettimeofday with __vdso_gettimeofday.
45579
45580         * sysdeps/unix/sysv/linux/x86_64/init-first.c
45581         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
45582         __vdso_clock_gettime and __vdso_getcpu.
45583
45584         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
45585         time with __vdso_time.
45586
45587 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
45588
45589         * manual/lang.texi (size_t): Note types to which size_t may be
45590         equivalent with the GNU C Library, but do not describe when
45591         differences between them are significant.
45592
45593 2012-03-05  Andreas Jaeger  <aj@suse.de>
45594
45595         * sysdeps/i386/fpu/libm-test-ulps: Update.
45596
45597 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
45598
45599         [BZ #3976]
45600         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
45601         (__ieee754_pow): Save and restore rounding mode and use
45602         round-to-nearest for main computations.
45603         * math/libm-test.inc (pow_test_tonearest): New function.
45604         (pow_test_towardzero): Likewise.
45605         (pow_test_downward): Likewise.
45606         (pow_test_upward): Likewise.
45607         (main): Call the new functions.
45608         * sysdeps/i386/fpu/libm-test-ulps: Update.
45609         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45610
45611         [BZ #3976]
45612         * math/libm-test.inc (cosh_test_tonearest): New function.
45613         (cosh_test_towardzero): Likewise.
45614         (cosh_test_downward): Likewise.
45615         (cosh_test_upward): Likewise.
45616         (sinh_test_tonearest): Likewise.
45617         (sinh_test_towardzero): Likewise.
45618         (sinh_test_downward): Likewise.
45619         (sinh_test_upward): Likewise.
45620         (main): Call the new functions.
45621         * sysdeps/i386/fpu/libm-test-ulps: Update.
45622         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45623
45624 2012-03-05  Tom de Vries  <tom@codesourcery.com>
45625
45626         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
45627         default stack guard is set in last bytes.
45628         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
45629
45630 2012-03-05  Kees Cook  <keescook@chromium.org>
45631
45632         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
45633
45634         [BZ #13656]
45635         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
45636         possibly allocate from heap instead of stack.
45637         * stdio-common/bug-vfprintf-nargs.c: New file.
45638         * stdio-common/Makefile (tests): Add nargs overflow test.
45639
45640 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
45641
45642         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45643
45644 2012-03-03  Marek Polacek  <polacek@redhat.com>
45645
45646         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
45647         * math/math_private.h: Likewise.
45648         * stdlib/tst-strtod.c: Likewise.
45649         * sysdeps/i386/i486/bits/atomic.h: Likewise.
45650         * sysdeps/x86_64/bits/atomic.h: Likewise.
45651
45652 2012-03-02  David S. Miller  <davem@davemloft.net>
45653
45654         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
45655         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
45656         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
45657         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
45658         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
45659         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
45660         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
45661         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
45662
45663 2012-03-02  Roland McGrath  <roland@hack.frob.com>
45664
45665         [BZ #13792]
45666         * manual/examples/README: New file, says the example source files
45667         can be used under GPL>=2.
45668         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
45669         line containing just "*/".
45670         * manual/examples/add.c: Add copyright header (GPL>=2).
45671         * manual/examples/argp-ex1.c: Likewise.
45672         * manual/examples/argp-ex2.c: Likewise.
45673         * manual/examples/argp-ex3.c: Likewise.
45674         * manual/examples/argp-ex4.c: Likewise.
45675         * manual/examples/atexit.c: Likewise.
45676         * manual/examples/db.c: Likewise.
45677         * manual/examples/dir.c: Likewise.
45678         * manual/examples/dir2.c: Likewise.
45679         * manual/examples/execinfo.c: Likewise.
45680         * manual/examples/filecli.c: Likewise.
45681         * manual/examples/filesrv.c: Likewise.
45682         * manual/examples/fmtmsgexpl.c: Likewise.
45683         * manual/examples/genpass.c: Likewise.
45684         * manual/examples/inetcli.c: Likewise.
45685         * manual/examples/inetsrv.c: Likewise.
45686         * manual/examples/isockad.c: Likewise.
45687         * manual/examples/longopt.c: Likewise.
45688         * manual/examples/memopen.c: Likewise.
45689         * manual/examples/memstrm.c: Likewise.
45690         * manual/examples/mkfsock.c: Likewise.
45691         * manual/examples/mkisock.c: Likewise.
45692         * manual/examples/mygetpass.c: Likewise.
45693         * manual/examples/pipe.c: Likewise.
45694         * manual/examples/popen.c: Likewise.
45695         * manual/examples/rprintf.c: Likewise.
45696         * manual/examples/search.c: Likewise.
45697         * manual/examples/select.c: Likewise.
45698         * manual/examples/setjmp.c: Likewise.
45699         * manual/examples/sigh1.c: Likewise.
45700         * manual/examples/sigusr.c: Likewise.
45701         * manual/examples/stpcpy.c: Likewise.
45702         * manual/examples/strdupa.c: Likewise.
45703         * manual/examples/strftim.c: Likewise.
45704         * manual/examples/strncat.c: Likewise.
45705         * manual/examples/subopt.c: Likewise.
45706         * manual/examples/swapcontext.c: Likewise.
45707         * manual/examples/termios.c: Likewise.
45708         * manual/examples/testopt.c: Likewise.
45709         * manual/examples/testpass.c: Likewise.
45710         * manual/examples/timeval_subtract.c: Likewise.
45711
45712         [BZ #13792]
45713         * manual/time.texi (Elapsed Time): Move timeval_subtract example
45714         function to ...
45715         * manual/timeval_subtract.c.texi: ... here, new file.
45716
45717 2012-03-02  David S. Miller  <davem@davemloft.net>
45718
45719         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
45720
45721 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
45722
45723         [BZ #3976]
45724         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
45725         (__sin): Save and restore rounding mode and use round-to-nearest
45726         for all computations.
45727         (__cos): Save and restore rounding mode and use round-to-nearest
45728         for all computations.
45729         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
45730         <fenv.h>.
45731         (tan): Save and restore rounding mode and use round-to-nearest for
45732         all computations.
45733         * math/libm-test.inc (cos_test_tonearest): New function.
45734         (cos_test_towardzero): Likewise.
45735         (cos_test_downward): Likewise.
45736         (cos_test_upward): Likewise.
45737         (sin_test_tonearest): Likewise.
45738         (sin_test_towardzero): Likewise.
45739         (sin_test_downward): Likewise.
45740         (sin_test_upward): Likewise.
45741         (tan_test_tonearest): Likewise.
45742         (tan_test_towardzero): Likewise.
45743         (tan_test_downward): Likewise.
45744         (tan_test_upward): Likewise.
45745         (main): Call the new functions.
45746         * sysdeps/i386/fpu/libm-test-ulps: Update.
45747         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45748
45749         [BZ #10135]
45750         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
45751         small n, then large n, before computing and testing k+n.
45752         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
45753         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
45754         Likewise.
45755         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
45756         Likewise.
45757         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
45758         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
45759         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
45760         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
45761         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
45762         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
45763         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
45764         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
45765         * math/libm-test.inc (scalbn_test): Add more tests.
45766         (scalbln_test): Likewise.
45767
45768         * manual/filesys.texi (mode_t): Describe constraints on size and
45769         signedness, not exact equivalence to a particular type.
45770         (ino_t): Likewise.
45771         (ino64_t): Likewise.
45772         (dev_t): Likewise.
45773         (nlink_t): Likewise.
45774         (blkcnt_t): Likewise.
45775         (blkcnt64_t): Likewise.
45776         * manual/llio.texi (off_t): Likewise.
45777
45778         [BZ #3976]
45779         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
45780         (__ieee754_exp): Save and restore rounding mode and use
45781         round-to-nearest for all computations.
45782         * math/libm-test.inc (exp_test_tonearest): New function.
45783         (exp_test_towardzero): Likewise.
45784         (exp_test_downward): Likewise.
45785         (exp_test_upward): Likewise.
45786         (main): Call the new functions.
45787         * sysdeps/i386/fpu/libm-test-ulps: Update.
45788         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45789
45790 2012-03-01  Chris Demetriou  <cgd@google.com>
45791
45792         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
45793         have predictable order.
45794
45795 2012-03-01  David S. Miller  <davem@davemloft.net>
45796
45797         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
45798
45799         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
45800         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
45801         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
45802         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
45803
45804         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
45805         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
45806         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
45807         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
45808         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
45809         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
45810         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
45811         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
45812         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
45813
45814         * sysdeps/sparc/fpu/libm-test-ulps: Update.
45815
45816         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
45817         * sysdeps/sparc/fpu/libm-test-ulps: to here.
45818         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
45819
45820         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
45821         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
45822         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
45823         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
45824         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
45825         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
45826         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
45827         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
45828         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
45829         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
45830         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
45831         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
45832         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
45833         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
45834         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
45835         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
45836         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
45837         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
45838         * sysdeps/sparc/elf/configure: Regenerated.
45839
45840 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
45841
45842         * configure.in (AS, LD): Require binutils 2.20 or later.
45843         * configure: Regenerated.
45844         * manual/install.texi (Tools for Compilation): Give binutils 2.20
45845         as required minimum version.
45846         * INSTALL: Regenerated.
45847
45848         [BZ #2541]
45849         [BZ #4108]
45850         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
45851         before squaring exponent.
45852         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
45853         bottom long double and 27 bits of top long double before squaring
45854         exponent.
45855         * math/libm-test.inc (erfc_test): Add more tests.
45856         * sysdeps/i386/fpu/libm-test-ulps: Update.
45857         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
45858         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45859
45860 2012-03-01  Kai Tietz  <ktietz@redhat.com>
45861
45862         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
45863         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
45864         containing bit-fields.
45865         * soft-fp/extended.h (_FP_UNION_E): Likewise.
45866         * soft-fp/single.h (_FP_UNION_S): Likewise.
45867         * soft-fp/double.h (_FP_UNION_D): Likewise.
45868
45869 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
45870
45871         [BZ #13786]
45872         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
45873         not include ../strcmp.S.
45874         [USE_AS_STRNCASECMP_L]: Likewise.
45875         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
45876         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
45877         * sysdeps/i386/i686/multiarch/strncase_l-c.c
45878         (__strncasecmp_l_ia32): Define as alias to
45879         __strncasecmp_l_nonascii.
45880
45881         [BZ #5794]
45882         * math/libm-test.inc (expm1_test): Add test for bug 5794.
45883         * sysdeps/i386/fpu/libm-test-ulps: Update.
45884         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45885
45886         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
45887         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45888
45889 2012-02-29  Jeff Law  <law@redhat.com>
45890
45891         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
45892         out of bounds read.
45893
45894 2012-02-29  Marek Polacek  <polacek@redhat.com>
45895
45896         [BZ #13706]
45897         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
45898         * elf/Makefile: Add rules to run tst-unused-dep.out.
45899
45900 2012-02-28  David S. Miller  <davem@davemloft.net>
45901
45902         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
45903         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
45904         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
45905         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
45906         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
45907         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
45908
45909 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
45910
45911         * math/libm-test.inc (llround_test): Move one test from
45912         lround_test.  Use TEST_f_L in moved test.
45913         (lround_test): Move misplaced test to llround_test.  Add testcase
45914         from bug 2561.
45915
45916 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
45917
45918         * sysdeps/x86_64/fpu/e_expf.S: New file.
45919         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
45920
45921 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
45922
45923         [BZ #13637]
45924         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
45925         of remain_len that may cause incomplete multi-byte character and
45926         false match.
45927         * posix/bug-regex33.c: New file.
45928         * posix/Makefile (tests): Add bug-regex33.
45929
45930 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
45931
45932         * manual/macros.texi: New file.
45933         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
45934         * manual/libc.texinfo: Include macros.texi.
45935         * manual/creatute.texi: Likewise.
45936         * manual/install.texi: Likewise.
45937         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
45938         @glibcadj{} in references to the GNU C Library.
45939         * manual/charset.texi: Likewise.
45940         * manual/conf.texi: Likewise.
45941         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
45942         when not using those macros.
45943         * manual/creature.texi: Likewise.
45944         * manual/crypt.texi: Likewise.
45945         * manual/errno.texi: Likewise.
45946         * manual/filesys.texi: Likewise.
45947         * manual/header.texi: Likewise.
45948         * manual/install.texi: Likewise.
45949         * manual/intro.texi: Likewise.
45950         * manual/io.texi: Likewise.
45951         * manual/job.texi: Likewise.
45952         * manual/lang.texi: Likewise.
45953         * manual/libc.texiinfo: Likewise.
45954         * manual/llio.texi: Likewise.
45955         * manual/locale.texi: Likewise.
45956         * manual/maint.texi: Likewise.
45957         * manual/math.texi: Likewise.
45958         * manual/memory.texi: Likewise.
45959         * manual/message.texi: Likewise.
45960         * manual/nss.texi: Likewise.
45961         * manual/pattern.texi: Likewise.
45962         * manual/process.texi: Likewise.
45963         * manual/resource.texi: Likewise.
45964         * manual/search.texi: Likewise.
45965         * manual/setjmp.texi: Likewise.
45966         * manual/signal.texi: Likewise.
45967         * manual/socket.texi: Likewise.
45968         * manual/startup.texi: Likewise.
45969         * manual/stdio.texi: Likewise.
45970         * manual/string.texi: Likewise.
45971         * manual/sysinfo.texi: Likewise.
45972         * manual/syslog.texi: Likewise.
45973         * manual/terminal.texi: Likewise.
45974         * manual/time.texi: Likewise.
45975         * manual/users.texi: Likewise.
45976         * INSTALL: Regenerated.
45977         * NOTES: Regenerated.
45978         * sysdeps/gnu/errlist.c: Regenerated.
45979
45980 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
45981
45982         * include/dirent.h: Include <dirstream.h> before
45983         <dirent/dirent.h>.
45984
45985 2012-02-28  David S. Miller  <davem@davemloft.net>
45986
45987         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
45988         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
45989         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
45990         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
45991
45992 2012-02-27  David S. Miller  <davem@davemloft.net>
45993
45994         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
45995         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
45996         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
45997         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
45998
45999         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
46000         frame pointer instead of stack pointer relative arg slot.
46001         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
46002         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
46003         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
46004
46005 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
46006
46007         [BZ #3992]
46008         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
46009
46010 2012-02-27  David S. Miller  <davem@davemloft.net>
46011
46012         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
46013         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
46014         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
46015         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
46016         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
46017         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
46018         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
46019         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
46020
46021 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
46022
46023         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
46024         later.  Allow versions 5-9.
46025         * configure: Regenerated.
46026         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
46027         required minimum version and 4.6 as recommended version.  Do not
46028         mention bugs in GCC 2.7 and 2.8.
46029         * INSTALL: Regenerated.
46030
46031 2012-02-27  David S. Miller  <davem@davemloft.net>
46032
46033         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
46034         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
46035         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
46036         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
46037         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
46038         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
46039         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
46040         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
46041
46042         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
46043         manipulate bits before adding and subtracting TWO112[sx].
46044         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
46045
46046 2012-02-27  Roland McGrath  <roland@hack.frob.com>
46047
46048         [BZ #13775]
46049         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
46050         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
46051         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
46052         being in POSIX, because they are in 1003.1-2008.
46053
46054         * rt/tst-aio.c: Include <fcntl.h>.
46055         * rt/tst-aio7.c: Likewise.
46056         * rt/tst-aio64.c: Likewise.
46057
46058         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
46059
46060 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
46061
46062         * manual/install.texi (--with-headers): Describe headers as
46063         interface headers, not private headers.
46064         (Specific advice for GNU/Linux systems): Describe use of headers
46065         from "make headers_install", not private headers from older
46066         kernels.
46067         * INSTALL: Regenerated.
46068         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
46069         Change to 2.6.19.
46070         * sysdeps/unix/sysv/linux/configure: Regenerated.
46071
46072         * manual/llio.texi (fclean): Remove documentation.
46073
46074         * manual/Makefile (libc-texi-generated): New variable.  Include
46075         version.texi.
46076         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
46077         $(libc-texi-generated), not duplicated list of files.
46078         (version.texi, stamp-version): New rules.
46079         (realclean): Remove $(libc-texi-generated), not individual files
46080         from that list.  Do not remove dir-add.texinfo.
46081         * manual/libc.texinfo: Comment out uses of edition numbers and
46082         references to printed manual.  Remove last-updated dates.
46083         (EDITION): Comment out.
46084         (ISBN): Likewise.
46085         (VERSION, UPDATED): Remove.
46086         (version.texi): Include.
46087
46088 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
46089
46090         * sysdeps/posix/spawni.c: Include <signal.h>.
46091         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
46092         * sysdeps/pthread/aio_fsync.c: Likewise.
46093
46094 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
46095
46096         * conform/Makefile (tests): Run only when not cross-compiling and
46097         when fast-check is not defined.
46098
46099         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
46100         * conform/data/limits.h-data: Fixes for POSIX2008.
46101         * conform/run-conformtest.sh: Run all tests.
46102         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
46103         headers.
46104         * include/bits/dlfcn.h: Likewise.
46105         * include/langinfo.h: Likewise.
46106         * include/monetary.h: Likewise.
46107         * include/sys/poll.h: Likewise.
46108
46109         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
46110         for __USE_GNU.
46111         * posix/spawn.h: Define __need_sigset_t.
46112         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
46113         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
46114         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
46115         to get sigevent_t only.
46116         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
46117         only for __USE_GNU.
46118         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
46119         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
46120         process_vm_writev only for __USE_GNU.
46121         * termios/termios.h: Declare tcgetsid also for POSIX2008.
46122
46123         * conform/Makefile: For now ignore errors from run-conformtest.
46124         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
46125         POSIX to avoid namespace pollution.  Don't prepend headers.
46126         * conform/data/aio.h-data: Fixes for POSIX testing.
46127         * conform/data/fcntl.h-data: Likewise.
46128         * conform/data/glob.h-data: Likewise.
46129         * conform/data/grp.h-data: Likewise.
46130         * conform/data/pthread.h-data: Likewise.
46131         * conform/data/pwd.h-data: Likewise.
46132         * conform/data/signal.h-data: Likewise.
46133         * conform/data/spawn.h-data: Likewise.
46134         * conform/data/stdio.h-data: Likewise.
46135         * conform/data/stdlib.h-data: Likewise.
46136         * conform/data/stropts.h-data: Likewise.
46137         * conform/data/sys/mman.h-data: Likewise.
46138         * conform/data/sys/stat.h-data: Likewise.
46139         * conform/data/sys/types.h-data: Likewise.
46140         * conform/data/sys/wait.h-data: Likewise.
46141         * conform/data/time.h-data: Likewise.
46142         * conform/data/unistd.h-data: Likewise.
46143         * conform/data/utime.h-data: Likewise.
46144
46145         * io/sys/stat.h: fchmod was always in POSIX.
46146         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
46147         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
46148         * rt/aio.h: Define __need_timespec before including <time.h>.
46149         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
46150         struct.  Add forward declaration of pthread_attr_t and use it in
46151         sigevent.
46152         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
46153         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
46154         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
46155         always remove CLK_TCK definition.
46156
46157 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
46158
46159         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
46160
46161 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
46162
46163         * conform/run-conformtest.sh: New file.
46164         * conform/Makefile: Run run-conformtest for tests.
46165         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
46166         support.
46167
46168         * conform/data/uchar.h-data: New file.
46169         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
46170         * conform/data/arpa/inet.h-data: Likewise.
46171         * conform/data/assert.h-data: Likewise.
46172         * conform/data/complex.h-data: Likewise.
46173         * conform/data/cpio.h-data: Likewise.
46174         * conform/data/ctype.h-data: Likewise.
46175         * conform/data/dirent.h-data: Likewise.
46176         * conform/data/dlfcn.h-data: Likewise.
46177         * conform/data/errno.h-data: Likewise.
46178         * conform/data/fcntl.h-data: Likewise.
46179         * conform/data/float.h-data: Likewise.
46180         * conform/data/fmtmsg.h-data: Likewise.
46181         * conform/data/fnmatch.h-data: Likewise.
46182         * conform/data/ftw.h-data: Likewise.
46183         * conform/data/glob.h-data: Likewise.
46184         * conform/data/grp.h-data: Likewise.
46185         * conform/data/iconv.h-data: Likewise.
46186         * conform/data/inttypes.h-data: Likewise.
46187         * conform/data/langinfo.h-data: Likewise.
46188         * conform/data/libgen.h-data: Likewise.
46189         * conform/data/limits.h-data: Likewise.
46190         * conform/data/locale.h-data: Likewise.
46191         * conform/data/math.h-data: Likewise.
46192         * conform/data/monetary.h-data: Likewise.
46193         * conform/data/mqueue.h-data: Likewise.
46194         * conform/data/ndbm.h-data: Likewise.
46195         * conform/data/net/if.h-data: Likewise.
46196         * conform/data/netdb.h-data: Likewise.
46197         * conform/data/netinet/in.h-data: Likewise.
46198         * conform/data/nl_types.h-data: Likewise.
46199         * conform/data/poll.h-data: Likewise.
46200         * conform/data/pthread.h-data: Likewise.
46201         * conform/data/pwd.h-data: Likewise.
46202         * conform/data/regex.h-data: Likewise.
46203         * conform/data/sched.h-data: Likewise.
46204         * conform/data/search.h-data: Likewise.
46205         * conform/data/semaphore.h-data: Likewise.
46206         * conform/data/setjmp.h-data: Likewise.
46207         * conform/data/signal.h-data: Likewise.
46208         * conform/data/spawn.h-data: Likewise.
46209         * conform/data/stdarg.h-data: Likewise.
46210         * conform/data/stdio.h-data: Likewise.
46211         * conform/data/stdlib.h-data: Likewise.
46212         * conform/data/string.h-data: Likewise.
46213         * conform/data/strings.h-data: Likewise.
46214         * conform/data/stropts.h-data: Likewise.
46215         * conform/data/sys/ipc.h-data: Likewise.
46216         * conform/data/sys/mman.h-data: Likewise.
46217         * conform/data/sys/msg.h-data: Likewise.
46218         * conform/data/sys/resource.h-data: Likewise.
46219         * conform/data/sys/select.h-data: Likewise.
46220         * conform/data/sys/sem.h-data: Likewise.
46221         * conform/data/sys/shm.h-data: Likewise.
46222         * conform/data/sys/socket.h-data: Likewise.
46223         * conform/data/sys/stat.h-data: Likewise.
46224         * conform/data/sys/statvfs.h-data: Likewise.
46225         * conform/data/sys/time.h-data: Likewise.
46226         * conform/data/sys/timeb.h-data: Likewise.
46227         * conform/data/sys/times.h-data: Likewise.
46228         * conform/data/sys/types.h-data: Likewise.
46229         * conform/data/sys/uio.h-data: Likewise.
46230         * conform/data/sys/un.h-data: Likewise.
46231         * conform/data/sys/utsname.h-data: Likewise.
46232         * conform/data/sys/wait.h-data: Likewise.
46233         * conform/data/syslog.h-data: Likewise.
46234         * conform/data/tar.h-data: Likewise.
46235         * conform/data/termios.h-data: Likewise.
46236         * conform/data/utime.h-data: Likewise.
46237         * conform/data/utmpx.h-data: Likewise.
46238         * conform/data/varargs.h-data: Likewise.
46239         * conform/data/wchar.h-data: Likewise.
46240         * conform/data/wctype.h-data: Likewise.
46241         * conform/data/wordexp.h-data: Likewise.
46242
46243         * include/stropts.h: New file.
46244         * include/uchar.h: New file.
46245         * include/aio.h: Changes to allow conformtest.pl to use the headers.
46246         * include/assert.h: Likewise.
46247         * include/ctype.h: Likewise.
46248         * include/dirent.h: Likewise.
46249         * include/dlfcn.h: Likewise.
46250         * include/fcntl.h: Likewise.
46251         * include/fnmatch.h: Likewise.
46252         * include/glob.h: Likewise.
46253         * include/grp.h: Likewise.
46254         * include/libio.h: Likewise.
46255         * include/locale.h: Likewise.
46256         * include/math.h: Likewise.
46257         * include/net/if.h: Likewise.
46258         * include/netdb.h: Likewise.
46259         * include/netinet/in.h: Likewise.
46260         * include/pthread.h: Likewise.
46261         * include/pwd.h: Likewise.
46262         * include/regex.h: Likewise.
46263         * include/sched.h: Likewise.
46264         * include/search.h: Likewise.
46265         * include/setjmp.h: Likewise.
46266         * include/signal.h: Likewise.
46267         * include/stdio.h: Likewise.
46268         * include/stdlib.h: Likewise.
46269         * include/string.h: Likewise.
46270         * include/sys/cdefs.h: Likewise.
46271         * include/sys/mman.h: Likewise.
46272         * include/sys/msg.h: Likewise.
46273         * include/sys/resource.h: Likewise.
46274         * include/sys/select.h: Likewise.
46275         * include/sys/socket.h: Likewise.
46276         * include/sys/stat.h: Likewise.
46277         * include/sys/statvfs.h: Likewise.
46278         * include/sys/time.h: Likewise.
46279         * include/sys/times.h: Likewise.
46280         * include/sys/uio.h: Likewise.
46281         * include/sys/utsname.h: Likewise.
46282         * include/sys/wait.h: Likewise.
46283         * include/termios.h: Likewise.
46284         * include/time.h: Likewise.
46285         * include/ulimit.h: Likewise.
46286         * include/unistd.h: Likewise.
46287         * include/utime.h: Likewise.
46288         * include/wchar.h: Likewise.
46289         * include/wctype.h: Likewise.
46290         * include/wordexp.h: Likewise.
46291
46292         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
46293
46294         * time/time.h: TIME_UTC must be a macro.
46295         Make timespec_get available for ISO C11 only as well.
46296
46297 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
46298
46299         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
46300         Reported by Peng Haitao <penght@cn.fujitsu.com>.
46301
46302 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
46303
46304         * configure.in: Use -o not -a in test for unsupported multi-arch.
46305
46306 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
46307
46308         * manual/texinfo.tex: Update to version 2012-01-19.16.
46309
46310 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
46311
46312         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
46313
46314 2012-02-24  Roland McGrath  <roland@hack.frob.com>
46315
46316         [BZ #13738]
46317         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
46318         * manual/fdl-1.3.texi: New file.
46319         * manual/fdl-1.1.texi: File removed.
46320
46321         [BZ #13738]
46322         * manual/libc.texinfo (FDL_VERSION): New @set.
46323         Use it for mention of FDL in cover text.
46324         (Documentation License): Use it in @include file name.
46325
46326 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
46327             Roland McGrath  <roland@hack.frob.com>
46328
46329         [BZ #5461]
46330         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
46331         (not LONG_LONG_MAX and LONG_LONG_MIN.
46332         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
46333         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
46334         name.
46335         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
46336
46337 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
46338
46339         [BZ #2547]
46340         [BZ #11365]
46341         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
46342         manipulate bits before adding and subtracting TWO23[sx].
46343         * math/libm-test.inc (nearbyint_test): Add more tests.
46344
46345 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
46346
46347         [BZ #2548]
46348         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
46349         bits before adding and subtracting TWO23[sx].
46350         * math/libm-test.inc (rint_test): Add more tests.
46351         (rint_test_tonearest): Likewise.
46352         (rint_test_towardzero): Likewise.
46353         (rint_test_downward): Likewise.
46354         (rint_test_upward: Likewise.
46355
46356 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
46357
46358         [BZ #10110]
46359         * include/stdc-predef.h: New file.  Extracted from features.h.
46360         * include/features.h: Include stdc-predef.h.
46361         * Makefile (headers): Add stdc-predef.h.
46362         * CONFORMANCE (Compiler limitations): Update.
46363
46364 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
46365
46366         * manual/libc.texinfo (VERSION, UPDATED): Revert.
46367
46368 2012-02-21  David S. Miller  <davem@davemloft.net>
46369
46370         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
46371         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
46372
46373 2012-02-20  David S. Miller  <davem@davemloft.net>
46374
46375         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
46376         using a normal save/restore sequence, rather than allocating a
46377         dummy stack frame just to store a frame pointer and restore.
46378         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
46379
46380 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
46381
46382         * manual/install.texi: Fix stray word in line-wrapped comment.
46383
46384 2012-02-20  David S. Miller  <davem@davemloft.net>
46385
46386         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
46387         both binutils and gcc support GOTDATA.
46388
46389         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
46390         "rd %pc" in the PIC register setup sequences.
46391
46392         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
46393         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
46394         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
46395         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
46396         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
46397         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
46398         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
46399         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
46400         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
46401         (SYSCALL_ERROR_HANDLER): Likewise.
46402         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
46403         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
46404         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
46405         (SYSCALL_ERROR_HANDLER): Likewise.
46406
46407         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
46408         (HAVE_GCC_GOTDATA): New.
46409         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
46410         relocation support in both binutils and gcc.
46411         * sysdeps/sparc/elf/configure: Regenerate.
46412
46413         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
46414         * sysdeps/sparc/sparc32/elf/configure: Delete.
46415         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
46416         * sysdeps/sparc/sparc64/elf/configure: Delete.
46417         * sysdeps/sparc/elf/configure.in: New file.
46418         * sysdeps/sparc/elf/configure: Generate.
46419
46420         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
46421         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
46422         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
46423         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
46424         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
46425
46426 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
46427
46428         * manual/install.texi: Do not mention specific glibc version
46429         numbers.
46430         * manual/libc.texinfo (VERSION, UPDATED): Update.
46431         (@copying): Use @copyright{} and range of years.
46432
46433 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
46434
46435         [BZ #13695]
46436         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
46437         [crti.S not in sysdirs] (generated): Do not append.
46438         [crti.S not in sysdirs] (omit-deps): Likewise.
46439         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
46440         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
46441         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
46442         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
46443         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
46444         Likewise.
46445         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
46446         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
46447         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
46448         * csu/defs.awk: Remove file.
46449         * sysdeps/generic/initfini.c: Likewise.
46450         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
46451         variable.
46452         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
46453         Likewise.
46454
46455 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
46456
46457         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
46458         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
46459         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
46460         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
46461         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
46462         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
46463         <bits/epoll.h>.
46464         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
46465         (__EPOLL_PACKED): Define to empty if not defined by
46466         <bits/epoll.h>.
46467         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
46468         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
46469         bits/epoll.h.
46470
46471 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
46472
46473         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
46474         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
46475         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
46476         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
46477         <bits/timerfd.h>.
46478         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
46479         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
46480         bits/timerfd.h.
46481
46482 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
46483
46484         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
46485         in C locale.
46486         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
46487         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
46488         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
46489         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46490
46491 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
46492
46493         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
46494         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
46495
46496 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
46497
46498         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
46499         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
46500         defined.
46501         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
46502         Likewise.
46503         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
46504         entry for 2.16.
46505
46506 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
46507
46508         * math/w_acos.c: Use non-signaling floating-point comparisons.
46509         * math/w_acosf.c: Likewise.
46510         * math/w_acosh.c: Likewise.
46511         * math/w_acoshf.c: Likewise.
46512         * math/w_acoshl.c: Likewise.
46513         * math/w_acosl.c: Likewise.
46514         * math/w_asin.c: Likewise.
46515         * math/w_asinf.c: Likewise.
46516         * math/w_asinl.c: Likewise.
46517         * math/w_atanh.c: Likewise.
46518         * math/w_atanhf.c: Likewise.
46519         * math/w_atanhl.c: Likewise.
46520         * math/w_exp2.c: Likewise.
46521         * math/w_exp2f.c: Likewise.
46522         * math/w_exp2l.c: Likewise.
46523         * math/w_j0.c: Likewise.
46524         * math/w_j0f.c: Likewise.
46525         * math/w_j0l.c: Likewise.
46526         * math/w_j1.c: Likewise.
46527         * math/w_j1f.c: Likewise.
46528         * math/w_j1l.c: Likewise.
46529         * math/w_jn.c: Likewise.
46530         * math/w_jnf.c: Likewise.
46531         * math/w_log.c: Likewise.
46532         * math/w_log10.c: Likewise.
46533         * math/w_log10f.c: Likewise.
46534         * math/w_log10l.c: Likewise.
46535         * math/w_log2.c: Likewise.
46536         * math/w_log2f.c: Likewise.
46537         * math/w_log2l.c: Likewise.
46538         * math/w_logf.c: Likewise.
46539         * math/w_logl.c: Likewise.
46540         * math/w_sqrt.c: Likewise.
46541         * math/w_sqrtf.c: Likewise.
46542         * math/w_sqrtl.c: Likewise.
46543         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
46544         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
46545         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
46546         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
46547         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
46548
46549 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
46550
46551         [BZ #9739]
46552         * manual/string.texi (strnlen): Use correct parameter name in
46553         equivalent expression.
46554
46555 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
46556
46557         [BZ #11174]
46558         * manual/users.texi (seteuid): Consistently use neweuid for
46559         argument name.
46560
46561 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
46562
46563         [BZ #13704]
46564         * manual/nss.texi (Services in the NSS configuration): Correct
46565         list of services in example configuration file.
46566
46567 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
46568
46569         [BZ #11322]
46570         * manual/arith.texi: Remove statements about negative zero
46571         behaving identically to zero.
46572
46573 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
46574
46575         [BZ #5993]
46576         * manual/install.texi: Do not document upgrading from libc5.
46577
46578 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
46579
46580         [BZ #4596]
46581         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
46582
46583 2012-02-18  David S. Miller  <davem@davemloft.net>
46584
46585         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
46586         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
46587         %o7 across the call.
46588         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
46589         instead.
46590         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
46591         SETUP_PIC_REG_LEAF.
46592         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
46593         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
46594         * sysdeps/sparc/crtn.S: Likewise.
46595
46596 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
46597
46598         * aout/Makefile: Remove.
46599
46600 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
46601
46602         [BZ #13058]
46603         * manual/examples/argp-ex1.c (main): Format definition in GNU
46604         style.
46605         * manual/examples/argp-ex2.c (main): Likewise.
46606         * manual/examples/argp-ex3.c (main): Likewise.
46607         * manual/examples/argp-ex4.c (main): Likewise.
46608         * manual/examples/longopt.c (main): Use new-style prototype
46609         definition.
46610         * manual/examples/strncat.c (main): Specify return type and use
46611         (void) for arguments.
46612         * manual/examples/subopt.c (main): Use char **argv argument.
46613
46614 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
46615
46616         [BZ #5077]
46617         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
46618         rounding modes.
46619
46620 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
46621
46622         [BZ #6907]
46623         * manual/string.texi (strchr): Change when strchrnul is
46624         recommended.
46625
46626 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
46627
46628         [BZ #174]
46629         * manual/locale.texi (setlocale): Document LOCPATH.
46630
46631 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
46632
46633         [BZ #10210]
46634         * manual/process.texi (execle): Move @dots{} before last argument.
46635
46636 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
46637
46638         [BZ #12047]
46639         * manual/charset.texi (Generic Charset Conversion): Fix typo
46640         (LC_TYPE -> LC_CTYPE).
46641
46642 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
46643
46644         [BZ #5805]
46645         * manual/arith.texi (scalbn): Use @var{} on parameter names.
46646         (scalbnf): Likewise.
46647         (scalbnl): Likewise.
46648         (scalbln): Likewise.
46649         (scalblnf): Likewise.
46650         (scalblnl): Likewise.
46651         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
46652         (vwarnx): Likewise.
46653         (verr): Likewise.
46654         (verrx): Likewise.
46655         * manual/filesys.texi (telldir): Use braces around return type.
46656         * manual/llio.texi (mmap): Add space after comma.
46657         (mmap64): Likewise.
46658         * manual/math.texi (jn): Use @var{} on parameter names.
46659         (jnf): Likewise.
46660         (jnl): Likewise.
46661         (yn): Likewise.
46662         (ynf): Likewise.
46663         (ynl): Likewise.
46664         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
46665         line.
46666         * manual/resource.texi (ulimit): Use @dots{} instead of literal
46667         "...".
46668         (sched_get_priority_min): Remove semicolon on @deftypefun line.
46669         (sched_get_priority_max): Likewise.
46670         * manual/signal.texi (sigvec): Add space after comma.
46671         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
46672         names.
46673         (if_indextoname): Likewise.
46674         (if_freenameindex): Likewise.
46675         (sendto): Use ',' instead of '.' in prototype.
46676         * manual/startup.texi (syscall): Use @dots{} instead of literal
46677         "...".
46678         * manual/stdio.texi (__fpending): Separate initial words of
46679         paragraph from @deftypefun line.
46680         * manual/syslog.texi (syslog): Use @dots{} instead of literal
46681         "...".
46682         (vsyslog): Use @var{} on parameter names.
46683         * manual/terminal.texi (stty): Use @var{} on parameter names.
46684         * manual/users.texi (getutmp): Use @var{} on parameter names.
46685         (getutmpx): Likewise.
46686
46687 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
46688
46689         [BZ #6884]
46690         * manual/stdio.texi (fopen): Fix typos in description of
46691         ",ccs=STRING".
46692
46693 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
46694
46695         [BZ #4026]
46696         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
46697         get clock_id definition.
46698
46699 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
46700
46701         [BZ #4822]
46702         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
46703         (madvise): Cast every argument to void on its own.
46704
46705 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
46706
46707         [BZ #9902]
46708         * manual/startup.texi (Exit Status): Fix typo.
46709
46710 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
46711
46712         [BZ #10140]
46713         * manual/examples/argp-ex1.c: Include <stdlib.h>.
46714         * manual/examples/argp-ex2.c: Likewise.
46715         * manual/examples/argp-ex3.c: Likewise.
46716
46717 2012-02-16  Richard Henderson  <rth@redhat.com>
46718
46719         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
46720         * sysdeps/s390/s390-32/initfini.c: Remove.
46721         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
46722         * sysdeps/s390/s390-64/initfini.c: Remove.
46723
46724 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
46725
46726         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
46727         compiler output for sysdeps/generic/initfini.c.
46728         * sysdeps/sh/elf/initfini.c: Remove file.
46729
46730 2012-02-16  David S. Miller  <davem@davemloft.net>
46731
46732         [BZ #11494]
46733         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
46734
46735         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
46736         * sysdeps/sparc/crti.S: New file.
46737         * sysdeps/sparc/crtn.S: New file.
46738         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
46739         * sysdeps/sparc/sparc64/Makefile: Likewise.
46740
46741 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
46742
46743         [BZ #3335]
46744         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
46745
46746 2012-02-15  Roland McGrath  <roland@hack.frob.com>
46747
46748         [BZ #4822]
46749         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
46750
46751         * mach/devstream.c (cookie_io_functions_t): Macro removed.
46752         (write, read, close): Likewise.
46753         Patch by Aurelien Jarno <aurelien@aurel32.net>.
46754
46755 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
46756
46757         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
46758         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
46759         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
46760         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
46761         <bits/signalfd.h>.
46762         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
46763         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
46764         bits/signalfd.h.
46765
46766 2012-02-14  Marek Polacek  <polacek@redhat.com>
46767
46768         * sysdeps/x86_64/crti.S: New file.
46769         * sysdeps/x86_64/crtn.S: New file.
46770         * sysdeps/x86_64/elf/initfini.c: Remove file.
46771
46772 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
46773
46774         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
46775         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
46776         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
46777         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
46778         <bits/inotify.h>.
46779         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
46780         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
46781         bits/inotify.h.
46782
46783 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
46784
46785         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
46786         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
46787         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
46788         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
46789         <bits/eventfd.h>.
46790         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
46791         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
46792         bits/eventfd.h.
46793
46794 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
46795
46796         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
46797         __feraiseexcept instead of feraiseexcept.
46798
46799         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
46800         nanosleep invocations.
46801         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
46802         strings, and add error checking for a nanosleep invocations.
46803
46804 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
46805
46806         Replace FSF snail mail address with URLs, as per GNU coding standards.
46807         Most of the snail mail addresses were wrong anyway, and omitting
46808         them makes the source code easier to maintain.  Almost all of the
46809         changes are to license notices and to locale LC_IDENTIFICATION
46810         addresses, except for this one:
46811         * manual/libc.texinfo: In "Published by", give the FSF's URL,
46812         not its snail mail address.
46813
46814 2012-02-09  Richard Henderson  <rth@twiddle.net>
46815
46816         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
46817         of kernel-features.h.
46818
46819         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
46820
46821 2012-02-08  Marek Polacek  <polacek@redhat.com>
46822
46823         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
46824         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
46825         * sysdeps/gnu/_G_config.h: Likewise.
46826         * sysdeps/generic/_G_config.h: Likewise.
46827
46828 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
46829
46830         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
46831         tests.
46832         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46833
46834         * sysdeps/powerpc/powerpc32/crti.S: New file.
46835         * sysdeps/powerpc/powerpc32/crtn.S: New file.
46836         * sysdeps/powerpc/powerpc64/crti.S: New file.
46837         * sysdeps/powerpc/powerpc64/crtn.S: New file.
46838
46839         * Makeconfig (have-initfini): Don't set.
46840         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
46841         * configure.in (nopic_initfini): Don't substitute.
46842         * config.h.in (HAVE_INITFINI): Don't #undef.
46843         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
46844         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
46845
46846 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
46847
46848         Support crti.S and crtn.S provided directly by architectures.
46849         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
46850         [crti.S in sysdirs] (omit-deps): Likewise.
46851         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
46852         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
46853         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
46854         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
46855         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
46856         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
46857         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
46858         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
46859         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
46860         compiler output for sysdeps/generic/initfini.c.
46861         * sysdeps/i386/elf/Makefile: Remove file.
46862         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
46863
46864 2012-02-07  Marek Polacek  <polacek@redhat.com>
46865
46866         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
46867         * sysdeps/gnu/_G_config.h: Likewise.
46868         * sysdeps/mach/hurd/_G_config.h: Likewise.
46869
46870 2012-02-07  Marek Polacek  <polacek@redhat.com>
46871
46872         * math/Makefile (tests): Add tst-CMPLX2.
46873         * math/tst-CMPLX2.c: New file.
46874
46875 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
46876
46877         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
46878
46879         * math/libm-test.inc (jn_test): Add missing L suffix.
46880
46881 2012-02-06  Marek Polacek  <polacek@redhat.com>
46882
46883         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
46884         * sysdeps/i386/fpu/e_powf.S: Likewise.
46885         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
46886         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
46887         * sysdeps/i386/fpu/e_acosh.S: Likewise.
46888         * sysdeps/i386/fpu/e_pow.S: Likewise.
46889         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
46890         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
46891         * sysdeps/i386/fpu/s_expm1.S: Likewise.
46892         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
46893         * sysdeps/i386/fpu/e_log2.S: Likewise.
46894         * sysdeps/i386/fpu/e_log2l.S: Likewise.
46895         * sysdeps/i386/fpu/e_scalb.S: Likewise.
46896         * sysdeps/i386/fpu/e_powl.S: Likewise.
46897         * sysdeps/i386/fpu/s_log1p.S: Likewise.
46898         * sysdeps/i386/fpu/e_log10f.S: Likewise.
46899         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
46900         * sysdeps/i386/fpu/e_logl.S: Likewise.
46901         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
46902         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
46903         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
46904         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
46905         * sysdeps/i386/fpu/e_log2f.S: Likewise.
46906         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
46907         * sysdeps/i386/fpu/e_log.S: Likewise.
46908         * sysdeps/i386/fpu/s_cexp.S: Likewise.
46909         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
46910         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
46911         * sysdeps/i386/fpu/e_logf.S: Likewise.
46912         * sysdeps/i386/fpu/e_log10l.S: Likewise.
46913         * sysdeps/i386/fpu/e_atanh.S: Likewise.
46914         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
46915         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
46916         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
46917         * sysdeps/i386/fpu/e_log10.S: Likewise.
46918         * sysdeps/i386/fpu/s_frexp.S: Likewise.
46919         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
46920         * sysdeps/i386/fpu/s_asinh.S: Likewise.
46921         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
46922         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
46923         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
46924         * sysdeps/i386/asm-syntax.h: Likewise.
46925         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
46926         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
46927         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
46928         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
46929         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
46930         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
46931         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
46932         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
46933         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
46934         * sysdeps/powerpc/sysdep.h: Likewise.
46935         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
46936         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
46937
46938 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
46939
46940         [BZ #411]
46941         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
46942
46943 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
46944
46945         * sysdeps/i386/sysdep.h: Include <features.h>.
46946         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
46947         version.
46948
46949 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
46950
46951         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
46952         Define.
46953         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
46954         LOAD_PIC_REG_STR.
46955
46956 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
46957
46958         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
46959         (SETUP_PIC_REG): Use GET_PC_THUNK.
46960         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
46961         macro.
46962
46963 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
46964
46965         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
46966         for non-PIC compilation.
46967         (SETUP_PIC_REG): Add .p2align directive.
46968         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
46969         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
46970         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
46971         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
46972         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
46973         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
46974         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
46975         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
46976         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
46977         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
46978         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
46979         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
46980         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
46981         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
46982         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
46983         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
46984         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
46985         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
46986         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
46987         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
46988         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
46989         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
46990         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
46991         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
46992         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
46993         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
46994         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
46995         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
46996         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
46997         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
46998         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
46999         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
47000         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
47001         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
47002         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
47003         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
47004         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
47005         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
47006         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
47007         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
47008         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
47009
47010 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
47011
47012         * math/tst-CMPLX.c: Include <stdio.h>.
47013
47014 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
47015
47016         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
47017         float.
47018         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
47019         * sysdeps/sparc/bits/mathdef.h: Likewise.
47020
47021 2012-01-31  Marek Polacek  <polacek@redhat.com>
47022
47023         * libio/libio.h: Don't define _PARAMS.
47024         * locale/programs/config.h: Don't define PARAMS.
47025         * stdlib/strtol_l.c: Likewise.
47026         (__strtol_l): Remove PARAMS from the prototype.
47027
47028 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
47029
47030         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
47031         names.  Just use the correct names.  Remove unnecessary wrapper
47032         functions.
47033         * malloc/arena.c: Likewise.
47034         * malloc/hooks.c: Likewise.
47035
47036         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
47037         ARENA_TEST says not to.  Simplify test for creation of a new arena.
47038         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
47039
47040 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
47041
47042         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
47043         into tail calls.
47044         (update_get_addr): New function.
47045         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
47046         GET_ADDR_MODULE parameter.
47047
47048 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
47049
47050         * crypt/cert.c: Remove __STDC__ conditionals.
47051         * crypt/crypt-entry.c: Likewise.
47052         * crypt/crypt_util.c: Likewise.
47053         * libio/filedoalloc.c: Likewise.
47054         * libio/fileops.c: Likewise.
47055         * libio/genops.c: Likewise.
47056         * libio/iofclose.c: Likewise.
47057         * libio/iofdopen.c: Likewise.
47058         * libio/iofopen.c: Likewise.
47059         * libio/iofopen64.c: Likewise.
47060         * libio/iogetdelim.c: Likewise.
47061         * libio/iopopen.c: Likewise.
47062         * libio/obprintf.c: Likewise.
47063         * libio/oldfileops.c: Likewise.
47064         * libio/oldiofclose.c: Likewise.
47065         * libio/oldiofdopen.c: Likewise.
47066         * libio/oldiofopen.c: Likewise.
47067         * libio/oldiopopen.c: Likewise.
47068         * libio/wfiledoalloc.c: Likewise.
47069         * libio/wgenops.c: Likewise.
47070         * locale/programs/xmalloc.c: Likewise.
47071         * misc/syslog.c: Likewise.
47072         * stdio-common/xbug.c: Likewise.
47073         * string/memchr.c: Likewise.
47074         * string/memcmp.c: Likewise.
47075         * string/memrchr.c: Likewise.
47076         * string/rawmemchr.c: Likewise.
47077         * sysdeps/posix/getcwd.c: Likewise.
47078         * time/strftime_l.c: Likewise.
47079
47080 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
47081
47082         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
47083         * config.make.in (config-cflags-sse2avx): Define.
47084         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
47085         Fix typo.
47086
47087 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
47088
47089         * scripts/config.guess: Update from upstream config git repository.
47090         * scripts/config.sub: Likewise.
47091
47092 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
47093
47094         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
47095         (EM_NUM): Update.
47096         (R_TILEPRO_*, R_TILEGX_*): New macros.
47097
47098         * scripts/firstversions.awk: Fix bug in version range handling.
47099
47100         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
47101
47102         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
47103
47104         * include/sys/epoll.h: New file.
47105         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
47106         libc_hidden_def.
47107
47108 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
47109
47110         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
47111         Avoid unnecessary __WORDSIZE == 64 test.
47112         (fmaxf): Use VEX format if possible.
47113         (fmax): Likewise.
47114         (fminf): Likewise.
47115         (fmin): Likewise.
47116
47117         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
47118         * math/math_private.h: Remove libc_fegetround* and
47119         libc_fesetround*.
47120         * sysdeps/i386/configure.in: Check for -msse2avx.
47121         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
47122         also if SSE2AVX is defined.
47123         Remove libc_fegetround* and libc_fesetround*.
47124         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
47125         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
47126         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
47127         of HAS_YMM_USABLE.
47128         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
47129         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
47130         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
47131         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
47132         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
47133
47134         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
47135
47136 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47137
47138         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
47139         size is not set.
47140         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
47141
47142 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
47143
47144         [BZ #13618]
47145         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
47146         relocation.
47147         * Makeconfig (libm): Define.
47148         * elf/Makefile: Add rules to build and run tst-relsort1.
47149         * elf/tst-relsort1.c: New file.
47150         * elf/tst-relsort1mod1.c: New file.
47151         * elf/tst-relsort1mod2.c: New file.
47152
47153 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
47154
47155         * math/s_ldexp.c: Remove __STDC__ conditionals.
47156         * math/s_ldexpf.c: Likewise.
47157         * math/s_ldexpl.c: Likewise.
47158         * math/s_nextafter.c: Likewise.
47159         * math/s_nexttowardf.c: Likewise.
47160         * math/s_significand.c: Likewise.
47161         * math/s_significandf.c: Likewise.
47162         * math/s_significandl.c: Likewise.
47163         * math/w_jnl.c: Likewise.
47164         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
47165         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
47166         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
47167         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
47168         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
47169         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
47170         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
47171         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
47172         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
47173         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
47174         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
47175         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
47176         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
47177         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
47178         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
47179         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
47180         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
47181         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
47182         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
47183         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
47184         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
47185         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
47186         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
47187         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
47188         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
47189         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
47190         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
47191         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
47192         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
47193         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
47194         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
47195         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
47196         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
47197         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
47198         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
47199         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
47200         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
47201         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
47202         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
47203         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
47204         * sysdeps/ieee754/k_standard.c: Likewise.
47205         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
47206         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
47207         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
47208         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
47209         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
47210         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
47211         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
47212         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
47213         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
47214         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
47215         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
47216         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
47217         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
47218         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
47219         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
47220         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
47221         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
47222         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
47223         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
47224         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
47225         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
47226         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
47227         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
47228         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
47229         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
47230         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
47231         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
47232         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
47233         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
47234         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
47235         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
47236         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
47237         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
47238         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
47239         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
47240         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
47241         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
47242         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
47243         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
47244         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
47245         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
47246         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
47247         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
47248         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
47249         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
47250         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
47251         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
47252         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
47253         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
47254         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
47255         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
47256         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
47257         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
47258         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
47259         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
47260         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
47261         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
47262         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
47263         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
47264         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
47265         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
47266         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
47267         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
47268         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
47269         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
47270         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
47271         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
47272         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
47273         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
47274         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
47275         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
47276         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
47277         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
47278         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
47279         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
47280         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
47281         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
47282         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
47283         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
47284         * sysdeps/ieee754/s_matherr.c: Likewise.
47285         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
47286         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
47287         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
47288         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
47289
47290 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
47291
47292         * crypt/md5.h: Remove __STDC__ conditionals.
47293         * libio/libioP.h: Likewise.
47294         * locale/programs/config.h: Likewise.
47295         * sysdeps/generic/sysdep.h: Likewise.
47296         * sysdeps/i386/asm-syntax.h: Likewise.
47297         * sysdeps/s390/asm-syntax.h: Likewise.
47298         * sysdeps/unix/sysdep.h: Likewise.
47299         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
47300         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
47301
47302 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
47303
47304         * libio/libio.h: Remove __STDC__ conditionals.
47305         * malloc/obstack.h: Likewise.
47306         * math/complex.h: Likewise.
47307         * math/math.h: Likewise.
47308         * sysdeps/generic/_G_config.h: Likewise.
47309         * sysdeps/gnu/_G_config.h: Likewise.
47310         * sysdeps/mach/hurd/_G_config.h: Likewise.
47311         * sysdeps/powerpc/bits/mathdef.h: Likewise.
47312         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
47313         * sysdeps/sparc/bits/mathdef.h: Likewise.
47314
47315 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
47316
47317         [BZ #13583]
47318         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
47319         Clean up HAS_* macros.
47320         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
47321         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
47322         possible.
47323         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
47324         HAS_AVX.
47325         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
47326         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
47327         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
47328         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
47329         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
47330
47331 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
47332
47333         * elf/tst-unique3.cc (gets): Remove declaration.
47334         * elf/tst-unique3lib.cc (gets): Likewise.
47335         * elf/tst-unique3lib2.cc (gets): Likewise.
47336         * elf/tst-unique4.cc (gets): Likewise.
47337
47338 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
47339
47340         * include/stdio.h: Add C++ protection.  Add gets declarations and
47341         definitions.
47342         * debug/tst-chk1.c: Don't declare gets here.
47343         * stdio-common/tst-gets.c: Likewise.
47344
47345 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
47346
47347         * posix/glob: Remove directory.
47348
47349 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
47350
47351         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
47352
47353 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
47354
47355         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
47356         of the non-standard EPFNOSUPPORT.
47357
47358 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
47359
47360         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
47361         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
47362         ANYWHERE set to 1 only on KERN_NO_SPACE error.
47363
47364 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
47365
47366         * wcsmbs/uchar.h: Test __STDC_VERSION__.
47367
47368 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
47369
47370         * nscd/aicache.c (addhstaiX): Do not cache negative results of
47371         transient errors.
47372         * nscd/grpcache.c (cache_addgr): Likewise.
47373         * nscd/hstcache.c (cache_addhst): Likewise.
47374         * nscd/initgrcache.c (addinitgroupsX): Likewise.
47375         * nscd/pwdcache.c (cache_addpw): Likewise.
47376         * nscd/servicescache.c (cache_addserv): Likewise.
47377
47378 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
47379
47380         * malloc/malloc.c: Various cleanups.
47381         * malloc/hooks.c: Likewise.
47382
47383         * stdlib/Makefile (tests): Add bug-fmtmsg1.
47384         * stdlib/bug-fmtmsg1.c: New file.
47385
47386         * stdlib/fmtmsg.c (init): Add missing unlock.
47387         Patch by Peng Haitao <penght@cn.fujitsu.com>.
47388
47389 2012-01-12  Marek Polacek  <polacek@redhat.com>
47390
47391         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
47392         and _GNU_SOURCE.
47393
47394 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
47395
47396         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
47397         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
47398         macro to ensure uniqueness of label name.
47399         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
47400         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
47401
47402 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
47403
47404         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
47405
47406         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
47407         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
47408         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
47409         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
47410
47411 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
47412
47413         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
47414
47415         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
47416         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
47417         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
47418
47419         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
47420
47421         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
47422         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
47423         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
47424         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
47425
47426         * math/bits/math-finite.h: Add ldexp support.
47427
47428 2012-01-10  Marek Polacek  <polacek@redhat.com>
47429
47430         * locale/programs/localedef.h (show_archive_content): Add noreturn
47431         attribute.
47432
47433 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
47434
47435         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
47436
47437 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
47438
47439         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
47440
47441         * io/Makefile (headers): Add bits/poll2.h.
47442
47443 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
47444
47445         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
47446         typo #include statement.
47447
47448 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
47449
47450         * include/sys/cdefs.h: Define __attribute_alloc_size.
47451         * catgets/gencat.c: Add alloc_size attribute and apply consistently
47452         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
47453         * elf/pldd.c: Likewise.
47454         * iconv/iconv_charmap.c: Likewise.
47455         * iconv/iconvconfig.c: Likewise.
47456         * iconv/strtab.c: Likewise.
47457         * locale/programs/locale.c: Likewise.
47458         * locale/programs/localedef.h: Likewise.
47459         * locale/programs/simple-hash.c: Likewise.
47460         * nscd/nscd.h: Likewise.
47461         * nss/makedb.c: Likewise.
47462         * sysdeps/generic/ldconfig.h: Likewise.
47463         * locale/programs/localedef.c: Remove xmalloc prototype.
47464         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
47465
47466 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
47467
47468         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
47469         appropriate.
47470
47471 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
47472
47473         * math/Makefile (tests): Add tst-CMPLX.
47474         * math/tst-CMPLX.c: New file.
47475
47476         * math/complex.h (CMPLXL): Fix typo.
47477
47478         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
47479         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
47480         GLIBC_2.16.
47481         * debug/tst-chk1.c: Add poll and ppoll tests.
47482         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
47483         * include/sys/poll.h: Add hidden proto for ppoll.
47484         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
47485         * sysdeps/mach/hurd/ppoll.c: Likewise.
47486         * io/ppoll.c: Likewise.
47487         * debug/poll_chk.c: New file.
47488         * debug/ppoll_chk.c: New file.
47489         * include/bits/poll2.h: New file.
47490         * io/bits/poll2.h: New file.
47491
47492         [BZ #1350]
47493         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
47494
47495         * configure.in: static is always set to yes.  Remove.
47496         * config.make.in: Don't set build-static.
47497         * Makeconfig: Remove use of build-static.
47498         * dlfcn/Makefile: Likewise.
47499         * elf/Makefile: Likewise.
47500         * math/Makefile: Likewise.
47501         * misc/Makefile: Likewise.
47502         * nptl/Makefile: Likewise.
47503         * sysdeps/mach/hurd/Makefile: Likewise.
47504
47505         * configure.in: PWD_P is not used anymore.
47506         * config.make.in: Remove PWD_P entry.
47507
47508         * configure.in: Remove last remnants of RANLIB.
47509         No need to check for signed size_t anymore.
47510         Don't set libc_commonpagesize and libc_relro_required here for Alpha
47511         and IA-64.
47512         Remove __builtin_expect test because we require at least gcc 3.4.
47513         * aclocal.m4: Likewise.
47514
47515         * wcsmbs/mbrtoc16.c: Implement using towc function.
47516         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
47517         * wcsmbs/wcsmbsload.c: Likewise.
47518         * iconv/gconv_simple.c: Likewise.
47519         * iconv/gconv_int.h: Likewise.
47520         * iconv/gconv_builtin.h: Likewise.
47521         * iconv/iconv_prog.c: Remove CHAR16 handling.
47522
47523         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
47524
47525         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
47526
47527         * configure.in: Remove --with-elf and --enable-bounded options.
47528         Dont set base_machine for ia64.  More non-ELF conditions removed.
47529         Remove testing and setting of leading underscore information.
47530         * config.make.in (build-bounded): Set to no.
47531         * config.h.in: Remove NO_UNDERSCORES entry.
47532         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
47533         them.
47534         * csu/start.c: Remove !NO_UNDERSCORE code.
47535         * locale/localeinfo.h: Likewise.
47536         * sysdeps/generic/machine-gmon.h: Likewise.
47537         * sysdeps/generic/sysdep.h: Likewise.
47538         * sysdeps/i386/sysdep.h: Likewise.
47539         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
47540         * sysdeps/mach/sysdep.h: Likewise.
47541         * sysdeps/s390/s390-32/sysdep.h: Likewise.
47542         * sysdeps/s390/s390-64/sysdep.h: Likewise.
47543         * sysdeps/sh/sysdep.h: Likewise.
47544         * sysdeps/sparc/sparc32/alloca.S: Likewise.
47545         * sysdeps/unix/i386/sysdep.S: Likewise.
47546         * sysdeps/unix/sparc/start.c: Likewise.
47547         * sysdeps/unix/sparc/sysdep.S: Likewise.
47548         * sysdeps/unix/sparc/sysdep.h: Likewise.
47549         * sysdeps/unix/start.c: Likewise.
47550         * sysdeps/unix/x86_64/sysdep.S: Likewise.
47551         * sysdeps/x86_64/sysdep.h: Likewise.
47552
47553 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
47554
47555         [BZ #13553]
47556         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
47557         for non-gcc.
47558         * argp/argp-fmtstream.h: Use const instead __const.
47559         * argp/argp.h: Likewise.
47560         * assert/assert.h: Likewise.
47561         * bits/fenv.h: Likewise.
47562         * bits/sched.h: Likewise.
47563         * bits/sigset.h: Likewise.
47564         * bits/sigthread.h: Likewise.
47565         * catgets/nl_types.h: Likewise.
47566         * conform/data/pthread.h-data: Likewise.
47567         * crypt/crypt-private.h: Likewise.
47568         * crypt/crypt.h: Likewise.
47569         * crypt/crypt_util.c: Likewise.
47570         * ctype/ctype.h: Likewise.
47571         * debug/execinfo.h: Likewise.
47572         * debug/mbsnrtowcs_chk.c: Likewise.
47573         * debug/mbsrtowcs_chk.c: Likewise.
47574         * debug/wcsnrtombs_chk.c: Likewise.
47575         * debug/wcsrtombs_chk.c: Likewise.
47576         * debug/wcstombs_chk.c: Likewise.
47577         * dirent/dirent.h: Likewise.
47578         * dlfcn/dlfcn.h: Likewise.
47579         * elf/neededtest4.c: Likewise.
47580         * grp/grp.h: Likewise.
47581         * gshadow/gshadow.h: Likewise.
47582         * iconv/gconv.h: Likewise.
47583         * iconv/gconv_int.h: Likewise.
47584         * iconv/gconv_simple.c: Likewise.
47585         * iconv/iconv.h: Likewise.
47586         * iconv/loop.c: Likewise.
47587         * iconv/skeleton.c: Likewise.
47588         * include/aio.h: Likewise.
47589         * include/aliases.h: Likewise.
47590         * include/argz.h: Likewise.
47591         * include/arpa/inet.h: Likewise.
47592         * include/assert.h: Likewise.
47593         * include/dirent.h: Likewise.
47594         * include/dlfcn.h: Likewise.
47595         * include/execinfo.h: Likewise.
47596         * include/fcntl.h: Likewise.
47597         * include/fenv.h: Likewise.
47598         * include/glob.h: Likewise.
47599         * include/grp.h: Likewise.
47600         * include/libintl.h: Likewise.
47601         * include/mntent.h: Likewise.
47602         * include/netdb.h: Likewise.
47603         * include/pwd.h: Likewise.
47604         * include/rpc/netdb.h: Likewise.
47605         * include/sched.h: Likewise.
47606         * include/search.h: Likewise.
47607         * include/shadow.h: Likewise.
47608         * include/signal.h: Likewise.
47609         * include/stdio.h: Likewise.
47610         * include/stdlib.h: Likewise.
47611         * include/string.h: Likewise.
47612         * include/sys/socket.h: Likewise.
47613         * include/sys/stat.h: Likewise.
47614         * include/sys/statfs.h: Likewise.
47615         * include/sys/statvfs.h: Likewise.
47616         * include/sys/syslog.h: Likewise.
47617         * include/sys/time.h: Likewise.
47618         * include/sys/uio.h: Likewise.
47619         * include/time.h: Likewise.
47620         * include/unistd.h: Likewise.
47621         * include/utmp.h: Likewise.
47622         * include/wchar.h: Likewise.
47623         * include/wctype.h: Likewise.
47624         * inet/aliases.h: Likewise.
47625         * inet/arpa/inet.h: Likewise.
47626         * inet/netinet/ether.h: Likewise.
47627         * inet/netinet/in.h: Likewise.
47628         * intl/libintl.h: Likewise.
47629         * io/bits/fcntl2.h: Likewise.
47630         * io/fcntl.h: Likewise.
47631         * io/ftw.h: Likewise.
47632         * io/sys/poll.h: Likewise.
47633         * io/sys/stat.h: Likewise.
47634         * io/sys/statfs.h: Likewise.
47635         * io/sys/statvfs.h: Likewise.
47636         * io/utime.h: Likewise.
47637         * libio/bits/stdio.h: Likewise.
47638         * libio/bits/stdio2.h: Likewise.
47639         * libio/libio.h: Likewise.
47640         * libio/libioP.h: Likewise.
47641         * libio/stdio.h: Likewise.
47642         * locale/lc-ctype.c: Likewise.
47643         * locale/locale.h: Likewise.
47644         * login/utmp.h: Likewise.
47645         * malloc/arena.c: Likewise.
47646         * malloc/malloc.c: Likewise.
47647         * malloc/malloc.h: Likewise.
47648         * malloc/mcheck.c: Likewise.
47649         * malloc/mtrace.c: Likewise.
47650         * math/bits/mathcalls.h: Likewise.
47651         * math/fenv.h: Likewise.
47652         * math/math_private.h: Likewise.
47653         * misc/bits/error.h: Likewise.
47654         * misc/bits/syslog.h: Likewise.
47655         * misc/err.h: Likewise.
47656         * misc/error.h: Likewise.
47657         * misc/fstab.h: Likewise.
47658         * misc/mntent.h: Likewise.
47659         * misc/regexp.h: Likewise.
47660         * misc/search.h: Likewise.
47661         * misc/sgtty.h: Likewise.
47662         * misc/sys/mman.h: Likewise.
47663         * misc/sys/syslog.h: Likewise.
47664         * misc/sys/uio.h: Likewise.
47665         * misc/sys/xattr.h: Likewise.
47666         * misc/ttyent.h: Likewise.
47667         * nis/rpcsvc/ypclnt.h: Likewise.
47668         * nss/nss.h: Likewise.
47669         * posix/bits/unistd.h: Likewise.
47670         * posix/fnmatch.h: Likewise.
47671         * posix/glob.h: Likewise.
47672         * posix/sched.h: Likewise.
47673         * posix/spawn.h: Likewise.
47674         * posix/sys/wait.h: Likewise.
47675         * posix/unistd.h: Likewise.
47676         * posix/wordexp.h: Likewise.
47677         * pwd/pwd.h: Likewise.
47678         * resolv/netdb.h: Likewise.
47679         * resource/sys/resource.h: Likewise.
47680         * rt/aio.h: Likewise.
47681         * rt/bits/mqueue2.h: Likewise.
47682         * rt/mqueue.h: Likewise.
47683         * shadow/shadow.h: Likewise.
47684         * signal/signal.h: Likewise.
47685         * socket/send.c: Likewise.
47686         * socket/sendto.c: Likewise.
47687         * socket/sys/socket.h: Likewise.
47688         * stdio-common/printf.h: Likewise.
47689         * stdlib/bits/stdlib.h: Likewise.
47690         * stdlib/fmtmsg.h: Likewise.
47691         * stdlib/monetary.h: Likewise.
47692         * stdlib/stdlib.h: Likewise.
47693         * stdlib/ucontext.h: Likewise.
47694         * streams/stropts.h: Likewise.
47695         * string/argz.h: Likewise.
47696         * string/bits/string2.h: Likewise.
47697         * string/string.h: Likewise.
47698         * string/strings.h: Likewise.
47699         * sunrpc/rpc/auth.h: Likewise.
47700         * sunrpc/rpc/auth_des.h: Likewise.
47701         * sunrpc/rpc/clnt.h: Likewise.
47702         * sunrpc/rpc/netdb.h: Likewise.
47703         * sunrpc/rpc/pmap_clnt.h: Likewise.
47704         * sunrpc/rpc/xdr.h: Likewise.
47705         * sysdeps/generic/inttypes.h: Likewise.
47706         * sysdeps/generic/net/if.h: Likewise.
47707         * sysdeps/generic/sys/swap.h: Likewise.
47708         * sysdeps/gnu/net/if.h: Likewise.
47709         * sysdeps/gnu/utmpx.h: Likewise.
47710         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
47711         * sysdeps/i386/i486/bits/string.h: Likewise.
47712         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
47713         * sysdeps/s390/bits/string.h: Likewise.
47714         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
47715         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
47716         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
47717         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
47718         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
47719         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
47720         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
47721         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
47722         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
47723         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
47724         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
47725         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
47726         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
47727         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
47728         * sysdeps/unix/sysv/linux/readv.c: Likewise.
47729         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
47730         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
47731         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
47732         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
47733         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
47734         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
47735         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
47736         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
47737         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
47738         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
47739         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
47740         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
47741         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
47742         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
47743         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
47744         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
47745         * sysvipc/sys/ipc.h: Likewise.
47746         * sysvipc/sys/msg.h: Likewise.
47747         * sysvipc/sys/sem.h: Likewise.
47748         * sysvipc/sys/shm.h: Likewise.
47749         * termios/termios.h: Likewise.
47750         * time/sys/time.h: Likewise.
47751         * time/time.h: Likewise.
47752         * wcsmbs/bits/wchar2.h: Likewise.
47753         * wcsmbs/uchar.h: Likewise.
47754         * wcsmbs/wchar.h: Likewise.
47755         * wctype/wctype.h: Likewise.
47756
47757         [BZ #13551]
47758         * Makeconfig: Remove all but ELF support including AIX support.
47759         * Makerules: Likewise.
47760         * config.h.in: Likewise.
47761         * config.make.in: Likewise.
47762         * configure: Likewise.
47763         * configure.in: Likewise.
47764         * csu/Makefile: Likewise.
47765         * csu/version.c: Likewise.
47766         * debug/Makefile: Likewise.
47767         * dlfcn/Makefile: Likewise.
47768         * elf/Makefile: Likewise.
47769         * extra-lib.mk: Likewise.
47770         * iconv/Makefile: Likewise.
47771         * include/libc-symbols.h: Likewise.
47772         * include/shlib-compat.h: Likewise.
47773         * resolv/Makefile: Likewise.
47774         * resolv/res_libc.c: Likewise.
47775         * rt/Makefile: Likewise.
47776         * sysdeps/i386/asm-syntax.h: Likewise.
47777         * sysdeps/i386/sysdep.h: Likewise.
47778         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
47779         * sysdeps/mach/sysdep.h: Likewise.
47780         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
47781         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
47782         * sysdeps/s390/asm-syntax.h: Likewise.
47783         * sysdeps/s390/s390-32/sysdep.h: Likewise.
47784         * sysdeps/s390/s390-64/sysdep.h: Likewise.
47785         * sysdeps/sh/sysdep.h: Likewise.
47786         * sysdeps/unix/sparc/sysdep.h: Likewise.
47787         * sysdeps/wordsize-32/divdi3.c: Likewise.
47788         * sysdeps/x86_64/sysdep.h: Likewise.
47789
47790         * argp/Versions: Remove _argp_unlock_xxx.
47791
47792         [BZ #13559]
47793         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
47794         * abilist/libBrokenLocale.abilist: Likewise.
47795         * abilist/libanl.abilist: Likewise.
47796         * abilist/libc.abilist: Likewise.
47797         * abilist/libcrypt.abilist: Likewise.
47798         * abilist/libdl.abilist: Likewise.
47799         * abilist/libm.abilist: Likewise.
47800         * abilist/libnsl.abilist: Likewise.
47801         * abilist/libpthread.abilist: Likewise.
47802         * abilist/libresolv.abilist: Likewise.
47803         * abilist/librt.abilist: Likewise.
47804         * abilist/libthread_db.abilist: Likewise.
47805         * abilist/libutil.abilist: Likewise.
47806         * abilist/libnss_db.abilist: New file.
47807
47808         * scripts/abilist.awk: Add support for indirect functions.
47809
47810         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
47811
47812         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
47813
47814         * shlib-versions: Remove entries for ports architectures.
47815
47816         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
47817         files in ports.
47818         * elf/stackguard-macros.h: Remove support for IA-64.
47819         * elf/tst-auditmod1.c: Likewise.
47820         * sysdeps/generic/ldsodefs.h: Likewise.
47821
47822         * sysdeps/unix/sysv/linux/configure.in: Ports should define
47823         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
47824         configure files.
47825
47826         [BZ #13552]
47827         * configure.in: Remove --enable-omitfp support.
47828         * FAQ.in: Adjust.
47829         * config.make.in: Likewise.
47830         * Makeconfig: Likewise.
47831         * manual/install.texi: Likewise.
47832
47833         In case anyone cares, the IA-64 architecture could move to ports.
47834         * sysdeps/ia64/*: Removed.
47835         * sysdeps/unix/sysv/linux/ia64/*: Removed.
47836         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
47837
47838         [BZ #13555]
47839         * configure.in: Remove entries for unsupported architectures.
47840
47841         [BZ #13533]
47842         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
47843         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
47844         routines.
47845         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
47846         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
47847         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
47848         fall back to using wcrtomb.
47849         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
47850         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
47851         renaming.
47852         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
47853         * wcsmbs/tst-c16c32-1.c: New file.
47854
47855         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
47856         local variable.
47857
47858         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
47859
47860         * elf/tst-unique3.cc: Add explicit declaration of gets.
47861         * elf/tst-unique3lib.cc: Likewise.
47862         * elf/tst-unique3lib2.cc: Likewise.
47863         * elf/tst-unique4.cc: Likewise.
47864
47865         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
47866
47867 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
47868
47869         [BZ #13566]
47870         * assert/assert.h (static_assert): Don't define for C++.
47871         * libio/stdio.h (gets): Do declare for C++ <= C++11.
47872         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
47873
47874 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
47875
47876         * iconv/loop.c (single loop): Fix assertion in storing of
47877         remaining bytes.
47878
47879         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
47880
47881 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
47882
47883         * posix/getconf.c: Update copyright year.
47884         * nss/getent.c: Likewise.
47885         * nss/makedb.c: Likewise.
47886         * iconv/iconvconfig.c: Likewise.
47887         * iconv/iconv_prog.c: Likewise.
47888         * elf/ldconfig.c: Likewise.
47889         * elf/pldd.c: Likewise.
47890         * elf/sotruss.ksh: Likewise.
47891         * catgets/gencat.c: Likewise.
47892         * csu/version.c: Likewise.
47893         * elf/ldd.bash.in: Likewise.
47894         * elf/sprof.c (print_version): Likewise.
47895         * locale/programs/locale.c: Likewise.
47896         * locale/programs/localedef.c: Likewise.
47897         * login/programs/pt_chown.c: Likewise.
47898         * nscd/nscd.c (print_version): Likewise.
47899         * debug/xtrace.sh: Likewise.
47900         * malloc/memusage.sh: Likewise.
47901         * malloc/mtrace.pl: Likewise.
47902         * debug/catchsegv.sh: Likewise.
47903
47904 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
47905
47906         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
47907         pure attribute.
47908
47909 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
47910
47911         [BZ #13533]
47912         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
47913         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
47914         transformations.
47915         * iconv/gconv_int.h: Likewise.
47916         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
47917         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
47918         from libc for GLIBC_2.16.
47919         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
47920         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
47921         * wcsmbs/uchar.h: Really define mbstate_t.
47922         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
47923         * wcsmbs/c16rtomb.c: New file.
47924         * wcsmbs/mbrtoc16.c: New file.
47925         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
47926         for C/POSIX locale.
47927         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
47928         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
47929
47930         * wcsmbs/wchar.h: Add missing __restrict.
47931
47932 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
47933
47934         [BZ #13532]
47935         * time/Makefile (routines): Add timespec_get.
47936         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
47937         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
47938         timespec for ISO C11.
47939         * time/timespec_get.c: New file.
47940         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
47941         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
47942
47943         [BZ #13531]
47944         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
47945         * stdlib/stdlib.h: Declare aligned_alloc.
47946         * Versions.def: Add GLIBC_2.16 for libc.
47947         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
47948
47949         [BZ 13527]
47950         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
47951         ISO C11.
47952
47953         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
47954         code.
47955
47956         [BZ #13528]
47957         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
47958
47959         [BZ #13529]
47960         * assert/assert.h (static_assert): Define.
47961
47962         * version.h: Update for 2.16 development version.
47963
47964         [BZ #13526]
47965         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
47966         _ISOC11_SOURCE.
47967
47968         * version.h (RELEASE): Bump for 2.15 release.
47969         * include/features.h (__GLIBC_MINOR__): Bump to 15.
47970
47971         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
47972         Patch by Marek Polacek <mpolacek@redhat.com>.
47973
47974         * bits/byteswap.h: Protect long long constants with __extension__.
47975         * sysdeps/i386/bits/byteswap.h: Likewise.
47976         * sysdeps/ia64/bits/byteswap.h: Likewise.
47977         * sysdeps/s390/bits/byteswap.h: Likewise.
47978         * sysdeps/x86_64/bits/byteswap.h: Likewise.
47979
47980 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
47981
47982         [BZ #13540]
47983         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
47984         destination buffer.
47985         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
47986
47987 2011-12-23  Marek Polacek  <polacek@redhat.com>
47988
47989         * elf/dl-addr.c (determine_info): Add inline keyword.
47990         * elf/tst-auditmod4b.c (check_avx): Likewise.
47991         * elf/tst-auditmod6b.c (check_avx): Likewise.
47992         * elf/tst-auditmod6c.c (check_avx): Likewise.
47993         * elf/tst-auditmod7b.c (check_avx): Likewise.
47994
47995 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
47996
47997         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
47998         !__SSE_MATH__.
47999
48000 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
48001
48002         [BZ #13540]
48003         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
48004         processing for last bytes.
48005
48006 2011-08-06  Bruno Haible  <bruno@clisp.org>
48007
48008         [BZ #13061]
48009         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
48010         U+0385, not to U+1FEE.
48011
48012         [BZ #13062]
48013         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
48014         entry for U+00A5 U+0301.
48015
48016 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
48017
48018         [BZ #13166]
48019         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
48020         buffer for the output is too small.
48021
48022         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
48023         optimization.
48024
48025         [BZ #13185]
48026         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
48027         SSE flags if possible.
48028
48029 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
48030
48031         [BZ #13540]
48032         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
48033         processing for last bytes.
48034
48035 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
48036
48037         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
48038         (syscall-list-default-options, syscall-list-default-condition)
48039         (syscall-list-includes): Define.
48040         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
48041         list of ABIs and options and #if conditions for each ABI.  Do not
48042         handle common syscalls between ABIs specially.
48043         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
48044         Remove.
48045         (syscall-list-variants, syscall-list-32bit-options)
48046         (syscall-list-32bit-condition, syscall-list-64bit-options)
48047         (syscall-list-64bit-condition): Define.
48048         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
48049         (syscall-list-variants, syscall-list-32bit-options)
48050         (syscall-list-32bit-condition, syscall-list-64bit-options)
48051         (syscall-list-64bit-condition): Define.
48052         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
48053         Remove.
48054         (syscall-list-variants, syscall-list-32bit-options)
48055         (syscall-list-32bit-condition, syscall-list-64bit-options)
48056         (syscall-list-64bit-condition): Define.
48057         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
48058         Remove.
48059         (syscall-list-variants, syscall-list-32bit-options)
48060         (syscall-list-32bit-condition, syscall-list-64bit-options)
48061         (syscall-list-64bit-condition): Define.
48062
48063 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
48064
48065         * locale/iso-639.def: Add brx entry.
48066
48067         [BZ #13328]
48068         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
48069         Proposed by Mariusz_Cukr <marcukr@op.pl>.
48070
48071         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
48072         __feraiseexcept_renamed.
48073
48074 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
48075
48076         [BZ #13538]
48077         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
48078         EPOLLET with unsigned values.
48079         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
48080         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
48081
48082         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
48083         to large cancellation.
48084         * math/s_cacoshf.c: Likewise.
48085         * math/s_cacoshl.c: Likewise.
48086
48087 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
48088
48089         [BZ #13305]
48090         [BZ #12786]
48091         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
48092         * math/s_cacoshf.c: Likewise.
48093         * math/s_cacoshl.c: Likewise.
48094
48095 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
48096
48097         [BZ #13439]
48098         * iconv/gconv.h: Define __GCONV_SWAP.
48099         * iconvdata/unicode.c: The swap bit must be stored in __flags.
48100         * iconvdata/utf-16.c: Likewise.
48101         * iconvdata/utf-32.c: Likewise.
48102
48103 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
48104
48105         [BZ #13524]
48106         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
48107         numerator after shifting it by one limb.
48108
48109 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
48110
48111         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
48112         under [__USE_EXTERN_INLINES].
48113
48114 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
48115
48116         [BZ #13446]
48117         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
48118
48119 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48120
48121         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
48122         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
48123         optimized code.
48124         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
48125         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
48126         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
48127         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
48128         for strncasecmp/strncasecmp_l compilation.
48129         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
48130         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
48131
48132 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
48133
48134         [BZ #13484]
48135         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
48136         of __asm__.
48137
48138 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
48139
48140         [BZ #13506]
48141         * time/tzfile.c (__tzfile_read): Check values from file header.
48142
48143 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
48144
48145         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
48146         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
48147         * powerpc/powerpc32/dl-start.S: Likewise.
48148         * powerpc/powerpc32/elf/start.S: Likewise.
48149         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
48150         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
48151         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
48152         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
48153         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
48154         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
48155         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
48156         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
48157         * powerpc/powerpc32/fpu/s_round.S: Likewise.
48158         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
48159         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
48160         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
48161         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
48162         * powerpc/powerpc32/memset.S: Likewise.
48163         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
48164         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
48165         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
48166         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
48167         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
48168         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
48169         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
48170         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
48171         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
48172         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
48173         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
48174         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
48175         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
48176
48177 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48178
48179         * math/libm-test.inc: Added more nearbyint tests.
48180         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
48181         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
48182         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
48183         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
48184
48185 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
48186
48187         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
48188         FD_CLOEXEC.
48189
48190 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
48191
48192         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
48193         Add wcscpy-ssse3 wcscpy-c.
48194         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
48195         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
48196         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
48197         * sysdeps/x86_64/wcschr.S: New file.
48198         * sysdeps/x86_64/wcsrchr.S: New file.
48199         * string/test-strcmp.c: Remove checking of wcscmp function for
48200         wrong alignments.
48201         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
48202         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
48203         wcsrchr-sse2 wcsrchr-c.
48204         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
48205         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
48206         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
48207         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
48208         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
48209         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
48210         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
48211         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
48212         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
48213         * wcsmbc/wcschr.c (WCSCHR): New macro.
48214
48215 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
48216
48217         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
48218         * wcsmbs/test-wcsrchr.c: New file.
48219         * string/test-strrchr.c: Add wcsrchr support.
48220         (WIDE): New macro.
48221         * wcsmbs/test-wcscpy.c: New file.
48222         * string/test-strcpy.c: Add wcscpy support.
48223         (WIDE): New macro.
48224
48225 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
48226
48227         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
48228         the inner loop.
48229
48230 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
48231
48232         [BZ #13472]
48233         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
48234
48235 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
48236
48237         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
48238         Minor optimizations.
48239
48240         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
48241         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
48242         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
48243
48244 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
48245
48246         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
48247         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
48248         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
48249         for gcc to avoid warnings.
48250         * inet/Makefile (tests): Add tst-checks.
48251         * inet/tst-checks.c: New file.
48252
48253         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
48254         warning.
48255
48256         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
48257         __wmemcmp_sse2.
48258
48259         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
48260         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
48261
48262         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
48263
48264 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
48265
48266         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
48267         problem.
48268
48269         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
48270
48271 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
48272
48273         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
48274         conditional on GCC version.
48275         (__arch_compare_and_exchange_val_8_acq)
48276         (__arch_compare_and_exchange_val_16_acq)
48277         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
48278         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
48279         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
48280
48281 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
48282
48283         * sysdeps/sh/backtrace.c: New file.
48284
48285 2011-12-02  Andreas Schwab  <schwab@redhat.com>
48286
48287         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
48288         parenthesis.
48289
48290 2011-12-01  Andreas Schwab  <schwab@redhat.com>
48291
48292         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
48293         falling back to utime.
48294
48295 2011-11-30  Andreas Schwab  <schwab@redhat.com>
48296
48297         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
48298         expectations for float.
48299
48300 2011-11-29  Andreas Schwab  <schwab@redhat.com>
48301
48302         * locale/weight.h (findidx): Add parameter len.
48303         * locale/weightwc.h (findidx): Likewise.
48304         * posix/fnmatch_loop.c (FCT): Adjust caller.
48305         * posix/regcomp.c (build_equiv_class): Likewise.
48306         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
48307         * posix/regexec.c (check_node_accept_bytes): Likewise.
48308         * string/strcoll_l.c (STRCOLL): Likewise.
48309         * string/strxfrm_l.c (STRXFRM): Likewise.
48310
48311 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
48312
48313         * Makefile.in: Remove CVSOPT handling.
48314         * configure.in: Remove use of AC_REVISION.
48315         * iconvdata/Makefile (distribute): No need to filter out CVS.
48316         * scripts/list-sources.sh: Remove CVS, subversion and monotone
48317         handling.
48318
48319 2011-11-16  Andreas Schwab  <schwab@redhat.com>
48320
48321         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
48322         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
48323         [USE_AS_STRNCASECMP_L]: Likewise.
48324         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
48325         NO_TLS_DIRECT_SEG_REFS.
48326         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
48327         Fix argument offsets for non-PIC.
48328         [USE_AS_STRNCASECMP_L]: Likewise.
48329         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
48330         NO_TLS_DIRECT_SEG_REFS.
48331
48332 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
48333
48334         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
48335         O_CLOEXEC.
48336         * locale/loadlocale.c (_nl_load_locale): Likewise.
48337
48338 2011-11-15  Andreas Schwab  <schwab@redhat.com>
48339
48340         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
48341         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
48342         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
48343         (SYSCALL_GETTIME): Set errno on error.
48344
48345         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
48346         count references to noai6ai_cached.
48347
48348 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
48349
48350         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
48351
48352         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
48353         FD_CLOEXEC for /proc/self/maps.
48354
48355         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
48356         FD_CLOEXEC for /proc/meminfo.
48357
48358         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
48359         gai.conf.
48360
48361         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
48362         FD_CLOEXEC for given file.
48363
48364         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
48365
48366         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
48367         FD_CLOEXEC for /etc/hosts.
48368         (_gethtent): Likewise.
48369
48370         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
48371
48372         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
48373         cancellation and set FD_CLOEXEC for /etc/netgroup.
48374
48375         * nss/nss_files/files-key.c (search): Don't allow cancellation when
48376         reading /etc/publickey.
48377
48378         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
48379         allow cancellation when reading /etc/group.
48380
48381         * nss/nss_files/files-alias.c (internal_setent): Don't allow
48382         cancellation.
48383         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
48384
48385         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
48386         when using data file.
48387
48388         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
48389
48390         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
48391         (write_nis_obj): Use "c" and "e" in fopen.
48392
48393         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
48394
48395         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
48396
48397         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
48398
48399         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
48400
48401         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
48402         locale.alias.
48403
48404         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
48405
48406         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
48407
48408         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
48409
48410         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
48411         file parsing and set FD_CLOEXEC.
48412
48413 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
48414
48415         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
48416
48417 2011-11-14  Andreas Schwab  <schwab@redhat.com>
48418
48419         * malloc/arena.c (arena_get2): Don't call reused_arena when
48420         _int_new_arena failed.
48421
48422 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
48423
48424         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
48425         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
48426         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
48427         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
48428         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
48429         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
48430         to compile strcasecmp and strncasecmp.
48431         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
48432         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
48433
48434         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
48435
48436 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
48437
48438         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
48439         locale-defines.sym to gen-as-const-headers.
48440         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
48441         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
48442         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
48443         to compile strcasecmp and strncasecmp.
48444         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
48445         strcasecmp_l and strncasecmp_l.
48446         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
48447         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
48448         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
48449         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
48450         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
48451         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
48452         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
48453         * sysdeps/i386/i686/multiarch/strncase.S: New file.
48454         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
48455         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
48456         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
48457
48458 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
48459
48460         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
48461         result of SYSDEP_GETTIME_CPU to retval.
48462         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
48463         parameter list to macro.  Remove trailing semicolon.  Adjust users.
48464
48465         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
48466         variable.
48467
48468         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
48469         mantissa words.
48470         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
48471
48472         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
48473         from unused variable.
48474
48475         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
48476         DWARF definitions.
48477         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
48478         for assembling.
48479
48480         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
48481         over namespaces.
48482
48483         * sunrpc/rpc_prot.c (rejected): Fix case value.
48484
48485         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
48486         unsigned long long int to avoid warnings in shift.
48487
48488         * posix/regex_internal.c (re_string_reconstruct): Actually use result
48489         of use of trans.
48490         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
48491         variable tmp.
48492
48493         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
48494         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
48495         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
48496
48497         * nis/nis_table.c (nis_list): Use variable of correct type for
48498         result of __follow_path call.
48499
48500 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48501
48502         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
48503         of math functions ceil, trunc, floor, round, and sqrt, when
48504         avaliable on the platform.
48505         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
48506         name clash.
48507         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
48508         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
48509         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
48510
48511 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
48512
48513         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
48514         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
48515
48516 2011-11-11  Roland McGrath  <roland@hack.frob.com>
48517
48518         * include/unistd.h: Fix __readlink return type.
48519         Reported by Chris Metcalf <cmetcalf@tilera.com>.
48520
48521 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
48522
48523         * stdlib/ucontext.h: Undo last change for makecontext.
48524
48525 2011-11-11  Andreas Schwab  <schwab@redhat.com>
48526
48527         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
48528
48529         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
48530         * setjmp/setjmp.h: Mark functions as non-leaf.
48531         * setjmp/bits/setjmp2.h: Likewise.
48532         * stdlib/ucontext.h: Likewise.
48533
48534 2011-11-10  Andreas Schwab  <schwab@redhat.com>
48535
48536         * malloc/arena.c (_int_new_arena): Don't increment narenas.
48537         (reused_arena): Don't check arena limit.
48538         (arena_get2): Atomically check arena limit.
48539
48540 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
48541
48542         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
48543         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
48544
48545         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
48546         instructions.
48547
48548 2011-11-07  Andreas Schwab  <schwab@redhat.com>
48549
48550         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
48551         handler when locking.
48552
48553         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
48554         Fix size of allocated buffer.
48555
48556 2011-11-04  Andreas Schwab  <schwab@redhat.com>
48557
48558         [BZ #10103]
48559         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
48560         declarations for long double functions.
48561         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
48562
48563         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
48564
48565 2011-11-03  Andreas Schwab  <schwab@redhat.com>
48566
48567         * nscd/nscd.c (main): Don't start AVC thread until credentials are
48568         installed.
48569
48570         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
48571         is disabled.
48572
48573 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
48574
48575         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
48576
48577 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
48578
48579         * include/alloca.h (stackinfo_alloca_round): Define.
48580         (extend_alloca): Use it.
48581         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
48582         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
48583         here.
48584
48585         * scripts/check-local-headers.sh: Ignore libaudit.h.
48586
48587         * nscd/Makefile (extra-objs): Make recursively expanded.
48588
48589 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
48590
48591         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
48592         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
48593
48594         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
48595         * posix/tst-rfc3484-2.c: Likewise.
48596         * posix/tst-rfc3484-3.c: Likewise.
48597
48598         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
48599         process_vm_writev.
48600         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
48601         process_vm_writev.
48602         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
48603         process_vm_writev from libc using GLIBC_2.15 version.
48604
48605         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
48606
48607 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
48608
48609         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
48610         stack usage.
48611
48612 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
48613
48614         [BZ #13367]
48615         * nss/getent.c (initgroups_keys): Show error message in case no group
48616         names are given.
48617
48618         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
48619         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
48620         __bump_nl_timestamp.
48621         * nscd/connections (nscd_init): When host database is served open
48622         netlink socket and request notification about configuration changes.
48623         (main_loop_poll): Track netlink file descriptor and bump timestamp
48624         in case data becomes available.
48625         (main_loop_epoll): Likewise.
48626         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
48627         (database_pers_head): Add extra_data fileds.
48628         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
48629         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
48630         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
48631         Adjust caller.
48632         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
48633         in6ai data, call __free_in6ai.
48634         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
48635         Add -DHAVE_NETLINK.
48636         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
48637         interface information.  Reuse previous data if netlink timestamp
48638         is not changed.
48639         (__bump_nl_timestamp): New function.
48640         (__free_in6ai): New function.
48641
48642 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
48643
48644         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
48645         close_not_cancel_no_status here.
48646         (__check_pf): Reorganize code a bit to not call close twice if OOM.
48647
48648 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
48649
48650         [BZ #13276]
48651         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
48652         return value.
48653
48654         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
48655         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
48656         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
48657
48658 2011-07-03  Andreas Jaeger  <aj@suse.de>
48659
48660         [BZ #10709]
48661         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
48662         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
48663         * math/libm-test.inc (sin_test): Add test case.
48664
48665 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
48666
48667         [BZ #13337]
48668         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
48669         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
48670
48671         * elf/chroot_canon.c (chroot_canon): Cleanups.
48672
48673         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
48674
48675         [BZ #13335]
48676         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
48677         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
48678
48679         * string/test-strchr.c: Make usable for strchrnul testing.
48680         * string/test-strchrnul.c: New file.
48681         * string/Makefile (strop-tests): Add strchrnul.
48682
48683         * po/it.po: Update from translation team.
48684         * po/es.po: Likewise.
48685
48686 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
48687
48688         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
48689         the three constants needed as parameters.  Drop the others.
48690         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
48691         __m128i_strloadu_tolower.
48692         Create and initialize variable zero and use it in all the places
48693         where _mm_setzero_si128 was used.
48694
48695         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
48696         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
48697         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
48698         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
48699         anymore.
48700         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
48701         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
48702         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
48703         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
48704         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
48705         __mpranred, __mptan.
48706         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
48707         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
48708         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
48709         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
48710         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
48711         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
48712         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
48713         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
48714         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
48715
48716 2011-10-28  Andreas Schwab  <schwab@redhat.com>
48717
48718         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
48719         redefine if SHARED.
48720         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
48721
48722         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
48723         wide char related routines to wcsmbs subdir.
48724
48725 2011-10-27  Andreas Schwab  <schwab@redhat.com>
48726
48727         [BZ #13344]
48728         * misc/sys/cdefs.h (__THROWNL): Define.
48729         * posix/unistd.h: Use __THREADNL instead of __THREAD
48730         for memory synchronization functions.
48731
48732 2011-10-26  Roland McGrath  <roland@hack.frob.com>
48733
48734         [BZ #13349]
48735         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
48736         doesn't exist.
48737         * manual/stdio.texi (Obstack Streams): Node removed.
48738
48739 2011-10-26  Andreas Schwab  <schwab@redhat.com>
48740
48741         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
48742         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
48743         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
48744
48745         * math/math_private.h (math_force_eval): Allow non-addressable
48746         arguments.
48747         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
48748
48749 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
48750
48751         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
48752         file is not needed.
48753
48754         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
48755         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
48756         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
48757         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
48758         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
48759         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
48760         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
48761         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
48762         Add AVX variants.
48763         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
48764         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
48765         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
48766         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
48767         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
48768         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
48769         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
48770         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
48771         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
48772         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
48773         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
48774         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
48775         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
48776         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
48777         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
48778         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
48779         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
48780         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
48781         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
48782
48783         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
48784         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
48785
48786         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
48787         place.  Use VEX encoding when compiling for AVX.
48788
48789 2011-10-25  Andreas Schwab  <schwab@redhat.com>
48790
48791         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
48792         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
48793
48794         * string/test-strchr.c (do_test): Don't generate NUL bytes.
48795
48796 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
48797
48798         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
48799         useless if() expression.
48800         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
48801         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
48802         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
48803         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
48804         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
48805         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
48806         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
48807         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
48808         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
48809         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
48810         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
48811         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
48812         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
48813         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
48814         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
48815         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
48816         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
48817         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
48818         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
48819
48820         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
48821
48822 2011-10-25  Andreas Schwab  <schwab@redhat.com>
48823
48824         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
48825         condition.
48826         * elf/dl-fini.c (_dl_sort_fini): Likewise.
48827
48828 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
48829
48830         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
48831         .text section.  Avoid duplicate constants.
48832         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
48833         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
48834         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
48835         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
48836         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
48837         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
48838         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
48839         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
48840         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
48841         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
48842         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
48843         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
48844         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
48845         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
48846         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
48847         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
48848         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
48849         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
48850         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
48851         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
48852         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
48853         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
48854         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
48855         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
48856         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
48857         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
48858         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
48859         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
48860         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
48861         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
48862         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
48863         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
48864         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
48865         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
48866         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
48867         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
48868         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
48869         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
48870         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
48871         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
48872         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
48873         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
48874         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
48875         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
48876         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
48877
48878 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
48879
48880         * sysdeps/x86_64/dla.h: Move to ...
48881         * sysdeps/x86_64/fpu/dla.h: ...here.
48882         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
48883         situations.  Use __builtin_fma only for gcc 4.6 and up.
48884
48885         * config.make.in: Add have-mfma4 entry.
48886         * configure.in: Substitute libc_cv_cc_fma4.
48887         * math/Makefile (dbl-only-routines): Add sincostab.
48888         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
48889         Use __sincostab not sincos.
48890         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
48891         name is a macro.
48892         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
48893         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
48894         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
48895         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
48896         using __copysign.
48897         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
48898         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
48899         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
48900         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
48901         and __inv.
48902         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
48903         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
48904         __copysign.
48905         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
48906         define aliases when function name is a macro.
48907         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
48908         sysdeps/ieee754/dbl-64/sincos.tbl.
48909         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
48910         fma4-enabled routines.
48911         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
48912         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
48913         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
48914         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
48915         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
48916         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
48917         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
48918         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
48919         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
48920         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
48921         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
48922         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
48923         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
48924         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
48925         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
48926         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
48927         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
48928         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
48929         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
48930         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
48931         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
48932         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
48933         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
48934         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
48935         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
48936         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
48937         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
48938         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
48939         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
48940         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
48941
48942         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
48943         rename.
48944         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
48945         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
48946         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
48947         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
48948         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
48949         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
48950         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
48951         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
48952
48953 2011-10-24  Andreas Schwab  <schwab@redhat.com>
48954
48955         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
48956
48957 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
48958
48959         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
48960
48961         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
48962         prediction.
48963         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
48964
48965         * string/strnlen.c: Don't define STRNLEN, reverse logic.
48966         Remove unused variable magic_bits.
48967         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
48968
48969         * string/strnlen.c: Define and use STRNLEN macro.
48970         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
48971         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
48972         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
48973         * wcsmbs/wcslen.c: Define and use WCSLEN.
48974         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
48975         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
48976         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
48977         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
48978         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
48979         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
48980         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
48981
48982 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
48983
48984         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
48985         strnlen-sse2-no-bsf.
48986         Rename strlen-no-bsf to strlen-sse2-no-bsf.
48987         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
48988         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
48989         Add strnlen support.
48990         (USE_AS_STRNLEN): New macro.
48991         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
48992         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
48993         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
48994         * sysdeps/x86_64/wcslen.S: New file.
48995
48996 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
48997
48998         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
48999         XMM-moves are used for copying on small sizes.
49000
49001 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
49002
49003         * wcsmbs/Makefile (strop-tests): Add wcschr.
49004         * wcsmbs/test-wcschr.c: New file.
49005         * string/test-strchr.c: Update.
49006         Add wcschr support.
49007         (WIDE): New macro.
49008
49009 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
49010
49011         * wcsmbs/Makefile (strop-tests): Add wcslen.
49012         * wcsmbs/test-wcslen.c: New file.
49013         * string/test-strlen.c: Update.
49014         Add wcslen support.
49015         (WIDE): New macro.
49016
49017 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
49018
49019         * po/it.po: Update from translation team.
49020
49021 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
49022
49023         * sysdeps/x86_64/wcscmp.S: Update.
49024         Fix wrong comparison semantics.
49025         wcscmp shall use signed comparison not unsigned.
49026         Don't use substraction to avoid overflow bug.
49027         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
49028         * wcsmbc/wcscmp.c: Likewise.
49029         * string/test-strcmp.c: Likewise.
49030         Add new tests to check cases with negative values.
49031
49032 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
49033
49034         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
49035         * sysdeps/x86_64/dla.h: ...here.  New file.
49036         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
49037         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
49038         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
49039         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
49040         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
49041         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
49042         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
49043         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
49044         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
49045
49046 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
49047
49048         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
49049         __ynl_finite aliases.
49050
49051 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
49052
49053         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
49054
49055         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
49056         define DLA_FMA.
49057         [DLA_FMA] (EMULV): Use DLA_FMA.
49058         [DLA_FMA] (MUL12): Use EMULV.
49059         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
49060         that are not needed.
49061         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
49062         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
49063         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
49064         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
49065         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
49066         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
49067         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
49068
49069 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
49070
49071         * math/s_nan.c: Undef __nan.
49072         * math/s_nanf.c: Undef __nanf.
49073         * math/s_nanl.c: Undef __nanl.
49074         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
49075         "math_private.h".
49076
49077 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
49078
49079         * math/s_catan.c: Add branch predictions.
49080         * math/s_catanf.c: Likewise.
49081         * math/s_catanh.c: Likewise.
49082         * math/s_catanhf.c: Likewise.
49083         * math/s_catanhl.c: Likewise.
49084         * math/s_catanl.c: Likewise.
49085         * math/s_cexp.c: Likewise.
49086         * math/s_cexpf.c: Likewise.
49087         * math/s_cexpl.c: Likewise.
49088         * math/s_clog.c: Likewise.
49089         * math/s_clog10.c: Likewise.
49090         * math/s_clog10f.c: Likewise.
49091         * math/s_clog10l.c: Likewise.
49092         * math/s_clogf.c: Likewise.
49093         * math/s_clogl.c: Likewise.
49094         * math/s_csqrt.c: Likewise.
49095         * math/s_csqrtf.c: Likewise.
49096         * math/s_csqrtl.c: Likewise.
49097         * math/s_ctanf.c: Likewise.
49098         * math/s_ctanh.c: Likewise.
49099         * math/s_ctanhf.c: Likewise.
49100         * math/s_ctanhl.c: Likewise.
49101         * math/s_ctanl.c: Likewise.
49102
49103         * math/math_private.h: Define __nan, __nanf, __nanl.
49104         * math/s_cacosh.c: Include <math_private.h>.
49105         * math/s_cacoshl.c: Likewise.
49106         * math/s_casinh.c: Likewise.
49107         * math/s_casinhf.c: Likewise.
49108         * math/s_casinhl.c: Likewise.
49109         * math/s_ccos.c: Rely entire on ccosh.
49110         * math/s_ccosf.c: Rely entire on ccoshf.
49111         * math/s_ccosl.c: Rely entirely on ccoshl.
49112         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
49113         Remove tests for FE_INVALID.
49114         * math/s_ccoshf.c: Likewise.
49115         * math/s_ccoshl.c: Likewise.
49116         * math/s_csin.c: Likewise.
49117         * math/s_csinf.c: Likewise.
49118         * math/s_csinh.c Likewise.
49119         * math/s_csinhf.c: Likewise.
49120         * math/s_csinhl.c: Likewise.
49121         * math/s_csinl.c: Likewise.
49122         * math/s_ctan.c: Likewise.
49123         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
49124         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
49125         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
49126
49127 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
49128
49129         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
49130         compilation problems.
49131
49132         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
49133         __builtin_expect.
49134
49135 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
49136
49137         * sysdeps/i386/configure.in: Test for -mfma4 option.
49138         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
49139         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
49140         COMMON_CPUID_INDEX_80000001.
49141         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
49142         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
49143         use it if FMA3 is not supported.
49144         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
49145
49146         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
49147         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
49148
49149 2011-10-20  Andreas Schwab  <schwab@redhat.com>
49150
49151         [BZ #12892]
49152         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
49153         it would create a cycle with a link time dependency.
49154
49155 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
49156
49157         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
49158         instruction.
49159         * string/Makefile (strop-tests): Add rawmemchr.
49160         * string/test-rawmemchr.c: New file.
49161
49162         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
49163         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
49164         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
49165         when compiling str{,n}casecmp and when AVX is available.  Hook up
49166         new optimized code in initializers.
49167
49168 2011-10-19  Andreas Schwab  <schwab@redhat.com>
49169
49170         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
49171         __feraiseexcept instead of feraiseexcept.
49172
49173 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
49174
49175         * math/math_private.h: Define defaults for libc_fetestexcept and
49176         libc_feupdateenv.
49177         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
49178         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
49179         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
49180         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
49181         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
49182         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
49183         libc_fetestexcept and libc_feupdateenv.
49184
49185         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
49186         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
49187         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
49188         * sysdeps/x86_64/fpu/math_private.h: Define special version of
49189         libc_feholdexcept_setround.
49190
49191         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
49192         Add s_nearbyint-c and s_nearbyintf-c.
49193         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
49194         nearbyintf inlines.
49195         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
49196         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
49197         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
49198         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
49199
49200         * math/math_private.h: Define defaults for libc_fegetround,
49201         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
49202         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
49203         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
49204         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
49205         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
49206         standard functions.
49207         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
49208         Remove comments and hacks for old compiler versions.
49209         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
49210         libc_fegetround, libc_fesetround, libc_feholdexcept, and
49211         libc_feholdexceptl.
49212
49213 2011-10-18  Andreas Schwab  <schwab@redhat.com>
49214
49215         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
49216         (__feraiseexcept_renamed): Add __NTH.
49217         (feraiseexcept): Add __NTH.  Rename local variables to fix
49218         namespace violations.
49219
49220 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
49221
49222         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
49223
49224         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
49225
49226         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
49227         recently added interfaces.
49228         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
49229
49230         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
49231         about macro parameter expansion.
49232
49233         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
49234         __NO_MATH_INLINES is defined.  Cleanups.
49235
49236         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
49237         and __floorf is target has SSE4.1.
49238         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
49239         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
49240         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
49241         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
49242
49243         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
49244         name.
49245         (floorf): Likewise.
49246
49247         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
49248
49249 2011-10-17  Andreas Schwab  <schwab@redhat.com>
49250
49251         * misc/sys/cdefs.h: Fix last change.
49252
49253         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
49254         database lookup.
49255
49256 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
49257
49258         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
49259
49260         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
49261         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
49262         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
49263         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
49264         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
49265         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
49266         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
49267         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
49268         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
49269         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
49270         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
49271         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
49272         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
49273         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
49274         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
49275         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
49276         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
49277         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
49278         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
49279         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
49280         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
49281         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
49282
49283         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
49284         ceil, ceilf, floor, floorf.
49285
49286         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
49287         Perform IRELATIVE relocations last.
49288
49289         * elf/do-rel.h: Add another parameter nrelative, replacing the
49290         local variable with the same name.  Change name of the function
49291         to end in Rel or Rela (uppercase).
49292         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
49293         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
49294         elf_dynamic_do_##reloc function.
49295
49296 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
49297
49298         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
49299         is sufficient, at least on modern CPUs.
49300
49301         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
49302
49303         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
49304         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
49305
49306         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
49307         __expl_finite.
49308         * math/bits/math-finite.h: Add entries for exp.
49309         * math/e_expl.c: Add __*_finite alias.
49310         * sysdeps/i386/fpu/e_exp.S: Likewise.
49311         * sysdeps/i386/fpu/e_expf.S: Likewise.
49312         * sysdeps/i386/fpu/e_expl.c: Likewise.
49313         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
49314         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
49315         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
49316         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
49317         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
49318         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
49319         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
49320
49321         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
49322         is sufficient, at least on modern CPUs.
49323
49324         * ctype/ctype-info.c (__ctype_init): Define.
49325         * include/ctype.h (__ctype_init): Declare.
49326         (__ctype_b_loc): The variable is always initialized.
49327         (__ctype_toupper_loc): Likewise.
49328         (__ctype_tolower_loc): Likewise.
49329         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
49330         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
49331
49332 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
49333
49334         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
49335
49336         * configure.in: Also look in $cxxmachine/include for C++ system
49337         headers.
49338
49339 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
49340
49341         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
49342         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
49343         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
49344         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
49345         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
49346         (USE_AS_WMEMCMP): New macro.
49347         Fixing indents.
49348         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
49349         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
49350         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
49351         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
49352         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
49353         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
49354         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
49355         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
49356         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
49357         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
49358         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
49359         (USE_AS_WMEMCMP): New macro.
49360         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
49361         * sysdeps/string/test-memcmp.c: Update.
49362         Fix simple_wmemcmp.
49363         Add new tests.
49364         * wcsmbs/wmemcmp.c: Update.
49365         (WMEMCMP): New macro.
49366         Fix overflow bug.
49367
49368 2011-10-12  Andreas Jaeger  <aj@suse.de>
49369
49370         [BZ #13268]
49371         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
49372
49373 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
49374
49375         * libio/iofwide.c (do_length): Avoid warning.
49376
49377         * ctype/ctype.h (__isctype_f): Add missing __THROW.
49378
49379 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
49380
49381         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
49382
49383         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
49384         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
49385         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
49386         * sysdeps/i386/i686/fpu/e_log.S: New file.
49387         * sysdeps/i386/i686/fpu/e_logf.S: New file.
49388         * sysdeps/i386/i686/fpu/e_logl.S: New file.
49389
49390         * ctype/ctype.h: Add support for inlined isXXX functions when
49391         compiling C++ code.
49392
49393 2011-10-14  Andreas Schwab  <schwab@redhat.com>
49394
49395         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
49396
49397         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
49398
49399 2011-10-13  Roland McGrath  <roland@hack.frob.com>
49400
49401         [BZ #13291]
49402         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
49403
49404 2011-10-13  Andreas Schwab  <schwab@redhat.com>
49405
49406         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
49407         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
49408         feraiseexcept.
49409
49410         * sysdeps/x86_64/memrchr.S: Check for zero size.
49411
49412         * string/stratcliff.c: Add memrchr tests.
49413
49414 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
49415
49416         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
49417         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
49418         rawmemchr-sse2 rawmemchr-sse2-bsf.
49419         * sysdeps/i386/i686/multiarch/memchr.S: New file.
49420         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
49421         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
49422         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
49423         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
49424         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
49425         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
49426         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
49427         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
49428         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
49429         * string/memrchr.c (MEMRCHR): New macro.
49430
49431 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
49432
49433         Add integration with gcc's -ffinite-math-only and optimize wrapper
49434         functions in libm.
49435         * Versions.def: Define GLIBC_2.15 version for libm.
49436         * math/Makefile (headers): Add bits/math-finite.h.
49437         * math/bits/math-finite.h: New file.
49438         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
49439         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
49440         * math/e_acoshl.c: Add __*_finite alias.
49441         * math/e_acosl.c: Likewise.
49442         * math/e_asinl.c: Likewise.
49443         * math/e_atan2l.c: Likewise.
49444         * math/e_atanhl.c: Likewise.
49445         * math/e_coshl.c: Likewise.
49446         * math/e_exp10.c: Likewise.
49447         * math/e_exp10f.c: Likewise.
49448         * math/e_exp10l.c: Likewise.
49449         * math/e_exp2l.c: Likewise.
49450         * math/e_fmodl.c: Likewise.
49451         * math/e_gammal_r.c: Likewise.
49452         * math/e_hypotl.c: Likewise.
49453         * math/e_j0l.c: Likewise.
49454         * math/e_j1l.c: Likewise.
49455         * math/e_jnl.c: Likewise.
49456         * math/e_lgammal_r.c: Likewise.
49457         * math/e_log10l.c: Likewise.
49458         * math/e_log2l.c: Likewise.
49459         * math/e_logl.c: Likewise.
49460         * math/e_powl.c: Likewise.
49461         * math/e_sinhl.c: Likewise.
49462         * math/e_sqrtl.c: Likewise.
49463         * math/e_scalb.c: Completely rewritten and optimized.
49464         * math/e_scalbf.c: Likewise.
49465         * math/e_scalbl.c: Likewise.
49466         * math/w_acos.c: Likewise.
49467         * math/w_acosf.c: Likewise.
49468         * math/w_acosl.c: Likewise.
49469         * math/w_acosh.c: Likewise.
49470         * math/w_acoshf.c: Likewise.
49471         * math/w_acoshl.c: Likewise.
49472         * math/w_asin.c: Likewise.
49473         * math/w_asinf.c: Likewise.
49474         * math/w_asinl.c: Likewise.
49475         * math/w_atan2.c: Likewise.
49476         * math/w_atan2f.c: Likewise.
49477         * math/w_atan2l.c: Likewise.
49478         * math/w_atanh.c: Likewise.
49479         * math/w_atanhf.c: Likewise.
49480         * math/w_atanhl.c: Likewise.
49481         * math/w_exp10.c: Likewise.
49482         * math/w_exp10f.c: Likewise.
49483         * math/w_exp10l.c: Likewise.
49484         * math/w_fmod.c: Likewise.
49485         * math/w_fmodf.c: Likewise.
49486         * math/w_fmodl.c: Likewise.
49487         * math/w_j0.c: Likewise.
49488         * math/w_j0f.c: Likewise.
49489         * math/w_j0l.c: Likewise.
49490         * math/w_j1.c: Likewise.
49491         * math/w_j1f.c: Likewise.
49492         * math/w_j1l.c: Likewise.
49493         * math/w_jn.c: Likewise.
49494         * math/w_jnf.c: Likewise.
49495         * math/w_log.c: Likewise.
49496         * math/w_logf.c: Likewise.
49497         * math/w_logl.c: Likewise.
49498         * math/w_log10.c: Likewise.
49499         * math/w_log10f.c: Likewise.
49500         * math/w_log10l.c: Likewise.
49501         * math/w_log2.c: Likewise.
49502         * math/w_log2f.c: Likewise.
49503         * math/w_log2l.c: Likewise.
49504         * math/w_pow.c: Likewise.
49505         * math/w_powf.c: Likewise.
49506         * math/w_powl.c: Likewise.
49507         * math/w_remainder.c: Likewise.
49508         * math/w_remainderf.c: Likewise.
49509         * math/w_remainderl.c: Likewise.
49510         * math/w_scalb.c: Likewise.
49511         * math/w_scalbf.c: Likewise.
49512         * math/w_scalbl.c: Likewise.
49513         * math/w_sqrt.c: Likewise.
49514         * math/w_sqrtf.c: Likewise.
49515         * math/w_sqrtl.c: Likewise.
49516         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
49517         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
49518         used.
49519         * math/math_private.h: Declare __kernel_standard_f.
49520         * math/w_cosh.c: Remove cruft and optimize a bit.
49521         * math/w_coshf.c: Likewise.
49522         * math/w_coshl.c: Likewise.
49523         * math/w_exp2.c: Likewise.
49524         * math/w_exp2f.c: Likewise.
49525         * math/w_exp2l.c: Likewise.
49526         * math/w_hypot.c: Likewise.
49527         * math/w_hypotf.c: Likewise.
49528         * math/w_hypotl.c: Likewise.
49529         * math/w_lgamma.c: Likewise.
49530         * math/w_lgamma_r.c: Likewise.
49531         * math/w_lgammaf.c: Likewise.
49532         * math/w_lgammaf_r.c: Likewise.
49533         * math/w_lgammal.c: Likewise.
49534         * math/w_lgammal_r.c: Likewise.
49535         * math/w_sinh.c: Likewise.
49536         * math/w_sinhf.c: Likewise.
49537         * math/w_sinhl.c: Likewise.
49538         * math/w_tgamma.c: Likewise.
49539         * math/w_tgammaf.c: Likewise.
49540         * math/w_tgammal.c: Likewise.
49541         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
49542         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
49543         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
49544         Minor optimizations.  Pretty printing.  Remove cruft.
49545         * sysdeps/i386/fpu/e_acosf.S: Likewise.
49546         * sysdeps/i386/fpu/e_acosh.S: Likewise.
49547         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
49548         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
49549         * sysdeps/i386/fpu/e_acosl.c: Likewise.
49550         * sysdeps/i386/fpu/e_asin.S: Likewise.
49551         * sysdeps/i386/fpu/e_asinf.S: Likewise.
49552         * sysdeps/i386/fpu/e_atan2.S: Likewise.
49553         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
49554         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
49555         * sysdeps/i386/fpu/e_atanh.S: Likewise.
49556         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
49557         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
49558         * sysdeps/i386/fpu/e_exp10.S: Likewise.
49559         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
49560         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
49561         * sysdeps/i386/fpu/e_exp2.S: Likewise.
49562         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
49563         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
49564         * sysdeps/i386/fpu/e_fmod.S: Likewise.
49565         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
49566         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
49567         * sysdeps/i386/fpu/e_hypot.S: Likewise.
49568         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
49569         * sysdeps/i386/fpu/e_log.S: Likewise.
49570         * sysdeps/i386/fpu/e_log10.S: Likewise.
49571         * sysdeps/i386/fpu/e_log10f.S: Likewise.
49572         * sysdeps/i386/fpu/e_log10l.S: Likewise.
49573         * sysdeps/i386/fpu/e_log2.S: Likewise.
49574         * sysdeps/i386/fpu/e_log2f.S: Likewise.
49575         * sysdeps/i386/fpu/e_log2l.S: Likewise.
49576         * sysdeps/i386/fpu/e_logf.S: Likewise.
49577         * sysdeps/i386/fpu/e_logl.S: Likewise.
49578         * sysdeps/i386/fpu/e_pow.S: Likewise.
49579         * sysdeps/i386/fpu/e_powf.S: Likewise.
49580         * sysdeps/i386/fpu/e_powl.S: Likewise.
49581         * sysdeps/i386/fpu/e_remainder.S: Likewise.
49582         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
49583         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
49584         * sysdeps/i386/fpu/e_scalb.S: Likewise.
49585         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
49586         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
49587         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
49588         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
49589         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
49590         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
49591         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
49592         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
49593         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
49594         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
49595         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
49596         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
49597         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
49598         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
49599         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
49600         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
49601         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
49602         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
49603         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
49604         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
49605         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
49606         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
49607         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
49608         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
49609         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
49610         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
49611         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
49612         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
49613         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
49614         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
49615         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
49616         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
49617         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
49618         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
49619         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
49620         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
49621         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
49622         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
49623         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
49624         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
49625         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
49626         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
49627         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
49628         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
49629         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
49630         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
49631         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
49632         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
49633         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
49634         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
49635         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
49636         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
49637         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
49638         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
49639         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
49640         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
49641         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
49642         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
49643         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
49644         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
49645         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
49646         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
49647         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
49648         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
49649         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
49650         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
49651         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
49652         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
49653         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
49654         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
49655         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
49656         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
49657         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
49658         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
49659         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
49660         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
49661         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
49662         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
49663         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
49664         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
49665         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
49666         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
49667         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
49668         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
49669         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
49670         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
49671         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
49672         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
49673         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
49674         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
49675         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
49676         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
49677         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
49678         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
49679         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
49680         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
49681         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
49682         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
49683         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
49684         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
49685         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
49686         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
49687         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
49688         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
49689         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
49690         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
49691         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
49692         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
49693         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
49694         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
49695         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
49696         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
49697         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
49698         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
49699         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
49700         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
49701         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
49702         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
49703         (__isnanf): Likewise.
49704         (__isinf_ns): Likewise.
49705         (__isinf_nsf): Likewise.
49706         (__finite): Likewise.
49707         (__finitef): Likewise.
49708         (__ieee754_sqrt): Define as macro.
49709         (__ieee754_sqrtf): Define as macro.
49710         (__ieee754_sqrtl): Define as macro.
49711         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
49712         inlined copy.
49713         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
49714         __FINITE_MATH_ONLY__ consistent.
49715         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
49716
49717 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
49718
49719         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
49720         of rawmemchr.
49721
49722         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
49723
49724 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
49725
49726         * po/ja.po: Update from translation team.
49727
49728 2011-10-08  Roland McGrath  <roland@hack.frob.com>
49729
49730         * locale/programs/locarchive.c (prepare_address_space): New function.
49731         (create_archive, enlarge_archive, open_archive): Use it.
49732
49733         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
49734         inside [SHARED], where it is used.
49735
49736         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
49737
49738         * nss/getent.c (netgroup_keys): Remove unused variable.
49739         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
49740
49741 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
49742
49743         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
49744         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
49745         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
49746         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
49747         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
49748         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
49749         * math/Makefile (libm-calls): Add s_isinf_ns.
49750         * math/divtc3.c: Use __isinf_nsl instead of isinf.
49751         * math/multc3.c: Likewise.
49752         * math/s_casin.c: Likewise.
49753         * math/s_casinf.c: Likewise.
49754         * math/s_casinl.c: Likewise.
49755         * math/s_ccos.c: Likewise.
49756         * math/s_ccosf.c: Likewise.
49757         * math/s_ccosl.c: Likewise.
49758         * math/s_ctan.c: Likewise.
49759         * math/s_ctanf.c: Likewise.
49760         * math/s_ctanh.c: Likewise.
49761         * math/s_ctanhf.c: Likewise.
49762         * math/s_ctanhl.c: Likewise.
49763         * math/s_ctanl.c: Likewise.
49764         * math/w_fmod.c: Likewise.
49765         * math/w_fmodf.c: Likewise.
49766         * math/w_fmodl.c: Likewise.
49767         * math/w_remainder.c: Likewise.
49768         * math/w_remainderf.c: Likewise.
49769         * math/w_remainderl.c: Likewise.
49770         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
49771         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
49772         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
49773         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
49774         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
49775         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
49776         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
49777         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
49778
49779         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
49780         of the number.
49781         * stdio-common/printf_fphex.c: Likewise.
49782         * stdio-common/printf_size.c: Likewise.
49783
49784         * math/e_exp10.c: Include math_private.h using <...> not "...".
49785         * math/e_exp10f.c: Likewise.
49786         * math/e_exp10l.c: Likewise.
49787         * math/e_exp2l.c: Likewise.
49788         * math/e_j0l.c: Likewise.
49789         * math/e_j1l.c: Likewise.
49790         * math/e_jnl.c: Likewise.
49791         * math/e_lgammal_r.c: Likewise.
49792         * math/e_rem_pio2l.c: Likewise.
49793         * math/e_scalb.c: Likewise.
49794         * math/e_scalbf.c: Likewise.
49795         * math/e_scalbl.c: Likewise.
49796         * math/k_cosl.c: Likewise.
49797         * math/k_sinl.c: Likewise.
49798         * math/k_tanl.c: Likewise.
49799         * math/s_cacoshf.c: Likewise.
49800         * math/s_catan.c: Likewise.
49801         * math/s_catanf.c: Likewise.
49802         * math/s_catanh.c: Likewise.
49803         * math/s_catanhf.c: Likewise.
49804         * math/s_catanhl.c: Likewise.
49805         * math/s_catanl.c: Likewise.
49806         * math/s_ccosh.c: Likewise.
49807         * math/s_ccoshf.c: Likewise.
49808         * math/s_ccoshl.c: Likewise.
49809         * math/s_cexp.c: Likewise.
49810         * math/s_cexpf.c: Likewise.
49811         * math/s_cexpl.c: Likewise.
49812         * math/s_clog.c: Likewise.
49813         * math/s_clog10.c: Likewise.
49814         * math/s_clog10f.c: Likewise.
49815         * math/s_clog10l.c: Likewise.
49816         * math/s_clogf.c: Likewise.
49817         * math/s_clogl.c: Likewise.
49818         * math/s_csin.c: Likewise.
49819         * math/s_csinf.c: Likewise.
49820         * math/s_csinh.c: Likewise.
49821         * math/s_csinhf.c: Likewise.
49822         * math/s_csinhl.c: Likewise.
49823         * math/s_csinl.c: Likewise.
49824         * math/s_csqrt.c: Likewise.
49825         * math/s_csqrtf.c: Likewise.
49826         * math/s_csqrtl.c: Likewise.
49827         * math/s_ctan.c: Likewise.
49828         * math/s_ctanf.c: Likewise.
49829         * math/s_ctanh.c: Likewise.
49830         * math/s_ctanhf.c: Likewise.
49831         * math/s_ctanhl.c: Likewise.
49832         * math/s_ctanl.c: Likewise.
49833         * math/s_ldexp.c: Likewise.
49834         * math/s_ldexpf.c: Likewise.
49835         * math/s_ldexpl.c: Likewise.
49836         * math/s_significand.c: Likewise.
49837         * math/s_significandf.c: Likewise.
49838         * math/s_significandl.c: Likewise.
49839         * math/w_acos.c: Likewise.
49840         * math/w_acosf.c: Likewise.
49841         * math/w_acosh.c: Likewise.
49842         * math/w_acoshf.c: Likewise.
49843         * math/w_acoshl.c: Likewise.
49844         * math/w_acosl.c: Likewise.
49845         * math/w_asin.c: Likewise.
49846         * math/w_asinf.c: Likewise.
49847         * math/w_asinl.c: Likewise.
49848         * math/w_atan2.c: Likewise.
49849         * math/w_atan2f.c: Likewise.
49850         * math/w_atan2l.c: Likewise.
49851         * math/w_atanh.c: Likewise.
49852         * math/w_atanhf.c: Likewise.
49853         * math/w_atanhl.c: Likewise.
49854         * math/w_cosh.c: Likewise.
49855         * math/w_coshf.c: Likewise.
49856         * math/w_coshl.c: Likewise.
49857         * math/w_dremf.c: Likewise.
49858         * math/w_exp10.c: Likewise.
49859         * math/w_exp10f.c: Likewise.
49860         * math/w_exp10l.c: Likewise.
49861         * math/w_exp2.c: Likewise.
49862         * math/w_exp2f.c: Likewise.
49863         * math/w_fmod.c: Likewise.
49864         * math/w_fmodf.c: Likewise.
49865         * math/w_fmodl.c: Likewise.
49866         * math/w_hypot.c: Likewise.
49867         * math/w_hypotf.c: Likewise.
49868         * math/w_hypotl.c: Likewise.
49869         * math/w_j0.c: Likewise.
49870         * math/w_j0f.c: Likewise.
49871         * math/w_j0l.c: Likewise.
49872         * math/w_j1.c: Likewise.
49873         * math/w_j1f.c: Likewise.
49874         * math/w_j1l.c: Likewise.
49875         * math/w_jn.c: Likewise.
49876         * math/w_jnf.c: Likewise.
49877         * math/w_jnl.c: Likewise.
49878         * math/w_lgamma.c: Likewise.
49879         * math/w_lgamma_r.c: Likewise.
49880         * math/w_lgammaf.c: Likewise.
49881         * math/w_lgammaf_r.c: Likewise.
49882         * math/w_lgammal.c: Likewise.
49883         * math/w_lgammal_r.c: Likewise.
49884         * math/w_log.c: Likewise.
49885         * math/w_log10.c: Likewise.
49886         * math/w_log10f.c: Likewise.
49887         * math/w_log10l.c: Likewise.
49888         * math/w_log2.c: Likewise.
49889         * math/w_log2f.c: Likewise.
49890         * math/w_log2l.c: Likewise.
49891         * math/w_logf.c: Likewise.
49892         * math/w_logl.c: Likewise.
49893         * math/w_pow.c: Likewise.
49894         * math/w_powf.c: Likewise.
49895         * math/w_powl.c: Likewise.
49896         * math/w_remainder.c: Likewise.
49897         * math/w_remainderf.c: Likewise.
49898         * math/w_remainderl.c: Likewise.
49899         * math/w_scalb.c: Likewise.
49900         * math/w_scalbf.c: Likewise.
49901         * math/w_scalbl.c: Likewise.
49902         * math/w_sinh.c: Likewise.
49903         * math/w_sinhf.c: Likewise.
49904         * math/w_sinhl.c: Likewise.
49905         * math/w_sqrt.c: Likewise.
49906         * math/w_sqrtf.c: Likewise.
49907         * math/w_sqrtl.c: Likewise.
49908         * math/w_tgamma.c: Likewise.
49909         * math/w_tgammaf.c: Likewise.
49910         * math/w_tgammal.c: Likewise.
49911
49912         * po/ja.po: Update from translation team.
49913
49914 2011-09-29  Andreas Jaeger  <aj@suse.de>
49915
49916         [BZ #13179]
49917         * sunrpc/netname.c (netname2host): Fix logic.
49918
49919         [BZ #6779]
49920         [BZ #6783]
49921         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
49922         correctly.
49923         * math/w_remainder.c (__remainder): Likewise.
49924         * math/w_remainderf.c (__remainderf): Likewise.
49925         * math/libm-test.inc (remainder_test): Add test cases.
49926
49927 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
49928
49929         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
49930         sdiv_qrnnd.
49931
49932 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
49933
49934         * string/test-memcmp.c: Avoid unncessary #defines.
49935         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
49936
49937 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
49938
49939         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
49940         Use new sse2 version for core i3 - i7 as it's faster
49941         than sse42 version.
49942         (bit_Prefer_PMINUB_for_stringop): New.
49943         * sysdeps/x86_64/rawmemchr.S: Update.
49944         Replace with faster SSE2 version.
49945         * sysdeps/x86_64/memrchr.S: New file.
49946         * sysdeps/x86_64/memchr.S: Update.
49947         Replace with faster SSE2 version.
49948
49949 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
49950
49951         * elf/dl-load.c (lose): Add cast to avoid warning.
49952
49953 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
49954
49955         * po/ca.po: Update from translation team.
49956
49957         * inet/getnetgrent_r.c: Hook up nscd.
49958         * nscd/Makefile (routines): Add nscd_netgroup.
49959         (nscd-modules): Add netgroupcache.
49960         (CFLAGS-netgroupcache.c): Define.
49961         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
49962         (cache_search): Add const to second parameter.
49963         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
49964         INNETGR.
49965         (dbs): Add netgrdb entry.
49966         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
49967         (verify_persistent_db): Handle netgrdb.
49968         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
49969         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
49970         GETFDNETGR.
49971         (netgroup_response_header): Define.
49972         (innetgroup_response_header): Define.
49973         (datahead): Add netgroup_response_header and innetgroup_response_header
49974         elements.
49975         * nscd/nscd.conf: Add entries for netgroup cache.
49976         * nscd/nscd.h (dbtype): Add netgrdb.
49977         (_PATH_NSCD_NETGROUP_DB): Define.
49978         (netgroup_iov_disabled): Declare.
49979         (xmalloc, xcalloc, xrealloc): Move declarations here.
49980         (cache_search): Adjust prototype.
49981         Add netgroup-related prototypes.
49982         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
49983         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
49984         (__nscd_innetgr): Declare.
49985         * nscd/selinux.c (perms): Use access_vector_t as element type and
49986         add netgroup-related initializers.
49987         * nscd/netgroupcache.c: New file.
49988         * nscd/nscd_netgroup.c: New file.
49989         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
49990         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
49991         For four parameters use innetgr.
49992         * nss/nss_files/files-init.c: Add definition and callback for netgr.
49993         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
49994         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
49995         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
49996
49997         * nscd/connections.c (register_traced_file): Don't register file
49998         for disabled databases.
49999
50000 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
50001
50002         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
50003
50004         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
50005         from tree and freeing node.
50006
50007 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
50008
50009         * nss/nsswitch.c (__nss_database_lookup): Handle
50010         nss_parse_service_list out of memory case.
50011
50012 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
50013
50014         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
50015         out of memory case.
50016
50017 2011-10-04  Andreas Schwab  <schwab@redhat.com>
50018
50019         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
50020         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
50021         pass it down.
50022         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
50023         elf_machine_rela, elf_machine_lazy_rel.
50024         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
50025         (ELF_DYNAMIC_DO_REL): Likewise.
50026         (ELF_DYNAMIC_DO_RELA): Likewise.
50027         (ELF_DYNAMIC_RELOCATE): Likewise.
50028         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
50029         to ELF_DYNAMIC_DO_REL.
50030         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
50031         (dl_main): In trace mode always set __RTLD_NOIFUNC.
50032         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
50033         elf_machine_rela.
50034         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
50035         skip_ifunc, don't call ifunc function if non-zero.
50036         (elf_machine_rela): Likewise.
50037         (elf_machine_lazy_rel): Likewise.
50038         (elf_machine_lazy_rela): Likewise.
50039         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
50040         (elf_machine_lazy_rel): Likewise.
50041         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
50042         Likewise.
50043         (elf_machine_lazy_rel): Likewise.
50044         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
50045         Likewise.
50046         (elf_machine_lazy_rel): Likewise.
50047         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
50048         (elf_machine_lazy_rel): Likewise.
50049         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
50050         (elf_machine_lazy_rel): Likewise.
50051         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
50052         (elf_machine_lazy_rel): Likewise.
50053         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
50054         (elf_machine_lazy_rel): Likewise.
50055         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
50056         (elf_machine_lazy_rel): Likewise.
50057         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
50058         (elf_machine_lazy_rel): Likewise.
50059
50060 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
50061
50062         * nss/nss_files/files-init.c (_nss_files_init): Use static
50063         initialization for all the *_traced_file variables.
50064
50065 2011-09-28  Andreas Schwab  <schwab@redhat.com>
50066
50067         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
50068
50069 2011-09-27  Roland McGrath  <roland@hack.frob.com>
50070
50071         [BZ #13226]
50072         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
50073
50074 2011-09-27  Andreas Schwab  <schwab@redhat.com>
50075
50076         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
50077         Reread the line before reparsing it.
50078
50079 2011-09-26  Andreas Schwab  <schwab@redhat.com>
50080
50081         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
50082
50083 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
50084             Maxim Kuvyrkov  <maxim@codesourcery.com>
50085             Joseph Myers  <joseph@codesourcery.com>
50086
50087         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
50088         if needed for __stack_chk_guard.
50089
50090 2011-09-19  Roland McGrath  <roland@hack.frob.com>
50091
50092         * sysdeps/posix/spawni.c (script_execute): Always define it.
50093         It will be optimized away if unused.
50094         (maybe_script_execute): New function.
50095         (__spawni): Call it.
50096
50097         * Makerules: Don't include tls.make.
50098         (config-tls): Always set to thread.
50099         * tls.make.c: File removed.
50100
50101 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
50102
50103         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
50104         * config.make.in (CPPFLAGS-config): New substituted variable.
50105
50106 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
50107
50108         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
50109
50110         [BZ #13192]
50111         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
50112         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
50113
50114 2011-09-15  Roland McGrath  <roland@hack.frob.com>
50115
50116         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
50117         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
50118         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
50119         (CALL_FAIL): Likewise.
50120         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
50121         (CALL_FAIL): Macro removed.
50122         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
50123
50124 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
50125
50126         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
50127         for __FINITE_MATH_ONLY__ == 1.
50128
50129 2011-09-15  Andreas Schwab  <schwab@redhat.com>
50130
50131         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
50132         __ieee754_sqrt instead of sqrt.
50133         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
50134         __ieee754_sqrtf instead of sqrtf.
50135         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
50136         __floorf instead of floorf.
50137         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
50138         __floorf, __truncf instead of floorf, truncf.
50139
50140 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
50141
50142         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
50143
50144         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
50145         __extern_always_inline.
50146         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
50147         32-bit.
50148
50149 2011-09-14  Andreas Schwab  <schwab@redhat.com>
50150
50151         * elf/rtld.c (dl_main): Also relocate in dependency order when
50152         doing symbol dependency testing.
50153
50154 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
50155
50156         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
50157         Always define `refsym'.
50158
50159 2011-09-13  Andreas Schwab  <schwab@redhat.com>
50160
50161         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
50162         (__FD_ELT): Renamed from __FDELT.
50163         * misc/bits/select2.h (__FD_ELT): Likewise.
50164         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
50165         __FD_MASK instead of __FDELT, __FDMASK.
50166         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
50167         Likewise.
50168         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
50169         Likewise.
50170
50171         * elf/Makefile (gen-ldd): Fix pattern.
50172
50173         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
50174         (init_tls): Likewise.
50175
50176 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
50177
50178         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
50179
50180 2011-09-12  Andreas Schwab  <schwab@redhat.com>
50181
50182         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
50183         `struct cmsghdr *' instead of `void *'.
50184         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
50185         Likewise.
50186
50187 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
50188
50189         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
50190         if non-absolute.
50191         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
50192         ldd_rewrite_script.
50193
50194 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
50195
50196         * configure.in: Remove --with-tls option.
50197         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
50198         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
50199         out in case it is missing.
50200         * sysdeps/ia64/elf/configure.in: Likewise.
50201         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
50202         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
50203         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
50204         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
50205         * sysdeps/sh/elf/configure.in: Likewise.
50206         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
50207         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
50208         * sysdeps/x86_64/elf/configure.in: Likewise.
50209         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
50210         * sysdeps/mach/hurd/tls.h: Likewise.
50211
50212         [BZ #13067]
50213         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
50214
50215         [BZ #13090]
50216         * configure.in: Fix use of AC_INIT.
50217
50218         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
50219
50220 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
50221
50222         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
50223         __set_errno.
50224         * malloc/hooks.c: Likewise.
50225
50226         [BZ #11929]
50227         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
50228         variables statically.
50229         (narenas): Initialize.
50230         (list_lock): Initialize.
50231         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
50232         initializtion of main_arena and list_lock.  Small cleanups.
50233         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
50234         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
50235         Add initializers to main_arena and mp_.
50236         (malloc_state): Remove pagesize member.  Change all users to use
50237         GLRO(dl_pagesize).
50238
50239         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
50240         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
50241         is always initialized.
50242
50243         * malloc/malloc.c: Removed unused configurations and dead code.
50244         * malloc/arena.c: Likewise.
50245         * malloc/hooks.c: Likewise.
50246         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
50247
50248         * include/tls.h: Removed.  USE___THREAD must always be defined.
50249         * bits/libc-tsd.h: Don't handle !USE___THREAD.
50250         * elf/dl-libc.c: Likewise.
50251         * elf/dl-tsd.c: Likewise.
50252         * include/errno.h: Likewise.
50253         * include/netdb.h: Likewise.
50254         * include/resolv.h: Likewise.
50255         * inet/herrno-loc.c: Likewise.
50256         * inet/herrno.c: Likewise.
50257         * malloc/arena.c: Likewise.
50258         * malloc/hooks.c: Likewise.
50259         * malloc/malloc.c: Likewise.
50260         * resolv/res-state.c: Likewise.
50261         * resolv/res_libc.c: Likewise.
50262         * sysdeps/i386/dl-machine.h: Likewise.
50263         * sysdeps/ia64/dl-machine.h: Likewise.
50264         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
50265         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
50266         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
50267         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
50268         * sysdeps/sh/dl-machine.h: Likewise.
50269         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
50270         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
50271         * sysdeps/unix/i386/sysdep.S: Likewise.
50272         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
50273         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
50274         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
50275         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
50276         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
50277         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
50278         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
50279         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
50280         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
50281         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
50282         * sysdeps/unix/x86_64/sysdep.S: Likewise.
50283         * sysdeps/x86_64/dl-machine.h: Likewise.
50284         * tls.make.c: Likewise.
50285
50286         * configure.in: Remove --with-__thread option.  Make tests for
50287         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
50288         tls_model attribute fail if no support is available.  Remove
50289         USE_IN_LIBIO.
50290         * Makeconfig: Adjust for dropped configure option.  All features are
50291         now mandatory.
50292         * Makerules: Likewise.
50293         * Versions.def: Likewise.
50294         * argp/argp-fmtstream.c: Likewise.
50295         * argp/argp-fmtstream.h: Likewise.
50296         * argp/argp-help.c: Likewise.
50297         * assert/assert.c: Likewise.
50298         * config.h.in: Likewise.
50299         * config.make.in: Likewise.
50300         * configure: Likewise.
50301         * configure.in: Likewise.
50302         * csu/Versions: Likewise.
50303         * csu/init.c: Likewise.
50304         * elf/tst-audit2.c: Likewise.
50305         * elf/tst-tls10.c: Likewise.
50306         * elf/tst-tls10.h: Likewise.
50307         * elf/tst-tls11.c: Likewise.
50308         * elf/tst-tls12.c: Likewise.
50309         * elf/tst-tls14.c: Likewise.
50310         * elf/tst-tlsmod11.c: Likewise.
50311         * elf/tst-tlsmod12.c: Likewise.
50312         * elf/tst-tlsmod13.c: Likewise.
50313         * elf/tst-tlsmod13a.c: Likewise.
50314         * elf/tst-tlsmod14a.c: Likewise.
50315         * elf/tst-tlsmod15b.c: Likewise.
50316         * elf/tst-tlsmod16a.c: Likewise.
50317         * elf/tst-tlsmod16b.c: Likewise.
50318         * elf/tst-tlsmod7.c: Likewise.
50319         * elf/tst-tlsmod8.c: Likewise.
50320         * elf/tst-tlsmod9.c: Likewise.
50321         * gmon/gmon.c: Likewise.
50322         * grp/fgetgrent_r.c: Likewise.
50323         * grp/putgrent.c: Likewise.
50324         * hurd/fopenport.c: Likewise.
50325         * include/libc-symbols.h: Likewise.
50326         * include/tls.h: Likewise.
50327         * intl/gettextP.h: Likewise.
50328         * intl/loadinfo.h: Likewise.
50329         * locale/global-locale.c: Likewise.
50330         * locale/localeinfo.h: Likewise.
50331         * mach/devstream.c: Likewise.
50332         * malloc/arena.c: Likewise.
50333         * malloc/set-freeres.c: Likewise.
50334         * misc/err.c: Likewise.
50335         * misc/getttyent.c: Likewise.
50336         * misc/mntent_r.c: Likewise.
50337         * posix/getopt.c: Likewise.
50338         * posix/wordexp.c: Likewise.
50339         * pwd/fgetpwent_r.c: Likewise.
50340         * resolv/Versions: Likewise.
50341         * resolv/res_hconf.c: Likewise.
50342         * shadow/fgetspent_r.c: Likewise.
50343         * shadow/putspent.c: Likewise.
50344         * stdio-common/printf_fphex.c: Likewise.
50345         * stdio-common/tmpfile.c: Likewise.
50346         * stdlib/abort.c: Likewise.
50347         * stdlib/fmtmsg.c: Likewise.
50348         * sunrpc/auth_unix.c: Likewise.
50349         * sunrpc/clnt_perr.c: Likewise.
50350         * sunrpc/clnt_tcp.c: Likewise.
50351         * sunrpc/clnt_udp.c: Likewise.
50352         * sunrpc/clnt_unix.c: Likewise.
50353         * sunrpc/openchild.c: Likewise.
50354         * sunrpc/svc_simple.c: Likewise.
50355         * sunrpc/svc_tcp.c: Likewise.
50356         * sunrpc/svc_udp.c: Likewise.
50357         * sunrpc/svc_unix.c: Likewise.
50358         * sunrpc/xdr.c: Likewise.
50359         * sunrpc/xdr_array.c: Likewise.
50360         * sunrpc/xdr_rec.c: Likewise.
50361         * sunrpc/xdr_ref.c: Likewise.
50362         * sunrpc/xdr_stdio.c: Likewise.
50363
50364 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
50365
50366         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
50367
50368 2011-07-03  Andreas Jaeger  <aj@suse.de>
50369
50370         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
50371         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
50372         regenerate with gen-libm-tests.pl.
50373
50374 2010-05-12  Petr Baudis  <pasky@suse.cz>
50375
50376         [BZ #11589]
50377         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
50378         around j0() zero points by switching to j1().
50379         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
50380         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
50381         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
50382         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
50383
50384 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
50385
50386         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
50387         instead of 0.
50388         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
50389         instead of 0.
50390         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
50391         Patch in part by Pavel Roskin <proski@gnu.org>.
50392
50393         [BZ #13138]
50394         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
50395         realloc.
50396         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
50397         Free memory block if necessary.
50398
50399         [BZ #12847]
50400         * libio/genops.c (INTDEF): For string streams the _lock pointer can
50401         be NULL.  Don't lock in this case.
50402
50403 2011-09-09  Roland McGrath  <roland@hack.frob.com>
50404
50405         * elf/elf.h (ELFOSABI_GNU): New macro.
50406         (ELFOSABI_LINUX): Define to that.
50407
50408 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
50409
50410         * string/strncat.c (strncat): Undef the symbol in case it has been
50411         defined in bits/string.h.
50412
50413 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
50414
50415         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
50416
50417         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
50418         link map.
50419
50420 2011-08-17  Andreas Jaeger  <aj@suse.de>
50421
50422         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
50423
50424 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
50425             Ian Lance Taylor  <iant@google.com>
50426
50427         * math/libm-test.inc (lround_test): New testcase.
50428         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
50429
50430 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
50431
50432         * Makefile: Remove support for automatic cvs check-ins.
50433         * Makerules: Likewise.
50434         * config.make.in: Likewise.
50435         * configure.in: Likewise.
50436         * intl/Makefile: Likewise.
50437         * locale/Makefile: Likewise.
50438         * po/Makefile: Likewise.
50439         * posix/Makefile: Likewise.
50440         * sysdeps/gnu/Makefile: Likewise.
50441         * sysdeps/mach/hurd/Makefile: Likewise.
50442         * sysdeps/sparc/sparc32/Makefile: Likewise.
50443
50444         [BZ #13118]
50445         * posix/Makefile (bug-regex32-ENV): Define.
50446         Patch by John Stanley <jpsinthemix@verizon.net>.
50447
50448         * misc/Makefile (headers): Add bits/select2.h.
50449         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
50450         * misc/bits/select2.h: New file.
50451         * include/bits/select2.h: New file.
50452         * debug/Makefile (routines): Add fdelt_chk.
50453         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
50454         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
50455         FD_ISSET.
50456         * debug/fdelt_chk.c: New file.
50457
50458         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
50459         * wcsmbs/test-wmemcmp.c: Likewise.
50460         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
50461         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
50462
50463 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
50464
50465         * string/Makefile (strop-tests): Add memcmp.
50466         * string/test-wmemcmp.c: New file.
50467         * string/test-memcmp.c: Add wmemcmp support.
50468
50469 2011-09-08  Roland McGrath  <roland@hack.frob.com>
50470
50471         [BZ #13153]
50472         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
50473         2011-07-19 change.
50474
50475         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
50476         garbage value in a __mach_port_mod_refs call in the cases of the
50477         task-self and thread-self ports.
50478
50479 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
50480
50481         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
50482
50483 2011-09-08  Andreas Schwab  <schwab@redhat.com>
50484
50485         * elf/dl-load.c (lose): Check for non-null L.
50486
50487 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
50488
50489         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
50490
50491         * elf/dl-libc.c (dlerror_run): Pass back error code from
50492         dl_catch_error.
50493
50494         [BZ #13123]
50495         * elf/dl-load.c (lose): Free l_origin if it is valid.
50496
50497         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
50498         names.
50499         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
50500         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
50501         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
50502         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
50503         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
50504         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
50505
50506 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50507
50508         * sysdeps/powerpc/fpu/e_hypot.c: New file.
50509         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
50510         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
50511         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
50512         * sysdeps/powerpc/fpu/k_cosf.c: New file.
50513         * sysdeps/powerpc/fpu/k_sinf.c: New file.
50514         * sysdeps/powerpc/fpu/s_cosf.c: New file.
50515         * sysdeps/powerpc/fpu/s_sinf.c: New file.
50516         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
50517         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
50518
50519 2011-08-15  Alan Modra  <amodra@gmail.com>
50520
50521         [BZ #13092]
50522         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
50523         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
50524         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
50525         ppc_mcount to static-only-routines.
50526         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
50527         __mcount_internal.
50528         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
50529         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
50530
50531 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
50532
50533         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
50534         for finite and infinity parameters.
50535
50536 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
50537
50538         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
50539         and add nop instructions for throughput optimization.
50540         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
50541
50542 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
50543
50544         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
50545         aligned copy for power7 with vector-scalar instructions.
50546         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
50547
50548 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
50549
50550         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
50551         AVX check.
50552
50553 2011-09-07  Andreas Schwab  <schwab@redhat.com>
50554
50555         [BZ #13144]
50556         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
50557         last change.
50558
50559 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
50560
50561         * sysdeps/unix/sysv/linux/x86_64/init-first.c
50562         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
50563         syscall wrapper around clock_gettime in __vdso_clock_gettime.
50564         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
50565         clock_gettime.
50566
50567 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
50568
50569         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
50570         Forgot to demangle the pointer.
50571
50572         * sysdeps/i386/sysdep.h: Define atom_text_section.
50573         * sysdeps/x86_64/sysdep.h: Likewise.
50574         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
50575         section with atom_text_section.
50576         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
50577         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
50578         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
50579         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
50580         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
50581
50582         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
50583         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
50584         already be defined.  Change to take two parameters and don't assign
50585         result to variable.  Adjust all users.
50586         Define INTERNAL_GETTIME if not already defined.
50587         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
50588         call.
50589         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
50590         HAVE_CLOCK_GETTIME_VSYSCALL.
50591         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
50592
50593         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
50594         gettimeofday vsyscall, just use time.
50595
50596 2011-09-06  Andreas Schwab  <schwab@redhat.com>
50597
50598         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
50599         <errno.h>.
50600
50601 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
50602
50603         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
50604         syscall on x86-64.
50605         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
50606         syscall.
50607         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
50608         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
50609         syscall if possible.
50610
50611 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
50612
50613         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
50614         e_ident.  Don't pass to find_mapsXX.
50615         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
50616
50617 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
50618
50619         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
50620         strchr-sse2-no-bsf strrchr-sse2-no-bsf
50621         * sysdeps/x86_64/multiarch/strchr.S: Update.
50622         Check bit_slow_BSF bit.
50623         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
50624         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
50625         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
50626
50627 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
50628
50629         [BZ #13134]
50630         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
50631         before glibc 2.15.
50632         (tryshell): Define.
50633         (__spawni): Change last parameter to be flag.  Test
50634         SPAWN_XFLAGS_USE_PATH flag to use path or not.
50635         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
50636         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
50637         * posix/spawni.c: Likewise.
50638         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
50639         * posix/spawnp.c: Likewise.  Change normal version to use
50640         SPAWN_XFLAGS_USE_PATH.
50641         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
50642         SPAWN_XFLAGS_TRY_SHELL.
50643
50644         [BZ #13150]
50645         * posix/glob.h: Remove gcc 1.x support.
50646
50647         [BZ #13068]
50648         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
50649
50650 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
50651
50652         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
50653         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
50654         strrchr-sse2-bsf
50655         * sysdeps/i386/i686/multiarch/strchr.S: New file.
50656         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
50657         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
50658         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
50659         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
50660         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
50661
50662 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
50663
50664         * sysdeps/x86_64/wcscmp.S: New file.
50665
50666         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
50667         wcscmp-c wcscmp-sse2
50668         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
50669         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
50670         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
50671         * wcsmbs/wcscmp.c: Allow renaming.
50672
50673 2011-09-05  David S. Miller  <davem@davemloft.net>
50674
50675         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
50676         stack slot, rather than the struct return pointer slot.
50677         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
50678         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
50679         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
50680         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
50681
50682 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
50683
50684         * po/ja.po: Update from translation team.
50685
50686         [BZ #13144]
50687         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
50688         kernel in 64-bit binaries.
50689
50690 2011-09-01  David S. Miller  <davem@davemloft.net>
50691
50692         * elf/elf.h (HWCAP_SPARC_*): Move to..
50693         * sysdeps/sparc/sysdep.h: this new file and add new values.
50694         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
50695         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
50696         _DL_HWCAP_COUNT to 24.
50697         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
50698         entries.
50699         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
50700         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
50701         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
50702         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
50703         instead of magic constants.
50704         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
50705
50706 2011-08-31  David S. Miller  <davem@davemloft.net>
50707
50708         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
50709         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
50710         Reimplement to do errno handling inline.
50711         (SYSCALL_ERROR_HANDLER): New macro.
50712         (__SYSCALL_STRING): Do not do errno handling in asm.
50713         (__CLONE_SYSCALL_STRING): Delete.
50714         (__INTERNAL_SYSCALL_STRING): Delete.
50715         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
50716         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
50717         (PSEUDO): Reimplement to do errno handling inline.
50718         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
50719         (SYSCALL_ERROR_HANDLER): New macro.
50720         (__SYSCALL_STRING): Do not do errno handling in asm.
50721         (__CLONE_SYSCALL_STRING): Delete.
50722         (__INTERNAL_SYSCALL_STRING): Delete.
50723         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
50724         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
50725         i386.
50726         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
50727         (inline_syscall*): Add 'err' argument.
50728         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
50729         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
50730         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
50731         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
50732
50733         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
50734         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
50735
50736 2011-08-30  Andreas Schwab  <schwab@redhat.com>
50737
50738         * elf/rtld.c (dl_main): Relocate objects in dependency order.
50739
50740 2011-08-29  Jiri Olsa <jolsa@redhat.com>
50741
50742         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
50743         directive.
50744
50745 2011-08-24  David S. Miller  <davem@davemloft.net>
50746
50747         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
50748
50749 2011-08-24  Andreas Schwab  <schwab@redhat.com>
50750
50751         * elf/Makefile: Add rules to build and run unload8 test.
50752         * elf/unload8.c: New file.
50753         * elf/unload8mod1.c: New file.
50754         * elf/unload8mod1x.c: New file.
50755         * elf/unload8mod2.c: New file.
50756         * elf/unload8mod3.c: New file.
50757
50758         * elf/dl-close.c (_dl_close_worker): Reset private search list if
50759         it wasn't used.
50760
50761 2011-08-23  David S. Miller  <davem@davemloft.net>
50762
50763         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
50764         subtract stack bias.
50765         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
50766         %sp not %fp in calculations.
50767         (_JMPBUF_UNWINDS_ADJ): Likewise.
50768
50769         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
50770         (aio_suspend): Call it to force an exception region around the
50771         AIO_MISC_WAIT() invocation.
50772
50773 2011-08-23  Andreas Schwab  <schwab@redhat.com>
50774
50775         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
50776         backslash.
50777
50778 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
50779
50780         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
50781         protection macro.
50782         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
50783         and <dl-machine.h>.
50784         (Elf64_FuncDesc): Remove.
50785
50786 2011-08-22  David S. Miller  <davem@davemloft.net>
50787
50788         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
50789         sigaltstack check, add missing cfi directives.
50790         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
50791         missing cfi directives, and sigaltstack handling.
50792
50793 2011-08-16  Andreas Schwab  <schwab@redhat.com>
50794
50795         [BZ #11724]
50796         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
50797         object is seen twice.
50798         * elf/dl-fini.c (_dl_sort_fini): Likewise.
50799
50800         * elf/Makefile (distribute): Add tst-initorder2.c.
50801         (tests): Add tst-initorder2.
50802         (modules-names): Add tst-initorder2a tst-initorder2b
50803         tst-initorder2c tst-initorder2d.  Add rules to build them.
50804         ($(objpfx)tst-initorder2.out): New rule.
50805         * elf/tst-initorder2.c: New file.
50806         * elf/tst-initorder2.exp: New file.
50807
50808 2011-08-22  Andreas Schwab  <schwab@redhat.com>
50809
50810         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
50811
50812         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
50813         dependencies back to end of function.
50814
50815         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
50816         $(elfobjdir)/ld.so.
50817
50818 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
50819
50820         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
50821         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
50822         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
50823         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
50824         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
50825         of __vdso_gettimeofday.
50826         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
50827         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
50828         attribute_hidden.
50829         (_libc_vdso_platform_setup): Remove initialization of
50830         __vdso_gettimeofday and __vdso_time.
50831
50832 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
50833
50834         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
50835         and fgetc_unlocked.
50836         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
50837         getc_unlocked.
50838
50839         * elf/dl-open.c (add_to_global): Report additions to the global scope
50840         for LD_DEBUG=scopes.
50841         (dl_open_worker): Also print scope of newly loaded dependencies.
50842         (_dl_show_scope): Indicate if there is no scope.
50843
50844         [BZ #13114]
50845         * stdio-common/Makefile (tests): Add bug24.
50846         * stdio-common/bug24.c: New file.
50847
50848 2011-08-19  Andreas Jaeger  <aj@suse.de>
50849
50850         [BZ #13114]
50851         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
50852         non-existant file when using close-on-exec mode.
50853
50854 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
50855
50856         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
50857         the very first instruction.
50858
50859         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
50860         the CFI state in the end.
50861         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
50862         inclusion of dl-trampoline.h.
50863         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
50864
50865 2011-08-19  Andreas Schwab  <schwab@redhat.com>
50866
50867         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
50868         expectations for long double.
50869
50870         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
50871         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
50872
50873 2011-08-14  David S. Miller  <davem@davemloft.net>
50874
50875         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
50876         artificual limit depends upon the system page size.
50877
50878 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
50879
50880         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
50881         * resolv/Makefile: Define CFLAGS-libresolv.
50882
50883 2011-08-17  Andreas Schwab  <schwab@redhat.com>
50884
50885         * nss/makedb.c (compute_tables): Make variables used in nested
50886         function static.
50887
50888 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
50889
50890         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
50891         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
50892         if buffer was too small.
50893
50894         * elf/pldd.c (main): Attach to all threads in the process.
50895         Rewrite /proc handling to use *at functions.
50896
50897 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
50898
50899         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
50900         specifies first scope to show.
50901         (dl_open_worker): Update callers.  Move printing scope of new
50902         object to before the relocation.
50903         * elf/rtld.c (dl_main): Update _dl_show_scope call.
50904         * sysdeps/generic/ldsodefs.h: Update declaration.
50905
50906         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
50907         string for the scope number.
50908
50909 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
50910
50911         * nscd/servicescache.c (cache_addserv): Make sure written is always
50912         initialized.
50913
50914 2011-08-14  Roland McGrath  <roland@hack.frob.com>
50915
50916         * sysdeps/i386/i486/bits/atomic.h
50917         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
50918         statement expression, so as to suppress "set but not used" warning.
50919         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
50920
50921         * string/strncat.c (STRNCAT): Use prototype definition.
50922
50923         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
50924         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
50925         -Iprograms here.
50926         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
50927         (localedef-modules): Add localedef.
50928         (locale-modules): Add locale.
50929
50930         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
50931         * elf/rtld.c (dl_main): Invert order of assignment in last change,
50932         to avoid a warning.
50933
50934 2011-08-14  David S. Miller  <davem@davemloft.net>
50935
50936         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
50937         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
50938
50939 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
50940
50941         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
50942         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
50943         * elf/rtld.c (dl_main): Set l_name of vDSO.
50944         Call _dl_show_scope when DL_DEBUG_SCOPES.
50945         (process_dl_debug): Recognize scopes flag and also set it for all.
50946         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
50947         Declare _dl_show_scope.
50948
50949         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
50950         (do_dlopen): Pass caller_dlopen to dl_open.
50951         (__libc_dlopen_mode): Initialize caller_dlopen.
50952
50953         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
50954         of libc.  Make tolower call locale-independent.  Optimize a bit by
50955         using isdigit instead of isalnum.
50956         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
50957
50958 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
50959
50960         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
50961         was a dependency or dynamically loaded.
50962
50963 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
50964
50965         * intl/l10nflist.c: Allow architecture-specific pop function.
50966         * sysdeps/x86_64/l10nflist.c: New file.
50967
50968         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
50969         classification.
50970
50971 2011-08-10  Andreas Schwab  <schwab@redhat.com>
50972
50973         * include/dirent.h: Add libc_hidden_proto for scandirat and
50974         scandirat64.  Don't declare __scandirat64.
50975         * dirent/scandirat.c: Add libc_hidden_def.
50976         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
50977         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
50978
50979 2011-08-10  David S. Miller  <davem@davemloft.net>
50980
50981         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
50982         enum.
50983         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
50984         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
50985         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
50986
50987 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
50988
50989         * Versions.def [libc]: Add GLIBC_2.15.
50990         * dirent/Makefile (routines): Add scandirat and scandirat64.
50991         * dirent/Versions [libc]: Export scandirat and scandirat64 for
50992         GLIBC_2.15.
50993         * dirent/dirent.h: Declare scandirat and scandirat64.
50994         * dirent/scandirat.c: New file.
50995         * dirent/scandirat64.c: New file.
50996         * sysdeps/wordsize-64/scandirat.c: New file.
50997         * sysdeps/wordsize-64/scandirat64.c: New file.
50998         * dirent/opendir.c: Define opendirat.
50999         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
51000         using scandirat.
51001         * dirent/scandir64.c: Adjust for scandir.c change.
51002         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
51003         __scandirat64, and __scandir_cancel_handler.
51004         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
51005         additional parameter and use openat instead of open (outside of ld.so).
51006         Add new __opendir as wrapper around __opendirat.
51007         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
51008         here without requiring old scandirat implementation.
51009
51010 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
51011
51012         * dirent/scandir.c (cancel_handler): Renamed to
51013         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
51014         defined.  Adjust users.
51015         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
51016         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
51017
51018 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
51019
51020         * string/test-string.h (IMPL): Use __STRING to expand name and then
51021         stringify it.
51022
51023         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
51024         of cleanups.
51025
51026 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
51027
51028         * string/Makefile: Update.
51029         (strop-tests): Append strncat.
51030         * string/test-wcscmp.c: New file.
51031         New comprehensive test for wcscmp.
51032         * string/test-strcmp.c: Update.
51033         (WIDE): New define.
51034
51035 2011-07-22  Andreas Schwab  <schwab@redhat.com>
51036
51037         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
51038         line.
51039
51040 2011-07-26  Andreas Schwab  <schwab@redhat.com>
51041
51042         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
51043         encoding to ACE if AI_IDN.
51044
51045 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
51046
51047         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
51048         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
51049
51050 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
51051
51052         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
51053         Fix overflow bug in strncat.
51054         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
51055
51056         * string/test-strncat.c: Update.
51057         Add new tests for checking overflow bugs.
51058
51059 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
51060
51061         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
51062         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
51063         * sysdeps/i386/i686/multiarch/strcat.S: New file.
51064         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
51065         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
51066         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
51067         * sysdeps/i386/i686/multiarch/strncat.S: New file.
51068         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
51069         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
51070
51071         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
51072         (USE_AS_STRCAT): Define.
51073         Add strcat and strncat support.
51074         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
51075
51076 2011-07-25  Andreas Schwab  <schwab@redhat.com>
51077
51078         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
51079         __n bigger than INT_MAX+1.
51080         (__strncmp_g): Likewise.
51081
51082 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
51083
51084         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
51085         * libio/stido.h: Likewise.
51086
51087         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
51088         (AF_NFC): Define.
51089         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
51090         (AF_NFC): Define.
51091
51092         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
51093         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
51094         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
51095         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
51096         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
51097
51098         [BZ #13021]
51099         * scripts/test-installation.pl: Don't expect libnss_test1 to be
51100         installed.
51101
51102         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
51103         typo.
51104         (_dl_x86_64_save_sse): Likewise.
51105
51106 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
51107
51108         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
51109         OSXSAVE.
51110         (_dl_x86_64_save_sse): Likewise.
51111
51112         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
51113
51114         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
51115
51116 2011-07-21  Andreas Schwab  <schwab@redhat.com>
51117
51118         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
51119         change.
51120         (_dl_x86_64_save_sse): Use correct AVX check.
51121
51122 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
51123
51124         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
51125         bug in strncpy/strncat.
51126         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
51127
51128 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
51129
51130         * string/tester.c (test_strcat): Add tests for different alignments
51131         of source and destination.
51132         (test_strncat): Likewise.
51133
51134 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
51135
51136         [BZ #12852]
51137         * posix/glob.c (glob): Check passed in values before using them in
51138         expressions to avoid some overflows.
51139         (glob_in_dir): Likewise.
51140
51141         [BZ #13007]
51142         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
51143         check for AVX enablement so that we don't crash with old kernels and
51144         new hardware.
51145         * elf/tst-audit4.c: Add same checks here.
51146         * elf/tst-audit6.c: Likewise.
51147
51148         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
51149
51150 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
51151
51152         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
51153
51154 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
51155
51156         * po/cs.po: Update from translation team.
51157         * po/bg.po: Likewise.
51158
51159 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
51160
51161         * misc/sys/cdefs.h: Add support for const attribute.
51162         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
51163         to gnu_dev_{major,minor,makedev} functions.
51164
51165 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
51166
51167         * intl/dcigettext.c (get_output_charset): Add missing bracket.
51168
51169 2011-07-20  Andreas Schwab  <schwab@redhat.com>
51170
51171         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
51172         strlen results.
51173
51174 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
51175
51176         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
51177         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
51178         register in order to avoid conflicts with the soft frame pointer
51179         being held in r11 when necessary.
51180         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
51181         (INTERNAL_VSYSCALL_NCS): Likewise.
51182
51183 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
51184
51185         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
51186         * elf/dl-fini.c (_dl_fini): Adjust caller.
51187         * elf/dl-close.c (_dl_close_worker): Likewise.
51188         * sysdeps/generic/ldsodefs.h: Adjust declaration.
51189
51190 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
51191
51192         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
51193         "aux_cache->nlibs < 0".
51194
51195         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
51196         in the reload-count case.
51197
51198 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
51199
51200         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
51201         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
51202         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
51203         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
51204         * sysdeps/x86_64/multiarch/strcat.S: New file.
51205         * sysdeps/x86_64/multiarch/strncat.S: New file.
51206         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
51207         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
51208         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
51209         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
51210         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
51211         (USE_AS_STRCAT): Define.
51212         Add strcat and strncat support.
51213         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
51214         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
51215         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
51216         * string/strncat.c: Update.
51217         (USE_AS_STRNCAT): Define.
51218         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
51219         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
51220         and i7.
51221         * sysdeps/x86_64/multiarch/init-arch.h
51222         (bit_Prefer_PMINUB_for_stringop): New.
51223         (index_Prefer_PMINUB_for_stringop): Likewise.
51224         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
51225         bit_Prefer_PMINUB_for_stringop.
51226
51227 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
51228
51229         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
51230         buffer64.
51231         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
51232         of casting of buffer.
51233         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
51234         buffer32 and buffer64.
51235         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
51236         writes instead of casting of buffer.
51237         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
51238         buffer32.
51239         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
51240         casting of buffer.
51241
51242 2011-07-19  Andreas Schwab  <schwab@redhat.com>
51243
51244         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
51245
51246 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
51247
51248         * nscd/nscd.c (termination_handler): Don't do anything for a database
51249         if it has not yet been initialized.
51250
51251 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
51252
51253         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
51254
51255 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
51256
51257         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
51258
51259 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
51260
51261         * po/nl.po: Update from translation team.
51262         * po/sv.po: Likewise.
51263
51264 2011-07-16  Roland McGrath  <roland@hack.frob.com>
51265
51266         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
51267         now disallowed by GCC.
51268
51269         * configure.in (use-default-link): Default to yes if a test -shared
51270         link meets our qualifications.
51271         * configure: Regenerated.
51272
51273         * config.make.in (output-format): New variable.
51274         * configure.in: Check for ld --print-output-format support.
51275         * configure: Regenerated.
51276         * Makerules ($(common-objpfx)format.lds)
51277         [$(output-format) != unknown]: Just use $(output-format),
51278         instead of the linker-script munging.
51279
51280 2011-07-14  Roland McGrath  <roland@hack.frob.com>
51281
51282         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
51283         of $(common-objpfx)shlib.lds.
51284         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
51285
51286         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
51287         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
51288
51289         * configure.in (-z relro check): Adjust test code to add a large
51290         writable data section after it.
51291         * configure: Regenerated.
51292
51293 2011-07-11  Roland McGrath  <roland@hack.frob.com>
51294
51295         * configure.in (-z relro check): Fix test code to make the variable
51296         truly const.
51297         * configure: Regenerated.
51298
51299 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
51300
51301         * nscd/nscd.h (struct traced_file): Define.
51302         (struct database_dyn): Remove inotify_descr, reset_res, and filename
51303         elements.  Add traced_files.
51304         (inotify_fd): Declare.
51305         (register_traced_file): Declare.
51306         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
51307         (inotify_fd): Export.
51308         (resolv_conf_descr): Remove.
51309         (nscd_init): Move inotify descriptor creation to main.
51310         Don't register files for notification here.
51311         (register_traced_file): New function.
51312         (invalidate_cache): Don't use reset_res to determine whether to call
51313         res_init, go through the list of registered files.
51314         (main_loop_poll): The inotify descriptors are now stored in the
51315         structures for the traced files.
51316         (main_loop_epoll): Likewise
51317         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
51318         to __nss_disable_nscd.
51319         * nscd/cache.c (prune_cache): There is no single inotify descriptor
51320         for a database anymore.  Check the records for all the registered
51321         files instead.
51322         * nss/Makefile (libnss_files-routines): Add files-init.
51323         (libnss_db-routines): Add db-init.
51324         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
51325         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
51326         * nss/nss_db/db-init.c: New file.
51327         * nss/nss_files/files-init.c: New file.
51328         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
51329         __nss_lookup_function.
51330         (__nss_lookup_function): Call nss_load_library.
51331         (nss_load_all_libraries): New function.
51332         (__nss_disable_nscd): Take parameter with callback function for files
51333         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
51334         used for the cached services.
51335         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
51336         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
51337         options for features to all the files in nscd.
51338
51339         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
51340
51341 2011-07-10  Roland McGrath  <roland@hack.frob.com>
51342
51343         * csu/elf-init.c (__libc_csu_init): Comment typo.
51344
51345 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
51346
51347         * po/pl.po: Update from translation team.
51348         * po/ja.po: Likewise.
51349         * po/ru.po: Likewise.
51350         * po/ko.po: Likewise.
51351         * po/fr.po: Likewise.
51352
51353 2011-07-09  Roland McGrath  <roland@hack.frob.com>
51354
51355         * configure.in (.ctors/.dtors header and trailer check):
51356         Use an empirical test on a built program.
51357         * configure: Regenerated.
51358
51359         * configure.in (-z relro check): Use an empirical test on a built DSO.
51360         Detect, but do not require, on ia64.
51361         * configure: Regenerated.
51362
51363         * configure.in (READELF): Find it with AC_CHECK_TOOL.
51364         Update tests that use readelf to use $READELF instead.
51365         * configure: Regenerated.
51366
51367 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
51368
51369         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
51370         if the result is not used.
51371
51372 2011-07-05  Andreas Jaeger  <aj@suse.de>
51373
51374         [BZ#9696]
51375         * stdlib/tst-strtod.c: Add testcase.
51376
51377 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
51378
51379         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
51380         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
51381         The latter has a higher limit.  Take additional parameter to pass to
51382         the new function.
51383         (__pathconf): Pass file to __statfs_link_max.
51384         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
51385         __statfs_link_max.
51386         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
51387         __statfs_link_max.
51388
51389         [BZ #12868]
51390         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
51391         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
51392         Handle Lustre.
51393         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
51394         (__statfs_filesize_max): Likewise.
51395         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
51396
51397 2011-07-05  Andreas Jaeger  <aj@suse.de>
51398
51399         * resolv/res_comp.c (dn_skipname): Remove unused variable.
51400
51401 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
51402
51403         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
51404         `status' variable.
51405         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
51406         Likewise.
51407
51408 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
51409
51410         * Makefile (strop-tests): Add strncat.
51411         * string/test-strncat.c: New file.
51412
51413 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
51414
51415         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
51416
51417 2011-06-21  Andreas Jaeger  <aj@suse.de>
51418
51419         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
51420         Copy rule from iconvdata/Makefile.
51421
51422 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
51423
51424         [BZ #12922]
51425         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
51426         but no long options are defined, just return 'W'.
51427
51428 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
51429
51430         [BZ #9696]
51431         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
51432
51433 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
51434
51435         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
51436         netgroups to read.
51437         (innetgr): Likewise.
51438
51439 2011-07-05  Roland McGrath  <roland@hack.frob.com>
51440
51441         * config.make.in (install_root): Default to $(DESTDIR).
51442
51443 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
51444
51445         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
51446
51447 2011-07-02  Roland McGrath  <roland@hack.frob.com>
51448
51449         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
51450
51451         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
51452         containing directory rather than embedding absolute directory names.
51453
51454         * scripts/check-local-headers.sh: Rewritten using awk.
51455         Match by word, not by line.  Print error messages for matches.
51456         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
51457
51458         * Makerules [shlib-lds-flags empty]:
51459         ($(common-objpfx)libc_pic.opts): New target.
51460         ($(common-objpfx)libc_pic.os.clean): New target.
51461         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
51462
51463         * config.make.in (OBJCOPY): New variable.
51464         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
51465         * configure: Regenerated.
51466
51467         * config.make.in (use-default-link): New variable.
51468         * configure.in (use_default_link): Grok --with-default-link to set it.
51469         * configure: Regenerated.
51470         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
51471         (shlib-lds, shlib-lds-flags): Define to empty.
51472
51473         * Makerules (shlib-lds): New variable.
51474         (shlib-lds-flags): New variable.
51475         (build-shlib, build-moduile, build-module-asneeded): Use it.
51476         ($(common-objpfx)libc.so): Use $(shlib-lds).
51477         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
51478         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
51479
51480         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
51481         DT_FLAGS/DT_FLAGS_1 with zero flags.
51482
51483         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
51484         linker script munging.
51485
51486 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
51487
51488         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
51489         as 128-bit value.
51490         * crypt/sha512.c (sha512_process_block): Perform total addition using
51491         128-bit if possible.
51492         (__sha512_finish_ctx): Likewise.
51493         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
51494         as 64-bit value.
51495         * crypt/sha256.c (SWAP64): Define.
51496         (sha256_process_block): Perform total addition using 64-bit if
51497         possible.
51498         (__sha256_finish_ctx): Likewise.
51499
51500 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
51501
51502         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
51503         * nscd/initgrcache.c (addinitgroupsX): Likewise.
51504         * nscd/hstcache.c (cache_addhst): Likewise.
51505         * nscd/grpcache.c (cache_addgr): Likewise.
51506         * nscd/aicache.c (addhstaiX): Likewise
51507         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
51508
51509 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
51510
51511         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
51512         * nscd/initgrcache.c (addinitgroupsX): Likewise.
51513         * nscd/hstcache.c (cache_addhst): Likewise.
51514         * nscd/grpcache.c (cache_addgr): Likewise.
51515         * nscd/aicache.c (addhstaiX): Likewise
51516
51517 2011-07-01  Andreas Schwab  <schwab@redhat.com>
51518
51519         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
51520         domain only when needed.
51521
51522 2011-06-30  Andreas Schwab  <schwab@redhat.com>
51523
51524         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
51525         is always restored.
51526
51527 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
51528
51529         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
51530         are re-adding the entry.
51531         * nscd/servicescache.c (cache_addserv): Likewise.
51532
51533 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
51534
51535         * sysdeps/generic/dl-irel.h: fix protection against multiple
51536         inclusions.
51537         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
51538
51539 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
51540
51541         [BZ #12935]
51542         * malloc/memusage.sh: Fix quoting in message.
51543         * debug/xtrace.sh: Likewise.
51544
51545         * configure.in: Remove support for --experimental-malloc option, make
51546         it the default.
51547         * config.make.in: Likewise.
51548         * malloc/Makefile: Likewise.
51549
51550 2011-06-27  Andreas Schwab  <schwab@redhat.com>
51551
51552         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
51553         two-byte characters.
51554
51555 2011-06-27  Roland McGrath  <roland@hack.frob.com>
51556
51557         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
51558         AC_CACHE_CHECK invocation.
51559         * configure: Regenerated.
51560
51561         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
51562
51563 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
51564
51565         [BZ #12350]
51566         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
51567         bit from old_res_options.
51568
51569         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
51570
51571         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
51572         value type for setfct.
51573
51574 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
51575
51576         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
51577         __gettimeofday instead of gettimeofday.
51578
51579 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
51580
51581         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
51582
51583 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
51584
51585         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
51586
51587         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
51588         info.
51589
51590 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
51591
51592         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
51593         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
51594         strcpy-sse2-unaligned strncpy-sse2-unaligned
51595         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
51596         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
51597         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
51598         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
51599         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
51600         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
51601         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
51602         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
51603         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
51604         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
51605         (STRCPY): Support SSE2 and SSSE3 versions.
51606
51607 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
51608
51609         [BZ #12874]
51610         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
51611         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
51612         kernels which artificially limit size of requests.
51613
51614 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
51615
51616         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
51617         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
51618         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
51619         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
51620         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
51621         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
51622         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
51623         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
51624         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
51625         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
51626         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
51627         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
51628         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
51629         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
51630         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
51631         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
51632         Enable unaligned load optimization for Intel Core i3, i5 and i7
51633         processors.
51634         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
51635         Define.
51636         (index_Fast_Unaligned_Load): Define.
51637         (HAS_FAST_UNALIGNED_LOAD): Define.
51638
51639 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
51640
51641         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
51642
51643 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
51644
51645         [BZ #12907]
51646         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
51647         until it is clear that the information is realy needed.
51648         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
51649
51650 2011-06-22  Andreas Schwab  <schwab@redhat.com>
51651
51652         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
51653
51654 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
51655
51656         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
51657         /sys/devices/system/cpu/online if it is usable.
51658
51659         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
51660         reading the information from the /proc filesystem to once a second.
51661
51662 2011-06-21  Andreas Jaeger  <aj@suse.de>
51663
51664         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
51665         NULL after inclusion of kernel headers.
51666
51667 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
51668
51669         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
51670         calls to internal_setent.
51671
51672         [BZ #12885]
51673         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
51674         addresses using gethostbyname4_r ignore IPv4 addresses.
51675
51676         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
51677         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
51678
51679         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
51680
51681 2011-06-20  David S. Miller  <davem@davemloft.net>
51682
51683         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
51684         inclusions.
51685         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
51686
51687         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
51688         (elf_irel): Use it.
51689         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
51690         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
51691         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
51692         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
51693         * sysdeps/x86_64/dl-irel.h: Likewise.
51694
51695         * elf/dl-runtime.c: Use elf_ifunc_invoke.
51696         * elf/dl-sym.c: Likewise.
51697
51698 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
51699
51700         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
51701         need to dereference resplen2.
51702
51703 2011-06-14  Andreas Schwab  <schwab@redhat.com>
51704
51705         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
51706
51707 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
51708
51709         * Makeconfig: Define vardbdir and inst_vardbdir.
51710         * nss/Makefile: Add rules to install db-Makefile.
51711
51712         * nss/nss_db/db-XXX.c: Cleanup.
51713
51714         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
51715         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
51716         GLIBC_PRIVATE.
51717         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
51718         * nss/makedb.c: Implement -g option to specify that value strings
51719         are generated and should not be added to table iterated over for
51720         get*ent calls.
51721         * nss/nss_db/db-initgroups.c: New file.
51722
51723         * nss/getent.c: Add support for initgroups lookups through getgrouplist
51724         interface.
51725
51726         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
51727         (internal_getgrouplist): Adjust to name change.
51728         Update use_initgroups_entry if this is not the first call.
51729         * nss/databases.def: Add initgroups entry.
51730
51731         * nss/makedb.c (compute_tables): Check result of multiple hash table
51732         sizes to minimize maximum chain length.
51733
51734 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
51735
51736         * Versions.def: Add entry for libnss_db.
51737         * shlib-versions: Likewise.
51738         * nss/Makefile: Add rules to build libnss_db.
51739         * nss/Versions: Add libnss_db information.  Organize libnss_files
51740         entries better.
51741         * nss/db-Makefile: Add gshadow support.  Change rules for the new
51742         makedb progra.  Some minor improvements to generate smaller files.
51743         * nss/nss_db/nss_db.h: Move NSS database header data structures to
51744         here from...
51745         * nss/makedb.c: ...here.
51746         Improve database format to be smaller and require less memory at
51747         runtime.
51748         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
51749         db anymore.
51750         * nss/nss_db/db-netgrp.c: Likewise.
51751         * nss/nss_db/db-open.c: Likewise.
51752         * nss/nss_files/flies-XXX.x: Adjust comments.
51753         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
51754         * nss/nss_files/files-grp.c: Likewise.
51755         * nss/nss_files/files-hosts.c: Likewise.
51756         * nss/nss_files/files-network.c: Likewise.
51757         * nss/nss_files/files-proto.c: Likewise.
51758         * nss/nss_files/files-pwd.c: Likewise.
51759         * nss/nss_files/files-rpc.c: Likewise.
51760         * nss/nss_files/files-service.c: Likewise.
51761         * nss/nss_files/files-sgrp.c: Likewise.
51762         * nss/nss_files/files-spwd.c: Likewise.
51763         * nss/nss_db/db-alias.c: Removed.
51764         * nss/nss_db/dummy-db.h: Removed.
51765
51766 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
51767
51768         * nss/makedb.c: Rewritten to not use database library.
51769         * nss/Makefile: Update to build new makedb program.
51770
51771 2011-06-14  Andreas Jaeger  <aj@suse.de>
51772
51773         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
51774         memset declaration.
51775
51776 2011-06-10  Andreas Schwab  <schwab@redhat.com>
51777
51778         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
51779         tmpbuf.
51780
51781 2011-06-10  Roland McGrath  <roland@hack.frob.com>
51782
51783         * Makerules (shlib.lds): Fail if the linker script comes out empty.
51784         * elf/Makefile ($(objpfx)ld.so): Likewise.
51785
51786         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
51787         Don't list ld.so twice in dependencies.
51788
51789         * posix/bug-regex31.c: Include <stdlib.h>.
51790
51791         * nscd/hstcache.c (cache_addhst): Remove unused variable.
51792
51793         * nis/nss_compat/compat-spwd.c
51794         (getspent_next_nss_netgr): Remove unused variable.
51795         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
51796
51797         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
51798         nonmembers" output to use the right array.
51799
51800         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
51801
51802         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
51803
51804         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
51805         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
51806         * catgets/gencat.c (read_input_file): Likewise.
51807         * locale/programs/locarchive.c (enlarge_archive): Likewise.
51808
51809         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
51810         variable definition inside #if's controlling its use.
51811
51812         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
51813
51814         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
51815
51816         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
51817
51818         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
51819         unreachable code.
51820
51821         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
51822
51823         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
51824         * configure: Regenerated.
51825
51826         * Makerules: Revert last change.
51827         * elf/Makefile: Likewise.
51828
51829 2011-06-09  Roland McGrath  <roland@hack.frob.com>
51830
51831         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
51832         * elf/Makefile ($(objpfx)librtld.os): Likewise.
51833         (reloc-link): Likewise.
51834
51835 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
51836
51837         * elf/Makefile: Add rules to build pldd.
51838         * elf/pldd.c: New file.
51839         * elf/pldd-xx.c: New file.
51840
51841 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
51842
51843         * version.h: Update for 2.15 development version.
51844
51845 2011-06-07  David S. Miller  <davem@davemloft.net>
51846
51847         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
51848         ifuncs.
51849         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
51850         elf_machine_lazy_rel): Likewise.
51851         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
51852         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
51853         elf_machine_lazy_rel): Likewise.
51854         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
51855         dl_hwcap via passed in argument.
51856         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
51857         Likewise.
51858
51859 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
51860
51861         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
51862
51863 2011-06-06  Roland McGrath  <roland@hack.frob.com>
51864
51865         [BZ #12849]
51866         * manual/fdl-1.1.texi: New file, verbatim from:
51867         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
51868         * manual/lgpl-2.1.texi: New file, verbatim from:
51869         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
51870         * manual/Makefile (licenses): New variable, list those new file names.
51871         (texis): Use it.
51872         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
51873
51874         * manual/fdl.texi: File removed.
51875         * manual/lesser.texi: File removed.
51876         * manual/libc.texinfo (Copying, Documentation License):
51877         Use new @include file names, put @appendix directive before @include.
51878
51879 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
51880
51881         [BZ #12841]
51882         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
51883         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
51884         (mq_open): Add __NTH.
51885
51886 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
51887
51888         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
51889         Assume Intel Core i3/i5/i7 processor if AVX is available.
51890
51891 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
51892
51893         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
51894         typo.
51895
51896 2011-05-31  Andreas Schwab  <schwab@redhat.com>
51897
51898         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
51899         memory.  Use alloca_account.  Fix memory leak when retrying.
51900
51901 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
51902
51903         * version.h (RELEASE): Bump for 2.14 release.
51904         * include/features.h (__GLIBC_MINOR__): Bump to 14.
51905
51906         * config.make.in (RANLIB): Remove entry.
51907
51908 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
51909
51910         * po/Makefile (po-sed-cmd): Add ksh to extensions.
51911         (libc.pot): Work around missing support for .ksh extension in xgettext.
51912
51913         [BZ #12684]
51914         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
51915         if both request failed.
51916         (send_dg): In case of server errors clear resplen or *resplen2.
51917
51918         [BZ #12454]
51919         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
51920         when there are multiple maps.
51921         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
51922         (_dl_fini): Remove test here.
51923
51924         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
51925
51926 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
51927
51928         [BZ #12350]
51929         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
51930         bit from old_res_options.
51931         (gaih_inet): Likewise.
51932
51933         [BZ #11099]
51934         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
51935         as signed.
51936
51937         * resolv/res_init.c (res_setoptions): Make the code more compact.
51938
51939         [BZ #11558]
51940         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
51941         set RES_USEVC.
51942
51943         [BZ #11634]
51944         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
51945
51946         * malloc/malloc.h: Mark malloc hook variables as deprecated.
51947
51948         [BZ #11781]
51949         * malloc/malloc.h: Declare malloc hook variables as volatile.
51950
51951         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
51952         in last patch.
51953
51954         [BZ #11799]
51955         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
51956         raise in the comment.
51957         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
51958         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
51959         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
51960
51961 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
51962
51963         [BZ #12811]
51964         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
51965         grow the buffers more if it already has to be sufficient.
51966         (build_wcs_upper_buffer): Likewise.
51967         * posix/regexec.c (check_matching): Likewise.
51968         (clean_state_log_if_needed): Likewise.
51969         (extend_buffers): Don't enlarge buffers beyond size of the input
51970         buffer.
51971         Patches mostly by Emil Wojak <emil@wojak.eu>.
51972         * posix/bug-regex32.c: New file.
51973         * posix/Makefile (tests): Add bug-regex32.
51974
51975         * locale/findlocale.c (_nl_find_locale): Return right away if
51976         _nl_explode_name failed.
51977         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
51978
51979         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
51980
51981         * debug/xtrace.sh: Unify messages.
51982         * malloc/memusage.sh: Likewise.
51983
51984         [BZ #12813]
51985         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
51986         time symbol from vDSO.  Substitute with vsyscall if not available.
51987         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
51988         __vdso_time.
51989
51990         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
51991         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
51992         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
51993         Add sendmmsg and internal_sendmmsg.
51994         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
51995         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
51996         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
51997
51998         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
51999         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
52000         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
52001
52002 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
52003
52004         [BZ #12813]
52005         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
52006         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
52007         available.
52008         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
52009         __vdso_getcpu.
52010
52011         [BZ #12814]
52012         * iconvdata/Makefile (tests): Add bug-iconv9.
52013         * iconvdata/bug-iconv9.c: New file.
52014
52015 2011-05-27  Andreas Schwab  <schwab@redhat.com>
52016
52017         [BZ #12814]
52018         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
52019
52020 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
52021
52022         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
52023         (struct user_regs_struct): Change intcs field back to cs.
52024
52025 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
52026
52027         * po/ja.po: Update from translation team.
52028
52029 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
52030
52031         [BZ #12795]
52032         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
52033         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
52034
52035 2011-05-20  Andreas Schwab  <schwab@redhat.com>
52036
52037         * stdlib/longlong.h: Update from GCC.
52038
52039 2011-05-23  Andreas Schwab  <schwab@redhat.com>
52040
52041         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
52042         parameter name.
52043         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
52044         Add parameter name.
52045         (__sysconf): Pass it down.
52046
52047 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
52048
52049         [BZ #12671]
52050         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
52051         some situations.
52052         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
52053         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
52054         add in in __libc_use_alloca calls.  Adjust callers.
52055         (glob): Use malloc in some situations.
52056
52057         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
52058         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
52059         pltexit.
52060
52061 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
52062
52063         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
52064         and CLOCK_BOOTTIME_ALARM.
52065
52066         [BZ #12782]
52067         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
52068         is returned.
52069
52070         * string/_strerror.c (__strerror_r): Print negative errors as signed
52071         numbers.
52072
52073         [BZ #12777]
52074         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
52075         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
52076         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
52077
52078         * configure.in: Fix typo in redirection and correct removal of test
52079         files in two cases.
52080
52081         [BZ #12788]
52082         * locale/setlocale.c (new_composite_name): Fix test to check for
52083         identical name of all categories.
52084
52085         [BZ #12792]
52086         * libio/filedoalloc.c (local_isatty): New function.
52087         (_IO_file_doallocate): Use local_isatty.
52088         * stdio-common/perror.c (perror): In case a new stream is used
52089         forward the stream error.
52090         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
52091         error flag.
52092
52093 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
52094
52095         [BZ #11869]
52096         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
52097         alloca.
52098         * include/alloca.h (extend_alloca_account): Define.
52099
52100         [BZ #11857]
52101         * posix/regex.h: Fix comments with documentation of user-accessible
52102         fields after compilation and describe correct free'ing of pattern
52103         after re_compile_pattern.
52104         Patch by Reuben Thomas <rrt@sc3d.org>.
52105
52106 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
52107
52108         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
52109         and -mno-altivec to prevent the compiler from using Altivec and/or
52110         VSX instructions when the corresponding registers are not available.
52111
52112 2011-05-19  Andreas Schwab  <schwab@redhat.com>
52113
52114         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
52115
52116 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
52117
52118         * libio/freopen.c (freopen): Use __dup2, not dup2.
52119         * libio/freopen64.c (freopen64): Likewise.
52120
52121 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
52122
52123         [BZ #12775]
52124         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
52125         * math/Makefile (tests): Add test-powl.
52126         (CFLAGS-test-powl.c): Define.
52127         * math/test-powl.c: New file.
52128
52129 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
52130
52131         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
52132
52133 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
52134
52135         [BZ #11837]
52136         * iconvdata/gb18030.c: Update to GB18020-2005.
52137
52138 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
52139
52140         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
52141         RE_SYNTAX_POSIX_AWK): Update to match recent development.
52142         Patch by Aharon Robbins <arnold@skeeve.com>.
52143
52144         [BZ #11892]
52145         * stdlib/putenv.c (putenv): Don't always create copy of the variable
52146         on the stack.
52147
52148         [BZ #11895]
52149         * misc/pselect.c (__pselect): Handle timeout value errors hidden
52150         through underflows.
52151
52152         [BZ #12766]
52153         * misc/error.c (error_at_line): Ensure file_name and old_file_name
52154         point to strings before performing equality test for error_one_per_line
52155         mode.
52156
52157         [BZ #11697]
52158         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
52159
52160         [BZ #11820]
52161         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
52162         (struct user_fpregs_struct): Avoid __uint*_t types.
52163
52164         [BZ #6420]
52165         * malloc/mtrace.c (tr_where): Add additional parameter to point to
52166         symbol info.  Use it instead of calling _dl_addr locally.
52167         (lock_and_info): New function.
52168         (tr_freehook): Call lock_and_info and pass symbol info as additional
52169         parameter to tr_where.
52170         (tr_mallochook): Likewise.
52171         (tr_reallochook): Likewise.
52172         (tr_memalignhook): Likewise.
52173
52174         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
52175         used and couldn't be at all thread-safe.
52176
52177 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
52178
52179         * libio/freopen.c (freopen): Don't close old file descriptor
52180         before the new one is opened.  Instead dup the new file descriptor
52181         to the old one after the new stream is created.
52182         * libio/freopen64.c (freopen64): Likewise.
52183         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
52184         * libio/fileops.c (_IO_new_file_close_it): Handle new
52185         _IO_FLAGS2_NOCLOSE flag.
52186         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
52187         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
52188         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
52189         _IO_FLAGS2_NOCLOSE flag.
52190         * include/unistd.h: Add hidden_proto for dup3.
52191         Define __have_dup3.
52192         * io/dup3.c: Define hidden symbol.
52193         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
52194
52195         [BZ #7101]
52196         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
52197         when an incomplete long option is used.
52198         * posix/tst-getopt_long1.c: New file.
52199         * posix/Makefile (tests): Add tst-getopt_long1.
52200
52201         [BZ #10138]
52202         * scripts/config.guess: Update from autoconf-2.68.
52203         * scripts/config.sub: Likewise.
52204
52205         [BZ #10157]
52206         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
52207         tests into ...
52208         (has_cpuclock): ...this.  New function.
52209         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
52210         macro here based on has_cpuclock code.
52211
52212         [BZ #10149]
52213         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
52214         First byte (not low byte) is now always NUL.
52215         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
52216
52217         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
52218         Use non-cancelable interfaces.
52219
52220         [BZ #9809]
52221         * locale/iso-639.def: Add entry for Sorani.
52222
52223         [BZ #11901]
52224         * include/stdlib.h: Move include protection to the right place.
52225         Define abort_msg_s.  Declare __abort_msg with it.
52226         * stdlib/abort.c (__abort_msg): Adjust type.
52227         * assert/assert.c (__assert_fail_base): New function.  Majority
52228         of code from __assert_fail.  Allocate memory for __abort_msg with
52229         mmap.
52230         (__assert_fail): Now call __assert_fail_base.
52231         * assert/assert-perr.c: Remove bulk of implementation.  Use
52232         __assert_fail_base.
52233         * include/assert.hL Declare __assert_fail_base.
52234         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
52235         mmap.
52236         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
52237
52238 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
52239
52240         [BZ #11952]
52241         [BZ #12453]
52242         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
52243         until all modules are registered in the DTV.
52244         * elf/Makefile: Add rules to build and run tst-tls19.
52245         * elf/tst-tls19.c: New file.
52246         * elf/tst-tls19mod1.c: New file.
52247         * elf/tst-tls19mod2.c: New file.
52248         * elf/tst-tls19mod3.c: New file.
52249         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
52250
52251         [BZ #12083]
52252         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
52253         correctly.
52254
52255         [BZ #12601]
52256         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
52257         two-byte sequence errors.
52258         * iconvdata/Makefile (tests): Add bug-iconv8.
52259         * iconvdata/bug-iconv8.c: New file.
52260
52261         [BZ #12626]
52262         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
52263         buf2 definition.
52264
52265         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
52266
52267         [BZ #12432]
52268         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
52269         (dummy_getcfa): New function.
52270         (init): Get _Unwind_GetCFA address, use dummy if not found.
52271         (backtrace_helper): In recursion check, also check whether CFA changes.
52272         (__backtrace): Completely initialize arg.
52273
52274         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
52275         storing incomplete byte sequence in state object.  Avoid testing for
52276         guaranteed too small input if we know there is enough data available.
52277
52278 2011-05-11  Andreas Schwab  <schwab@redhat.com>
52279
52280         * Makeconfig (+link-pie): Indent.
52281         * Rules (binaries-pie): Define if $(have-fpie) and
52282         $(build-shared).
52283         (binaries-shared): Also filter out $(binaries-pie).
52284         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
52285         * nscd/Makefile (others-pie): Add nscd.
52286         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
52287         ($(objpfx)nscd): Remove command override.
52288         * login/Makefile (others-pie): Add pt_chown.
52289         ($(objpfx)pt_chown): Remove command override.
52290         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
52291         remove command overrides.
52292
52293 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
52294
52295         * libio/tst_putwc.c: Fix error messages.
52296
52297         [BZ #12724]
52298         * libio/fileops.c (_IO_new_file_close_it): Always flush when
52299         currently writing and seek to current position when not.
52300         * libio/Makefile (tests): Add bug-fclose1.
52301         * libio/bug-fclose1.c: New file.
52302
52303 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
52304
52305         [BZ #12511]
52306         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
52307         don't set DF_1_NODELETE here.
52308         (do_lookup_x): When entering new entry test for copy relocation
52309         and if necessary set DF_1_NODELETE flag.
52310         * elf/tst-unique4.cc: New file.
52311         * elf/tst-unique4.h: New file.
52312         * elf/tst-unique4lib.cc: New file.
52313         * elf/Makefile: Add rules to build and run tst-unique4.
52314         Patch by Piotr Bury <pbury@goahead.com>.
52315
52316 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
52317
52318         [BZ #12052]
52319         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
52320
52321         [BZ #12625]
52322         * misc/mntent_r.c (addmntent): Flush the stream after the output
52323
52324         [BZ #12393]
52325         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
52326         (is_trusted_path_normalize): Skip initial colon.  Append slash
52327         to empty buffer.  Duplicate is_trusted_path code but allow
52328         constructed patch to be prefix.
52329         (is_dst): Allow $ORIGIN followed by /.
52330         (_dl_dst_substitute): Correct clearing of check_for_trusted.
52331         Correct testing of result of is_trusted_path_normalize
52332         (decompose_rpath): Fix warning.
52333
52334 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
52335
52336         [BZ #11257]
52337         * grp/initgroups.c (internal_getgrouplist): When we found the service
52338         list through the initgroups entry in nsswitch.conf do not always
52339         continue on a successful lookup.  Don't always use the
52340         __nss_group_database value if it is set.
52341         * nss/nsswitch.conf (initgroups): Change action for successful db
52342         lookup to continue for compatibility.
52343
52344 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
52345
52346         [BZ #11532]
52347         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
52348         and CP774 modules.
52349         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
52350         and CP774 modules.
52351         * iconvdata/tst-tables.sh: Likewise.
52352         * iconvdata/cp770.c: New file.
52353         * iconvdata/cp771.c: New file.
52354         * iconvdata/cp772.c: New file.
52355         * iconvdata/cp773.c: New file.
52356         * iconvdata/cp774.c: New file.
52357         * iconvdata/testdata/CP770: New file.
52358         * iconvdata/testdata/CP770..UTF8: New file.
52359         * iconvdata/testdata/CP771: New file.
52360         * iconvdata/testdata/CP771..UTF8: New file.
52361         * iconvdata/testdata/CP772: New file.
52362         * iconvdata/testdata/CP772..UTF8: New file.
52363         * iconvdata/testdata/CP773: New file.
52364         * iconvdata/testdata/CP773..UTF8: New file.
52365         * iconvdata/testdata/CP774: New file.
52366         * iconvdata/testdata/CP774..UTF8: New file.
52367
52368         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
52369         END CHARMAP line.
52370         * iconvdata/gen-8bit-gap.sh: Likewise.
52371         * iconvdata/gen-8bit.sh: Likewise.
52372
52373         * locale/iso-639.def: Add ary entry.
52374
52375         [BZ #11258]
52376         * locale/C-translit.h.in: Add U20A1 transliteration.
52377
52378         [BZ #12178]
52379         * locale/iso-639.def: Add wae entry.
52380         Patch by Kevin Bortis <bortis@translate-wae.ch>.
52381
52382         [BZ #12545]
52383         * locale/programs/localedef.c (construct_output_path): Use ssize_t
52384         for n.
52385
52386         [BZ #12711]
52387         * locale/C-translit.h.in: Add entry for U20B9.
52388         Patch by pravin.d.s@gmail.com.
52389
52390 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
52391
52392         [BZ #12713]
52393         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
52394         ENAMETOOLONG use generic getcwd.
52395         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
52396         in rtld.  Use *stat64.
52397         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
52398         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
52399         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
52400         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
52401         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
52402         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
52403         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
52404         __fstatat64 macros.
52405         * include/dirent.h: Add libc_hidden_proto for rewinddir.
52406         * dirent/rewinddir.c: Add libc_hidden_def.
52407         * sysdeps/mach/hurd/rewinddir.c: Likewise.
52408         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
52409
52410         * include/dirent.h (__alloc_dir): Add flags parameter.
52411         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
52412         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
52413         __alloc_dir.
52414         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
52415         from fdopendir if O_CLOEXEC is already set.
52416
52417 2011-03-15  Alan Modra  <amodra@gmail.com>
52418
52419         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
52420         l_tls_firstbyte_offset non-zero.  Save padding offset in
52421         l_tls_firstbyte_offset for later use.
52422         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
52423         freeing static tls block.
52424
52425 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
52426
52427         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
52428         where #ifdef was intended.  The intent is to prevent ARG_MAX from
52429         being defined by the kernel headers.
52430
52431 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
52432
52433         [BZ #12734]
52434         * resolv/resolv.h: Define RES_NOTLDQUERY.
52435         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
52436         no-tld-query and set RES_NOTLDQUERY.
52437         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
52438         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
52439         modern BIND to search name as TLD unless forbidden.
52440
52441 2011-05-07  Petr Baudis  <pasky@suse.cz>
52442             Ulrich Drepper  <drepper@gmail.com>
52443
52444         [BZ #12393]
52445         * elf/dl-load.c (fillin_rpath): Move trusted path check...
52446         (is_trusted_path): ...to here.
52447         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
52448         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
52449         using is_trusted_path_normalize() in setuid scripts.
52450
52451 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
52452
52453         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
52454         __BEGIN/__END_DECLS.
52455
52456 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
52457
52458         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
52459         NSS_STATUS_NOTFOUND if no record was found.
52460
52461 2011-05-05  Andreas Schwab  <schwab@redhat.com>
52462
52463         * sunrpc/Makefile (headers): Add rpc/netdb.h.
52464         (headers-not-in-tirpc): Remove rpc/netdb.h
52465         * resolv/netdb.h: Revert last change.
52466
52467 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
52468
52469         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
52470         circular dependency between libgcc.a and libc.a.
52471
52472 2011-05-05  Andreas Schwab  <schwab@redhat.com>
52473
52474         * resolv/netdb.h: Don't include <rpc/netdb.h>.
52475         * nis/Makefile: Don't install rpcsvc/*.
52476         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
52477         instead of <rpc/types.h>.
52478         (MAXHOSTNAMELEN): Define.
52479
52480 2011-05-03  Andreas Schwab  <schwab@redhat.com>
52481
52482         * elf/ldconfig.c (add_dir): Don't crash on empty path.
52483
52484 2011-04-28  Maciej Babinski  <mbabinski@google.com>
52485
52486         [BZ #12714]
52487         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
52488         gethostbyname4_r when IPv6 results are possible.
52489
52490 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
52491
52492         [BZ #12723]
52493         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
52494         _PC_PIPE_BUF handling.
52495
52496 2011-04-30  Bruno Haible  <bruno@clisp.org>
52497
52498         [BZ #12717]
52499         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
52500         * resolv/netdb.h (getnameinfo): Change type of flags parameter
52501         to 'int'.
52502         * inet/getnameinfo.c (getnameinfo): Likewise.
52503
52504 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
52505
52506         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
52507         to groups setting in database lookup.
52508         * nss/nsswitch.conf: Add initgroups entry.
52509
52510 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
52511
52512         [BZ #12685]
52513         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
52514         mode string.
52515         Patch by Eric Blake <eblake@redhat.com>.
52516
52517 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
52518
52519         * sunrpc/Makefile (need-export-routines): Add svc_run.
52520         (routines): Remove svc_run.
52521         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
52522         * sunrpc/clnt_perr.c (clnt_perrno): Export.
52523         * sunrpc/svc_run.c (svc_run): Likewise.
52524         * sunrpc/svc_udp.c (svcudp_create): Likewise.
52525
52526 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
52527
52528         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
52529         problem in reallocation in last patch.
52530
52531 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
52532
52533         * sunrpc/Makefile: Move inclusion of Rules.
52534
52535 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
52536
52537         * nss/nss_files/files-initgroups.c: New file.
52538         * nss/Makefile (libnss_files-routines): Add files-initgroups.
52539         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
52540         _nss_files_initgroups_dyn.
52541
52542 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
52543
52544         * elf/elf.h (R_ARM_IRELATIVE): Define.
52545
52546 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
52547
52548         * po/ru.po: Update from translation team.
52549
52550 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
52551
52552         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
52553         dependencies.
52554
52555 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
52556
52557         [BZ #12653]
52558         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
52559         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
52560         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
52561         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
52562         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
52563
52564 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
52565
52566         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
52567         differing bytes.
52568         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
52569         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
52570         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
52571
52572 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
52573
52574         [BZ #12420]
52575         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
52576         storing it.
52577         * stdlib/bug-getcontext.c: New file.
52578         * stdlib/Makefile: Add rules to build and run bug-getcontext.
52579
52580 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
52581
52582         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
52583         instructions into .machine "z9-109".
52584         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
52585         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
52586
52587 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
52588
52589         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
52590         between environment variables and auxiliary vector.
52591
52592 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
52593
52594         * Makefile: Add rules to build linkobj/libc.so.
52595         * include/libc-symbols.h: Define libc_hidden_nolink.
52596         * include/rpc/auth.h: Mark functions which are to be hidden.
52597         * include/rpc/auth_des.h: Likewise.
52598         * include/rpc/auth_unix.h: Likewise.
52599         * include/rpc/clnt.h: Likewise.
52600         * include/rpc/des_crypt.h: Likewise.
52601         * include/rpc/key_prot.h: Likewise.
52602         * include/rpc/pmap_clnt.h: Likewise.
52603         * include/rpc/pmap_prot.h: Likewise.
52604         * include/rpc/pmap_rmt.h: Likewise.
52605         * include/rpc/rpc_msg.h: Likewise.
52606         * include/rpc/svc.h: Likewise.
52607         * include/rpc/svc_auth.h: Likewise.
52608         * include/rpc/xdr.h: Likewise.
52609         * nis/Makefile: Link all DSOs against linkobj/libc.so.
52610         * nss/Makefile: Likewise.
52611         * sunrpc/Makefile: Don't install headers.  Build library with normal
52612         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
52613         * sunrpc/auth_des.c: Hide exported symbols by default, export some
52614         for the compat linking library.  Remove use of INTDEF/INTUSE.
52615         * sunrpc/auth_none.c: Likewise.
52616         * sunrpc/auth_unix.c: Likewise.
52617         * sunrpc/authdes_prot.c: Likewise.
52618         * sunrpc/authuxprot.c: Likewise.
52619         * sunrpc/clnt_gen.c: Likewise.
52620         * sunrpc/clnt_perr.c: Likewise.
52621         * sunrpc/clnt_raw.c: Likewise.
52622         * sunrpc/clnt_simp.c: Likewise.
52623         * sunrpc/clnt_tcp.c: Likewise.
52624         * sunrpc/clnt_udp.c: Likewise.
52625         * sunrpc/clnt_unix.c: Likewise.
52626         * sunrpc/des_crypt.c: Likewise.
52627         * sunrpc/des_soft.c: Likewise.
52628         * sunrpc/get_myaddr.c: Likewise.
52629         * sunrpc/key_call.c: Likewise.
52630         * sunrpc/key_prot.c: Likewise.
52631         * sunrpc/netname.c: Likewise.
52632         * sunrpc/pm_getmaps.c: Likewise.
52633         * sunrpc/pm_getport.c: Likewise.
52634         * sunrpc/pmap_clnt.c: Likewise.
52635         * sunrpc/pmap_prot.c: Likewise.
52636         * sunrpc/pmap_prot2.c: Likewise.
52637         * sunrpc/pmap_rmt.c: Likewise.
52638         * sunrpc/publickey.c: Likewise.
52639         * sunrpc/rpc_cmsg.c: Likewise.
52640         * sunrpc/rpc_common.c: Likewise.
52641         * sunrpc/rpc_dtable.c: Likewise.
52642         * sunrpc/rpc_prot.c: Likewise.
52643         * sunrpc/rpc_thread.c: Likewise.
52644         * sunrpc/rtime.c: Likewise.
52645         * sunrpc/svc.c: Likewise.
52646         * sunrpc/svc_auth.c: Likewise.
52647         * sunrpc/svc_authux.c: Likewise.
52648         * sunrpc/svc_raw.c: Likewise.
52649         * sunrpc/svc_run.c: Likewise.
52650         * sunrpc/svc_simple.c: Likewise.
52651         * sunrpc/svc_tcp.c: Likewise.
52652         * sunrpc/svc_udp.c: Likewise.
52653         * sunrpc/svc_unix.c: Likewise.
52654         * sunrpc/svcauth_des.c: Likewise.
52655         * sunrpc/xcrypt.c: Likewise.
52656         * sunrpc/xdr.c: Likewise.
52657         * sunrpc/xdr_array.c: Likewise.
52658         * sunrpc/xdr_float.c: Likewise.
52659         * sunrpc/xdr_intXX_t.c: Likewise.
52660         * sunrpc/xdr_mem.c: Likewise.
52661         * sunrpc/xdr_rec.c: Likewise.
52662         * sunrpc/xdr_ref.c: Likewise.
52663         * sunrpc/xdr_sizeof.c: Likewise.
52664         * sunrpc/xdr_stdio.c: Likewise.
52665
52666 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
52667
52668         [BZ #12650]
52669         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
52670         * sysdeps/ia64/dl-tls.h: Likewise.
52671         * sysdeps/powerpc/dl-tls.h: Likewise.
52672         * sysdeps/s390/dl-tls.h: Likewise.
52673         * sysdeps/sh/dl-tls.h: Likewise.
52674         * sysdeps/sparc/dl-tls.h: Likewise.
52675         * sysdeps/x86_64/dl-tls.h: Likewise.
52676         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
52677
52678 2011-03-14  Andreas Schwab  <schwab@redhat.com>
52679
52680         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
52681         rpath element also skip the following colon.
52682         (expand_dynamic_string_token): Add is_path parameter and pass
52683         down to DL_DST_REQUIRED and _dl_dst_substitute.
52684         (decompose_rpath): Call expand_dynamic_string_token with
52685         non-zero is_path.  Ignore empty rpaths.
52686         (_dl_map_object_from_fd): Call expand_dynamic_string_token
52687         with zero is_path.
52688
52689 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
52690
52691         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
52692         Make cancelable.
52693
52694 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
52695
52696         [BZ #12655]
52697         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
52698         Patch by Filipe David Manana <fdmanana@apache.org>.
52699
52700 2011-04-07  Andreas Schwab  <schwab@redhat.com>
52701
52702         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
52703         Maintain aligned stack.
52704         (CHECK_RSP): Remove unused macro.
52705
52706 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
52707
52708         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
52709         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
52710
52711 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
52712
52713         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
52714
52715         * include/features.h: Mention __USE_XOPEN2K8 in comment.
52716
52717 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
52718
52719         [BZ #12518]
52720         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
52721         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
52722         * sysdeps/x86_64/memmove.c: New file.
52723         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
52724         (memcpy): Renamed to ...
52725         (__new_memcpy): This.
52726         (memcpy): Provide GLIBC_2_14 memcpy.
52727         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
52728         (memcpy): Provide GLIBC_2_2_5 memcpy.
52729
52730 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
52731
52732         [BZ #12631]
52733         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
52734
52735 2011-03-30  Andreas Schwab  <schwab@redhat.com>
52736
52737         * misc/syncfs.c: New file.
52738         * misc/Makefile (routines): Add syncfs.
52739         * posix/unistd.h: Declare syncfs.
52740         * sysdeps/unix/syscalls.list: Add syncfs.
52741
52742 2011-04-01  Andreas Schwab  <schwab@redhat.com>
52743
52744         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
52745         open_by_handle_at.
52746         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
52747         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
52748         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
52749         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
52750         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
52751         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
52752         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
52753
52754 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
52755
52756         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
52757         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
52758         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
52759         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
52760         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
52761         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
52762         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
52763
52764         * io/Makefile: Compile fallocate.c, fallocate64.c, and
52765         sync_file_range.c with -fexceptions.
52766         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
52767         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
52768         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
52769         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
52770         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
52771         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
52772         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
52773         sync_file_range as cancellation point
52774         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
52775         now a wrapper around __call_sync_file_range with cancellation handling.
52776         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
52777         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
52778         function name to __call_sync_file_range.
52779         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
52780         Add call_sync_file_range.
52781
52782 2011-04-01  Andreas Schwab  <schwab@redhat.com>
52783
52784         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
52785         bits/timex.h.
52786
52787 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
52788
52789         * iconv/iconv.h: Fix typo in comment.
52790         * io/fcntl.h: Likewise.
52791         * libio/stdio.h: Likewise.
52792         * posix/spawn.h: Likewise.
52793         * posix/unistd.h: Likewise.
52794         * stdlib/stdlib.h: Likewise.
52795         * time/time.h: Likewise.
52796         * wcsmbs/wchar.h: Likewise.
52797
52798         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
52799         open_by_handle): Add.
52800         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
52801         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
52802         Augment a few comments.
52803         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
52804         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
52805         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
52806         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
52807         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
52808         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
52809         open_by_handle.
52810
52811         * io/fcntl.h (AT_EMPTY_PATH): Define.
52812
52813 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
52814
52815         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
52816         * sysdeps/unix/sysv/linux/bits/time.h: New file.
52817         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
52818         to...
52819         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
52820         * Versions.def: Add GLIBC_2.14.
52821         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
52822         Export.
52823
52824 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
52825
52826         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
52827         round counter.
52828         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
52829
52830 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
52831
52832         [BZ #12597]
52833         * string/test-strncmp.c (do_page_test): New function.
52834         (check2): Likewise.
52835         (test_main): Call check2.
52836         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
52837
52838 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
52839
52840         [BZ #12587]
52841         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
52842         Handle cache information in CPU leaf 4.
52843         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
52844
52845 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
52846
52847         [BZ #12583]
52848         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
52849         character representation.
52850         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
52851
52852 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
52853
52854         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
52855         END(__isnan) to END(__isnanf) to match function entry point/label
52856         EALIGN(__isnanf,...).
52857
52858 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
52859
52860         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
52861
52862 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
52863
52864         [BZ #12510]
52865         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
52866         copy from the symbol referenced in the relocation to initialize the
52867         used variable.
52868         Patch by Piotr Bury <pbury@goahead.com>.
52869         * elf/Makefile: Add rules to build and tst-unique3.
52870         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
52871         * elf/tst-unique3.cc: New file.
52872         * elf/tst-unique3.h: New file.
52873         * elf/tst-unique3lib.cc: New file.
52874         * elf/tst-unique3lib2.cc: New file.
52875
52876         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
52877
52878 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
52879
52880         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
52881         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
52882         to _start.
52883
52884 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
52885
52886         * elf/dl-load.c (_dl_map_object): If we are looking for the first
52887         to-be-loaded object along a path to loader is ld.so.
52888
52889 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
52890             Ulrich Drepper  <drepper@gmail.com>
52891
52892         * sysdeps/x86_64/memset.S: After aligning destination, code
52893         branches to different locations depending on the value of
52894         misalignment, when multiarch is enabled. Fix this.
52895
52896 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
52897
52898         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
52899         Set _x86_64_preferred_memory_instruction for AMD processsors.
52900         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
52901         Set bit_Prefer_SSE_for_memop for AMD processors.
52902
52903 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
52904
52905         * libio/fmemopen.c (fmemopen): Optimize a bit.
52906
52907 2011-03-03  Andreas Schwab  <schwab@redhat.com>
52908
52909         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
52910
52911 2011-03-03  Roland McGrath  <roland@redhat.com>
52912
52913         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
52914
52915 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
52916
52917         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
52918         __bzero_ultra1 instead of __memset_ultra1.
52919
52920 2011-02-23  Andreas Schwab  <schwab@redhat.com>
52921             Ulrich Drepper  <drepper@gmail.com>
52922
52923         [BZ #12509]
52924         * include/link.h (struct link_map): Add l_orig_initfini.
52925         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
52926         returning unsuccessfully.
52927         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
52928         close of a file loaded at startup, restore the original l_initfini
52929         list.
52930         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
52931         list, store the pointer.
52932         * elf/Makefile ($(objpfx)noload-mem): New rule.
52933         (noload-ENV): Define.
52934         (tests): Add $(objpfx)noload-mem.
52935         * elf/noload.c: Include <memcheck.h>.
52936         (main): Call mtrace.  Close all opened handles.
52937
52938 2011-02-17  Andreas Schwab  <schwab@redhat.com>
52939
52940         [BZ #12454]
52941         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
52942         dependencies are missing.
52943
52944 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
52945
52946         Fix __if_freereq crash: Unlike the generic version which uses free,
52947         Hurd needs munmap.
52948         * sysdeps/mach/hurd/ifreq.h: New file.
52949
52950 2011-01-27  Petr Baudis  <pasky@suse.cz>
52951             Ulrich Drepper  <drepper@gmail.com>
52952
52953         [BZ 12445]#
52954         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
52955         to extend_alloca().
52956         * stdio-common/bug23.c: New file.
52957         * stdio-common/Makefile (tests): Add bug23.
52958
52959 2010-09-28  Andreas Schwab  <schwab@redhat.com>
52960             Ulrich Drepper  <drepper@gmail.com>
52961
52962         [BZ #12489]
52963         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
52964         before performing relro protection.  At old place add assertion
52965         to make sure nothing changed.
52966
52967 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
52968             Glauber de Oliveira Costa  <glommer@gmail.com>
52969
52970         * elf/elf.h: Add new ARM TLS relocs.
52971
52972 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
52973
52974         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
52975         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
52976         cast from r3.
52977         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
52978         'tests' variable.
52979         * sysdeps/wordsize-64/tst-writev.c: New file.
52980
52981 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
52982
52983         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
52984         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
52985         insns in _dl_start to prevent a TOC reference before relocs are
52986         resolved.
52987
52988 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
52989
52990         [BZ #12469]
52991         * Makeconfig: Remove RANLIB definition.
52992         * Makerules: Don't use RANLIB.
52993         * aclocal.m4: Remove ranlib test.
52994         * configure.in: No need to check for ranlib.
52995         * elf/rtld-Rules: Don't use RANLIB.
52996
52997 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
52998
52999         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
53000         protection macro.
53001         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
53002         inclusion protection macro.
53003
53004         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
53005         SIGRTMIN and SIGRTMAX and print information in that case only when
53006         SIGRTMIN is defined.
53007
53008 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
53009
53010         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
53011         arginfo fn returning -1.
53012
53013         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
53014         and thousands string is zero terminated.
53015
53016 2011-02-03  Andreas Schwab  <schwab@redhat.com>
53017
53018         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
53019         sysdeps/unix/sysv/linux/bits/socket.h.
53020
53021 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
53022
53023         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
53024         (__CPU_COUNT): Remove old macros.
53025         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
53026         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
53027         (__CPU_ALLOC, __CPU_FREE): Add macros.
53028         (__sched_cpualloc, __sched_cpufree): Add declarations.
53029
53030 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
53031
53032         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
53033         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
53034         * nscd/aicache.c (addhstaiX): Return timeout of added value.
53035         (readdhstai): Return value of addhstaiX call.
53036         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
53037         (addgrbyX): Return value returned by cache_addgr.
53038         (readdgrbyname): Return value returned by addgrbyX.
53039         (readdgrbygid): Likewise.
53040         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
53041         (addpwbyX): Return value returned by cache_addpw.
53042         (readdpwbyname): Return value returned by addhstbyX.
53043         (readdpwbyuid): Likewise.
53044         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
53045         (addservbyX): Return value returned by cache_addserv.
53046         (readdservbyname): Return value returned by addservbyX:
53047         (readdservbyport): Likewise.
53048         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
53049         (addhstbyX): Return value returned by cache_addhst.
53050         (readdhstbyname): Return value returned by addhstbyX.
53051         (readdhstbyaddr): Likewise.
53052         (readdhstbynamev6): Likewise.
53053         (readdhstbyaddrv6): Likewise.
53054         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
53055         (readdinitgroups): Return value returned by addinitgroupsX.
53056         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
53057         (prune_cache): Keep track of timeout value of re-added entries.
53058         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
53059         * nscd/nscd.h: Adjust prototypes of readd* functions.
53060
53061 2011-02-04  Roland McGrath  <roland@redhat.com>
53062
53063         * nis/nis_server.c (nis_servstate): Use the right name for 0.
53064         (nis_stats): Likewise.
53065         * nis/nis_modify.c (nis_modify): Likewise.
53066         * nis/nis_remove.c (nis_remove): Likewise.
53067         * nis/nis_add.c (nis_add): Likewise.
53068
53069         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
53070
53071         * posix/fnmatch_loop.c: Add some consts.
53072
53073         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
53074
53075 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
53076
53077         [BZ #12460]
53078         * config.make.in (config-cflags-novzeroupper): Define.
53079         * configure.in: Substitute libc_cv_cc_novzeroupper.
53080         * elf/Makefile (AVX-CFLAGS): Define.
53081         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
53082         (CFLAGS-tst-auditmod4a.c): Likewise.
53083         (CFLAGS-tst-auditmod4b.c): Likewise.
53084         (CFLAGS-tst-auditmod6b.c): Likewise.
53085         (CFLAGS-tst-auditmod6c.c): Likewise.
53086         (CFLAGS-tst-auditmod7b.c): Likewise.
53087         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
53088
53089 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
53090
53091         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
53092         function to the callback.
53093         Patch partly by Jiri Olsa <jolsa@redhat.com>.
53094
53095 2011-02-02  Andreas Schwab  <schwab@redhat.com>
53096
53097         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
53098         of errno.
53099
53100 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
53101
53102         [BZ #11724]
53103         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
53104         of constructors.
53105         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
53106         of destructors.
53107         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
53108
53109         [BZ #11724]
53110         * elf/Makefile: Add rules to build and run new test.
53111         * elf/tst-initorder.c: New file.
53112         * elf/tst-initorder.exp: New file.
53113         * elf/tst-initordera1.c: New file.
53114         * elf/tst-initordera2.c: New file.
53115         * elf/tst-initordera3.c: New file.
53116         * elf/tst-initordera4.c: New file.
53117         * elf/tst-initorderb1.c: New file.
53118         * elf/tst-initorderb2.c: New file.
53119         * elf/tst-order-a1.c: New file.
53120         * elf/tst-order-a2.c: New file.
53121         * elf/tst-order-a3.c: New file.
53122         * elf/tst-order-a4.c: New file.
53123         * elf/tst-order-b1.c: New file.
53124         * elf/tst-order-b2.c: New file.
53125         * elf/tst-order-main.c: New file.
53126         New test case by George Gensure <werkt0@gmail.com>.
53127
53128 2010-10-01  Andreas Schwab  <schwab@redhat.com>
53129
53130         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
53131         decoding ACE if AI_CANONIDN.
53132
53133 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
53134
53135         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
53136
53137 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
53138
53139         * version.h (RELEASE): Bump for 2.13 release.
53140         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
53141
53142         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
53143
53144         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
53145         MADV_NOHUGEPAGE.
53146         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
53147         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
53148         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
53149         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
53150         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
53151         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
53152
53153         * posix/getconf.c: Update copyright year.
53154         * catgets/gencat.c: Likewise.
53155         * csu/version.c: Likewise.
53156         * debug/catchsegv.sh: Likewise.
53157         * debug/xtrace.sh: Likewise.
53158         * elf/ldconfig.c: Likewise.
53159         * elf/ldd.bash.in: Likewise.
53160         * elf/sprof.c (print_version): Likewise.
53161         * iconv/iconv_prog.c: Likewise.
53162         * iconv/iconvconfig.c: Likewise.
53163         * locale/programs/locale.c: Likewise.
53164         * locale/programs/localedef.c: Likewise.
53165         * malloc/memusage.sh: Likewise.
53166         * malloc/mtrace.pl: Likewise.
53167         * nscd/nscd.c (print_version): Likewise.
53168         * nss/getent.c: Likewise.
53169
53170         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
53171         PF_CAIF, and PF_ALG.
53172         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
53173
53174 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
53175
53176         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
53177         (modules-names): Use them.
53178         (ifunc-test-modules, ifunc-pie-tests): Define.
53179         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
53180         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
53181         (test-extras): Likewise.
53182         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
53183         $(compile-command.c).
53184         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
53185         (all-built-dso): Define.
53186         (check-textrel.out, check-execstack.out): Depend on it.
53187
53188         * configure.in: Don't override --enable-multi-arch.
53189
53190 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
53191
53192         [BZ #6812]
53193         * nscd/hstcache.c (tryagain): Define.
53194         (cache_addhst): Return tryagain not notfound for temporary errors.
53195         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
53196         failed.
53197
53198 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
53199
53200         [BZ #10563]
53201         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
53202         to make the syscall.
53203         * sysdeps/unix/sysv/linux/setgroups.c: New file.
53204
53205         [BZ #12378]
53206         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
53207         and fall back to matching as normal character if the string ends before
53208         the matching ']' is found.  This is what POSIX requires.
53209         * posix/testfnm.c: Adjust test result.
53210         * posix/globtest.sh: Adjust test result.  Add new test.
53211         * posix/tst-fnmatch.input: Likewise.
53212         * posix/tst-fnmatch2.c: Add new test.
53213
53214 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
53215
53216         * elf/Makefile (check-execstack): Revert last change.  Depend on
53217         check-execstack.h.
53218         (check-execstack.h): New target.
53219         (generated): Add check-execstack.h.
53220         * elf/check-execstack.c: Include "check-execstack.h".
53221         (main): Revert last change.
53222         (handle_file): Return zero if GNU_STACK is absent and
53223         DEFAULT_STACK_PERMS doesn't include PF_X.
53224
53225 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
53226
53227         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
53228         in child fails because the descriptor is already closed.
53229         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
53230         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
53231         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
53232
53233         [BZ #12397]
53234         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
53235         syscall.
53236
53237         [BZ #10484]
53238         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
53239         temporary buffer used to handle multi lookups locally.
53240         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
53241
53242 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
53243
53244         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
53245         loader is ld.so.
53246
53247 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
53248
53249         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
53250         alignment for SSE2.
53251
53252 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
53253
53254         [BZ #12394]
53255         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
53256         characters.  When rounding increased number of integer digits recompute
53257         number of groups.
53258         * stdio-common/tst-grouping.c: New file.
53259         * stdio-common/Makefile: Add rules to build and run tst-grouping.
53260
53261 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
53262
53263         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
53264         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
53265
53266         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
53267         void.
53268         * bits/select.h: Likewise.
53269
53270 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
53271
53272         * po/ja.po: Update from translation team.
53273
53274 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
53275
53276         [BZ #11155]
53277         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
53278         implementation just like for lxstat, fxstatat, et al.
53279
53280 2010-12-27  Jim Meyering  <meyering@redhat.com>
53281
53282         [BZ #12348]
53283         * posix/regexec.c (build_trtable): Return failure indication upon
53284         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
53285
53286 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
53287
53288         [BZ #12201]
53289         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
53290         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
53291         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
53292         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
53293
53294         [BZ #12207]
53295         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
53296
53297         [BZ #12204]
53298         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
53299         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
53300
53301 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
53302
53303         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
53304         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
53305         script has SORT_BY_INIT_PRIORITY.
53306         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
53307         NO_CTORS_DTORS_SECTIONS is defined.
53308         * elf/soinit.c: Likewise.
53309         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
53310         NO_CTORS_DTORS_SECTIONS is defined.
53311         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
53312         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
53313         * sysdeps/sh/init-first.c: Likewise.
53314         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
53315
53316 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
53317
53318         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
53319         always use the slow path.
53320
53321 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
53322
53323         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
53324         similar rule which adds the sysdep directories to the header search in
53325         order to pick up the correct platform stackinfo.h.
53326         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
53327         perform test if it is, otherwise return successfully without testing.
53328         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
53329         DEFAULT_STACK_PERMS define in stackinfo.h.
53330         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
53331         defined in stackinfo.h.
53332         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
53333         DEFAULT_STACK_PERMS defined in stackinfo.h.
53334         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
53335         * sysdeps/ia64/stackinfo.h: Likewise.
53336         * sysdeps/s390/stackinfo.h: Likewise.
53337         * sysdeps/sh/stackinfo.h: Likewise.
53338         * sysdeps/sparc/stackinfo.h: Likewise.
53339         * sysdeps/x86_64/stackinfo.h: Likewise.
53340         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
53341         PF_X for powerpc64.  Retain PF_X for powerpc32.
53342
53343 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
53344
53345         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
53346         accurately.
53347         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
53348         GETDENTS_64BIT_ALIGNED.
53349
53350 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
53351
53352         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
53353
53354 2010-12-10  Andreas Schwab  <schwab@redhat.com>
53355
53356         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
53357         _GNU_SOURCE.
53358
53359         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
53360         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
53361         Remove __restrict.
53362         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
53363         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
53364
53365 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
53366
53367         [BZ #11655]
53368         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
53369         are initialized.
53370
53371 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
53372
53373         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
53374
53375 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
53376
53377         * po/it.po: Update from translation team.
53378
53379 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
53380
53381         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
53382         unused codes.
53383
53384 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
53385
53386         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
53387
53388 2010-11-24  Andreas Schwab  <schwab@redhat.com>
53389
53390         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
53391         specially.
53392         (gaih_getanswer_slice): Likewise.
53393
53394 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
53395
53396         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
53397
53398 2010-05-31  Petr Baudis  <pasky@suse.cz>
53399
53400         [BZ #11149]
53401         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
53402         silently even in the chroot mode.
53403
53404 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
53405
53406         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
53407         last patch a bit.  Pretty printing
53408
53409 2010-05-31  Petr Baudis <pasky@suse.cz>
53410
53411         [BZ #10085]
53412         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
53413         initialization of skip_initgroups_dyn.
53414
53415 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
53416
53417         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
53418         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
53419
53420 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
53421
53422         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
53423
53424 2010-11-11  Andreas Schwab  <schwab@redhat.com>
53425
53426         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
53427         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
53428         (tst-fnmatch-ENV): Set MALLOC_TRACE.
53429         ($(objpfx)tst-fnmatch-mem): New rule.
53430         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
53431         * posix/tst-fnmatch.c (main): Call mtrace.
53432
53433 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
53434
53435         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
53436         Support Intel processor model 6 and model 0x2c.
53437
53438 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
53439
53440         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
53441           signed comparison.
53442
53443 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
53444
53445         [BZ #12205]
53446         * string/test-strncasecmp.c (check_result): New function.
53447         (do_one_test): Use it.
53448         (check1): New function.
53449         (test_main): Use it.
53450         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
53451         Support strcasecmp and strncasecmp.
53452
53453 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
53454
53455         [BZ #12194]
53456         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
53457         * sysdeps/x86_64/bits/byteswap.h: Likewise.
53458
53459 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
53460
53461         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
53462         IFUNC support.
53463         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
53464         memset-x86-64.
53465         * sysdeps/x86_64/multiarch/bzero.S: New file.
53466         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
53467         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
53468         * sysdeps/x86_64/multiarch/memset.S: New file.
53469         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
53470         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
53471         Set bit_Prefer_SSE_for_memop for Intel processors.
53472         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
53473         Define.
53474         (index_Prefer_SSE_for_memop): Define.
53475         (HAS_PREFER_SSE_FOR_MEMOP): Define.
53476
53477 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
53478
53479         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
53480         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
53481
53482 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
53483
53484         [BZ #12191]
53485         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
53486         (__x86_64_raw_data_cache_size_half): Likewise.
53487         (__x86_64_raw_shared_cache_size): Likewise.
53488         (__x86_64_raw_shared_cache_size_half): Likewise.
53489
53490         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
53491         (__x86_64_raw_data_cache_size_half): Likewise.
53492         (__x86_64_raw_shared_cache_size): Likewise.
53493         (__x86_64_raw_shared_cache_size_half): Likewise.
53494         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
53495         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
53496         and __x86_64_raw_shared_cache_size_half.  Round
53497         __x86_64_data_cache_size_half, __x86_64_data_cache_size
53498         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
53499         to multiple of 256 bytes.
53500
53501 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
53502
53503         [BZ #12167]
53504         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
53505         of inacessible symlinks.  Verify result of symlink before returning it.
53506         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
53507         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
53508
53509 2010-10-28  Erich Ritz  <erichritz@gmail.com>
53510
53511         * math/math.h (isinf): Fix typo in comment.
53512
53513 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
53514
53515         * po/da.po: Update from translation team.
53516
53517 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
53518
53519         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
53520         is added to the list.
53521
53522 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
53523             Ulrich Drepper  <drepper@gmail.com>
53524
53525         * elf/dl-object.c (_dl_new_object): Don't append the new object to
53526         the global list here.  Move code to...
53527         (_dl_add_to_namespace_list): ...here.  New function.
53528         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
53529         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
53530         * elf/dl-load.c (lose): Don't remove the element from the list.
53531         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
53532         (_dl_map_object): Likewise.
53533
53534 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
53535
53536         [BZ #12159]
53537         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
53538         into all bytes of SSE register.
53539         Patch by Richard Li <richardpku@gmail.com>.
53540
53541 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
53542
53543         [BZ #12140]
53544         * malloc/malloc.c (_int_free): Fill correct number of bytes when
53545         perturbing.
53546
53547 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
53548
53549         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
53550         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
53551         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
53552         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
53553         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
53554         submachine.
53555         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
53556
53557 2010-10-22  Andreas Schwab  <schwab@redhat.com>
53558
53559         * include/dlfcn.h (__RTLD_SECURE): Define.
53560         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
53561         mode & __RTLD_SECURE instead.
53562         (open_path): Rename preloaded parameter to secure.
53563         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
53564         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
53565         * elf/dl-deps.c (openaux): Likewise.
53566         * elf/rtld.c (struct map_args): Remove is_preloaded.
53567         (map_doit): Don't use it.
53568         (dl_main): Likewise.
53569         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
53570         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
53571
53572 2010-09-09  Andreas Schwab  <schwab@redhat.com>
53573
53574         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
53575         (sysd-rules-targets): Remove duplicates.
53576         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
53577         rtld-%.$o dependency.
53578
53579 2010-10-18  Andreas Schwab  <schwab@redhat.com>
53580
53581         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
53582         _dl_map_object do it.
53583
53584 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
53585
53586         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
53587         fast fma builtins, define the macros in the C99 standard.
53588         (FP_FAST_FMAF): Likewise.
53589         (FP_FAST_FMAL): Likewise.
53590         * sysdeps/x86_64/bits/mathdef.h: Likewise.
53591
53592         * bits/mathdef.h: Update copyright year.
53593         * sysdeps/powerpc/bits/mathdef.h: Likewise.
53594
53595 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
53596
53597         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
53598         builtins, define the macros in the C99 standard.
53599         (FP_FAST_FMAF): Likewise.
53600         (FP_FAST_FMAL): Likewise.
53601         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
53602         multiply/add.
53603         (FP_FAST_FMAF): Likewise.
53604
53605 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
53606
53607         [BZ #3268]
53608         * math/libm-test.inc (fma_test): Some new testcases.
53609         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
53610         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
53611         y and infinite z.  Do multiplication by C already in long double.
53612         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
53613         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
53614         y and infinite z.  Do bitwise or of inexact bit into u.d.
53615         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
53616         * sysdeps/i386/fpu/s_fmaf.S: Removed.
53617         * sysdeps/i386/fpu/s_fma.S: Removed.
53618         * sysdeps/i386/fpu/s_fmal.S: Removed.
53619
53620 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
53621
53622         [BZ #3268]
53623         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
53624         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
53625         computation is not scheduled after fetestexcept.  Fix value
53626         of minimum denormal long double.
53627
53628 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
53629
53630         [BZ #3268]
53631         * math/libm-test.inc (fma_test): Add some more tests.
53632         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
53633         correctly.
53634
53635 2010-10-15  Andreas Schwab  <schwab@redhat.com>
53636
53637         * scripts/data/localplt-s390-linux-gnu.data: New file.
53638         * scripts/data/localplt-s390x-linux-gnu.data: New file.
53639
53640 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
53641
53642         [BZ #3268]
53643         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
53644         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
53645         instead of dbl-64.
53646         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
53647         inlines.
53648         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
53649         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
53650         if one of x and y is very large and the other is subnormal.
53651         * sysdeps/s390/fpu/s_fmaf.c: New file.
53652         * sysdeps/s390/fpu/s_fma.c: New file.
53653         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
53654         * sysdeps/powerpc/fpu/s_fma.S: New file.
53655         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
53656         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
53657         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
53658
53659 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
53660
53661         [BZ #3268]
53662         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
53663         fma tests.
53664         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
53665         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
53666         * sysdeps/i386/i686/multiarch/s_fma.c: Include
53667         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
53668         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
53669         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
53670         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
53671
53672 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
53673
53674         [BZ #12078]
53675         * posix/regcomp.c (parse_branch): One more memory leak plugged.
53676         * posix/bug-regex31.input: Add test case.
53677
53678 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
53679
53680         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
53681         * posix/bug-regex31.input: New file.
53682
53683         [BZ #12078]
53684         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
53685         (parse_sub_exp): Fix last change, use postorder.
53686
53687         * posix/bug-regex31.c: New file.
53688         * posix/Makefile: Add rules to build and run bug-regex31.
53689
53690         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
53691
53692         [BZ #12078]
53693         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
53694
53695         [BZ #12108]
53696         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
53697         to have entries in sys_siglist.
53698
53699         [BZ #12093]
53700         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
53701         be NULL.
53702
53703 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
53704
53705         [BZ #3268]
53706         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
53707         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
53708         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
53709         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
53710         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
53711         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
53712         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
53713         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
53714         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
53715         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
53716         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
53717         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
53718         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
53719         * math/ftestexcept.c (fetestexcept): Likewise.
53720         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
53721         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
53722         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
53723         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
53724         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
53725         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
53726         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
53727
53728 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
53729
53730         [BZ #12107]
53731         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
53732         newline.
53733
53734 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
53735
53736         * string/bug-strstr1.c: New file.
53737         * string/Makefile: Add rules to build and run bug-strstr1.
53738
53739 2010-10-05  Eric Blake  <eblake@redhat.com>
53740
53741         [BZ #12092]
53742         * string/str-two-way.h (two_way_long_needle): Always clear memory
53743         when skipping input due to the shift table.
53744
53745 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
53746
53747         [BZ #12005]
53748         * malloc/mcheck.c: Handle large requests.
53749
53750         [BZ #12077]
53751         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
53752         for strncmp and strncasecmp.
53753         * string/stratcliff.c: Add tests for strcmp and strncmp.
53754         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
53755
53756 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
53757
53758         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
53759         __set_fpscr.
53760
53761 2010-09-30  Andreas Jaeger  <aj@suse.de>
53762
53763         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
53764         (CGROUP_SUPER_MAGIC): Define.
53765         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
53766         Handle btrfs and cgroup file systems.
53767         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
53768         Likewise.
53769
53770 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
53771
53772         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
53773         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
53774
53775 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
53776
53777         [BZ #12067]
53778         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
53779         trying to locate the ELF header.
53780
53781 2010-09-27  Andreas Schwab  <schwab@redhat.com>
53782
53783         [BZ #11611]
53784         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
53785         Mask out sign-bit copies when constructing f_fsid.
53786
53787 2010-09-24  Petr Baudis <pasky@suse.cz>
53788
53789         * debug/stack_chk_fail_local.c: Add missing licence exception.
53790         * debug/warning-nop.c: Likewise.
53791
53792 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
53793
53794         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
53795         implementing getdents64 using getdents syscall, set d_type if
53796         __ASSUME_GETDENTS32_D_TYPE.
53797
53798 2010-09-16  Andreas Schwab  <schwab@redhat.com>
53799
53800         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
53801         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
53802
53803 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
53804
53805         [BZ #12037]
53806         * posix/unistd.h: Undo change of feature selection for ftruncate from
53807         2010-01-11.
53808
53809 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
53810
53811         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
53812         detection.
53813
53814 2010-09-20  Andreas Schwab  <schwab@redhat.com>
53815
53816         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
53817         fanotify_mark.
53818         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
53819
53820 2010-09-14  Andreas Schwab  <schwab@redhat.com>
53821
53822         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
53823         variables after CHECK_SP call.
53824         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
53825
53826 2010-09-13  Andreas Schwab  <schwab@redhat.com>
53827             Ulrich Drepper  <drepper@redhat.com>
53828
53829         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
53830         re-relocationg ld.so.
53831         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
53832         _dl_init_paths call.
53833         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
53834         here anymore.
53835
53836 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
53837
53838         * resolv/res_init.c (__res_vinit): Count the default server we added.
53839
53840 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
53841             Ulrich Drepper  <drepper@redhat.com>
53842
53843         [BZ #11968]
53844         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
53845         (____longjmp_chk): Use %ebx for saving value across system call.
53846         Add unwind info.
53847
53848 2010-09-06  Andreas Schwab  <schwab@redhat.com>
53849
53850         * manual/Makefile: Don't mix pattern rules with normal rules.
53851
53852 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
53853
53854         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
53855         operation.
53856         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
53857         * libio/iofopncook.c (_IO_cookie_init): Likewise.
53858         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
53859         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
53860         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
53861         Likewise.
53862
53863 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
53864
53865         [BZ #11979]
53866         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
53867         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
53868
53869 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
53870
53871         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
53872         * sysdeps/x86_64/addmul_1.S: Likewise.
53873         * sysdeps/x86_64/lshift.S: Likewise.
53874         * sysdeps/x86_64/mul_1.S: Likewise.
53875         * sysdeps/x86_64/rshift.S: Likewise.
53876         * sysdeps/x86_64/sub_n.S: Likewise.
53877         * sysdeps/x86_64/submul_1.S: Likewise.
53878
53879 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
53880
53881         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
53882         Define __sched_param instead of SCHED_* and sched_param when
53883         <bits/sched.h> is included with __need_schedparam defined.
53884         * bits/sched.h [__need_schedparam]
53885         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
53886         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
53887         (__defined_schedparam): Define to 1.
53888         (__sched_param): New structure, identical to sched_param.
53889         (__need_schedparam): Undefine.
53890
53891 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
53892
53893         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
53894         (epoll_create1): Declare.
53895
53896         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
53897
53898 2010-08-31  Andreas Schwab  <schwab@redhat.com>
53899
53900         [BZ #7066]
53901         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
53902         shifting retval into place.
53903
53904 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
53905
53906         * nis/rpcsvc/nis.h: Update copyright notice.
53907         * nis/rpcsvc/nis.x: Likewise.
53908         * nis/rpcsvc/nis_callback.h: Likewise.
53909         * nis/rpcsvc/nis_callback.x: Likewise.
53910         * nis/rpcsvc/nis_object.x: Likewise.
53911         * nis/rpcsvc/nis_tags.h: Likewise.
53912         * nis/rpcsvc/yp.h: Likewise.
53913         * nis/rpcsvc/yp.x: Likewise.
53914         * nis/rpcsvc/ypupd.h: Likewise.
53915         * nis/yp_xdr.c: Likewise.
53916         * nis/ypupdate_xdr.c: Likewise.
53917
53918         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
53919         mainly the body of pmap_getport.  Add parameters to specify timeouts.
53920         (pmap_getport): Use __libc_rpc_getport.
53921         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
53922         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
53923         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
53924
53925 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
53926
53927         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
53928         fanotify_mark.
53929
53930 2010-08-27  Roland McGrath  <roland@redhat.com>
53931
53932         * sysdeps/i386/i686/multiarch/Makefile
53933         (CFLAGS-varshift.c): New variable.
53934
53935 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
53936
53937         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
53938         * sysdeps/i386/i686/multiarch/varshift.c: New file.
53939
53940         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
53941
53942         * sysdeps/x86_64/strlen.S: Minimal code improvement.
53943
53944 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
53945
53946         * sysdeps/x86_64/strlen.S: Unroll the loop.
53947         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
53948         strlen-sse2 strlen-sse2-bsf.
53949         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
53950         __strlen_no_bsf if bit_Slow_BSF is set.
53951         (__strlen_sse42): Removed.
53952         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
53953         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
53954
53955 2010-08-25  Roland McGrath  <roland@redhat.com>
53956
53957         * sysdeps/x86_64/multiarch/varshift.S: File removed.
53958         * sysdeps/x86_64/multiarch/varshift.c: New file.
53959         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
53960         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
53961         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
53962         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
53963
53964 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
53965
53966         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
53967         strlen-sse2 strlen-sse2-bsf.
53968         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
53969         __strlen_sse2_bsf if bit_Slow_BSF is unset.
53970         (__strlen_sse2): Removed.
53971         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
53972         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
53973         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
53974         bit_Slow_BSF for Atom.
53975         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
53976         (index_Slow_BSF): Define.
53977         (HAS_SLOW_BSF): Define.
53978
53979 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
53980
53981         [BZ #10851]
53982         * resolv/res_init.c (__res_vinit): When no server address at all
53983         is given default to loopback.
53984
53985 2010-08-24  Roland McGrath  <roland@redhat.com>
53986
53987         * configure.in: Remove config-name.h generation.
53988         * configure: Regenerated.
53989         * config-name.in: File removed.
53990         * scripts/config-uname.sh: New file.
53991         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
53992         ($(objdir)config-name.h): New target.
53993
53994         * sunrpc/rpc_parse.h: Avoid nested comment.
53995
53996 2010-08-24  Richard Henderson  <rth@redhat.com>
53997             Ulrich Drepper  <drepper@redhat.com>
53998             H.J. Lu  <hongjiu.lu@intel.com>
53999
54000         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
54001         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
54002         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
54003         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
54004         _mm_alignr_epi8 with _mm_loadu_si128.
54005         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
54006         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
54007         (__m128i_shift_right): Removed.
54008         * sysdeps/i386/i686/multiarch/varshift.h: New file.
54009         * sysdeps/i386/i686/multiarch/varshift.S: New file.
54010         * sysdeps/x86_64/multiarch/varshift.h: New file.
54011         * sysdeps/x86_64/multiarch/varshift.S: New file.
54012
54013 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
54014
54015         * configure.in: Move assembler checks to before sysdep dir checking.
54016
54017 2010-08-20  Petr Baudis  <pasky@suse.cz>
54018
54019         * LICENSES: Sync the sunrpc license.
54020
54021 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
54022
54023         * sunrpc/auth_des.c: Update copyright notice once again.
54024         * sunrpc/auth_none.c: Likewise.
54025         * sunrpc/auth_unix.c: Likewise.
54026         * sunrpc/authdes_prot.c: Likewise.
54027         * sunrpc/authuxprot.c: Likewise.
54028         * sunrpc/bindrsvprt.c: Likewise.
54029         * sunrpc/clnt_gen.c: Likewise.
54030         * sunrpc/clnt_perr.c: Likewise.
54031         * sunrpc/clnt_raw.c: Likewise.
54032         * sunrpc/clnt_simp.c: Likewise.
54033         * sunrpc/clnt_tcp.c: Likewise.
54034         * sunrpc/clnt_udp.c: Likewise.
54035         * sunrpc/clnt_unix.c: Likewise.
54036         * sunrpc/des_crypt.c: Likewise.
54037         * sunrpc/des_soft.c: Likewise.
54038         * sunrpc/get_myaddr.c: Likewise.
54039         * sunrpc/getrpcport.c: Likewise.
54040         * sunrpc/key_call.c: Likewise.
54041         * sunrpc/key_prot.c: Likewise.
54042         * sunrpc/openchild.c: Likewise.
54043         * sunrpc/pm_getmaps.c: Likewise.
54044         * sunrpc/pm_getport.c: Likewise.
54045         * sunrpc/pmap_clnt.c: Likewise.
54046         * sunrpc/pmap_prot.c: Likewise.
54047         * sunrpc/pmap_prot2.c: Likewise.
54048         * sunrpc/pmap_rmt.c: Likewise.
54049         * sunrpc/rpc/auth.h: Likewise.
54050         * sunrpc/rpc/auth_unix.h: Likewise.
54051         * sunrpc/rpc/clnt.h: Likewise.
54052         * sunrpc/rpc/des_crypt.h: Likewise.
54053         * sunrpc/rpc/key_prot.h: Likewise.
54054         * sunrpc/rpc/netdb.h: Likewise.
54055         * sunrpc/rpc/pmap_clnt.h: Likewise.
54056         * sunrpc/rpc/pmap_prot.h: Likewise.
54057         * sunrpc/rpc/pmap_rmt.h: Likewise.
54058         * sunrpc/rpc/rpc.h: Likewise.
54059         * sunrpc/rpc/rpc_des.h: Likewise.
54060         * sunrpc/rpc/rpc_msg.h: Likewise.
54061         * sunrpc/rpc/svc.h: Likewise.
54062         * sunrpc/rpc/svc_auth.h: Likewise.
54063         * sunrpc/rpc/types.h: Likewise.
54064         * sunrpc/rpc/xdr.h: Likewise.
54065         * sunrpc/rpc_clntout.c: Likewise.
54066         * sunrpc/rpc_cmsg.c: Likewise.
54067         * sunrpc/rpc_common.c: Likewise.
54068         * sunrpc/rpc_cout.c: Likewise.
54069         * sunrpc/rpc_dtable.c: Likewise.
54070         * sunrpc/rpc_hout.c: Likewise.
54071         * sunrpc/rpc_main.c: Likewise.
54072         * sunrpc/rpc_parse.c: Likewise.
54073         * sunrpc/rpc_parse.h: Likewise.
54074         * sunrpc/rpc_prot.c: Likewise.
54075         * sunrpc/rpc_sample.c: Likewise.
54076         * sunrpc/rpc_scan.c: Likewise.
54077         * sunrpc/rpc_scan.h: Likewise.
54078         * sunrpc/rpc_svcout.c: Likewise.
54079         * sunrpc/rpc_tblout.c: Likewise.
54080         * sunrpc/rpc_util.c: Likewise.
54081         * sunrpc/rpc_util.h: Likewise.
54082         * sunrpc/rpcinfo.c: Likewise.
54083         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
54084         * sunrpc/rpcsvc/key_prot.x: Likewise.
54085         * sunrpc/rpcsvc/klm_prot.x: Likewise.
54086         * sunrpc/rpcsvc/mount.x: Likewise.
54087         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
54088         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
54089         * sunrpc/rpcsvc/rex.x: Likewise.
54090         * sunrpc/rpcsvc/rstat.x: Likewise.
54091         * sunrpc/rpcsvc/rusers.x: Likewise.
54092         * sunrpc/rpcsvc/sm_inter.x: Likewise.
54093         * sunrpc/rpcsvc/spray.x: Likewise.
54094         * sunrpc/rpcsvc/yppasswd.x: Likewise.
54095         * sunrpc/rtime.c: Likewise.
54096         * sunrpc/svc.c: Likewise.
54097         * sunrpc/svc_auth.c: Likewise.
54098         * sunrpc/svc_authux.c: Likewise.
54099         * sunrpc/svc_raw.c: Likewise.
54100         * sunrpc/svc_run.c: Likewise.
54101         * sunrpc/svc_simple.c: Likewise.
54102         * sunrpc/svc_tcp.c: Likewise.
54103         * sunrpc/svc_udp.c: Likewise.
54104         * sunrpc/svc_unix.c: Likewise.
54105         * sunrpc/svcauth_des.c: Likewise.
54106         * sunrpc/xcrypt.c: Likewise.
54107         * sunrpc/xdr.c: Likewise.
54108         * sunrpc/xdr_array.c: Likewise.
54109         * sunrpc/xdr_float.c: Likewise.
54110         * sunrpc/xdr_mem.c: Likewise.
54111         * sunrpc/xdr_rec.c: Likewise.
54112         * sunrpc/xdr_ref.c: Likewise.
54113         * sunrpc/xdr_sizeof.c: Likewise.
54114         * sunrpc/xdr_stdio.c: Likewise.
54115
54116         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
54117         handling.
54118
54119 2010-08-19  Andreas Schwab  <schwab@redhat.com>
54120
54121         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
54122
54123 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
54124
54125         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
54126         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
54127         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
54128         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
54129         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
54130         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
54131         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
54132         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
54133         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
54134         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
54135         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
54136         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
54137         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
54138         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
54139
54140 2010-07-26  Anton Blanchard  <anton@samba.org>
54141
54142         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
54143         * malloc/arena.c (heap_trim): Likewise.
54144
54145 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
54146
54147         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
54148         here.  Not...
54149         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
54150         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
54151
54152 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
54153
54154         * sysdeps/i386/elf/Makefile: New file.
54155
54156 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
54157
54158         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
54159         from fanotify_init.
54160         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
54161         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
54162
54163 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
54164
54165         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
54166         of strncasecmp_l.
54167         * sysdeps/multiarch/strcmp.S: Likewise.
54168
54169 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
54170
54171         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
54172         strncase_l-nonascii.
54173         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
54174         Add strncase_l-ssse3.
54175         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
54176         * sysdeps/x86_64/strcmp.S: Likewise.
54177         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
54178         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
54179         * sysdeps/x86_64/strncase.S: New file.
54180         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
54181         * sysdeps/x86_64/strncase_l.S: New file.
54182         * string/Makefile (strop-tests): Add strncasecmp.
54183         * string/test-strncasecmp.c: New file.
54184
54185         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
54186         warning.
54187
54188         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
54189         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
54190
54191 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
54192
54193         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
54194
54195 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
54196
54197         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
54198         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
54199         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
54200
54201 2010-05-01  Alan Modra  <amodra@gmail.com>
54202
54203         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
54204         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
54205         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
54206         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
54207         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
54208         tidying.  Don't tail-call __sigjmp_save for static lib.
54209         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
54210         save location.
54211         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
54212         (CALL_MCOUNT): Add eh info, and nop after bl.
54213         (TAIL_CALL_SYSCALL_ERROR): New macro.
54214         (PSEUDO_RET): Use it.
54215         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
54216         Correct save location of integer regs and cr.
54217         (_dl_profile_resolve): Correct cr save location.  Delete nops
54218         after bl when SHARED.  Reduce cfi size a little by better
54219         placement of cfi directives.
54220         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
54221         make a stack frame.  Instead use parm save area as a temp.
54222         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
54223         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
54224         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
54225         Don't make a stack frame for parent, use parm save area.
54226         Increase child stack frame to 112 bytes.  Don't save unused reg,
54227         and adjust reg usage.  Set up cfi on error recovery and
54228         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
54229         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
54230         (__makecontext): Add dummy nop after jump to exit.
54231         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
54232         Use correct parm save area and cr save, reduce stack frame.
54233         Correct cfi for possible PSEUDO_RET frame setup.
54234         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
54235         Branch to local label emitted by PSEUDO_RET rather than
54236         __syscall_error.
54237
54238 2010-08-12  Andreas Schwab  <schwab@redhat.com>
54239
54240         [BZ #11904]
54241         * locale/programs/locale.c (print_assignment): New function.
54242         (show_locale_vars): Use it.
54243
54244 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
54245
54246         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
54247         field.
54248         (struct statfs64): Likewise.
54249         (_STATFS_F_FLAGS): Define.
54250         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
54251         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
54252         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
54253         (ST_VALID): Define locally.
54254         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
54255         __statvfs_getflags, use the provided value.
54256         * sysdeps/unix/sysv/linux/kernel-features.h: Define
54257         __ASSUME_STATFS_F_FLAGS.
54258
54259         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
54260
54261         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
54262         Add sys/fanotify.h.
54263         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
54264         fanotify_mask for GLIBC_2.13.
54265         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
54266         fanotify_init and fanotify_mark.
54267         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
54268         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
54269
54270         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
54271         Add prlimit.
54272         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
54273         prlimit64 for GLIBC_2.13.
54274         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
54275         prlimit64.
54276         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
54277         syscall.
54278         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
54279         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
54280         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
54281         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
54282         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
54283         add prlimit alias.
54284         * sysdeps/unix/sysv/linux/prlimit.c: New file.
54285
54286         [BZ #11903]
54287         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
54288         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
54289
54290         * nss/Makefile: Add rules to build and run tst-nss-test1.
54291         * shlib-versions: Add entry for libnss_test1.
54292         * nss/nss_test1.c: New file.
54293         * nss/tst-nss-test1.c: New file.
54294
54295         * nss/nsswitch.c (__nss_database_custom): Define new variable.
54296         (__nss_configure_lookup): Set appropriate entry in
54297         __nss_configure_lookup to true.
54298         * nss/nsswitch.h: Define enum with indeces of databases in
54299         databases and __nss_database_custom arrays.  Declare
54300         __nss_database_custom.
54301         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
54302         to avoid using nscd when custom rules are installed.
54303         * nss/getXXbyYY_r.c: Likewise.
54304         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
54305
54306         * nss/nss_files/files-parse.c: Whitespace fixes.
54307
54308 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
54309
54310         [BZ #11883]
54311         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
54312         * posix/fnmatch_loop.c: Likewise.
54313
54314 2010-07-17  Andi Kleen  <ak@linux.intel.com>
54315
54316         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
54317         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
54318         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
54319         * Versions.def [GLIBC_2.13]: Add.
54320
54321 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
54322
54323         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
54324         Also fail if tpwd after pwuid call is NULL.
54325
54326 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
54327
54328         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
54329         when converting to ms.
54330
54331 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
54332
54333         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
54334         EOPNOTSUPP errors with ENOTTY.
54335         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
54336         EOPNOTSUPP errors with ENOTTY.
54337
54338 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
54339
54340         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
54341         Add strcasecmp_l-ssse3.
54342         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
54343         strcasecmp.
54344         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
54345         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
54346         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
54347
54348 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
54349
54350         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
54351
54352         * string/Makefile (strop-tests): Add strcasecmp.
54353         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
54354         strcasecmp_l-nonascii.
54355         (gen-as-const-headers): Add locale-defines.sym.
54356         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
54357         * sysdeps/x86_64/strcasecmp.S: New file.
54358         * sysdeps/x86_64/strcasecmp_l.S: New file.
54359         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
54360         * sysdeps/x86_64/locale-defines.sym: New file.
54361         * string/test-strcasecmp.c: New file.
54362
54363         * string/test-strcasestr.c: Test both ends of the range of characters.
54364         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
54365
54366 2010-07-29  Roland McGrath  <roland@redhat.com>
54367
54368         [BZ #11856]
54369         * manual/locale.texi (Yes-or-No Questions): Fix example code.
54370
54371 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
54372
54373         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
54374         for ld.so.
54375
54376 2010-07-27  Andreas Schwab  <schwab@redhat.com>
54377
54378         * manual/memory.texi (Malloc Tunable Parameters): Document
54379         M_PERTURB.
54380
54381 2010-07-26  Roland McGrath  <roland@redhat.com>
54382
54383         [BZ #11840]
54384         * configure.in (-fgnu89-inline check): Set and substitute
54385         gnu89_inline, not libc_cv_gnu89_inline.
54386         * configure: Regenerated.
54387         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
54388
54389 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
54390
54391         * string/test-strnlen.c: New file.
54392         * string/Makefile (strop-tests): Add strnlen.
54393         * string/tester.c (test_strnlen): Add a few more test cases.
54394         * string/tst-strlen.c: Better error reporting.
54395
54396         * sysdeps/x86_64/strnlen.S: New file.
54397
54398 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
54399
54400         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
54401         lower-latency instructions.
54402
54403 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
54404
54405         * string/test-strcasestr.c: New file.
54406         * string/test-strstr.c: New file.
54407         * string/Makefile (strop-tests): Add strstr and strcasestr.
54408         * string/str-two-way.h: Don't undefine MAX.
54409         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
54410
54411 2010-07-21  Andreas Schwab  <schwab@redhat.com>
54412
54413         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
54414         strcasestr-nonascii.
54415         (CFLAGS-strcasestr-nonascii.c): Define.
54416         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
54417         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
54418         Remove unused attribute.
54419
54420 2010-07-20  Roland McGrath  <roland@redhat.com>
54421
54422         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
54423         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
54424         ld.so.cache was broken.  With it, there is no way to disable dsocaps
54425         like LD_HWCAP_MASK can disable hwcaps.
54426
54427 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
54428
54429         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
54430
54431 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
54432
54433         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
54434         call in strcasestr.
54435         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
54436         __strcasestr_sse42_nonascii.
54437         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
54438         strcasestr-nonascii.c.
54439         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
54440
54441 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
54442
54443         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
54444         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
54445         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
54446         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
54447
54448 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
54449
54450         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
54451         fcntl.
54452
54453 2010-07-06  Andreas Schwab  <schwab@redhat.com>
54454
54455         [BZ #11577]
54456         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
54457         dl_signal_cerror.
54458
54459 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
54460
54461         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
54462         _PC_PIPE_BUF using F_GETPIPE_SZ.
54463
54464 2010-07-05  Roland McGrath  <roland@redhat.com>
54465
54466         * manual/arith.texi (Rounding Functions): Fix rint description
54467         implicit in round description.
54468
54469 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
54470
54471         * elf/Makefile: Fix linking for a few tests to make recent linker
54472         happy.
54473
54474 2010-06-30  Andreas Schwab  <schwab@redhat.com>
54475
54476         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
54477         $(common-objpfx)libc_nonshared.a.
54478
54479 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
54480
54481         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
54482         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
54483         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
54484         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
54485         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
54486         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
54487         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
54488         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
54489         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
54490         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
54491         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
54492         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
54493         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
54494         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
54495         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
54496         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
54497         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
54498         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
54499         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
54500         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
54501         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
54502         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
54503         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
54504         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
54505         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
54506         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
54507         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
54508         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
54509         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
54510         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
54511         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
54512         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
54513         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
54514         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
54515         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
54516         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
54517         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
54518         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
54519         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
54520         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
54521         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
54522         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
54523         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
54524         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
54525         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
54526         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
54527         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
54528         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
54529
54530 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
54531
54532         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
54533         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
54534         * string/memmove.c (memmove): Renamed to ...
54535         (MEMMOVE): ...this.  Default to memmove.
54536         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
54537         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
54538         (END_CHK): Define.
54539         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
54540         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
54541         mempcpy-ssse3-back memmove-ssse3-back.
54542         * sysdeps/x86_64/multiarch/bcopy.S: New file .
54543         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
54544         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
54545         * sysdeps/x86_64/multiarch/memcpy.S: New file.
54546         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
54547         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
54548         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
54549         * sysdeps/x86_64/multiarch/memmove.c: New file.
54550         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
54551         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
54552         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
54553         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
54554         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
54555         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
54556         Define.
54557         (index_Fast_Copy_Backward): Define.
54558         (HAS_ARCH_FEATURE): Define.
54559         (HAS_FAST_REP_STRING): Define.
54560         (HAS_FAST_COPY_BACKWARD): Define.
54561
54562 2010-06-21  Andreas Schwab  <schwab@redhat.com>
54563
54564         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
54565         Restore proper fallback handling.
54566
54567 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
54568
54569         [BZ #11701]
54570         * posix/group_member.c (__group_member): Correct checking loop.
54571
54572         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
54573         OOM in getpwuid_r correctly.  Return error number when the caller
54574         should return, otherwise -1.
54575         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
54576         call returning > 0 value.
54577         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
54578
54579 2010-06-07  Andreas Schwab  <schwab@redhat.com>
54580
54581         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
54582         libc_nonshared.a from targets in modules-names.
54583
54584 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
54585
54586         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
54587         requires it.
54588
54589 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
54590
54591         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
54592         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
54593         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
54594         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
54595
54596 2010-06-02  Andreas Schwab  <schwab@redhat.com>
54597
54598         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
54599
54600 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
54601
54602         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
54603         and F_GETPIPE_SZ.
54604         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
54605         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
54606         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
54607         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
54608         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
54609         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
54610
54611 2010-06-14  Roland McGrath  <roland@redhat.com>
54612
54613         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
54614
54615 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
54616
54617         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
54618         __REDIRECT followed by __THROW.
54619         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
54620         * posix/getopt.h (getopt): Likewise.
54621
54622 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
54623
54624         * hurd/lookup-at.c (__file_name_lookup_at): Accept
54625         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
54626         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
54627         in AT_FLAGS.
54628         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
54629         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
54630
54631 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
54632
54633         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
54634
54635 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
54636
54637         [BZ #11640]
54638         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
54639         Properly check family and model.
54640
54641 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
54642
54643         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
54644
54645 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
54646
54647         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
54648
54649 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
54650
54651         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
54652         symbol reference.
54653
54654 2010-05-19  Andreas Schwab  <schwab@redhat.com>
54655
54656         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
54657         symbol reference.
54658
54659 2010-05-21  Andreas Schwab  <schwab@redhat.com>
54660
54661         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
54662         and internal_recvmmsg.
54663         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
54664         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
54665         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
54666         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
54667
54668         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
54669         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
54670         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
54671
54672 2010-05-20  Andreas Schwab  <schwab@redhat.com>
54673
54674         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
54675
54676 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
54677
54678         POWER7 optimizations.
54679         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
54680         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
54681
54682 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
54683
54684         * version.h: Update for 2.13 development version.
54685
54686 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
54687
54688         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
54689         exceptions.  Return 0.
54690
54691 2010-05-07  Roland McGrath  <roland@redhat.com>
54692
54693         * elf/ldconfig.c (main): Add a const.
54694
54695 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
54696
54697         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
54698         (args_options): Add no-idn option.
54699         (ahosts_keys_int): Add idn_flags to ai_flags.
54700         (parse_option): Handle 'i' option to clear idn_flags.
54701
54702         * malloc/malloc.c (_int_free): Possible race in the most recently
54703         added check.  Only act on the data if no current modification
54704         happened.
54705
54706 See ChangeLog.17 for earlier changes.